¨4.0.1¨
This commit is contained in:
@@ -14,16 +14,13 @@ class Razorpay implements GatewayInterface
|
||||
public $label;
|
||||
public $description;
|
||||
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->label = setting('razorpay_label');
|
||||
$this->description = setting('razorpay_description');
|
||||
}
|
||||
|
||||
public function client()
|
||||
{
|
||||
return new Api(setting('razorpay_key_id'), setting('razorpay_key_secret'));
|
||||
}
|
||||
|
||||
public function purchase(Order $order, Request $request)
|
||||
{
|
||||
@@ -37,6 +34,13 @@ class Razorpay implements GatewayInterface
|
||||
return new RazorpayResponse($razorpayOrder);
|
||||
}
|
||||
|
||||
|
||||
public function client()
|
||||
{
|
||||
return new Api(setting('razorpay_key_id'), setting('razorpay_key_secret'));
|
||||
}
|
||||
|
||||
|
||||
public function complete(Order $order)
|
||||
{
|
||||
$attributes = [
|
||||
|
||||
Reference in New Issue
Block a user