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, '', ''),