4.0.12 Release Notes
Version 4.0.12 is a security release. We recommend updating as soon as possible.
Download 4.0.12
Security
This release includes internal security hardening. All merchants running 4.0.11 or earlier should update to 4.0.12.
Additional details may be published at a later date.
Bug Fixes
Local Payment Methods Handle an Invalid Pay-for-Order Context Gracefully
When determining whether a local payment method (such as Klarna, Afterpay, Affirm, iDEAL, Bancontact, or the other regional methods) should be offered, the plugin reads the current order when the customer is on a pay-for-order page. It now confirms that context resolves to a real order before calling any order methods, falling back to the customer's session and store defaults when it doesn't.
This prevents a fatal error in the rare case where another plugin reuses the same page parameter for something that isn't a WooCommerce order.