按下 Paypal 快速结帐按钮后 Wordpress Paypal 错误
Posted
技术标签:
【中文标题】按下 Paypal 快速结帐按钮后 Wordpress Paypal 错误【英文标题】:Wordpress Paypal Error after Paypal express checkout button is pressed 【发布时间】:2020-09-25 03:54:08 【问题描述】:在将 Woocommerce 更新到最新版本后,我遇到了这样的错误。 PayPal 错误 (10002):处理您的 PayPal 付款时发生错误 (10002)。请联系店主寻求帮助。
这是我的错误日志:
06-05-2020 @ 15:33:45 - WC_Gateway_PPEC_Client::_request: remote request to https://api-3t.paypal.com/nvp with params: Array
(
[LOGOIMG] => https://public-health-safety.com/wp-content/uploads/2019/06/PHS-Logo-150x72.jpg
[HDRIMG] =>
[PAGESTYLE] =>
[BRANDNAME] => PHS
[RETURNURL] => https://public-health-safety.com/checkout/?woo-paypal-return=true
[CANCELURL] => https://public-health-safety.com/cart/?woo-paypal-cancel=true
[LANDINGPAGE] => Login
[SOLUTIONTYPE] => Sole
[PAYMENTREQUEST_0_PAYMENTACTION] => sale
[PAYMENTREQUEST_0_INSURANCEAMT] => 0
[PAYMENTREQUEST_0_HANDLINGAMT] => 0
[PAYMENTREQUEST_0_CUSTOM] =>
[PAYMENTREQUEST_0_INVNUM] =>
[PAYMENTREQUEST_0_CURRENCYCODE] => USD
[PAYMENTREQUEST_0_AMT] => 190
[PAYMENTREQUEST_0_ITEMAMT] => 190
[PAYMENTREQUEST_0_SHIPPINGAMT] => 0
[PAYMENTREQUEST_0_TAXAMT] => 0
[PAYMENTREQUEST_0_SHIPDISCAMT] => 0
[NOSHIPPING] => 0
[EMAIL] => phsinc33@yahoo.com
[PAYMENTREQUEST_0_SHIPTONAME] =>
[PAYMENTREQUEST_0_SHIPTOSTREET] => 1528 W Adams
[PAYMENTREQUEST_0_SHIPTOSTREET2] =>
[PAYMENTREQUEST_0_SHIPTOCITY] => Chicago
[PAYMENTREQUEST_0_SHIPTOSTATE] => IL
[PAYMENTREQUEST_0_SHIPTOZIP] => 60607
[PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE] => US
[PAYMENTREQUEST_0_SHIPTOPHONENUM] => 3124910081
[L_PAYMENTREQUEST_0_NAME0] => AA 20-0608 - Asbestos Awareness 4-hour Training CAMICB
[L_PAYMENTREQUEST_0_DESC0] => ASBESTOS AWARENESS 4-HR TRAINING
Qualifies:
Per requirement of Community Association Managers International Certification
[L_PAYMENTREQUEST_0_QTY0] => 2
[L_PAYMENTREQUEST_0_AMT0] => 95
[L_PAYMENTREQUEST_0_NUMBER0] =>
[METHOD] => SetExpressCheckout
[VERSION] => 120.0
[USER] =>
[PWD] =>
[SIGNATURE] =>
)
06-05-2020 @ 15:33:45 - WC_Gateway_PPEC_Client::_process_response: acknowleged response body: Array
(
[TIMESTAMP] => 2020-06-05T20:33:45Z
[CORRELATIONID] => ca25e49242d8a
[ACK] => Failure
[VERSION] => 120.0
[BUILD] => 54596016
[L_ERRORCODE0] => 10002
[L_SHORTMESSAGE0] => Authentication/Authorization Failed
[L_LONGMESSAGE0] => You do not have permissions to make this API call
[L_SEVERITYCODE0] => Error
)
请帮忙!
【问题讨论】:
【参考方案1】:您似乎需要设置 API 凭据(用户/密码/签名)。
可以通过https://www.paypal.com/api获取
【讨论】:
感谢您的回复。我会看看它,让你知道。 是的,必须添加 Paypal API 凭据。它成功了!谢谢!以上是关于按下 Paypal 快速结帐按钮后 Wordpress Paypal 错误的主要内容,如果未能解决你的问题,请参考以下文章