@@ -24,7 +24,7 @@ |
||
24 | 24 | /** |
25 | 25 | * Bind to service container. |
26 | 26 | */ |
27 | - $this->app->bind('shetabit-payment', function () { |
|
27 | + $this->app->bind('shetabit-payment', function() { |
|
28 | 28 | return new PaymentManager(config('payment')); |
29 | 29 | }); |
30 | 30 | } |
@@ -99,7 +99,7 @@ |
||
99 | 99 | */ |
100 | 100 | public function pay() |
101 | 101 | { |
102 | - $apiUrl = $this->settings->apiPaymentUrl; |
|
102 | + $apiUrl = $this->settings->apiPaymentUrl; |
|
103 | 103 | |
104 | 104 | // use sandbox url if we are in sandbox mode |
105 | 105 | if (!empty($this->settings->sandbox)) { |
@@ -95,7 +95,7 @@ |
||
95 | 95 | */ |
96 | 96 | public function pay() |
97 | 97 | { |
98 | - $apiUrl = $this->settings->apiPaymentUrl; |
|
98 | + $apiUrl = $this->settings->apiPaymentUrl; |
|
99 | 99 | $payUrl = $apiUrl.$this->invoice->getTransactionId(); |
100 | 100 | |
101 | 101 | // redirect using laravel logic |