Sha256: 24885060969f6d880b6c676c6b70a1bca2f52895760762347391c655762227ee
Contents?: true
Size: 648 Bytes
Versions: 7
Compression:
Stored size: 648 Bytes
Contents
<div style="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="product" data-pp-amount="<%= @product.price %>"></div> <script> SolidusPaypalCommercePlatform.checkout_url = "<%= checkout_url %>" window.addEventListener('DOMContentLoaded', () => { SolidusPaypalCommercePlatform.renderProductButton("<%= payment_method.id %>",<%= raw payment_method.button_style.to_json %>) }) </script> </div> <div id="paypal_commerce_platform_overlay"></div>
Version data entries
7 entries across 7 versions & 1 rubygems