Compare commits
2 Commits
73448548e7
...
cbd469c97f
| Author | SHA1 | Date | |
|---|---|---|---|
| cbd469c97f | |||
| bc45f2756e |
@@ -36,7 +36,7 @@ class HalkbankOnlinePaymentRepository implements PaymentProviderContract
|
||||
}
|
||||
|
||||
/**
|
||||
* Send request to gatewat
|
||||
* Send request to gateway
|
||||
*/
|
||||
public function sendRequest(): Response
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -21,7 +21,6 @@ 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);
|
||||
|
||||
@@ -87,12 +86,12 @@ class PayVisaMasterPaymentAction
|
||||
}),
|
||||
|
||||
TextInput::make('usd_rate')
|
||||
->label(__('USD ekwalendi'))
|
||||
->label(__('USD rate'))
|
||||
->suffix('USD')
|
||||
->readOnly(),
|
||||
|
||||
TextInput::make('total_amount')
|
||||
->label(__('Total amount'))
|
||||
->label(__('Total'))
|
||||
->suffix('TMT')
|
||||
->readOnly(),
|
||||
]),
|
||||
|
||||
@@ -725,5 +725,7 @@
|
||||
"Please try again later": "Täzeden geçirmek üçin synanyşyňyz",
|
||||
"Payment amount, USD rate, and total amount are required. Please try again.": "Töleg möçberi, USD kursy we toplam möçberi töleg edilmeli. Täzeden geçirmek üçin synanyşyňyz.",
|
||||
"Payment": "Töleg",
|
||||
"Online payments": "Onlaýn tölegler"
|
||||
"Online payments": "Onlaýn tölegler",
|
||||
"USD rate": "USD kursy",
|
||||
"Total": "Jemi"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user