Failed order filters are commented out in 4.17.x and not triggering

Issue #1069 resolved
Valentina R created an issue

Reported here.

Comments (3)

  1. Valentina R reporter

    Uncommenting them doesn’t work fine. The appointment gets the “in-cart” status but if the customer decies to pay for it later, the appointment stays ‘in-cart’.


    If there is a snippet on how to cancel failed orders in 30 minutes, let us know.

    I tried everything from the woocommerce_cancel_unpaid_order filter to this solution. nothing works. at least not when changing the status to failed manually in admin (from pending-payment).

  2. Željan Topić

    Added back with 4.20.0

    Appointments won't get cancelled when already paid for or complete.

    Cancellation is deterred 1 hour by default. Use filter 'woocommerce_appointments_failed_order_expire_scheduled_time_stamp' to change this timestamp.

  3. Log in to comment