PayPal DoCapture“您无权进行此API调用”错误

时间:2013-08-08 05:10:26

标签: paypal paypal-sandbox

我已使用以下表单

测试了doCapture API调用
<form method=post action=https://api-3t.sandbox.paypal.com/nvp>

<input id="METHOD" name="METHOD" type="hidden" value="DoCapture" />
<input id="AUTHORIZATIONID" name="AUTHORIZATIONID" type="hidden" value="4M894622FJ6713130" />
<input id="AMT" name="AMT" type="hidden" value="50" />
<input id="CURRENCYCODE"  name="CURRENCYCODE" type="hidden" value="EUR" />
<input id="COMPLETETYPE" name="COMPLETETYPE" type="hidden" value="NotComplete" />
<input type=submit value=DoCapture>

但它显示以下结果

TIMESTAMP=2013%2d08%2d08T04%3a42%3a31Z&CORRELATIONID=d5019d565a403&ACK=Failure&VERSION=0%2e000000&BUILD=7161310&L_ERRORCODE0=10002&L_SHORTMESSAGE0=Authentication%2fAuthorization%20Failed&L_LONGMESSAGE0=You%20do%20not%20have%20permissions%20to%20make%20this%20API%20call&L_SEVERITYCODE0=Error    

如何设置进行此API调用的权限?

先谢谢

Lakshmi Priya.K

1 个答案:

答案 0 :(得分:1)

您需要在通话中加入VERSIONUSERPWDSIGNATURE