some stan
This commit is contained in:
1 parent
73448548e7
commit
bc45f2756e
3 files changed
+4
-3
No files matched your search
@@ -36,7 +36,7 @@ public function __construct(
|
||||
}
|
||||
|
||||
/**
|
||||
* Send request to gatewat
|
||||
* Send request to gateway
|
||||
*/
|
||||
public function sendRequest(): Response
|
||||
{
|
||||
|
||||
@@ -272,7 +272,7 @@ public function checkPayment(string $orderId): array
|
||||
$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
|
||||
|
||||
@@ -21,7 +21,8 @@ public static function make(): Action
|
||||
->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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user