@if ($errorMessage)
{!! BaseHelper::clean($errorMessage) !!}
@else
{!! get_payment_setting('description', RAZORPAY_PAYMENT_METHOD_NAME, __('Payment with Razorpay')) !!}
@endif
@php $supportedCurrencies = (new \Botble\Razorpay\Services\Gateways\RazorpayPaymentService)->supportedCurrencyCodes(); @endphp
@if (!in_array(get_application_currency()->title, $supportedCurrencies))
{{ __(":name doesn't support :currency. List of currencies supported by :name: :currencies.", ['name' => 'Razorpay', 'currency' => get_application_currency()->title, 'currencies' => implode(', ', $supportedCurrencies)]) }}
@php
$currencies = get_all_currencies();
$currencies = $currencies->filter(function ($item) use ($supportedCurrencies) { return in_array($item->title, $supportedCurrencies); });
@endphp
@if (count($currencies))
@endif
@endif