PayPal debug id: 1bd80bbc3208 when click on buy button

gabibraharu
Contributor
Contributor

Hello,

I just rendered the javascript paypal buy button with my sandbox client-id and is rendered ok.

But when I click on it to buy, it opens the pop-up buy window and close it immediately then it throws PayPal debug id: 1bd80bbc3208

I do not know what it means and how to debug.

I need help, thanks.

Login to Me Too
1 REPLY 1

gabibraharu
Contributor
Contributor

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'
                  }
             }]
});
},

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.