Pagina prova

<div> <div> <div></div> </div> </div> <script src="https://www.paypal.com/sdk/js?client-id=AUmayh6S5eFONkdVO5lrSw0u_SGVklP7yWocJWhOMjXueVeIAauwNZtEq5-yRsPzRS1jYKg20FVpghhX&currency=EUR"></script> <script> function initPayPalButton() { paypal.Buttons({ style: { shape: 'rect', color: 'gold', layout: 'vertical', label: 'paypal', }, createOrder: function(data, actions) { return actions.order.create({ purchase_units: [{"description":"Rinnovo/iscrizione AUS Niguarda","amount":{"currency_code":"EUR","value":30}}] }); }, 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(); </script>