spree_paypal_express/app/overrides/spree/shared/_order_details/add_paypal_details.html.erb...

17 lines
405 B
Plaintext

<!--
insert_bottom '.payment-info'
original '9d4ef160bd508a47f906d7419c33cfc7eefc501d'
-->
<% if order.payment && order.payment.source.class.to_s == 'Spree::PaypalAccount' %>
<span class="cc-type">
<%= image_tag "paypal.png" %>
<%= order.payment.source.payer_status.to_s.capitalize %>
</span>
<br />
<span class="full-name">
<%= order.payment.source.email %>
</span>
<% end %>