Refactor authorization methods in NovaSberPaymentOrderItemAuth to remove redundant user checks and update MakeSberPaymentAction to fix final_amount assignment.

This commit is contained in:
2025-09-09 10:33:02 +05:00
parent c54535e197
commit 640457b979
3 changed files with 39 additions and 19 deletions

View File

@@ -207,7 +207,6 @@ class MakeSberPaymentAction extends Action
$orderNumber = $onlinePaymentRepo->generateOrderNumber($resource);
$final_amount = number_format($amount, 2, '', '');
$final_amount = '001';
$paymentResponse = Http::get('https://mpi.gov.tm/payment/rest/register.do', [
'orderNumber' => $orderNumber,