paypal 的 DoVoid 方法中的权限被拒绝
我正在对 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
错误:我使用不同账户的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