Skip to content

Order Payment Limiter Woo

v1.0.0

Automatically cancels WooCommerce orders after failed payment attempts.

Screenshot

Order Payment Limiter Woo activated in the WordPress plugins screen
Order Payment Limiter Woo activated in the WordPress plugins screen

README

WooCommerce Order Payment Limiter

Automatically cancels WooCommerce orders after failed payment attempts.

Supported Gateways

  • Official WooCommerce Stripe Gateway
  • Payment Plugins for Stripe WooCommerce

Installation

  1. Upload plugin folder to /wp-content/plugins/
  2. Activate through WordPress admin
  3. Configure at WooCommerce > Payment Limiter

Settings

  • Max Attempts: Number of failed payments before auto-cancel (default: 3)
  • Cancel Status: Order status after cancellation (default: cancelled)
  • Custom Note: Optional cancellation message
  • Logging: Enable/disable detailed logs
  • Reset on Success: Clear attempt counter on successful payment

How It Works

  1. Tracks failed payment attempts per order
  2. Adds order notes for each failed attempt
  3. Cancels order when max attempts reached
  4. Logs all activity to WooCommerce logs

Requirements

  • WordPress 5.0+
  • WooCommerce 5.0+
  • PHP 7.4+
  • One of the supported Stripe plugins

Hooks

The plugin hooks into:

  • wc_gateway_stripe_process_payment_error (Official Stripe)
  • wc_stripe_process_charge_failed (Payment Plugins)
  • woocommerce_payment_failed (Fallback)

License

GPL v2 or later

Details

Version
1.0.0
Last repository activity
October 13, 2026
License
Apache-2.0
Language
PHP
Stars
0

Compatibility

WordPress minimum
5.0
WordPress tested up to
6.4
PHP minimum
7.4
WooCommerce minimum
5.0
WooCommerce tested up to
9.0

Declared by the plugin in its source files. Missing information does not indicate compatibility.

WP-CLI

wp plugin install https://github.com/Open-WP-Club/order-payment-limiter-woo/archive/refs/tags/1.0.0.zip --activate

Contributors

MrGKanev

1 contributor

Open-source supporters

These companies help keep our plugins free and maintained.

Meet our supporters →

Sponsor us

Our software is free forever. Sponsorships help us maintain all our plugins and build new tools for the WordPress ecosystem.

Become a SponsorContact us about sponsoring