• Resolved dawa2

    (@dawa2)


    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
    • This topic was modified 1 year, 1 month ago by dawa2.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Krystian

    (@inpsydekrystian)

    Hello @dawa2

    Thanks for reaching out to us, we’re here to help.

    ERROR Cart simulation failed: Nonce konnte nicht überprüft werden.

    This problem can arise due to the cart simulation feature in some environments. To address this, you can disable the cart simulation by adding the following Code snippet.

    add_filter( 'woocommerce_paypal_payments_simulate_cart_enabled', '__return_false' );

    This should prevent the nonce verification issue from occurring.

    ERROR Webhook verification failed.
    WARNING WC order ID was not found in webhook event

    These issues are known to us, but currently, we do not have a definitive solution. I assigned this thread to a bug request for developers. As a workaround, we recommend reconnecting the plugin. You can do this by using the “Clear now” function in the Connection tab of the plugin settings. This action will establish a new connection with PayPal and may resolve these issues. Please monitor your logs after performing this action to see if the problem persists.

    ( [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>

    This is related to logging in with manual credentials and, in the current context, can be disregarded as it should not trigger any operational issues on your site.

    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

    Lastly, the warnings. This could be due to an API connection issue or an outage. Given that there was a known outage in the middle of January, it's possible that this incident may have impacted these transactions.

    If after taking these steps the problem persists, please do not hesitate to contact us again for further assistance.

    Kind regards,
    Krystian

    • This reply was modified 1 year, 1 month ago by Krystian.
    dervonz

    (@dervonz)

    Hey @dawa2 did you get a solution for the [Fehler] Unbekannter Fehler bei dem Verbinden mit PayPal. Status code: 0. ??

    Thread Starter dawa2

    (@dawa2)

    sorry, no

    Thread Starter dawa2

    (@dawa2)

    ` WordPress Environment<br>WC Version: 9.1.4<br>Legacy REST API Package Version: Auf dieser Website ist das alte REST-API-Plugin nicht installiert.<br>Action Scheduler Version: ? 3.7.4<br>Log Directory Writable: ?<br>WP Version: 6.6.1<br>WP Multisite: –<br>WP Memory Limit: 768 MB<br>WP Debug Mode: ?<br>WP Cron: –<br>Language: de_DE<br>External object cache: – Server Environment</p> <p>Name: Jupiter Child Theme<br>`

    • This reply was modified 7 months, 2 weeks ago by dawa2.
    • This reply was modified 7 months, 2 weeks ago by dawa2.
    Thread Starter dawa2

    (@dawa2)

    2024-08-07T09:26:36+00:00 Warnung [Fehler] Unbekannter Fehler bei dem Verbinden mit PayPal. Status code: 0. CONTEXT: {“args”:{“method”:”PATCH”,”headers”:{“Authorization”:”Bearer …

    … oder details ….

    … “response”:{“headers”:{},”body”:”<?xml version=”1.0″ encoding=”iso-8859-1″?>n<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”n “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>n<html xmlns=”https://www.w3.org/1999/xhtml&#8221; xml:lang=”en” lang=”en”>nt<head>ntt<title>403 – Forbidden</title>nt</head>nt<body>ntt<h1>403 – Forbidden</h1>nt</body>n</html>n”,”response”:{“code”:403,”message”:”Forbidden”},”cookies”:[],”filename”:null,”http_response”:{“data”:null,”headers”:null,”status”:null}}}

    2024-08-07T09:26:36+00:00 Fehler 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:685 [Fehler] Unbekannter Fehler bei dem Verbinden mit PayPal. Status code: 0. OrderEndpoint.php:584

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Order sometimes failed – status code 0’ is closed to new replies.