Sha256: 91d8e2697d48d9f0413b8be7b823895a5e769e3a3f73643550ef7095c7ddee33

Contents?: true

Size: 790 Bytes

Versions: 4

Compression:

Stored size: 790 Bytes

Contents

<% id = payment_method.id %>

<%= render "spree/shared/paypal_braintree_head_scripts" %>

<% if current_store.braintree_configuration.paypal? %>
  <%= render "spree/shared/paypal_checkout_button" %>
<% end %>

<% if current_store.braintree_configuration.credit_card? %>
  <fieldset class="braintree-hosted-fields" data-braintree-hosted-fields data-id="<%= id %>">
    <%= render "spree/shared/braintree_hosted_fields", payment_method: payment_method %>
  </fieldset>
<% end %>

<% if current_store.braintree_configuration.apple_pay? %>
  <%= render "spree/shared/apple_pay_button", id: id %>
<% end %>

<% if current_store.braintree_configuration.venmo? %>
  <%= render "spree/shared/venmo_button", payment_method: payment_method %>
<% end %>

<%= render "spree/shared/braintree_errors" %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_paypal_braintree-1.2.0 lib/views/frontend/spree/checkout/payment/_paypal_braintree.html.erb
solidus_paypal_braintree-1.1.2 lib/views/frontend/spree/checkout/payment/_paypal_braintree.html.erb
solidus_paypal_braintree-1.1.1 lib/views/frontend/spree/checkout/payment/_paypal_braintree.html.erb
solidus_paypal_braintree-1.1.0 lib/views/frontend/spree/checkout/payment/_paypal_braintree.html.erb