Sha256: 21f80666f4268de1c021b4e852ad677f8ae0af68dc6783e9657b9a3da1220160
Contents?: true
Size: 778 Bytes
Versions: 11
Compression:
Stored size: 778 Bytes
Contents
<div style="margin-left:auto;margin-right:auto;width:50%;margin-top:20px;"> <%= render partial: "solidus_paypal_commerce_platform/shared/javascript_sdk_tag", locals: {payment_method: payment_method} %> <div id="paypal-button-container"></div> <div data-pp-message data-pp-placement="cart" data-pp-amount="<%= @order.total %>"></div> <script> Spree.current_order_id = "<%= @order.number %>" Spree.current_order_token = "<%= @order.guest_token %>" SolidusPaypalCommercePlatform.checkout_url = "<%= checkout_url %>" $( document ).ready(function() { SolidusPaypalCommercePlatform.renderCartButton("<%= payment_method.id %>",<%= raw payment_method.button_style.to_json %>) }) </script> </div> <div id="paypal_commerce_platform_overlay"></div>
Version data entries
11 entries across 11 versions & 1 rubygems