From 5b4fa969561d125bdc4d52d66ba5860dbd48ec87 Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Tue, 9 Sep 2025 10:10:59 +0500 Subject: [PATCH] wip --- app/Nova/Actions/MakeSberPaymentAction.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Nova/Actions/MakeSberPaymentAction.php b/app/Nova/Actions/MakeSberPaymentAction.php index 424d635..372205d 100644 --- a/app/Nova/Actions/MakeSberPaymentAction.php +++ b/app/Nova/Actions/MakeSberPaymentAction.php @@ -87,7 +87,6 @@ class MakeSberPaymentAction extends Action $tvebTaxTMT = floatval($usd_to_tmt->value) * 18; $bankTax = 120.75; $total_amount = number_format($payment_amount + $tvebTaxTMT + $bankTax, 2, '.', ''); - $total_amount = number_format(001, 2, '.', ''); $payment = $this->order($resource, $total_amount); @@ -207,6 +206,8 @@ class MakeSberPaymentAction extends Action $orderNumber = $onlinePaymentRepo->generateOrderNumber($resource); + $amount = '001'; + $paymentResponse = Http::get('https://mpi.gov.tm/payment/rest/register.do', [ 'orderNumber' => $orderNumber, 'amount' => number_format($amount, 2, '', ''),