Hi @petrassidellamoto
From the details you provided, it appears that the order was automatically cancelled by WooCommerce due to the order status remaining Awaiting Payment for more than 60 minutes. This is a default feature in WooCommerce to ensure that stock isn’t held indefinitely for unpaid orders.
However, you mentioned that the payment was actually successful and confirmed in the PayPal account. This indicates that there might be a delay or issue in the communication between PayPal and your WooCommerce site to update the order status to Processing or Completed after the payment is made.
The inventory option you’re referring to in the screenshot is related to the stock management in WooCommerce. This wouldn’t affect the communication between PayPal and WooCommerce.
To troubleshoot this issue, I would recommend the following steps:
- Check the WooCommerce System Status: Go to WooCommerce > Status to ensure that your server environment meets all the requirements for WooCommerce and PayPal integration.
- Update Plugins: Ensure that your WooCommerce plugins, PayPal Standard gateway plugins, and WordPress are updated to the latest version.
- PayPal IPN (Instant Payment Notification): Ensure IPN is enabled in your account settings. IPN is a message service that notifies you of events related to PayPal transactions. It’s essential for updating the order status in WooCommerce. Further information can be found here: https://woocommerce.com/document/paypal-standard/#api-credentials
- Check WooCommerce Logs: Go to WooCommerce > Status > Logs and select the log that starts with ‘paypal’. This log records all the interactions between WooCommerce and PayPal. Look for any error messages related to the orders that were incorrectly cancelled.
Make a few test purchases using PayPal to see if the problem persists. If you’re still having trouble after trying these steps, please get back to us with your site’s System Status Report. You’ll find it at the top of the page under WooCommerce > Status > Get system report > Copy for support (after you scroll down a bit).
Alternatively, we highly recommend using the upgraded version of the PayPal Standard plugin, the PayPal Payments plugin. You can find more information about PayPal Payments here: https://woocommerce.com/products/woocommerce-paypal-payments/
I hope this helps! Do let us know how it goes.
Thanks!