Disable Payment Methods based on cart conditions for WooCommerce source code
By Jose Vega, on WordPress.org since 2018. 1,000+ active installs.
Enable or disable WooCommerce payment gateways based on cart conditions like the order total. Below is its source code for every one of its 33 releases, what changed in the latest one, and how often it ships.
What changed in 1.9.0
Released Oct 22, 2020, 3 weeks after 1.8.0- 2020-10-22 = * NEW – Add support for EasyPack Parcel 24/7 shipping method * NEW – Allow to disable or enable payment methods based on the product vendor * CHANGE – Improve the handling of backorder products * CHANGE – Improve the rotation
29 files changed since 1.8.0: 29 modified, 0 added, 0 removed.
- backend/premium-teasers.php modified, +61 bytes
- conditional-payment-gateways.php modified, same size
- lang/wc_conditional_payment_gateways.pot modified, -681 bytes
- modules/core/inc/init.php modified, +2 bytes
- readme.txt modified, +253 bytes
- vendor/freemius/assets/css/admin/account.css modified, +309 bytes
- vendor/freemius/config.php modified, +102 bytes
- vendor/freemius/includes/class-freemius.php modified, +4,588 bytes
- vendor/freemius/includes/class-fs-plugin-updater.php modified, +1,968 bytes
- vendor/freemius/includes/fs-plugin-info-dialog.php modified, +285 bytes
And 19 more.
Compare 1.8.0 with 1.9.0Release history
33 releases since December 2018- 1.16.6 Oct 20, 2026
- 1.16.5 Aug 22, 2026 FIX – Custom Fields condition doesn’t work with the plugin “Checkout Field Editor for WooCommerce” by ThemeHigh in the “Order pay” page
- 1.16.4 Jan 28, 2025 CHANGE – Update dependencies
- 1.16.3 Oct 25, 2024 CHANGE – Updated dependencies
- 1.16.2 May 21, 2024 2024-05-20 = * CHANGE – Improve the custom fields detection * FIX – Fatal error when using the appears_in_this_list operator with the variation ids condition