<%= t('paypal_account') %>
<%= t('account_details') %>
<%= payment.source.email %> <%= payment.source.payer_id %> <%= payment.source.payer_country %>
<%= payment.source.payer_status %>
<%= t('transactions') %> <% payment.log_entries.reverse.each do |log| %> <% details = YAML.load(log.details) rescue "" %> <% if details.is_a? ActiveMerchant::Billing::PaypalExpressResponse %> <% if details.params["payment_status"] == "Pending" %> <% end %> <% elsif details.is_a? ActiveMerchant::Billing::Integrations::Paypal::Notification %> <% else %> <% end %>
<%= t('transaction') %> <%= details.params["transaction_id"] %> - <%= log.created_at.to_s(:date_time24) %>
<%= details.params["transaction_type"] %> <%= details.message %> <%= number_to_currency details.params["gross_amount"] %>
<%= details.params["message"] %> <%= details.params["payment_status"] %>
<%= details.params["pending_reason"] %>
<%= t('ipn_transaction') %> <%= details.params["txn_id"] %> - <%= log.created_at.to_s(:date_time24) %>
<%= details.params["txn_type"] %> <%= details.params["payment_status"] %> <%= number_to_currency details.params["mc_gross"] %>
<%= details.params["payment_status"] %>
<%= t('unknown_transaction') %> - <%= log.created_at.to_s(:date_time24) %>
<%= log.details %>
<% end %>