1
當我從本地服務器移動到活動服務器時,出現以下錯誤。它完美的本地服務器上..貝寶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」;
看起來你在進行API調用時沒有通過API憑證,因爲我還試圖在沒有憑據的情況下進行API調用,並得到相同的錯誤。你能否檢查證書是通過API調用傳遞的? – Eshan 2014-09-19 07:50:36
謝謝@Eshan我忘了更新我的實時數據庫.. – Chinnu 2014-09-19 08:37:08