Store

https://www.paypal.com/sdk/js?client-id=sb&currency=USD

paypal.Buttons({
style: {
shape: ‘rect’,
color: ‘gold’,
layout: ‘vertical’,
label: ‘paypal’,

},
createOrder: function(data, actions) {
return actions.order.create({
purchase_units: [{
amount: {
value: ‘5.00’
}
}]
});
},
onApprove: function(data, actions) {
return actions.order.capture().then(function(details) {
alert(‘Transaction completed by ‘ + details.payer.name.given_name + ‘!’);
});
}
}).render(‘#paypal-button-container’);
 

%d bloggers like this:
search previous next tag category expand menu location phone mail time cart zoom edit close