diff --git a/app/Modules/HalkbankOnlinePayment/Repositories/HalkbankOnlinePaymentRepository.php b/app/Modules/HalkbankOnlinePayment/Repositories/HalkbankOnlinePaymentRepository.php index 02fe8d4..163ad7b 100644 --- a/app/Modules/HalkbankOnlinePayment/Repositories/HalkbankOnlinePaymentRepository.php +++ b/app/Modules/HalkbankOnlinePayment/Repositories/HalkbankOnlinePaymentRepository.php @@ -36,7 +36,7 @@ class HalkbankOnlinePaymentRepository implements PaymentProviderContract } /** - * Send request to gatewat + * Send request to gateway */ public function sendRequest(): Response { diff --git a/app/Modules/OnlinePayment/Repositories/OnlinePaymentRepository.php b/app/Modules/OnlinePayment/Repositories/OnlinePaymentRepository.php index f0b53e8..0d9567e 100644 --- a/app/Modules/OnlinePayment/Repositories/OnlinePaymentRepository.php +++ b/app/Modules/OnlinePayment/Repositories/OnlinePaymentRepository.php @@ -272,7 +272,7 @@ class OnlinePaymentRepository $response = $this->provider->checkPayment($orderId); if ($response['errorCode'] != '0') { - return $this->paymentFailed($response['errorMessage']); + return $this->paymentFailed($response['errorMessage']); // @phpstan-ignore-line } return $response['paymentAmountInfo']['depositedAmount'] > 0 // @phpstan-ignore-line diff --git a/app/Modules/VisaMasterPaymentOrder/Filament/Actions/PayVisaMasterPaymentAction.php b/app/Modules/VisaMasterPaymentOrder/Filament/Actions/PayVisaMasterPaymentAction.php index c04a266..44d6682 100644 --- a/app/Modules/VisaMasterPaymentOrder/Filament/Actions/PayVisaMasterPaymentAction.php +++ b/app/Modules/VisaMasterPaymentOrder/Filament/Actions/PayVisaMasterPaymentAction.php @@ -21,7 +21,8 @@ class PayVisaMasterPaymentAction ->label(sprintf('%s %s', __('Make payment for:'), today()->translatedFormat('F'))) ->icon('heroicon-o-credit-card') ->modal() - ->disabled(true) + // ->disabled(true) + // ->tooltip() ->schema(function () { $usd_to_tmt = floatval(CurrencyRate::where('currency_from', 'USD')->where('currency_to', 'TMT')->first('value')?->value);