Q & T Digital Marketing Agency Shop

https://www.paypal.com/sdk/js?client-id=sb&enable-funding=venmo&currency=USD function initPayPalButton() { paypal.Buttons({ style: { shape: ‘pill’, color: ‘silver’, layout: ‘vertical’, label: ‘checkout’, }, createOrder: function(data, actions) { return actions.order.create({ purchase_units: [{“description”:”Listing Setup, Verification, Images upload, content upload”,”amount”:{“currency_code”:”USD”,”value”:99}}] }); }, onApprove: function(data, actions) { return actions.order.capture().then(function(details) { alert(‘Transaction completed by ‘ + details.payer.name.given_name + ‘!’); }); }, onError: function(err) { console.log(err); } }).render(‘#paypal-button-container’); } initPayPalButton();
%d bloggers like this: