Widget:PayPalButton: Difference between revisions

From WikiDemocracy
Jump to navigationJump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div id="paypal-container-<!--{$buttonId|escape:'html'}-->"></div>
<paypal-add-to-cart-button data-id="<!--{$buttonId|escape:'html'}-->"></paypal-add-to-cart-button>
 
<script src="https://www.paypal.com/sdk/js?client-id=EJhWz5Dh-J4rVAdqwUtFCOmazMLDzNRQ8UnKpTrkyBg25KoeIXc7jHpL9AQxE9eUazvYOG_lTIl4Xk8H&components=hosted-buttons&disable-funding=venmo&currency=USD"></script>


<script>
<script>
paypal.HostedButtons({
cartPaypal.AddToCart({
     hostedButtonId: "<!--{L2GFX4JNL9X4A|escape:'javascript'}-->"
     id: "<!--{$buttonId|escape:'javascript'}-->"
}).render("#paypal-container-<!--{L2GFX4JNL9X4A|escape:'javascript'}-->");
});
</script>
</script>
</includeonly>
</includeonly>

Latest revision as of 15:54, 29 July 2026