【问题标题】:paypal error token not received未收到贝宝错误令牌
【发布时间】:2012-09-02 18:34:37
【问题描述】:

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

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

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

【问题讨论】:

  • 我还应该补充一点,我尝试了 SOAP 版本,但也无法正常工作。

标签: php paypal


【解决方案1】:

来自该脚本的 cmets:

/**
 * 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 以指向此脚本。然后用户付费后,他会被重定向到这个脚本。

【讨论】:

  • 我会调查的。我认为 PayPal Payments Pro 的目的是让他们永远不会离开您的网站。
猜你喜欢
  • 2015-05-26
  • 2017-03-16
  • 2013-12-01
  • 2016-11-02
  • 2014-04-12
  • 2011-02-20
  • 2018-01-21
  • 2016-05-27
  • 2016-04-15
相关资源
最近更新 更多