paypal.Buttons({ style: { shape: 'pill', color: 'blue', layout: 'vertical', label: 'paypal', }, createOrder: function(data, actions) { return actions.order.create({ purchase_units: [{ amount: { value: '5' } }] }); }, onApprove: function(data, actions) { return actions.order.capture().then(function(details) { alert('Transaction completed by ' + details.payer.name.given_name + '!'); }); } }).render('#paypal-button-container');

Who's Online

We have 50 guests and no members online