2015-04-23 85 views
0

我正在嘗試將貝寶支付專業版整合到我的Magento網站。Magento - PayPal支付親 - 10002安全頭是無效的錯誤

每當我試着交易測試它給了我下面的錯誤:

"10002 (security header is not valid error)"

2015-04-23T11:51:19+00:00 DEBUG (7): Array 
(
    [url] => https://api-3t.sandbox.paypal.com/nvp 
    [DoDirectPayment] => Array 
     (
      [PAYMENTACTION] => Authorization 
      [IPADDRESS] => 119.157.225.205 
      [RETURNFMFDETAILS] => 1 
      [AMT] => 385.00 
      [CURRENCYCODE] => USD 
      [INVNUM] => 100000055 
      [NOTIFYURL] => http://202.142.XXX.XX/apex-gb/index.php/paypal/ipn/ 
      [EMAIL] => [email protected] 
      [CREDITCARDTYPE] => **** 
      [ACCT] => **** 
      [EXPDATE] => **** 
      [CVV2] => **** 
      [ISSUENUMBER] => 
      [ITEMAMT] => 385.00 
      [TAXAMT] => 0.00 
      [SHIPPINGAMT] => 0.00 
      [L_NUMBER0] => 03april-ARC818105ET27HS-ARC818105ET27HS 
      [L_NAME0] => 18" ARC-8 Group Buy - 03 Apr 4:37 
      [L_QTY0] => 1 
      [L_AMT0] => 400.00 
      [L_NUMBER1] => 
      [L_NAME1] => Discount 
      [L_QTY1] => 1 
      [L_AMT1] => -15.00 
      [BUSINESS] => 
      [FIRSTNAME] => Kashif 
      [LASTNAME] => Saleem 
      [MIDDLENAME] => 
      [SALUTATION] => 
      [SUFFIX] => 
      [COUNTRYCODE] => US 
      [STATE] => CA 
      [CITY] => Beverly Hills 
      [STREET] => 123123 
      [ZIP] => 90210 
      [PHONENUM] => 12312312312312 
      [SHIPTOCOUNTRYCODE] => US 
      [SHIPTOSTATE] => CA 
      [SHIPTOCITY] => Beverly Hills 
      [SHIPTOSTREET] => 123123 
      [SHIPTOZIP] => 90210 
      [SHIPTOPHONENUM] => 12312312312312 
      [SHIPTOSTREET2] => 
      [STREET2] => 
      [SHIPTONAME] => Kashif Saleem 
      [METHOD] => DoDirectPayment 
      [VERSION] => 72.0 
      [USER] => **** 
      [PWD] => **** 
      [SIGNATURE] => **** 
      [BUTTONSOURCE] => Magento_Cart_Community 
     ) 

    [response] => Array 
     (
      [TIMESTAMP] => 2015-04-23T11:48:34Z 
      [CORRELATIONID] => fe7639e2a70d1 
      [ACK] => Failure 
      [VERSION] => 72.0 
      [BUILD] => 16204765 
      [L_ERRORCODE0] => 10002 
      [L_SHORTMESSAGE0] => Security error 
      [L_LONGMESSAGE0] => Security header is not valid 
      [L_SEVERITYCODE0] => Error 
     ) 

    [__pid] => 29903 

任何人可以幫助我,感謝名單提前

+0

你見過這個答案? http://stackoverflow.com/a/23265150/2568469 – Hatef

+0

試圖聯繫PayPal專業版..在集成支付網關時,他們以一切可能的方式指導開發人員。你應該聯繫他們。 –

+0

確保您的PayPal帳戶處於TEST模式,並且您的API數據處於TEST模式。 – mcklayin

回答

-1

你需要確保用戶名/密碼/簽名是正確的。

一些可能的錯誤: *月底空間或開始 *「I」或「L」(複製好一長串直接)