payment update
This commit is contained in:
@@ -46,7 +46,8 @@ trait HandlesVisaMasterPayments
|
||||
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