Order sometimes failed – status code 0
-
Hi there,
i am encountering some problems with orders when users wants to pay with PayPal. I have already contacted support and PayPal, but there is no clue why or why I is happening. im struggling to find out or gather more information, what causes the problem.
Once in a while, maybe 1 or 2 orders paid with PayPal which are directly set to order status failed.
The most of the time paying with PayPal works perfect.
the log gives following information. this is not bound to exactly to one order, these are just a few log errors to help.
- SOMETIMES:
ERROR Cart simulation failed: Nonce konnte nicht überprüft werden. - ERROR Webhook verification failed.
- WARNING WC order ID was not found in webhook event
- This results sometimes in:
( [code] => 403 [message] => Forbidden ) Response Body: <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="https://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>403 - Forbidden</title> </head> <body> <h1>403 - Forbidden</h1> </body> </html>
From what I can tell that sometimes costumer sees this fails two times on the websites but is then able fo finish the payment process with payan.
Reason, why Order is set to failed:
- WARNING [Fehler] Unbekannter Fehler bei dem Verbinden mit PayPal. Status code: 0.
- ERROR Payment failed: Die Zahlung konnte nicht verarbeitet werden. Bitte versuche es erneut oder kontaktiere den Shop-Administrator. [Fehler] Unbekannter Fehler bei dem Verbinden mit PayPal. Status code: 0. PayPalGateway.php:631 [Fehler] Unbekannter Fehler bei dem Verbinden mit PayPal. Status code: 0. OrderEndpoint.php:584 2024-02-02T06:11:38+00:00 DEBUG
i have
- disables wp rocket, cache, minify etc.
- disables all plugins to check for confclits
- disabled cloudflare
- reconnected web hooks successfully in PayPal payment settings
- SOMETIMES:
- The topic ‘Order sometimes failed – status code 0’ is closed to new replies.