Paypal Expected an order id to be passed

前端 未结 4 433
梦如初夏
梦如初夏 2021-01-20 16:48

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

4条回答
  •  走了就别回头了
    2021-01-20 17:04

    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();
    

提交回复
热议问题