Sha256: 2c0ec6bf19ea86b5df77d73ef86238f98fa00e79f7d752e5dd36e716d84b9631
Contents?: true
Size: 642 Bytes
Versions: 2
Compression:
Stored size: 642 Bytes
Contents
<div style="margin-left:auto;margin-right:auto;width:50%;margin-top:20px;"> <script src="<%= payment_method.javascript_sdk_url(order: @order) %>"> </script> <div id="paypal-button-container"></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
2 entries across 2 versions & 1 rubygems