=== WC Cancel Order ===

Contributors: wpexpertshub, jodhavishalsingh
Tags: woocommerce cancel order, cancel order, order cancellation
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=jodhavishalsingh@gmail.com&item_name=Donation For Wc Cancel Order
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 8.0
WC requires at least: 8.0
WC tested up to: 11.0
Stable tag: 3.6

Let customers request order cancellations from the My Account page, with admin approval and email notifications.

== Description ==

WC Cancel Order lets your customers request order cancellations from their WooCommerce "My Account" order page. Store admins receive each request and can approve or decline it from the WC Cancel area, and both the customer and the store are notified by email.

From the settings you can limit requests to specific order statuses, optionally require customers to enter cancellation details, show a custom note inside the cancellation popup, and allow guest customers to cancel using the unique link sent in their order email.

The Pro version adds partial (item-level) cancellation, a store wallet with refund credits, a cancellation fee, configurable refund methods, user-role and Ultimate Member / WooCommerce Subscriptions support, and more.

= Basic Features =

🔹 Customers can send order cancellation requests from the My Account order page with cancellation details.
🔹 The store admin receives an email notification whenever a customer submits a request.
🔹 Admins can approve or decline requests from the WC Cancel area.
🔹 The customer is notified by email when their request is approved or declined.
🔹 Guest (non-registered) customers can cancel using the unique link sent in their order email.
🔹 Limit cancellation requests to specific order statuses of your choice.
🔹 Optionally require customers to enter cancellation details before submitting a request.
🔹 Display the customer's cancellation details inside the request popup.
🔹 Translation ready.

