This commit is contained in:
2025-09-09 11:40:13 +05:00
parent daaa3bc360
commit 78d7065b86

View File

@@ -49,7 +49,7 @@ class SyncWithSystem extends Action
$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 @@ class SyncWithSystem extends Action
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),
]);
}