<%= render layout: 'plugins/ecommerce/layouts/ecommerce', locals: {} do %> <%= form_tag(plugins_ecommerce_order_set_select_payment_path(order: @order.slug), :method => "post", :class => "form") do %>

Payment

<% @payment_methods = current_site.payment_methods.actives.all %>
<% @payment_methods.each_with_index do |payment, index| %>
" id="<%= payment.slug %>"> <% if payment.options[:type] == 'paypal' %>

Method by Paypal

<%= payment.description %>

Buy now with PayPal
<% end %> <% if payment.options[:type] == 'bank_transfer' %>

Method Bank Transfer

<%= payment.description %>

  • Number Account: <%= payment.options[:bank_transfer_number_account] %>
  • Details: <%= payment.options[:bank_transfer_detail] %>
<% end %> <% if payment.options[:type] == 'credit_card' %>

Method Credit Card

<%= payment.description %>

Buy now with Credit Card <% end %> <% if payment.options[:type] == 'authorize_net' %>

Method by Authorize.net

<%= payment.description %>

Buy now with Authorize.net <% end %>
<% end %>

Products and Payments

<%= render partial: 'plugins/ecommerce/partials/table_order_products', locals: {order: @order} %>
<% end %> <% end %>