|
@@ -64,12 +64,12 @@ discard block |
|
|
block discarded – undo |
|
64
|
64
|
); |
|
65
|
65
|
|
|
66
|
66
|
|
|
67
|
|
- if (! empty($requestResult['pspSwitchingUrl'])) { |
|
|
67
|
+ if (!empty($requestResult['pspSwitchingUrl'])) { |
|
68
|
68
|
$this->paymentUrl = $requestResult['pspSwitchingUrl']; |
|
69
|
69
|
} |
|
70
|
70
|
|
|
71
|
|
- if (! empty($requestResult['errors'])) { |
|
72
|
|
- $errMsgs = array_map(function ($err) { |
|
|
71
|
+ if (!empty($requestResult['errors'])) { |
|
|
72
|
+ $errMsgs = array_map(function($err) { |
|
73
|
73
|
return $err['code']; |
|
74
|
74
|
}, $requestResult['errors']); |
|
75
|
75
|
|
|
@@ -110,7 +110,7 @@ discard block |
|
|
block discarded – undo |
|
110
|
110
|
|
|
111
|
111
|
$requestResult = $this->jibit->paymentVerify($purchaseId); |
|
112
|
112
|
|
|
113
|
|
- if (! empty($requestResult['status']) && $requestResult['status'] === 'SUCCESSFUL') { |
|
|
113
|
+ if (!empty($requestResult['status']) && $requestResult['status'] === 'SUCCESSFUL') { |
|
114
|
114
|
$order = $this->jibit->getOrderById($purchaseId); |
|
115
|
115
|
|
|
116
|
116
|
$receipt = new Receipt('jibit', $purchaseId); |
Please login to merge, or discard this patch.