PayPal 获取令牌

发布于 2024-09-01 13:28:00 字数 401 浏览 5 评论 0原文

我正在使用 PayPal API 进行快速结帐集成。设置快速结帐后,您将进入带有令牌的页面,如下所示:

https://api-3t.sandbox.paypal.com/nvp

令牌看起来或多或少像这样

ACK=Failure&L_ERRORCODE0=81002&L_SHORTMESSAGE0=Unspecified%20Method&L_LONGMESSAGE0=Method%20Specified%20is%20not%20Supported&L_SEVERITYCODE0=Error

我的问题是:如何通过 PHP 获取此令牌?我不想提前重定向到该页面。在传递某些 post 参数后如何获取远程文件的内容?

I am using the PayPal API for Express Checkout Integration. Upon setting the Express Checkout, one gets to a page with a token, like this page:

https://api-3t.sandbox.paypal.com/nvp

The token looks more or less like that

ACK=Failure&L_ERRORCODE0=81002&L_SHORTMESSAGE0=Unspecified%20Method&L_LONGMESSAGE0=Method%20Specified%20is%20not%20Supported&L_SEVERITYCODE0=Error

My Question is: how do I fetch this toke by means of PHP? I do not want to be redirected to that page beforehand. How do I just fetch the contents of a remote file after passing certain post parameters?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

惟欲睡 2024-09-08 13:28:00

我没有直接的答案,但对于 PayPal,我发现开发者论坛非常适合快速获得答案,特别是当它特定于技术(.NET、PHP 等)

时x.com/docs/DOC-1613" rel="nofollow noreferrer">https://www.x.com/docs/DOC-1613

http://paypaldev.org/

I don't have a direct answer, but for PayPal I found the developer forums really good for getting quick answers, especially when its specific to technology (.NET, PHP, etc.)

https://www.x.com/docs/DOC-1613

http://paypaldev.org/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文