diff --git a/app/Nova/Actions/MakeSberPaymentAction.php b/app/Nova/Actions/MakeSberPaymentAction.php index d1e7c79..a475268 100644 --- a/app/Nova/Actions/MakeSberPaymentAction.php +++ b/app/Nova/Actions/MakeSberPaymentAction.php @@ -40,8 +40,8 @@ class MakeSberPaymentAction extends Action $resource = $models->first(); - if (! $resource->branch || ! $resource->branch->billing_visa_master_username) { - return ActionResponse::danger('Şahamça visa/master tölegi kabul edip bilmeýär.'); + if (! $resource->branch || ! $resource->branch->billing_sber_username) { + return ActionResponse::danger('Şahamça sber tölegi kabul edip bilmeýär.'); } $tvebTaxTMT = $usd_to_tmt->value * 18; @@ -133,7 +133,7 @@ class MakeSberPaymentAction extends Action 'currency' => 934, 'language' => 'ru', 'userName' => $resource->branch->billing_sber_username, - 'password' => $resource->branch->billing_visa_master_password, + 'password' => $resource->branch->billing_sber_password, 'returnUrl' => route('online-payment-store-sber'), 'pageView' => 'DESKTOP', 'description' => 'Sber tölegi',