This commit is contained in:
nurmuhammet committed 2025-09-09 11:40:13 +05:00
1 parent daaa3bc360
commit 78d7065b86
1 file changed
+4 -4
+4 -4
View File
@@ -49,7 +49,7 @@ public function handle(ActionFields $fields, Collection $models)
$response = checkOnlinePayment($onlinePaymentResource->orderId, $result['username'], $result['password']);
info(syncWithBankSystem(
$systemResponse = syncWithBankSystem(
online_payment_order_uuid: $onlinePaymentResource->orderId,
bank_unique_code: $sberPaymentOrder->branch->unique_code,
online_payment_terminal_id: $response['terminalId'],
@@ -57,11 +57,11 @@ public function handle(ActionFields $fields, Collection $models)
online_payment_auth_ref_num: $response['authRefNum'],
online_payment_tmt_amount: $orderItem->tmt_payment_amount,
pay_purpose: $sberPaymentOrder->created_at->translatedFormat('F').' '.$sberPaymentOrder->created_at->format('Y')
));
);
return Action::modal('modal-response', [
'title' => 'HALKBANK API',
'html' => CheckOnlinePayment::resultHTML($response),
'title' => 'SYSTEM API',
'html' => CheckOnlinePayment::resultHTML($systemResponse),
]);
}