This commit is contained in:
nurmuhammet committed 2024-11-23 12:43:15 +05:00
1 parent 47f45a89e8
commit fdf0455dc1
1 file changed
+4 -1
+4 -1
View File
@@ -193,9 +193,12 @@ public static function checkPayment(Request $request)
'paymentStatus' => OnlinePaymentRepo::PAID,
]);
} else {
$paymentHistory->update([
$resource->update([
'payer_name' => $response['cardholderName'] ?? '-',
'payer_card' => $response['Pan'] ?? '-',
]);
$paymentHistory->update([
'paymentStatus' => OnlinePaymentRepo::FAILED,
]);
}