0

我正在尝试集成 PayPal 付款专业快速结帐。我使用了以下代码:

https://www.x.com/paypal-apis-getexpresscheckoutdetails-php-5.3/nvp

我输入了我的 Api 凭据并打开了相关的网站首选项,但我不断收到错误消息,未收到令牌。有谁知道是什么问题?我迷路了。

4

1 回答 1

0

从该脚本的评论中:

/**
 * This example assumes that this is the return URL in the SetExpressCheckout API call.
 * The PayPal website redirects the user to this page with a token.
 */

据我了解,您需要先将用户定向到 PayPal,然后发送 return_url 以指向此脚本。然后在用户付款后,他将被重定向到这个脚本。

于 2012-09-02T19:29:27.083 回答