Woocommerce Conditional Shipping And Payments icon

Release v3.1.4

Woocommerce Conditional Shipping And Payments v3.1.4

What's new in v3.1.4

Woocommerce Conditional Shipping And Payments v3.1.4 was released on . Use advanced rules to control the countries/states, payment gateways and shipping methods available during checkout. See the full changelog below and compare with the complete version history.

Release details

Released
310.7 KB
File available

Changelog

Fixed
  • Restricted product rule toggles to users who can edit the target product.
  • Applied billing-period restrictions to manual subscription renewals.
  • Fixed an issue where the Checkout block could receive an undefined payment method callback configuration when no payment gateway restrictions were active.
  • Fixed a fatal error that could take down sites running a WooCommerce version older than the required minimum.
  • Corrected all-item package tag rules that use AND matching.
  • Fixed an issue where payment gateway restrictions could stop applying for the remainder of a request after the Cart/Checkout blocks cart data was generated.
  • Fixed an issue where payment gateway and shipping method restrictions could stop applying for the remainder of a request when the debug mode was enabled.
  • Corrected all-item package brand rules that use AND matching.
  • Applied instance-specific shipping method restrictions on order-pay pages.
  • Prevented "Translation loading was triggered too early" notices when the installed WooCommerce or PHP version is not supported.
  • Prevented unauthorized users from toggling global checkout restrictions.
Other
  • Dev - Restored TLS certificate verification and fail-closed error handling in the release deployment script.
  • Dev - Re-enabled PHP 8.4 unit tests and fixed the CI matrix so the HPOS job actually runs against the HPOS order datastore.
  • Dev - Fixed the build:js script and updated cross-env to v7.
  • Dev - Added Markdown, dependency license, and WordPress.org Plugin Check gates to the pull request CI.
  • Dev - Enabled JavaScript linting in CI and migrated the ESLint setup to the flat config format required by ESLint 10, aligning the lint and formatting toolchain with WooCommerce core.
  • Dev - Updated the npm build toolchain to resolve all remaining Dependabot security alerts.
  • Dev - Verified the ChromeDriver download against its published checksum in the E2E CI job.
  • Dev - Exposed the shared `.ai/commands` to agent tooling and documented the isolated worktree setup.
  • Dev - Standardized the package license identifier on GPL-3.0-or-later.
  • Dev - Enabled CSS linting in CI and fixed source style violations.
  • Dev - Pinned and verified WP-CLI before release packaging.
  • Dev - Update wp-coding-standards/wpcs to 3.4.1 (security release) in the phpcs lint tooling.
  • Dev - Update development Composer dependencies (PHPUnit, Guzzle PSR-7, PsySH, Symfony YAML) to resolve security advisories in the PHP test toolchain.
  • Dev - Update development npm dependencies to resolve security advisories in the build toolchain.
  • Dev - Hardened the QIT test workflow: pinned the QIT CLI version and stopped workflow inputs from being interpolated into shell source.

Compatibility

Requires WordPress
6.8
Tested up to
7.0
Requires PHP
7.4

Verified safe

Woocommerce Conditional Shipping And Payments v3.1.4 scanned clean with no security threats detected.

View full scan report