I understood now why this error: I did not send the correct total amount. I need to pass it through a value of a DOM like span innerHTML instead of simple value. So bellow instead a value of '60' I want to write something like '<%# Eval("total") %>' but I did not succeeded. paypal.Buttons({ createOrder: function(data, actions) { return actions.order.create({ purchase_units: [{ amount: { value: '60', currency: 'USD' } }] }); },
... View more