Hi I have not been able to solve this problem for 3 days. I have integrated Paypal smart button to my page and it works. 3 days ago Do not pass Pay-xxx directly gave an erro
You need to send the Token of the payment and not the ID of the payment. If you use php, use this :
// Instance of your ApiPayment $payment = new ApiPayment(); $payment->getToken();