贝宝payflow pro 10002错误?

问题描述:

当我从本地服务器移动到活动服务器时,出现以下错误。它完美的本地服务器上..贝宝payflow pro 10002错误?

DoDirectPayment failed: Array ([TIMESTAMP] => 2014%2d09%2d19T07%3a17%3a50Z [CORRELATIONID] => 2989510fbe4d6 [ACK] => Failure [VERSION] => 51%2e0 [BUILD] => 12896494 [L_ERRORCODE0] => 10002 [L_SHORTMESSAGE0] => Authentication%2fAuthorization%20Failed [L_LONGMESSAGE0] => You%20do%20not%20have%20permissions%20to%20make%20this%20API%20call [L_SEVERITYCODE0] => Error) 

这是我的请求的URL,

$ nvpStr = “& PAYMENTACTION = $ paymentType & AMT = $金额& CREDITCARDTYPE = $ CREDITCARDTYPE & ACCT = $ creditCardNumber” 。 “& EXPDATE = $ padDateMonth $ expDateYear & CVV2 = $ cvv2Number & FIRSTNAME = $ firstName & LASTNAME = $ lastName”。 “& STREET = $地址1 & CITY = $城市& STATE = $状态& ZIP = $拉链& COUNTRYCODE = $国家& CURRENCYCODE = $ currencyID”;

+0

看起来你在进行API调用时没有通过API凭证,因为我还试图在没有凭据的情况下进行API调用,并得到相同的错误。你能否检查证书是通过API调用传递的? – Eshan 2014-09-19 07:50:36

+0

谢谢@Eshan我忘了更新我的实时数据库.. – Chinnu 2014-09-19 08:37:08

我会假设

  • 你还在使用沙盒端点:https://api-3t.sandbox.paypal.com/nvp 您将需要使用https://api-3t.paypal.com/nvp现场。
  • 检查您是否输入了有效/非空的API用户名/密码/签名。