This commit is contained in:
2025-03-13 14:32:30 +05:00
parent 37b31b6ad1
commit c32db8dda3
2 changed files with 5 additions and 17 deletions

View File

@@ -51,6 +51,11 @@ class CheckOnlinePayment extends Action
$password = $relatedResource->branch->billing_password;
}
if ($onlinePaymentResource->api_client == 'billing_sber_username') {
$username = $relatedResource->branch->billing_sber_username;
$password = $relatedResource->branch->billing_sber_password;
}
if ($username == '') {
return Action::modal('modal-response', [
'title' => 'HALKBANK API',