Skip to content

Automate order cancellation for WooCommerce based on pending payment status and allow manual cancellation trigger by admin

License

Notifications You must be signed in to change notification settings

mehdi-najaran/auto-cancel-orders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto Cancel Orders - WooCommerce Plugin

Auto Cancel Orders is a WordPress plugin designed to automatically cancel WooCommerce orders after a specified duration in "pending payment" status. It also provides an option for the admin to manually trigger the cancellation process for existing orders.

Features

  • Automatically cancel WooCommerce orders after the specified duration in "pending payment" status.
  • Provides an admin settings page to configure the auto-cancel time.
  • Allows the admin to manually trigger the cancellation process for existing orders.
  • Customizable appearance with a separate CSS file for the settings page.
  • Supports translation with language files.

Installation

  1. Download the latest release ZIP file from the Releases page.
  2. In your WordPress admin panel, navigate to Plugins -> Add New.
  3. Click on the Upload Plugin button and choose the downloaded ZIP file.
  4. Click Install Now and then Activate Plugin.

Usage

  1. After activating the plugin, go to Auto Cancel Orders in the WordPress admin menu to access the settings page.
  2. Set the desired auto cancel time (in hours) for pending orders and click Save Changes.
  3. To manually trigger the cancellation process for pending orders, click the Cancel Pending Orders button on the same page.

Requirements

  • WordPress version 5.0 or higher.
  • WooCommerce plugin version 3.0 or higher.

Translations

The plugin is translation-ready. You can find the language files in the languages directory. If you wish to translate the plugin into your language, you can create a new translation file and contribute it back to the project.

Support and Contribution

  • For bug reports and feature requests, please open an issue.
  • Pull requests are welcome! If you'd like to contribute, please fork the repository and create a new branch for your changes.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Auto Cancel Orders is developed and maintained by Mehdi Najaran.

About

Automate order cancellation for WooCommerce based on pending payment status and allow manual cancellation trigger by admin

Resources

License

Stars

Watchers

Forks

Packages

No packages published