Paypal api – Add value variable inside amount object paypal 2019
I'm creating an order using paypal API. I need to put the value of an item inside the "amount" object, as is provided by the example code in the paypal page. The code is as follows: paypal.Buttons({ createOrder: function(data, actions)…