" role="tabpanel" aria-labelledby="heading<%= payment.id %>">
<%= payment.description.translate %>
<% if payment.options[:type] == 'paypal' %>
<%= form_tag(plugins_ecommerce_checkout_pay_by_paypal_path(order: @cart.slug), :method => "post") do %>
<%= inputs %>
<% end %>
<% end %>
<% if payment.options[:type] == 'bank_transfer' %>
<%= form_tag(plugins_ecommerce_checkout_pay_by_bank_transfer_path(order: @cart.slug), :method => "post") do %>
- <%= t('.account_number', default: 'Account Number') %>: <%= payment.options[:bank_transfer_number_account] %>
- <%= t('.details_transfer', default: 'Details') %>: <%= payment.options[:bank_transfer_detail].to_s.translate %>
<%= inputs %>
<% end %>
<% end %>
<% if payment.options[:type] == 'on_delivery' %>
<%= form_tag(plugins_ecommerce_checkout_pay_by_on_delivery_path(order: @cart.slug), :method => "post") do %>
<%= inputs %>
<% end %>
<% end %>
<% if payment.options[:type] == 'credit_card' %>
<% end %>
<% if payment.options[:type] == 'authorize_net' %>
<%= form_tag(plugins_ecommerce_checkout_pay_by_authorize_net_path(order: @cart.slug), :method => "post") do %>
<%= inputs %>
<% end %>
<% end %>
<% if payment.options[:type] == 'stripe' %>
<%= form_tag(plugins_ecommerce_checkout_pay_by_stripe_path(order: @cart.slug), :method => "post") do %>
<% end %>
<% end %>
<% if(custom_method = ecommerce_custom_payment_methods[payment.options[:type].to_sym]).present? %>
<%= render custom_method[:payment_form_view_path], payment: payment, options: payment.options, cart: @cart %>
<% end %>