I am making a website with a payment, but it everytime i try to test buy my product i get a Permission denied error : Error: Api: /smart/api/order/$$$$$/capture returned ack: permission_denied {"Insufiecient Permissions "} This is my code: paypal.Buttons({ onCancel: function (data) { alert("aborted") }, onApprove: function(data, actions) { return actions.order.capture().then(function(details) { alert('Transaction completed by ' + details.payer.name.given_name + '!'); }); }, onError: function(err) { alert(err) }, createOrder: function(data, actions) { // Set up the transaction return actions.order.create({ purchase_units: [{ amount: { value: "50" } }] }) } }).render('#paypal-button-container');
... View more