|
@@ -111,7 +111,7 @@ |
|
|
block discarded – undo |
|
111
|
111
|
$soap = new \SoapClient($this->settings->apiVerificationUrl); |
|
112
|
112
|
|
|
113
|
113
|
// step1: verify request |
|
114
|
|
- $verifyResponse = (int)$soap->bpVerifyRequest($data, $this->settings->apiNamespaceUrl)->return; |
|
|
114
|
+ $verifyResponse = (int) $soap->bpVerifyRequest($data, $this->settings->apiNamespaceUrl)->return; |
|
115
|
115
|
if ($verifyResponse != 0) { |
|
116
|
116
|
// rollback money and throw exception |
|
117
|
117
|
$soap->bpReversalRequest($data, $this->settings->apiNamespaceUrl); |
Please login to merge, or discard this patch.