• Resolved Vinod Kumar

    (@vinodsoftcripts)


    Hi Everyone,

    We are currently facing an issue with Woocommerce paypal express checkout plugin,

    When we are trying to do the payment with paypal credit or debit card option it showing the following error “something went wrong. We’ll take you back to checkout so you can try again.”

    https://github.com/woocommerce/woocommerce-gateway-paypal-express-checkout/issues/596
    They say paypal fixed the issue on both production and sandbox accounts. But we are still facing the issue.

    Any help would be appreciated.

    Thank you

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Paypal Express checkout Error’ is closed to new replies.