WooCommerce Order Cancelled After Successful PayPal Payment: Unpaid Order Cancelled – Time Limit Reached

After upgrading to WooCommerce version 2.0 and above, you may have experienced the issue where purchased order using PayPal do not get completed. All the purchased order changes to the “canceled” status. In the admin area, all the orders appear as “canceled”  with the message “Unpaid order canceled – time limit reached“. When this happens, you need manually change the statuses of all the canceled orders.

The problem arises due to the Hold Stock feature in WooCommerce Inventory management. In this feature, you can set a certain period of time to hold the stock for an unpaid order. During this time the status of the order is changed to “pending”. After the time limit is reached and the order is not paid, the pending order will be canceled. By default, WooCommerce will cancel the orders that remain in pending status for an hour.

This issue can be resolved easily. Go to the admin side of your WordPress store, and navigate to WooCommerce > Settings > Products > Inventory.

From this 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.

WooCommerce Products Inventory management page

This will ensure that there is no timeout when PayPal or any other payment try 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 they the Hold Stock field has a value in it. So, it is better to leave the field blank.

12 thoughts on “WooCommerce Order Cancelled After Successful PayPal Payment: Unpaid Order Cancelled – Time Limit Reached

    • Mark
      Mark says:

      Hi,

      Canceled order may come due to many reasons. Are you sure that this is not just an order that the user canceled during paymeent? Do you have cancelled orders in your site regularly?

  1. T Price says:

    If a user adds an item to the cart and chooses the Affirm payment option, but does not finish the application process with Affirm, you will receive a cancelled order. If you do not see an authorization with a canceled order, most likely the applicant did not finish the process. If you see an authorization with a time limit expired message, make sure the hold stock feature is clear. When you do this, the pending order will remain until you change the status to processing. This does not however, mean the customer finalized the Affirm payment. Check your Affirm dashboard to see if payment has been received. If not, the customer most likely received an authorization but did not approve payment.

  2. Giovanni says:

    Is possible to restore a recurring payment after WooCommerce has canceled it? Or I have to recall my customer to do any manual action?

    I have WooCommerce Subscriptions and WooCommerce Memberships integrated and they were work fine till last month.
    From this month 2nd and others recurring payment of my customers start to be canceled… I need to restore the recurring payment…
    Thank you in advanced.

  3. erica alberti says:

    Hello there,
    do you might know how to correct this error I received all time for new order?
    SHA Error: 8918824F5D92F3EDB28E96CF58F08CA706D452F8 == F0D7433F339460889F156050F1B90685E94C0E0A Order status changed from Pending payment to Cancelled.

  4. Sherissa says:

    My client is also having this problem with orders being cancelled. Sometimes the order is cancelled after payment has gone through and other times order is cancelled, payment not received.
    Consecutive orders.

  5. E Covey says:

    I did delete the contents of the “hold stock” box, which sort of makes sense, but after doing that 2 more orders were canceled. This has never happened until the latest Woocommerce update, but now happens so often that I am going to lose business. Any thoughts on what is going on?

Leave a Reply

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