some stan

This commit is contained in:
2025-11-18 00:34:40 +05:00
parent 73448548e7
commit bc45f2756e
3 changed files with 4 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ class HalkbankOnlinePaymentRepository implements PaymentProviderContract
}
/**
* Send request to gatewat
* Send request to gateway
*/
public function sendRequest(): Response
{

View File

@@ -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

View File

@@ -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);