我試圖實施貝寶的快速結帳,我不斷收到10002錯誤。我100%確定我的API憑證是正確的,我的賣家帳戶中也啓用了快速結賬功能。我可以讓SetExpressCheckout調用。這應該意味着我的API細節是正確的(如果我改變它們,我不能再打電話了)。我只粘貼這些參數:貝寶錯誤10002:身份驗證/授權失敗
'CURRENCYCODE'=>$currency,
'PAYMENTACTION' =>'Sale',
'RETURNURL' => $this->returnURL,
'CANCELURL' => $this->cancelURL,
'NOSHIPPING'=>"1",
'METHOD' =>'SetExpressCheckout',
'AMT' =>$amount,
'DESC'=>$desc
然而,當我從貝寶支付確認(例如http://site.com/index.php?p1=payment&p2=payment_confirmation_paypal&token=EC-1SH98151XXX192835&PayerID=6G95XXXNQ333L),我稱之爲DoExpressCheckoutPayment和GetExpressCheckoutDetails方法,我總是得到10002錯誤:
[L_ERRORCODE0] => 10002
[L_SHORTMESSAGE0] => Authentication/Authorization Failed
[L_LONGMESSAGE0] => You do not have permissions to make this API call
[L_SEVERITYCODE0] => Error
非常感謝,如果你有任何想法可能會導致這種情況。