• Hi,

    I’m contacting you today after receiving several calls from customers last week.

    They report that during payment, they enter their bank details, are redirected to their banks, validate the transaction (green), then find themselves back on the site, on the payment page, the basket still full, and the order not validated.

    The problem is extremely annoying.

    I’ve activated the logs in the plugin and an error often appears.

    2024-05-06T07:53:52+00:00 Débogage Webhook is going to be handled by PAYMENT.CAPTURE.COMPLETED on WooCommerce\PayPalCommerce\Webhooks\Handler\PaymentCaptureCompleted 2024-05-06T07:53:52+00:00 Info Webhook has been handled by PAYMENT.CAPTURE.COMPLETED on WooCommerce\PayPalCommerce\Webhooks\Handler\PaymentCaptureCompleted 2024-05-06T07:57:22+00:00 Débogage POST https://api-m.paypal.com/v1/identity/generate-token Response Débogage ID: XXXXXXXXXXX(i have censored…) Response: Array ( [code] => 200 [message] => OK ) 2024-05-06T07:58:13+00:00 Erreur Cart simulation failed: Could not validate nonce. 2024-05-06T07:58:17+00:00 Erreur Cart simulation failed: Could not validate nonce. 2024-05-06T07:58:22+00:00 Erreur Cart simulation failed: Could not validate nonce. 2024-05-06T07:59:18+00:00 Erreur Cart simulation failed: Could not validate nonce. 2024-05-06T07:59:37+00:00 Erreur Cart simulation failed: Could not validate nonce. 2024-05-06T07:59:38+00:00 Erreur Cart simulation failed: Could not validate nonce.

    could you please help me.

    Plugin version : 2.7.0

    WordPresse version : 6.5.2

    Woocommerce version : 8.8.3

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @samollo

    Nonce?validation is a security feature and happens in many different parts of the plugin. Sometimes, this can be related to caching, but normally this should not be a problem that causes problems with payment itself.

    You might try to apply this filter to disable the cart simulation:

    add_filter( 'woocommerce_paypal_payments_simulate_cart_enabled', '__return_false' );

    However, I’m not certain this will resolve the problem.

    It will be helpful if you could share your current System Status Report. You can get it by navigating to the WooCommerce / Status section of your site. Once there, click on the Get system report button and then copy it by clicking on the Copy for support button.

    Please provide those log entries on our PrivateBin. After uploading, paste here the link, so we can review them in detail.

    Kind regards,
    Krystian

    Thread Starter samollo

    (@samollo)

    Thanks for answer, i just add the filter.

    Here is the link for the System Status Report.

    https://privatebin.syde.com/?bccb6a4ec1602065#9x4buw4d4gWKcbPyoXmwSX3SaqVsPhFkuutmyfPu5p2w

    Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello?@samollo

    It would be helpful if you could reproduce this issue using a sandbox account and a test credit card, ideally in a staging environment. This approach may help you determine if a plugin conflict is causing the problem.

    Please start by disabling any caching plugins and let us know your findings.

    You can find more details on setting up the sandbox here.

    Kind regards,
    Krystian

    Thread Starter samollo

    (@samollo)

    Hello,

    I can’t use the sandbox mode because my site is in production and we still receive a certain number of successful orders per day.

    I haven’t changed anything in my configuration for a while, but recently there was an update of woocommerce, wordpress and your plugin (2.7.0) and my problems appeared around that time.

    add_filter( 'woocommerce_paypal_payments_simulate_cart_enabled', '__return_false' );

    I’ve also added this code to my theme’s functions.php file, but I still get this error in my logs.

    Error: Cart simulation failed: Could not validate nonce.

    dawa2

    (@dawa2)

    Hi, can you confirm that you have the same errors as my topic from 2 months ago? we still have the same issues. maybe 1 of twenty orders fails. https://www.ads-software.com/support/topic/order-sometimes-failed-status-code-0/

    Warren

    (@rabbitwordpress)

    We’re getting the same issues, Apple Pay and Google Pay orders seem to be worst affected with customers reporting problems when trying to checkout.

    I have installed ….simulate_cart_enabled’, ‘__return_false’… filter as recommended above and I have disabled LiteSpeed cache in Debug Settings.

    We’ll monitor log activity today and report back soon.

    Thanks
    Warren

    • This reply was modified 6 months ago by Warren. Reason: grammer
    Plugin Support Femi

    (@femiyb)

    Hello @samollo

    Apologies for the delay.

    Could you please confirm if this issue persists with the latest version of the WooCommerce PayPal Payments plugin?

    Regards,
    Femi.

    Warren

    (@rabbitwordpress)

    Hi @femiyb,

    The errors are still occurring but they are less frequent thankfully, approx 60 x times yesterday which is a lot less than before, but still not zero.

    Best regards
    Warren

    daivymerlijs

    (@daivymerlijs)

    @femiyb I have the same problem too. Using Litespeed.

    Same problem for me, at the begining i I thought that it was a performance issue but after a performance boost, the issue still here.

    Ben Rivers

    (@jediarchives)

    We are also having the same issue….

    Same issue with the last version of Version2.9.0

    • This reply was modified 2 months, 2 weeks ago by alexli126.
Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.