From f73c17c852f73fb7529743c0ec0f0c550d877bdb Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Wed, 30 Oct 2024 17:05:25 +0500 Subject: [PATCH] wip --- app/Nova/Actions/MakeSberPaymentAction.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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',