WooCommerce Cancel Abandoned Order

WooCommerce Cancel Abandoned Order Install Statistics

-13
0%
Today: 0 Yesterday: 13 All-time: 22,698 downloads
WooCommerce Cancel Abandoned Order Icon

Try plugin: WooCommerce Cancel Abandoned Order

We'll create fresh WordPress site with WooCommerce Cancel Abandoned Order installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About WooCommerce Cancel Abandoned Order

Cancel "on hold" orders after a certain number of days or by hours

15


0


0


0


1

updated: 1 year ago
since: 7 years ago
author: RVOLA

Description

WooCommerce 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.

WooCommerce 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.

GitHub | Donate

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