• Resolved lisabrowne

    (@lisabrowne)


    We were originally using the WooCommerce PayPal Pro (Classic and PayFlow Editions) Gateway plugin to process credit card payments through PayPal. We started getting a lot of failed orders so we switched to WooCommerce PayPal Payments. I connected it to our PayPal account using the login method and it seemed to connect correctly.

    We get a completed order every once in a while but almost all of the orders are showing failed. The customer gets this message: “Error processing checkout. Please try again.” In the back end of WordPress the Failed order says: “Could not process order. Order status changed from Pending Payment to Failed”

    The Debug log shows:

    2021-10-20T14:05:24+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials
    Response Debug ID: a5a2b21a53627
    Response: Array
    (
        [code] => 200
        [message] => OK
    )

    WordPress is up to date. My theme - Divi - is up to date. All plugins are up to date.

    I've researched for hours and can't figure out how to fix this. Can anyone help? We are missing out on a ton of sales, so I need to get this fixed asap!

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter lisabrowne

    (@lisabrowne)

    I also submitted a support ticket to PayPal. This is what they said:

    These errors seem to be stemming from an issue on the WooCommerce side. The log information you shared was a successful response for a token back from PayPal.

    If you’re able to find an error response back from PayPal, we can definitely look into that, but it sounds like WooCommerce is having a hard to making the outbound API call to complete/capture your transactions. Working with their support, they may be able to assist in that further for you.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @lisabrowne

    thank you for reaching out to us, we are here to help.
    Sorry to hear that you are having problems with the PayPal Payments plugin. The part of the log you showed in your initial message, does not really have an error included; the 200 code is a successful message, so I would expect there to be other entries in those logs that would tell us more about this issue.

    Would you be able to provide us with the full logs of the plugin? You can copy the logfiles from here:
    – WooCommerce > Status > Logs > select “woocommerce-paypal-payments-integration-\[…\]” in the dropdown and click on view.
    If you don’t feel comfortable sharing those details on a public forum, please open a ticket with our service desk. You can find the instruction for this here: https://paypal.inpsyde.com/docs/request-support/
    (please add the URL of this thread in the ticket as well)
    If you open such a ticket, please also include a copy of your System Report.

    Kind regards,
    Joost

    Thread Starter lisabrowne

    (@lisabrowne)

    We had another failed order today and there was a lot more in the log this time. I’ve opened a ticket with your support desk and sent the log and system report. Thanks!

    Thread Starter lisabrowne

    (@lisabrowne)

    I just realized the log report I sent to the support desk was for MailChimp for PayPal. It had email addresses in it. This is the one for PayPal Payments:

    2021-10-25T13:20:30+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials
    Response Debug ID: 51b395e5f2607
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2021-10-25T13:20:30+00:00 DEBUG POST https://api.paypal.com/v1/identity/generate-token
    Response Debug ID: 406e841c719d2
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2021-10-25T15:03:15+00:00 DEBUG POST https://api.paypal.com/v1/identity/generate-token
    Response Debug ID: 98aea2e66af87
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    Thread Starter lisabrowne

    (@lisabrowne)

    I did a bunch of trouble shooting the other day (deactivating plugins, reactivating them, etc.) Sometimes they went through and other times they failed. This is the whole log from that day:

    A completed order log looks like this:

    2021-10-21T22:58:03+00:00 DEBUG POST https://api.paypal.com/v1/notifications/verify-webhook-signature
    Request Body: {"transmission_id":"52e42390-32c2-11ec-b499-49fb4542398e","transmission_time":"2021-10-21T22:57:53Z","cert_url":"https:\/\/api.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-2f1e8d33","auth_algo":"SHA256withRSA","transmission_sig":"HitYKVOmJbunQaulnY4ouS+b6k3EcWMEz0wxt7o3R38\/mOliJ\/uUZGVn7YKLerznb2BeTCGbS22JRLcES6YxUeqRGSH\/yGgtxeusV5Vu5fybLMF\/wIOMoSby8oX1SIw2YMPx\/RY9j\/HLlMsU4KaH5STdg8vl1ol3ks6xp5Zk6EoyoqZe1QA2PG7LWxPflDVdkNwG3me\/T+9MGDBFfGVxSWsVjkvvewy1et0knyBLXVnIx664t6e4s46b8p5aC3iTQ9IxL7kMRwXykkxEnkb\/+2tSR9mYQWdCtgxivT2OS1GGlMrhDYfuG2XN5Q035HLp6fwLM+OAeZkry3Tb6hzExw==","webhook_id":"4HK50809KM982891L","webhook_event":{"id":"WH-2JA91814B35018925-1UE54113MN389550M","event_version":"1.0","create_time":"2021-10-21T22:57:49.807Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for $ 37.83 USD","resource":{"id":"80X814762R924871T","amount":{"currency_code":"USD","value":"37.83"},"final_capture":true,"seller_protection":{"status":"NOT_ELIGIBLE"},"disbursement_mode":"INSTANT","seller_receivable_breakdown":{"gross_amount":{"currency_code":"USD","value":"37.83"},"paypal_fee":{"currency_code":"USD","value":"1.47"},"net_amount":{"currency_code":"USD","value":"36.36"}},"invoice_id":"bbfdec-2540","custom_id":"bbfdec-2540","status":"COMPLETED","processor_response":{"avs_code":"A","cvv_code":"M","response_code":"0000"},"supplementary_data":{"related_ids":{"order_id":"39446097AS3707045"}},"create_time":"2021-10-21T22:57:28Z","update_time":"2021-10-21T22:57:28Z","links":[{"href":"https:\/\/api.paypal.com\/v2\/payments\/captures\/80X814762R924871T","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v2\/payments\/captures\/80X814762R924871T\/refund","rel":"refund","method":"POST"},{"href":"https:\/\/api.paypal.com\/v2\/checkout\/orders\/39446097AS3707045","rel":"up","method":"GET"}]},"links":[{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-2JA91814B35018925-1UE54113MN389550M","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-2JA91814B35018925-1UE54113MN389550M\/resend","rel":"resend","method":"POST"}]}}
    Response Debug ID: 7fe3f3dbbe052
    Response: Array
    (
        [code] => 200
        [message] => OK
    )

    So it seems when the orders fail none of that info is sent to PayPal.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hi @lisabrowne

    thank you for opening the ticket, I already responded to the ticket. Let’s continue there.

    Kind regards,
    Joost

    Plugin Support Syde Joost

    (@joostvandevijver)

    Since we have a ticket open via our service desk, I’m going to mark it as resolved.
    We believe this issue will be resolved in our next release, feel free to open a new thread if you believe it is needed

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Orders Failing’ is closed to new replies.