@@ -38,7 +38,7 @@ |
||
| 38 | 38 | $check['order'] = $transaction->parent; |
| 39 | 39 | if ($check['status'] == 1) { |
| 40 | 40 | $this->updateTransactionData($transaction->id, ['status' => 'successful', 'ref_no' => $check['bank_code']]); |
| 41 | - }else { |
|
| 41 | + } else { |
|
| 42 | 42 | $this->updateTransactionData($transaction->id, ['status' => 'failed', 'ref_no' => $check['errorCode'], 'description' => $check['errorDescription']]); |
| 43 | 43 | } |
| 44 | 44 | } |