<% transaction = entry.parsed_details.params['braintree_transaction'] %> <%= Spree.t(:message, :scope => [:log_entry, :braintree]) %> <%= entry.parsed_details.message %> <% if transaction %> <%= Spree.t(:status, :scope => [:log_entry, :braintree]) %> <%= transaction['status'] %> <%= Spree.t(:cc_token, :scope => [:log_entry, :braintree]) %> <%= transaction['credit_card_details']['token'] %> <%= Spree.t(:customer_id, :scope => [:log_entry, :braintree]) %> <%= transaction['customer_details']['id'] %> <% end %> <%= Spree.t(:cvv_result, :scope => [:log_entry, :braintree]) %> <%= entry.parsed_details.cvv_result['message'].to_s %> <%= Spree.t(:avs_result_title, :scope => [:log_entry, :braintree]) %> <%= Spree.t(:message, :scope => [:log_entry, :braintree, :avs_result]) %>: <%= entry.parsed_details.avs_result['message'] %>
<%= Spree.t(:street_match, :scope => [:log_entry, :braintree, :avs_result]) %>: <%= entry.parsed_details.avs_result['street_match'] %>
<%= Spree.t(:postal_match, :scope => [:log_entry, :braintree, :avs_result]) %>: <%= entry.parsed_details.avs_result['postal_match'] %>