Plugin Contributor
slash1andy
(@slash1andy)
Automattic Happiness Engineer
Hey there!
Can you please enable logging for PayPal Checkout (in the plugin settings page) and then try another transaction? That will enable you to see the exact error message.
Once you’ve tried to process a transaction with logging enabled, you can read the logs here: **WP Admin → WooCommerce → Status → Logs**
If you need help reading the logs, feel free to paste the errors here (make sure you redact sensitive personal info please) 🙂
Though payments were processing successfully as recently as May 30th, we are also now experiencing this issue (on both the 1.6.21 and 2.0.2 versions of the WooCommerce PayPal Checkout Gateway plugin) when using the PayPal payment button.
@slash1andy, here’s what our log says and your help in understanding the error would be very appreciated:
06-22-2020 @ 02:13:59 - WC_Gateway_PPEC_Client::_request: remote request to https://api-3t.sandbox.paypal.com/nvp with params: Array
(
[LOGOIMG] =>
[HDRIMG] =>
[PAGESTYLE] =>
[BRANDNAME] => XXXXXXXXXXXX
[RETURNURL] => https://dev.xxxxxxxxxxx.com/checkout/?woo-paypal-return=true
[CANCELURL] => https://dev.xxxxxxxxxxx.com/cart/?woo-paypal-cancel=true
[ADDROVERRIDE] => 1
[LANDINGPAGE] => Billing
[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] => 150
[PAYMENTREQUEST_0_ITEMAMT] => 150
[PAYMENTREQUEST_0_SHIPPINGAMT] => 0
[PAYMENTREQUEST_0_TAXAMT] => 0
[PAYMENTREQUEST_0_SHIPDISCAMT] => 0
[NOSHIPPING] => 1
[EMAIL] => XXXXXXXXXXXXXXXX
[PAYMENTREQUEST_0_SHIPTONAME] => XXXXXXXXXXX
[PAYMENTREQUEST_0_SHIPTOSTREET] => XXXXXXXXXXXX
[PAYMENTREQUEST_0_SHIPTOSTREET2] =>
[PAYMENTREQUEST_0_SHIPTOCITY] => XXXXXX
[PAYMENTREQUEST_0_SHIPTOSTATE] => XX
[PAYMENTREQUEST_0_SHIPTOZIP] => XXXXX
[PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE] => XX
[PAYMENTREQUEST_0_SHIPTOPHONENUM] => XXXXXXXXXX
[L_PAYMENTREQUEST_0_NAME0] => XXXXXXXXXX
[L_PAYMENTREQUEST_0_DESC0] =>
[L_PAYMENTREQUEST_0_QTY0] => 1
[L_PAYMENTREQUEST_0_AMT0] => 150
[L_PAYMENTREQUEST_0_NUMBER0] =>
[METHOD] => SetExpressCheckout
[VERSION] => 120.0
[USER] => XX-XXXXXXXXX_api1.business.example.com
[PWD] => XXXXXXXXXXXXXX
[SIGNATURE] => XXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXXXXXXXXX
)
06-22-2020 @ 02:14:00 - WC_Gateway_PPEC_Client::_process_response: acknowleged response body: Array
(
[TOKEN] => XX-XXXXXXXXXX
[TIMESTAMP] => 2020-06-22T07:14:00Z
[CORRELATIONID] => xxxxxxxxxxx
[ACK] => Success
[VERSION] => 120.0
[BUILD] => 54634679
)
EDIT: separate thread for this one created here.
-
This reply was modified 5 years, 10 months ago by
hastibe. Reason: Created separate thread
-
This reply was modified 5 years, 10 months ago by
Yui.
Double post–please delete/ignore.
-
This reply was modified 5 years, 10 months ago by
hastibe. Reason: double post
Annnnnd it’s working now for me (on both the 1.6.21 and 2.0.2 versions of the WooCommerce PayPal Checkout Gateway plugin) without any changes being made. Some weird passing glitch on PayPal’s side? (Separate thread on my version of the issue is here.)
Thank you both for letting us know! We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
Thanks!
– Joey