<%= Spree.t(:payment_type).upcase %>

<%= render partial: 'spree/checkout/payment/storecredit' %>
<% if @payment_sources.present? %>
<%= radio_button_tag 'use_existing_card', 'yes', true, class: 'd-none' %>
<% @payment_sources.each do |card| %> <%= render partial: 'credit_card', locals: { card: card } %> <% end %>
<% end %>
    <% @order.available_payment_methods.each do |method| %>
  • <%= render partial: "spree/checkout/payment/#{method.method_type}", locals: { payment_method: method } %>
  • <% end %>