<%= @payment_method.name %>

<%= link_to raw(" #{t('plugin.ecommerce.edit_payment_methods')}"), {action: :edit, id: @payment_method.id}, class: "btn btn-primary pull-right" %>

<%= t('plugin.ecommerce.info') %>

  • <%= t('plugin.ecommerce.table.name') %>: <%= @payment_method.name %>
  • <%= t('plugin.ecommerce.table.description') %>: <%= @payment_method.description %>
  • <%= t('plugin.ecommerce.status') %>: <%= raw @payment_method.the_status %>
<% if @payment_method.options[:type] == 'paypal' %>

<%= t('plugin.ecommerce.method_paypal') %>

  • <%= t('plugin.ecommerce.table.login') %>: <%= @payment_method.options[:paypal_login] %>
  • <%= t('plugin.ecommerce.table.password') %>: <%= @payment_method.options[:paypal_password] %>
  • <%= t('plugin.ecommerce.table.signature') %>: <%= @payment_method.options[:paypal_signature] %>
  • <%= t('plugin.ecommerce.table.sandbox') %>: <%= @payment_method.options[:paypal_sandbox].to_s.to_bool ? 'Yes' : 'No' %>
<% end %> <% if @payment_method.options[:type] == 'credit_card' %>

<%= t('plugin.ecommerce.method_credit_card') %>

  • <%= t('plugin.ecommerce.table.login') %>: <%= @payment_method.options[:cc_paypal_login] %>
  • <%= t('plugin.ecommerce.table.password') %>: <%= @payment_method.options[:cc_paypal_password] %>
  • <%= t('plugin.ecommerce.table.signature') %>: <%= @payment_method.options[:cc_paypal_signature] %>
  • <%= t('plugin.ecommerce.table.sandbox') %>: <%= @payment_method.options[:cc_paypal_sandbox].to_s.to_bool ? 'Yes' : 'No' %>
<% end %> <% if @payment_method.options[:type] == 'bank_transfer' %>

<%= t('plugin.ecommerce.method_bank_transfer') %>

  • <%= t('plugin.ecommerce.table.number_account_bank') %>: <%= @payment_method.options[:bank_transfer_number_account] %>
  • <%= t('plugin.ecommerce.table.details') %>: <%= @payment_method.options[:bank_transfer_detail] %>
<% end %> <% if @payment_method.options[:type] == 'authorize_net' %>

<%= t('plugin.ecommerce.method_authorize_net') %>

  • <%= t('plugin.ecommerce.table.login_id') %>: <%= @payment_method.options[:authorize_net_login_id] %>
  • <%= t('plugin.ecommerce.table.transaction_key') %>: <%= @payment_method.options[:authorize_net_transaction_key] %>
  • <%= t('plugin.ecommerce.table.sandbox') %>: <%= @payment_method.options[:authorize_net_sandbox].to_s.to_bool ? 'Yes' : 'No' %>
<% end %>