This commit is contained in:
nurmuhammet committed 2025-09-09 15:53:26 +05:00
1 parent 84c0e99004
commit 7617e08632
1 file changed
+7
+7
View File
@@ -48,6 +48,13 @@ public function handle(ActionFields $fields, Collection $models)
$response = checkOnlinePayment($onlinePaymentResource->orderId, $result['username'], $result['password']);
if ($response['errCode'] != 0) {
return Action::modal('modal-response', [
'title' => 'HALKBANK API',
'body' => $response['errorMessage'],
]);
}
$systemRawResponse = syncWithBankSystem(
online_payment_order_uuid: $onlinePaymentResource->orderId,
bank_unique_code: $sberPaymentOrder->branch->unique_code,