<% if @payment_method.options[:type] == 'paypal' %>
<%= t('plugins.ecommerce.method_paypal') %>
- <%= t('plugins.ecommerce.table.login') %>: <%= @payment_method.options[:paypal_login] %>
- <%= t('plugins.ecommerce.table.password') %>: <%= @payment_method.options[:paypal_password] %>
- <%= t('plugins.ecommerce.table.signature') %>: <%= @payment_method.options[:paypal_signature] %>
- <%= t('plugins.ecommerce.table.sandbox') %>: <%= @payment_method.options[:paypal_sandbox].to_s.to_bool ? 'Yes' : 'No' %>
<% end %>
<% if @payment_method.options[:type] == 'credit_card' %>
<%= t('plugins.ecommerce.method_credit_card') %>
- <%= t('plugins.ecommerce.table.login') %>: <%= @payment_method.options[:cc_paypal_login] %>
- <%= t('plugins.ecommerce.table.password') %>: <%= @payment_method.options[:cc_paypal_password] %>
- <%= t('plugins.ecommerce.table.signature') %>: <%= @payment_method.options[:cc_paypal_signature] %>
- <%= t('plugins.ecommerce.table.sandbox') %>: <%= @payment_method.options[:cc_paypal_sandbox].to_s.to_bool ? 'Yes' : 'No' %>
<% end %>
<% if @payment_method.options[:type] == 'bank_transfer' %>
<%= t('plugins.ecommerce.method_bank_transfer') %>
- <%= t('plugins.ecommerce.table.number_account_bank') %>: <%= @payment_method.options[:bank_transfer_number_account] %>
- <%= t('plugins.ecommerce.table.details') %>: <%= @payment_method.options[:bank_transfer_detail] %>
<% end %>
<% if @payment_method.options[:type] == 'authorize_net' %>
<%= t('plugins.ecommerce.method_authorize_net') %>
-
<%= t('plugins.ecommerce.table.login_id') %>:
<%= @payment_method.options[:authorize_net_login_id] %>
-
<%= t('plugins.ecommerce.table.transaction_key') %>:
<%= @payment_method.options[:authorize_net_transaction_key] %>
-
<%= t('plugins.ecommerce.table.sandbox') %>:
<%= @payment_method.options[:authorize_net_sandbox].to_s.to_bool ? 'Yes' : 'No' %>
<% end %>