Sha256: 89b37cc73e1f0dc0dfcddc1ff5fa9fac4278e0084782cf3e94ac69229ffcf9d1

Contents?: true

Size: 678 Bytes

Versions: 10

Compression:

Stored size: 678 Bytes

Contents

<% if current_order.present? && cart_checkout_payment_method.present? %>
  <div id="stripe-payment-request" class="stripe-payment-request" data-v3-api="payment-request-button" style="display:none">
    <div id="payment-request-button"
      data-stripe-config="<%= cart_checkout_payment_method.stripe_config(current_order).to_json %>"
      data-order-token="<%= current_order.guest_token %>"
      data-submit-url="<%= api_checkout_path(current_order.number) %>"
      data-complete-url="<%= checkout_path %>"
      class="payment-request-button">
    </div>

    <div id="card-errors" class='errorExplanation' role="alert" style="display: none">
    </div>
  </div>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
solidus_stripe-4.4.1 lib/views/frontend/spree/orders/_stripe_payment_request_button.html.erb
solidus_stripe-4.4.0 lib/views/frontend/spree/orders/_stripe_payment_request_button.html.erb
solidus_stripe-4.3.0 lib/views/frontend/spree/orders/_stripe_payment_request_button.html.erb
solidus_stripe-4.2.0 lib/views/frontend/spree/orders/_stripe_payment_request_button.html.erb
solidus_stripe-4.1.0 lib/views/frontend/spree/orders/_stripe_payment_request_button.html.erb
solidus_stripe-3.2.1 lib/views/frontend/spree/orders/_stripe_payment_request_button.html.erb
solidus_stripe-4.0.0 lib/views/frontend/spree/orders/_stripe_payment_request_button.html.erb
solidus_stripe-3.2.0 lib/views/frontend/spree/orders/_stripe_payment_request_button.html.erb
solidus_stripe-3.1.0 lib/views/frontend/spree/orders/_stripe_payment_request_button.html.erb
solidus_stripe-3.0.0 lib/views/frontend/spree/orders/_stripe_payment_request_button.html.erb