Paypal button is not coming up in new google sites(Not classic google site)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
We tried to put the fix which is explained in the given below thread, but we could not locate any such sections(method="post" target="_blank") in our paypal code to replace -
This is the Paypal code that we are getting from Paypal website -
<div id="paypal-button-container"></div> <script src="https://www.paypal.com/sdk/js?client-id=sb¤cy=AUD" data-sdk-integration-source="button-factory"></script> <script> paypal.Buttons({ style: { shape: 'rect', color: 'gold', layout: 'vertical', label: 'pay', }, createOrder: function(data, actions) { return actions.order.create({ purchase_units: [{ amount: { value: '20.85' } }] }); }, onApprove: function(data, actions) { return actions.order.capture().then(function(details) { alert('Transaction completed by ' + details.payer.name.given_name + '!'); }); } }).render('#paypal-button-container'); </script>
Thanks a lot in advance,
Vijeesh
- Labels:
-
PayPal Buttons
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Unable to make payments on Google Chrome in Merchant Products and Services Archives
- Issues adding a logo to donate button in Merchant Products and Services Archives
- Access to the invoice archive if all invoices have been cleared & archived (new template issue)?? in Business Tools Archives
- Paypal Payment Types for Dropshipping Biz in Merchant Products and Services Archives
- Thievery Venmo in Merchant Products and Services Archives