@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | public function __construct(Invoice $invoice, $settings) |
| 38 | 38 | { |
| 39 | 39 | $this->invoice($invoice); |
| 40 | - $this->settings = (object)$settings; |
|
| 40 | + $this->settings = (object) $settings; |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | /** |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | |
| 78 | 78 | $response = $soap->RequestToken($data['MID'], $data['ResNum'], $data['Amount'], $data['CellNumber']); |
| 79 | 79 | |
| 80 | - $status = (int)$response; |
|
| 80 | + $status = (int) $response; |
|
| 81 | 81 | |
| 82 | 82 | if ($status < 0) { // if something has done in a wrong way |
| 83 | 83 | $this->purchaseFailed($response); |
@@ -136,13 +136,13 @@ discard block |
||
| 136 | 136 | ]), |
| 137 | 137 | ] |
| 138 | 138 | ); |
| 139 | - $status = (int)$soap->VerifyTransaction($data['RefNum'], $data['merchantId']); |
|
| 139 | + $status = (int) $soap->VerifyTransaction($data['RefNum'], $data['merchantId']); |
|
| 140 | 140 | |
| 141 | 141 | if ($status < 0) { |
| 142 | 142 | $this->notVerified($status); |
| 143 | 143 | } |
| 144 | 144 | |
| 145 | - $receipt = $this->createReceipt($data['RefNum']); |
|
| 145 | + $receipt = $this->createReceipt($data['RefNum']); |
|
| 146 | 146 | $receipt->detail([ |
| 147 | 147 | 'traceNo' => Request::input('TraceNo'), |
| 148 | 148 | 'referenceNo' => Request::input('RRN'), |