Sha256: cecb42aaec370a405aae052e6f242c4c69f661efb98b3efa56f65a6e33d1259a
Contents?: true
Size: 846 Bytes
Versions: 6
Compression:
Stored size: 846 Bytes
Contents
<%= 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="payment" data-pp-amount="<%= @order.total %>"></div> <input type="hidden" name="payment_source[<%= payment_method.id %>][paypal_order_id]" id="payments_source_paypal_order_id"> <input type="hidden" name="payment_source[<%= payment_method.id %>][paypal_email]" id="payments_source_paypal_email"> <script> Spree.current_order_id = "<%= @order.number %>" Spree.current_order_token = "<%= @order.guest_token %>" $( document ).ready(function() { SolidusPaypalCommercePlatform.renderButton("<%= payment_method.id %>",<%= raw payment_method.button_style.to_json %>) }) </script> <div id="paypal_commerce_platform_overlay"></div>
Version data entries
6 entries across 6 versions & 1 rubygems