@if (setting('payment_stripe_status') == 1)
  • {!! BaseHelper::clean(get_payment_setting('description', STRIPE_PAYMENT_METHOD_NAME)) !!}

    @if (get_payment_setting('payment_type', STRIPE_PAYMENT_METHOD_NAME, 'stripe_api_charge') == 'stripe_api_charge')
    @endif @php $supportedCurrencies = (new Botble\Stripe\Services\Gateways\StripePaymentService)->supportedCurrencyCodes(); @endphp @if ( !in_array(get_application_currency()->title, $supportedCurrencies) && !get_application_currency()->replicate()->newQuery()->where('title', 'USD')->exists())
    {{ __(":name doesn't support :currency. List of currencies supported by :name: :currencies.", ['name' => 'Stripe', '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))
    {{ __('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