<%= SolidusPaypalBraintree::Gateway.model_name.human %>
<%= Spree.t(:identifier) %>:
<%= payment.number %>
<%= Spree.t(:response_code) %>:
<%= braintree_transaction_link(payment) %>
<% if payment.source.token.present? %>
<%= t('solidus_paypal_braintree.token') %>:
<%= payment.source.token %>
<% else %>
<%= t('solidus_paypal_braintree.nonce') %>:
<%= payment.source.nonce %>
<% end %>
<%= t('solidus_paypal_braintree.payment_type.label') %>:
<%= payment.source.friendly_payment_type %>
<% if payment.source.credit_card? %>
<%= Spree::CreditCard.human_attribute_name(:card_type) %>:
<%= payment.source.card_type %>
<%= Spree::CreditCard.human_attribute_name(:last_digits) %>:
<%= payment.source.last_digits %>
<% end %>