Failed order filters are commented out in 4.17.x and not triggering
Issue #1069
resolved
Reported here.
Comments (3)
-
reporter -
reporter -
- changed status to resolved
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.
- Log in to comment
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).