This commit is contained in:
nurmuhammet committed 2025-09-09 10:10:59 +05:00
1 parent 2a840e3cc5
commit 5b4fa96956
1 file changed
+2 -1
+2 -1
View File
@@ -87,7 +87,6 @@ public function handle(ActionFields $fields, Collection $models): mixed
$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 @@ public function order(SberPaymentOrder $resource, int|float|string $amount): arr
$orderNumber = $onlinePaymentRepo->generateOrderNumber($resource);
$amount = '001';
$paymentResponse = Http::get('https://mpi.gov.tm/payment/rest/register.do', [
'orderNumber' => $orderNumber,
'amount' => number_format($amount, 2, '', ''),