Name Your Price v3.7.0 – Store API Enhancements & WooPayments Fix
Important
Updated minimum requirements
This version now requires:
- PHP 7.4 or higher
- WordPress 6.2.0 or higher
- WooCommerce 8.2.0 or higher
Please ensure your environment meets these requirements before updating.
New
Extended Store API support for Name Your Price
The cart and product Store API endpoints now include Name Your Price properties. This improves compatibility with block-based carts, headless implementations, and modern WooCommerce frontends.
Fixes
Resolved WooPayments pay-for-order conflict
Fixed a fatal error that could occur during pay-for-order flows with WooPayments, where a null cart object caused a get_cart() call to fail.
Improved Store API cart validation handling
Updated cart validation to throw an InvalidCartException instead of a RouteException during woocommerce_store_api_validate_cart_item. This aligns error handling more closely with WooCommerce core behavior.
Why this matters
- Adds deeper compatibility with block-based and headless setups
- Prevents fatal errors when using WooPayments pay-for-order
- Improves reliability of Store API cart validation
- Aligns error handling with WooCommerce core patterns