当我从本地服务器移动到实时服务器时出现以下错误。它在本地服务器上运行良好..
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 )
这是我的请求网址
$ nvpStr ="& PAYMENTACTION = $ paymentType& AMT = $ amount& CREDITCARDTYPE = $ creditCardType& ACCT = $ creditCardNumber"。 "&安培; EXPDATE = $ $ padDateMonth&expDateYear放大器; CVV2 = $ cvv2Number&安培; FIRSTNAME = $的firstName&安培; LASTNAME = $ lastName的&#34 ;. "&安培; STREET = $地址1&安培; CITY = $城市&安培; STATE = $状态&安培; ZIP = $拉链&安培; COUNTRYCODE = $国家&安培; CURRENCYCODE = $ currencyID&#34 ;;
答案 0 :(得分:0)
我会假设
https://api-3t.sandbox.paypal.com/nvp
您需要使用https://api-3t.paypal.com/nvp
进行LIVE。