➡ <strong>[GET PREMIUM VERSION NOW!](https://wpexpertshub.com/plugins/wc-cancel-order-pro/)</strong>

= Premium Features =

&#9989; Partial order cancellation — request cancellation of specific items/quantities, not just the whole order.
&#9989; Store wallet — when you approve a cancellation you can credit the refunded amount to the customer's wallet instead of refunding the gateway; customers then spend that balance at checkout via the wallet payment gateway.
&#9989; Wallet dashboard for admins (WooCommerce → WC Cancel → Wallet) — view every customer's available balance, total received, and total spent at a glance, and drill into any customer to see their per-order wallet credits and debits.
&#9989; Cancellation fee — charge the customer a fixed amount or a percentage of the order total when a cancellation is approved. The fee is shown to the customer in the cancellation popup before they confirm, then automatically deducted from the refund on approval (it also appears in the admin popup, order notes, customer email, and the Cancellation Requests dashboard).
&#9989; Refund methods on approval — Automatic gateway refund, Manual refund, or Wallet credit (full & partial), with transaction IDs recorded.
&#9989; Automatic inventory restock when a refund is issued.
&#9989; Allow both cancellation requests and direct (immediate) cancellations for specific order statuses.
&#9989; Auto-assign a specific order status when a request is approved or declined.
&#9989; Enable cancellation requests for specific user roles.
&#9989; Admin-defined cancellation reason options shown as radio buttons in the popup.
&#9989; Make the reason radios and/or an additional text field required, optional, or disabled.
&#9989; Hide the cancellation request button after a configurable period (minutes, hours, days, months, years).
&#9989; Unified "Cancel Request" button offering a full or partial choice when both are available.
&#9989; Merged Cancellation Requests dashboard listing both full and partial requests, with bulk actions.
&#9989; Email notifications for the admin and customer on request received, approved, and declined, plus wallet-credit receipts.
&#9989; Supports Ultimate Member and WooCommerce Subscriptions.
&#9989; Translation ready.
&#9989; Pro support.

[youtube https://youtu.be/Mg91R_JCGEY]

== Installation ==

+ Go to "Plugins" > "Add New" and search for "WC Cancel Order"
+ Press "Install Now" button for the "WC Cancel Order" plugin
+ After the installation is complete click "Activate" link (Plugins > Installed Plugins).
+ Configure the desired settings under WooCommerce Settings > WC Cancel tab.
+ You are done.
+ Check WooCommerce > WC Cancel for cancellation requests you received.

== Frequently Asked Questions ==

= Where can I get support or talk to other users ? =
If you get stuck, you can ask for help in the [Plugin Forum](https://wordpress.org/support/plugin/wc-cancel-order/).

= Where can I get support for premium version ? =
You can write us directly for premium version help or [Contact us](https://wooexperts.com/contact-us/), please do not post on wordpress support forum for premium version help.

== Screenshots ==

1. Admin Orders List Page
2. Cancellation Requests Page
3. Approve Cancellation Request Popup
4. Approved Cancellation Request Popup
5. Declined Cancellation Request Popup
6. Customer Orders List Page
7. Cancellation Request Popup on the Customer Orders List Page
8. Wc Cancel Order Plugin Settings
9. Wc Cancel Order Emails

== Changelog ==

= 3.6 - 15/08/2026 =
* Fix - Cancellation request dates now display in the site's configured timezone (timestamps stored as GMT and rendered via WordPress date functions).
* Tweak - Plugin Check compliance: added nonce verification, sanitized and escaped input/output, prepared database queries, and documented schema changes.

= 3.5.1 - 30/10/2025 =
* Fix - Compatibility check and tweaks.

= 3.5 - 08/10/2024 =
* Fix - Compatibility check and hook fixed.

= 3.4 - 04/01/2024 =
* Tweak - HPOS Compatibility.

= 3.3 - 23/08/2023 =
* Tweak - Compatibility check.

= 3.2 - 11/03/2023 =
* Fix - Sanitizing data fixed.

= 3.1.9 - 15/02/2023 =
* Fix - Guest cancellation 404 page issue fixed.

= 3.1.8 - 11/11/2022 =
* Tweak - Compatibility check.

= 3.1.7 - 29/07/2022 =
* Tweak - Minor fix and compatibility check.

= 3.1.6 - 25/07/2022 =
* Fix - Translation string fix
* Fix - Divi Global Header fix

= 3.1.5 - 20/05/2022 =
* Fix - Cancel link removed from completed order email.
* Fix - Cyrillic input allowed.

= 3.1.4 - 31/03/2022 =
* Fix - Filters and Hooks added.

= 3.1.3 - 06/01/2022 =
* Fix - Multisite enabled.

= 3.1.2 - 30/08/2021 =
* Tweak - Compatibility check.
* Fix - HTML submission in additional text fixed.

= 3.1.1 - 12/07/2021 =
* Fix - Admin setting issue fixed.

= 3.1 - 11/07/2021 =
* Fix - Compatibility issue fixed.
* Fix - Admin settings added.
* Fix - Improved admin interface.
* Fix - Improved Functionality.

= 3.0 - 30/08/2020 =
* Fix - Compatibility issue fixed.
* Fix - Improved admin interface.
* Fix - Functionality Tweaks.


= 2.9.1 - 14/11/2019 =
* Fix - Minor Tweaks

= 2.9 - 05/03/2019 =
* Fix - Inventory restore issue fix on order cancellation.

= 2.8 - 04/01/2019 =
* Fix - Email template issue fixed.
* Fix - WooCommerce 3.5 emails compatibility issue fixed.

= 2.7 - 17/12/2018 =
* Fix - WooCommerce 3.5 compatibility issue fixed.

= 2.6 - 18/03/2018 =
* Fix - WooCommerce 3.3 compatibility issue fixed.

= 2.5 - 07/12/2017 =
* Fix - Restore product inventory/stock when cancel request accepted.

= 2.4 - 01/06/2017 =
* Fix - WooCommerce compatibility issue fixed.

= 2.3 - 04/05/2017 =
* Fix - WooCommerce compatibility issue fixed.

= 2.2 - 26/04/2017 =
* Fix - Translation string added.

= 2.1 - 25/03/2017 =
* Fix - Admin style/script hook fixed.

= 2.0 - 25/02/2017 =
* Fix - Email issue fixed.
* Fix - WooCommerce compatibility issue fixed.
* Tweak - Admin style/scripts.

= 1.9 - 17/05/2016 =
* Fix - Shop Manager role availability fixed.

= 1.8 - 25/02/2016 =
* Fix - WooCommerce version compatibility.

= 1.7 - 12/02/2016 =
* Feature - Multilingual ready / Translation ready.

= 1.6 - 11/10/2015 =
* Fix - Get Status Fatal error fixed.

= 1.5 - 12/04/2015 =
* Fix - Restore inventory/stock after Order cancel.

= 1.4 - 31/03/2015 =
* Fix - E-Mail Notification Fixed.
* Fix - Minor Changes done accordingly woocommerce version 2.3.

= 1.3 - 22/11/2014 =
* Fix - Cancel Request Approve Notification E-Mail added.
* Fix - Tool-tip fixed for WC Cancel Order admin dashboard icons.

= 1.2 - 21/11/2014 =
* Fix - Cancel Request Permission issue fixed.

= 1.1 - 10/11/2014 =
* Fix - Admin css hook fixed.

= 1.0 - 09/11/2014 =
* Initial Revision.