WooCommerce Order Canceled After Successful PayPal Payment_ Unpaid Order Canceled - Time Limit Reached

What Is “Unpaid Order Cancelled – Time Limit Reached” Error in WooCommerce? (How to Fix it)

Are you seeing the error message “Unpaid order cancelled—time limit reached. Order status changed from pending payment to cancelled” on your WooCommerce store? No worries! This guide will help you understand what it is, why it happens, and how to resolve WooCommerce unpaid order cancelled errors.

Running an online store on WooCommerce can sometimes be tricky, especially when unexpected errors happen. One such error that many store owners encounter is the “Unpaid order cancelled-time limit reached. Order status changed from pending payment to cancelled” message.

This error often appears when a customer places an order using PayPal but doesn’t complete the payment properly. As a result, the order is automatically marked as “cancelled,” which can lead to confusion and frustration, both for store owners and customers.

In this blog post, we’ll explain why this WooCommerce unpaid order cancelled error occurs, what triggers it, and, most importantly, how to resolve it. By the end, you’ll be able to ensure smooth transactions and minimize the risk of canceled orders due to this issue.

📌

Key Takeaways:

  • The “Unpaid Order Cancelled – Time Limit Reached” error is caused by a setting in WooCommerce that automatically cancels orders after a certain period.
  • This problem is commonly seen with PayPal payments and WooCommerce’s default inventory settings.
  • To fix the Unpaid Order Cancelled – Time Limit Reached error, modify the WooCommerce “Hold Stock” setting to prevent automatic cancellations.

What is the “Unpaid Order Cancelled – Time Limit Reached” Error in WooCommerce?

Unpaid Order Cancelled – Time Limit Reached
Source: GitHub

The root cause of this problem lies in WooCommerce’s inventory management system, specifically the Hold Stock feature. This feature is designed to temporarily hold stock for customers who place an order but have not yet paid for it.

Here’s how the feature works:

  • When a customer places an order, WooCommerce marks it as “pending” and holds the stock for that item.
  • The system waits for the payment to be processed, which can take a few minutes.
  • If the payment isn’t completed within a specific time frame, WooCommerce assumes the customer is no longer interested and automatically cancels the unpaid order.

By default, WooCommerce is set to hold stock for 60 minutes. If the payment isn’t received within that time, the order status is changed from “pending” payment to “cancelled,” and the system displays the message: “Unpaid order cancelled—time limit reached.”

While this feature can be helpful in preventing out-of-stock issues, it causes problems with payment gateways like PayPal, which might take slightly longer to complete a transaction than WooCommerce’s default 60-minute window allows.

Why Does the “Unpaid Order Cancelled – Time Limit Reached” Error Occur With PayPal Orders?

When using PayPal as a payment method, there is often a delay between when the customer places the order and when the payment is confirmed. PayPal’s API may not immediately communicate the successful payment back to WooCommerce, causing the order to remain in “pending” status for longer than WooCommerce’s default hold time.

This happens due to the following reasons:

  • For international transactions and transactions of new customers, PayPal may take a few extra minutes to process the payments.
  • There will be some processing delays for the payments when there is a high volume of transactions.
  • PayPal and WooCommerce might experience brief communication lapses, preventing the system from immediately marking the order as paid.

This becomes especially problematic when customers experience delays in completing their payment or when PayPal doesn’t immediately confirm the transaction.

How to Fix the “Unpaid Order Cancelled – Time Limit Reached” Error in WooCommerce?

Follow the steps below to fix the “Unpaid Order Cancelled – Time Limit Reached. Order status changed from pending payment to cancelled” error for canceled PayPal orders in WooCommerce.

Step 1: Go to the WooCommerce Inventory Settings Page

Go to the admin side of your WordPress store and navigate to WooCommerce > Settings > Products > Inventory.

Step 2: Delete the Hold Stock Time Limit

From the WooCommerce Inventory settings page, you can see that the Hold stock field is set to 60 minutes by default. If you are using WooCommerce stock management, you can disable this feature by leaving the field blank. Simply delete the value in the field and then save the changes.

Inventory settings in WooCommerce
WooCommerce Inventory Settings – Hold stock

This will ensure that there is no timeout when PayPal or any other payment tries to process the order automatically. Normally, the payment should be processed within a minute or two. PayPal and WooCommerce do not work very well together when the Hold Stock field has a value in it. So, it is better to leave the field blank.

What if I Still Encounter Issues With PayPal Payments?

If you’ve followed the above steps and are still encountering WooCommerce unpaid order cancelled issues with PayPal payments, there could be other underlying issues affecting the payment process.

In that case, we recommend:

  • Checking your PayPal settings: Make sure your PayPal account is properly connected to WooCommerce and that there are no issues on PayPal’s end.
  • Contact WebToffee support: If you’re using the WooCommerce PayPal plugin by WebToffee and the issue persists, contact our support team for further assistance.

Our support team is always available to help troubleshoot and resolve any problems you might be experiencing with WooCommerce and PayPal integration.

Conclusion

The “Unpaid Order Cancelled – Time Limit Reached. Order status changed from pending payment to cancelled” error occurs when WooCommerce’s hold stock feature automatically cancels orders that remain unpaid for more than 60 minutes. This is often problematic for PayPal transactions, which may take a little longer to process.

To resolve this error, simply remove the time limit on holding stock in WooCommerce’s inventory settings. This will allow orders to remain in pending status long enough for PayPal payments to be confirmed, avoiding cancellations.

We hope this guide helped you resolve the issue. If you’re still having trouble or want to improve your PayPal integration in WooCommerce, check out our PayPal plugin for WooCommerce.

If you found this article helpful, we’d love to hear from you! Please share your thoughts in the comments below.

Frequently Asked Questions

What is an unpaid order?

An unpaid order is an order that was placed but not successfully paid for. It occurs when a customer selects a payment method but does not complete the payment process.

What does it mean when an order is cancelled?

A cancelled order means the transaction was voided, either by the customer or automatically by the system. Cancelled orders will not be processed or fulfilled.

What is the unpaid order time limit reached?

The set time limit for completing payment has expired, and the system automatically canceled the unpaid order.

What does the order time limit mean?

Order time limit refers to the maximum time allowed for a customer to complete payment after placing an order. If payment isn’t made within this period, the order may be automatically cancelled.

Article by

Safwana is a technical content writer for WebToffee. She loves working in WordPress and writing about it.

Comments (23)

Got any query? Please leave a comment or reach out to our support

Your email address will not be published. Required fields are marked *