@if (get_payment_setting('status', PAYSTACK_PAYMENT_METHOD_NAME) == 1)
  • {!! BaseHelper::clean( get_payment_setting( 'description', PAYSTACK_PAYMENT_METHOD_NAME, ), ) !!}

    @php $supportedCurrencies = (new Botble\Paystack\Services\Gateways\PaystackPaymentService)->supportedCurrencyCodes(); @endphp @if (!in_array(get_application_currency()->title, $supportedCurrencies))
    {{ __(":name doesn't support :currency. List of currencies supported by :name: :currencies.", ['name' => 'Paystack', 'currency' => get_application_currency()->title, 'currencies' => implode(', ', $supportedCurrencies)]) }}
    {{ __('Learn more') }}: https://support.paystack.com/hc/en-us/articles/360009973779
    @php $currencies = get_all_currencies(); $currencies = $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
  • @endif