Title: Cancel Abandoned Order
Author: RVOLA
Published: <strong>اکتوبر 30, 2017</strong>
Last modified: جُلائی 15, 2025

---

پلگ انز ئے شوھاز کن

![](https://ps.w.org/woo-cancel-abandoned-order/assets/banner-772x250.png?rev=3329004)

اے پلگ ان **hasn’t گوں ورڈپریس ءِ نوکیں 3 مزنیں ریلیزاں** آزمائش کنگ بوتگ۔ اے دگہ
برجاہ دارگ یا حمایت نہ کنگ بیت ءُ ورڈپریس ءِ نوکیں ورژنانی گوں کارمرز کنگ ءِ وھد
ءَ مطابقت ءِ جیڑھ بوت کنت۔

![](https://ps.w.org/woo-cancel-abandoned-order/assets/icon-256x256.png?rev=3329004)

# Cancel Abandoned Order

 [RVOLA](https://profiles.wordpress.org/rvola/) ئے وسیلہ ئا

[ایرگیج](https://downloads.wordpress.org/plugin/woo-cancel-abandoned-order.2.1.0.zip)

 * [سرجمیں](https://bcc.wordpress.org/plugins/woo-cancel-abandoned-order/#description)
 * [جائزہ](https://bcc.wordpress.org/plugins/woo-cancel-abandoned-order/#reviews)
 *  [انسٹالیشن](https://bcc.wordpress.org/plugins/woo-cancel-abandoned-order/#installation)
 * [دیمروی](https://bcc.wordpress.org/plugins/woo-cancel-abandoned-order/#developers)

 [کمک](https://wordpress.org/support/plugin/woo-cancel-abandoned-order/)

## سرجمیں

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

[**GitHub**](https://github.com/rvola/woo-cancel-abandoned-order) | [**Donate**](https://www.paypal.me/rvola)

### 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

 * [A help section on the code is available here](https://github.com/rvola/woo-cancel-abandoned-order/wiki)

## انسٹالیشن

This section describes how to install the plugin and get it working.

 1. Upload the plugin files to the `/wp-content/plugins/woo-cancel-abandoned-order`
    directory, or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. By default you can control the orders on the payment gateways: Check and BACS. 
    Go to the options of the payment pages on WooCommerce.

_To add another payment gateway, simply use the **woo\_cao\_gateways** filters, 
more information on the [Wiki](https://github.com/rvola/woo-cancel-abandoned-order/wiki)_

## جُست ءُ پُرس

### Does this plugin use Action Scheduler

Yes we have started the migration to Action Scheduler (recurring action) since version
1.9.0

### What does the plugin do?

Depending on the options defined in the payment gateway options page, the system
will cancel orders whose payments have not been received.

### Mode

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

### I would like to cancel orders pending payment

Follow the [tutorial here](https://github.com/rvola/woo-cancel-abandoned-order/wiki/Change-the-status-type-for-the-cancellation-process)
to change the status of orders to cancel. By default the “on-hold” commands are 
canceled.

### I want to make suggestions

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](https://github.com/rvola/woo-cancel-abandoned-order)

## جائزہ

![](https://secure.gravatar.com/avatar/808a4393772afacdaecbcfd18f0be1db30e6f32d73d4958f2e94dc6402b3125c?
s=60&d=retro&r=g)

### 󠀁[Essential function](https://wordpress.org/support/topic/essential-function-2/)󠁿

 [Tobi_w](https://profiles.wordpress.org/tobi_w/) جنوری 30, 2023 1 جواب دنت

This is a must have for shops with digital products. If the payment doesn't go through,
no need to make it complicated. Cancel it and let the customer try again. Great 
to have this. Thank you

![](https://secure.gravatar.com/avatar/70cbde4a041e6cea4c977d54cf7953cfe8a05274c1bd05190714a86970991536?
s=60&d=retro&r=g)

### 󠀁[Work perfectly](https://wordpress.org/support/topic/work-perfectly-85/)󠁿

 [WebMat](https://profiles.wordpress.org/webmatpro/) مارچ 9, 2022

Thanks, the filters to add custom parameters is fine. Just need a option for any
canceled order (without type of payment)

![](https://secure.gravatar.com/avatar/bcdee571d32df4f53fdf5c722f8caccb7cfae403cb7726f650f1ee5543173cf6?
s=60&d=retro&r=g)

### 󠀁[Simple and does exactly as it should](https://wordpress.org/support/topic/simple-and-does-exactly-as-it-should/)󠁿

 [tjos123](https://profiles.wordpress.org/tjos123/) اگست 1, 2021 2 جواب دنت

First review because I really like this plugin. It is straightforward and works 
like a charm. Glad that the creator included guides on Github Wiki. Minimal editing
is required. It's a pity that some comments have driven the creator to stop support.
I do still hope that this remains updated and compatible. 🙂 If the creator does
read this, I have two questions that I wish to understand. 1) If I were to put 24hrs
daily to cancel, from when does it start activating the countdown? 2) Is it possible
to change the status to 'Failed' instead of 'Cancelled'? In any case, just want 
to say GREAT JOB ON THIS PLUGIN!

![](https://secure.gravatar.com/avatar/12d912eee8c38340d652f883c4f0993dca51ac14c2f07789c0a25be871959e57?
s=60&d=retro&r=g)

### 󠀁[Funciona perfectamente](https://wordpress.org/support/topic/funciona-perfectamente-49/)󠁿

 [ceesaldair](https://profiles.wordpress.org/ceesaldair/) مئی 16, 2021 1 جواب دنت

Cancela la ordenes automáticamente pasado el tiempo configurado

![](https://secure.gravatar.com/avatar/d78d67ecfb8a2e58945e824c4b2452b08a53865908ee97dad02a2bfdde1839fe?
s=60&d=retro&r=g)

### 󠀁[Great simple](https://wordpress.org/support/topic/great-simple-27/)󠁿

 [cbroce](https://profiles.wordpress.org/cbroce/) مئی 9, 2021 1 جواب دنت

This is what I mean by an elegant solution, Great job !

![](https://secure.gravatar.com/avatar/4aabdafceb789ae31d307f26aab6626fb1adc9f31343489b56711c3bf0a74f58?
s=60&d=retro&r=g)

### 󠀁[Not idiot friendly](https://wordpress.org/support/topic/not-idiot-friendly/)󠁿

 [alfaholic](https://profiles.wordpress.org/alfaholic/) اپریل 9, 2021 2 جواب دنت

It maybe works, but as it does not have an interface nor guide how to use it for
us idiots, I can not use it.

 [ کلیں 16 جائزہ ئا پڑھ ](https://wordpress.org/support/plugin/woo-cancel-abandoned-order/reviews/)

## کمک کنوک & دیمروئی کنوک

“Cancel Abandoned Order” اوپن سورس سافٹ ویئر اِنت۔ اے پلگ ان ءِ تہا رند ءِ مردماں
وتی کرد پیلو کتگ۔

کمک کار

 *   [ RVOLA ](https://profiles.wordpress.org/rvola/)

“Cancel Abandoned Order” ءِ رجانک ءِ رد ءَ 4 ءِ دمگاں رجانک کنگ بوتگ۔ چہ [رجانکاراں](https://translate.wordpress.org/projects/wp-plugins/woo-cancel-abandoned-order/contributors)
منت واراں کہ آہاں وتی کرد پیلو کتگ۔

[“Cancel Abandoned Order” ءَ وتی زبان ءَ رجانک کن اِت۔](https://translate.wordpress.org/projects/wp-plugins/woo-cancel-abandoned-order)

### دیمروئی ءِ تہا دلچسپی داریت؟

[کڈ ءَ براؤز کن اِت](https://plugins.trac.wordpress.org/browser/woo-cancel-abandoned-order/)،
[SVN ءِ ذخیرہ](https://plugins.svn.wordpress.org/woo-cancel-abandoned-order/) ءَ
بچار اِت، یا [دیمروئی ءِ لاگ](https://plugins.trac.wordpress.org/log/woo-cancel-abandoned-order/)
ءَ [RSS](https://plugins.trac.wordpress.org/log/woo-cancel-abandoned-order/?limit=100&mode=stop_on_copy&format=rss)
ءِ وسیلہ ءَ سبسکرائب بہ کن اِت۔

## چینج لاگ

[on GitHub](https://github.com/rvola/woo-cancel-abandoned-order/blob/master/CHANGELOG.md).

## میٹا

 *  ورژن **2.1.0**
 *  گڈی رند ءَ نوک کنگ بوتگ **1 سال پیشا**
 *  فعالیں تنصیبات **1,000+**
 *  ورڈپریس ورژن ** 4.0 یا گیشتر **
 *  **6.8.12** ءَ داں آزمائش کنگ بوتگ۔
 *  PHP ءِ ورژن ** 7.0 یا گیشتر **
 *  زبان
 * [English (US)](https://wordpress.org/plugins/woo-cancel-abandoned-order/)، [French (Belgium)](https://fr-be.wordpress.org/plugins/woo-cancel-abandoned-order/)،
   [French (Canada)](https://fr-ca.wordpress.org/plugins/woo-cancel-abandoned-order/)،
   [French (France)](https://fr.wordpress.org/plugins/woo-cancel-abandoned-order/)،
   ءُ [Thai](https://th.wordpress.org/plugins/woo-cancel-abandoned-order/).
 *  [وتی زبان ءَ رجانک بکن اِت .](https://translate.wordpress.org/projects/wp-plugins/woo-cancel-abandoned-order)
 * ٹیگ
 * [abandoned cart](https://bcc.wordpress.org/plugins/tags/abandoned-cart/)[automation](https://bcc.wordpress.org/plugins/tags/automation/)
   [cancel orders](https://bcc.wordpress.org/plugins/tags/cancel-orders/)[stripe](https://bcc.wordpress.org/plugins/tags/stripe/)
   [woocommerce](https://bcc.wordpress.org/plugins/tags/woocommerce/)
 *  [دیمروئی کتگیں ندارگ](https://bcc.wordpress.org/plugins/woo-cancel-abandoned-order/advanced/)

## درجہ بندی

 4.8 چہ 5 استاراں

 *  [  15 5-ستارہ جائزہ     ](https://wordpress.org/support/plugin/woo-cancel-abandoned-order/reviews/?filter=5)
 *  [  0 4-ستارہ جائزہ     ](https://wordpress.org/support/plugin/woo-cancel-abandoned-order/reviews/?filter=4)
 *  [  0 3-ستارہ جائزہ     ](https://wordpress.org/support/plugin/woo-cancel-abandoned-order/reviews/?filter=3)
 *  [  0 2-ستارہ جائزہ     ](https://wordpress.org/support/plugin/woo-cancel-abandoned-order/reviews/?filter=2)
 *  [  1 1-ستارہ جائزہ     ](https://wordpress.org/support/plugin/woo-cancel-abandoned-order/reviews/?filter=1)

[تئی جائزہ](https://wordpress.org/support/plugin/woo-cancel-abandoned-order/reviews/#new-post)

[کلیں جائزہ ئا بہ گند](https://wordpress.org/support/plugin/woo-cancel-abandoned-order/reviews/)

## کمک کار

 *   [ RVOLA ](https://profiles.wordpress.org/rvola/)

## کمک

چیزے گشگ ءِ ھاترا رستگ؟ کمک لوٹ ئے؟

 [سپورٹ فورم ئا بہ گند](https://wordpress.org/support/plugin/woo-cancel-abandoned-order/)

## دیگ

آیا شما اے پلگ ان ءِ دیمروئی ءِ حمایت کنگ لوٹ ات؟

 [ اے پلگ ان ءَ عطیہ بہ کن اِت ](https://www.paypal.me/rvola)