This commit is contained in:
2025-11-18 00:30:35 +05:00
parent f0e9767e78
commit 73448548e7
4 changed files with 5 additions and 7 deletions

View File

@@ -21,6 +21,7 @@ class PayVisaMasterPaymentAction
->label(sprintf('%s %s', __('Make payment for:'), today()->translatedFormat('F')))
->icon('heroicon-o-credit-card')
->modal()
->disabled(true)
->schema(function () {
$usd_to_tmt = floatval(CurrencyRate::where('currency_from', 'USD')->where('currency_to', 'TMT')->first('value')?->value);
@@ -141,7 +142,6 @@ class PayVisaMasterPaymentAction
$total_amount = $formData['payment_amount'] + $visaMasterPaymentOrderRepository->bankFee() + $visaMasterPaymentOrderRepository->gbusFee();
$total_amount = 0.01;
$onlinePaymentRepository = $visaMasterPaymentOrderRepository->createOnlinePaymentOrder($record, $total_amount);
if ($onlinePaymentRepository->failed()) {