xpay✦ Commerce
Directory
WooCommerce plugins
Cancel Abandoned Order
Cancel Abandoned Order
Cancel "on hold" orders after a certain number of days or by hours
4.8
(16 ratings)Will this break my store?
What the WordPress.org registry says about keeping Cancel Abandoned Order running.
Tested to 6.8.6 — 2 branches behind 7.0
A branch or two behind — normal for a plugin between releases.13 months ago
At least 1.4 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.7.0
Your host must be running at least this version.4.0
woocommerce
These must be installed and active first.1
A single maintainer. Worth knowing if the plugin is load-bearing for your store.Maintenance & trust
Scored on how Cancel Abandoned Order is looked after — not on how many stores run it.
56
out of 100Maintenance
15 / 35WordPress compatibility
14 / 20Support responsiveness
Not enough dataMerchant satisfaction
12 / 15Listing transparency
3 / 10Ratings
4.8
16 ratings** Cancel Abandoned Order** allows you to add a small option that will take care of dealing with “abandoned” commands.
If you have check or transfer type orders for example, you will be able to set a maximum number of days or by hours to receive the payment.
Cancel Abandoned Order, will take care of checking this and change the status of the order to “Cancel” if you have not received payment on time.
Requirement
- PHP minimal: 7.0
- WordPress minimal: 4.0
- WooCommerce minimal : 2.2
Hooks
Action
- woo_cao_cancel_order ($order_id) : After cancel order.
Filters
- woo_cao_gateways : Adds a payment gateway for the control.
- woo_cao_before_cancel_order : Before canceling the order, send the order_id and the WC_Order if you do not want to cancel this order. Expect an exact return of true.
- woo_cao_message_cancel_order : Allows you to modify the note when canceling the order. Handy if you use the ‘woo_cao_before_cancel_order’ filter.
- woo_cao_date_order ($old_date, $gateway, $mode) : Change the calculation date for pending orders.
- woo_cao_default_hours : Default value of the number of hours for order processing.
- woo_cao_default_days : Default value of the number of days for order processing.
- woo_cao_statustocancel ($status) : Allows you to add or change which WooCommerce order status the plugin should cancel.
Wiki
Yes we have started the migration to Action Scheduler (recurring action) since version 1.9.0
Depending on the options defined in the payment gateway options page, the system will cancel orders whose payments have not been received.
You can cancel orders in hours or days.
For example, if I put the mode “Hourly”, I can cancel orders pending after 2 hours.
Another example, in mode “Daily”, I can cancel orders that I have not received payment within 7 days.
The execution of the cleaning is done like this:
Mode “Hourly”: every hour to 00 minutes
Mode “Daily”: every day at 0:00
Since version 1.9.0, the action is no longer executed at XXh00. Refer to the “Scheduled Actions” tab of the “Status” page of WooCommerce.
Follow the tutorial here to change the status of orders to cancel. By default the “on-hold” commands are canceled.
We’re glad you want to help us improve Cancel Abandoned Order!
The GIT repository is available here https://github.com/rvola/woo-cancel-abandoned-order
Plugin details
Tags on WordPress.org
