wip
This commit is contained in:
1 parent
19abe08a90
commit
f506972c91
1 file changed
-4
@@ -270,10 +270,6 @@ public function checkPayment(string $orderId): array
|
|||||||
$this->provider->setPassword($password);
|
$this->provider->setPassword($password);
|
||||||
$response = $this->provider->checkPayment($orderId);
|
$response = $this->provider->checkPayment($orderId);
|
||||||
|
|
||||||
if ($response['errorCode'] == '99') {
|
|
||||||
return $this->paymentFailed('(REQUEST FAILURE)');
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($response['errorCode'] != '0') {
|
if ($response['errorCode'] != '0') {
|
||||||
return $this->paymentFailed($response['errorMessage']);
|
return $this->paymentFailed($response['errorMessage']);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user