paypal 的 DoVoid 方法中的权限被拒绝

发布于 2024-10-27 05:02:43 字数 524 浏览 2 评论 0原文

我正在对 Void 一笔 paypal 交易进行 NVP api 调用,但收到以下错误消息

DoVoid failed:

Array
(
    [TIMESTAMP] => 20110329 05 42 06
    [CORRELATIONID] => 999a45387463f
    [ACK] => Failure
    [VERSION] => 51.0
    [BUILD] => 1799695
    [L_ERRORCODE0] => 10007
    [L_SHORTMESSAGE0] => Permission denied
    [L_LONGMESSAGE0] => You do not have permissions to make this API call
    [L_SEVERITYCODE0] => Error
)

我已提供了正确的 API 凭据,但不知道为什么会收到此消息。

谢谢!

I am making a NVP api call to Void a paypal transaction but I get the following error message

DoVoid failed:

Array
(
    [TIMESTAMP] => 20110329 05 42 06
    [CORRELATIONID] => 999a45387463f
    [ACK] => Failure
    [VERSION] => 51.0
    [BUILD] => 1799695
    [L_ERRORCODE0] => 10007
    [L_SHORTMESSAGE0] => Permission denied
    [L_LONGMESSAGE0] => You do not have permissions to make this API call
    [L_SEVERITYCODE0] => Error
)

I have provided the correct API credentials but don't know why i am getting this.

Thanks!

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

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

发布评论

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

评论(1

深海蓝天 2024-11-03 05:02:43

错误:我使用不同账户的API凭证来作废不同账户的交易。

另一种选择:您可以将 api 权限从一个帐户授予另一个帐户(但在我的情况下仍然不起作用)。有更多信息此处

第二个解决方案选项:第二个选项的解决方案是您必须在&SUBJECT参数中传递接收者的paypal电子邮件(其交易将被作废)以及paypal交易id。更多信息此处

Mistake: I was using the api credentials of different account to void transaction of different account.

Another Option: You can grant api permission from one account to another account (but still not working in my case). Have more info here

Solution for 2nd Option: The solution for second option is you will have to pass the paypal email of receiver (of whose the transaction is being going to void ) in the &SUBJECT parameter with paypal transaction id. more info here

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