payment update
This commit is contained in:
1 parent
5832a5734c
commit
0305790d36
2 files changed
+4
-3
No files matched your search
@@ -46,7 +46,8 @@ public static function checkPaymentVisaMaster(Request $request): array
|
||||
return static::failedPaymentResponse($paymentHistory, $bank_branch, $resource, $returnURL);
|
||||
}
|
||||
|
||||
$payment_status = $response['errorCode'] == '0';
|
||||
$payment_status = $response['paymentAmountInfo']['depositedAmount'] > 0;
|
||||
|
||||
$cardholderName = $response['cardAuthInfo']['cardholder§§Name'] ?? '-';
|
||||
$cardPan = $response['cardAuthInfo']['Pan'] ?? '-';
|
||||
|
||||
|
||||
Reference in new issue
Block a user