Sha256: 14f78d929779067dd176ad0cdaebbe7512ed115a938f958e78ecb930533df2a0

Contents?: true

Size: 423 Bytes

Versions: 3

Compression:

Stored size: 423 Bytes

Contents

<br />
<%= payment.source.try(:display_payment_type) %>

<% if payment.source.try(:paypal?) %>
  <% if payment.source.respond_to?(:paypal_funding_source) && payment.source.paypal_funding_source.present? %>
    <br />
    <%= t('spree.paypal_funding', funding: payment.source.display_paypal_funding_source) %>
  <% end %>
<% elsif payment.source.try(:venmo?) %>
  <br />
  <%= payment.source.source_description %>
<% end %>

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
solidus_braintree-2.0.0 lib/views/frontend/solidus_braintree/payments/_payment.html.erb
solidus_paypal_braintree-1.2.0 lib/views/frontend/solidus_paypal_braintree/payments/_payment.html.erb
solidus_paypal_braintree-1.1.2 lib/views/frontend/solidus_paypal_braintree/payments/_payment.html.erb