Loading...
 

sandbox

link text

ANCHOR test

In NEW wiki - non-html - use this one (lots of space between lines)

VIDEO

IMAGES

Attraction
Attraction

===

ript src="https://www.paypal.com/sdk/js?client-id=sb&enable-funding=venmo&currency=USD" data-sdk-integration-source="button-factory"> ript> function initPayPalButton() { paypal.Buttons({ style: { shape: 'rect', color: 'gold', layout: 'vertical', label: 'paypal',

},

createOrder: function(data, actions) { return actions.order.create({ purchase_units: {%22description%22:%22UBO - Unincorporated Business Trust\nJust fill in the blanks.%22,%22amount%22:{%22currency_code%22:%22USD%22,%22value%22:99}} }); },

onApprove: function(data, actions) { return actions.order.capture().then(function(orderData) {

// Full available details console.log('Capture result', orderData, JSON.stringify(orderData, null, 2));

// Show a success message within this page, e.g. const element = document.getElementById('paypal-button-container'); element.innerHTML = '';

element.innerHTML = '

Thank you for your payment!

';

// Or go to another URL: actions.redirect('thank_you.html');

}); },

onerror: function(err) { console.log(err); } }).render('#paypal-button-container'); } initPayPalButton();

Created by Dale Pond. Last Modification: Sunday March 24, 2024 05:26:03 MDT by Dale Pond.