Sha256: 06dd18997eb33f1b8a943c0ec28c2fecb68c2ac6b2dbfedead96f44e63aeb4aa

Contents?: true

Size: 1.31 KB

Versions: 43

Compression:

Stored size: 1.31 KB

Contents

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

Version data entries

43 entries across 43 versions & 4 rubygems

Version Path
spree_gateway-3.11.0 lib/views/backend/spree/admin/log_entries/_braintree.html.erb
spree_gateway-3.10.0 lib/views/backend/spree/admin/log_entries/_braintree.html.erb
archetype_spree_gateway-3.9.5.1 lib/views/backend/spree/admin/log_entries/_braintree.html.erb
archetype_spree_gateway-3.9.5 lib/views/backend/spree/admin/log_entries/_braintree.html.erb
spree_gateway-3.9.4 lib/views/backend/spree/admin/log_entries/_braintree.html.erb
spree_gateway-3.9.3 lib/views/backend/spree/admin/log_entries/_braintree.html.erb
spree_gateway-3.9.2 lib/views/backend/spree/admin/log_entries/_braintree.html.erb
spree_gateway-3.9.0 lib/views/backend/spree/admin/log_entries/_braintree.html.erb
spree_gateway-3.8.0 lib/views/backend/spree/admin/log_entries/_braintree.html.erb
spree_gateway-3.7.5 lib/views/backend/spree/admin/log_entries/_braintree.html.erb
spree_gateway-3.7.4 lib/views/backend/spree/admin/log_entries/_braintree.html.erb
spree_gateway-3.7.3 lib/views/backend/spree/admin/log_entries/_braintree.html.erb
spree_gateway-3.7.2 lib/views/backend/spree/admin/log_entries/_braintree.html.erb
spree_gateway-3.7.1 lib/views/backend/spree/admin/log_entries/_braintree.html.erb
spree_gateway-3.7.0 lib/views/backend/spree/admin/log_entries/_braintree.html.erb
spree_gateway-3.6.7 lib/views/backend/spree/admin/log_entries/_braintree.html.erb
spree_gateway-3.3.7 lib/views/backend/spree/admin/log_entries/_braintree.html.erb
spree_gateway-3.6.5 lib/views/backend/spree/admin/log_entries/_braintree.html.erb
spree_gateway-3.6.4 lib/views/backend/spree/admin/log_entries/_braintree.html.erb
spree_gateway-3.3.5 lib/views/backend/spree/admin/log_entries/_braintree.html.erb