@if (get_payment_setting('status', RAZORPAY_PAYMENT_METHOD_NAME) == 1)
  • @if ($errorMessage)
    {!! BaseHelper::clean($errorMessage) !!}
    @else

    {!! get_payment_setting('description', RAZORPAY_PAYMENT_METHOD_NAME, __('Payment with :paymentType', ['paymentType' => '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)]) }}
    {{ __('Learn more') }}: https://razorpay.com/docs/payments/payments/international-payments/#supported-currencies
    @php $currencies = get_all_currencies() ->filter(function ($item) use ($supportedCurrencies) { return in_array($item->title, $supportedCurrencies); }); @endphp @if (count($currencies))
    {{ __('Please switch currency to any supported currency') }}:   @foreach ($currencies as $currency) id) class="active" @endif>{{ $currency->title }} @if (!$loop->last)   |   @endif @endforeach
    @endif
    @endif
  • @if (EcommerceHelper::isValidToProcessCheckout()) @endif @endif