WPIntell

Source evidence

WooCommerce PayPal Payments Plugin Error After Update

WooCommerce PayPal Payments · support · 2026-05-26T09:27:00+00:00

complaintsentiment
highseverity
1.0relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

8 / 33 rows with source links

24.2% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

25 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
premkumarbsetxt unresolved
We recently updated the WooCommerce PayPal Payments plugin from v3.3.0 to v4.0.4 on our live environment. Environment details: WordPress version: 6.9.1 WooCommerce version: 10.7.0 WooCommerce PayPal Payments: v3.3.0 → v4.0.4 After the update, the payment flow appears to work correctly, but continuous error logs are being generated repeatedly: 2026-05-26T09:08:13+00:00 Error – Cart simulation failed: Error adding products to cart. 2026-05-26T09:08:17+00:00 Error – Cart simulation failed: Error adding products to cart. 2026-05-26T09:09:09+00:00 Error – Cart simulation failed: Error adding products to cart. We have already performed the following troubleshooting steps: Cleared transients Cleared WooCommerce customer sessions Verified no cache plugin is installed Tested basic checkout flow Issue not reproducible in the dev environment Could you please help us identify the root cause of these continuous “Cart simulation failed” logs after the plugin update? Thanks. Hello @premkumarbsetxt You can apply the following workaround, which should resolve the error: add_filter( 'woocommerce_paypal_payments_simulate_cart_enabled', '__return_false' ); This disables the cart simulation feature, which is mainly used for compatibility with certain third-party features and Pay Later calculations. It is safe to disable and should prevent this. Please let me know if this resolves the issue on your end. Kind Regards, Krystian Hi @inpsydekrystian , Thank you for the workaround suggestion. We applied the following filter: add_filter( ‘woocommerce_paypal_payments_simulate_cart_enabled’, ‘__return_false’ ); However, after applying it, we are still seeing continuous error logs 2026-05-26T10:09:09+00:00 Error #4819 – Cart simulation failed: Could not validate nonce. 2026-05-26T10:09:09+00:00 Error #9493 – Cart simulation failed: Could not validate nonce. Additional details: No cache plugin is installed Cleared WooCommerce transients and customer sessions Could you please advise on the next steps or whether there are any additional settings/hooks that need to be adjusted after disabling cart simulation? Thanks. Hello @premkumarbsetxt If Google Pay or Apple Pay is enabled on the site, then these cart simulation logs can generally be ignored. Even when the simulation filter is disabled, the plugin may still perform limited cart simulation-related requests internally for Apple Pay / Google Pay flows, as those express payment methods rely on cart validation and recalculation mechanisms during initialization. There is likely nothing additional that needs adjustment at this stage unless you are also experiencing actual checkout/payment issues alongside the logs. Kind Regards Krystian

Comments

3 shown
Krystian Syde 2026-05-26T09:48:00+00:00

Hello @premkumarbsetxt You can apply the following workaround, which should resolve the error: add_filter( 'woocommerce_paypal_payments_simulate_cart_enabled', '__return_false' ); This disables the cart simulation feature, which is mainly used for compatibility with certain third-party features and Pay Later calculations. It is safe to disable and should prevent this. Please let me know if this resolves the issue on your end. Kind Regards, Krystian

premkumarbsetxt 2026-05-26T10:11:00+00:00

Hi @inpsydekrystian , Thank you for the workaround suggestion. We applied the following filter: add_filter( ‘woocommerce_paypal_payments_simulate_cart_enabled’, ‘__return_false’ ); However, after applying it, we are still seeing continuous error logs 2026-05-26T10:09:09+00:00 Error #4819 – Cart simulation failed: Could not validate nonce. 2026-05-26T10:09:09+00:00 Error #9493 – Cart simulation failed: Could not validate nonce. Additional details: No cache plugin is installed Cleared WooCommerce transients and customer sessions Could you please advise on the next steps or whether there are any additional settings/hooks that need to be adjusted after disabling cart simulation? Thanks.

Krystian Syde 2026-05-28T06:49:00+00:00

Hello @premkumarbsetxt If Google Pay or Apple Pay is enabled on the site, then these cart simulation logs can generally be ignored. Even when the simulation filter is disabled, the plugin may still perform limited cart simulation-related requests internally for Apple Pay / Google Pay flows, as those express payment methods rely on cart validation and recalculation mechanisms during initialization. There is likely nothing additional that needs adjustment at this stage unless you are also experiencing actual checkout/payment issues alongside the logs. Kind Regards Krystian