This commit is contained in:
2024-11-23 12:38:50 +05:00
parent de7f2eb9f1
commit ba2c16c9a0

View File

@@ -194,6 +194,8 @@ class OnlinePaymentRepo
]);
} else {
$paymentHistory->update([
'payer_name' => array_key_exists('cardholderName', $response) ? $response['cardholderName'] : '-',
'payer_card' => array_key_exists('Pan', $response) ? $response['Pan'] : '-',
'paymentStatus' => OnlinePaymentRepo::FAILED,
]);
}