Skip to main content

4.0.1 Release Notes

Version 4.0.1 is a patch release that addresses bugs introduced in 4.0.0.


Bug Fixes

BNPL Messaging Incorrectly Enabled After Upgrade

When upgrading from 3.3.108 to 4.0.0, the new Messaging Enabled option (added in 4.0.0 on the Affirm, Afterpay, and Klarna settings pages) could default to enabled even if BNPL messaging was not active before the upgrade. This caused messaging to appear unexpectedly on stores that had not previously configured it.

If you upgraded from 3.3.108 and do not want BNPL messaging to show, go to each BNPL gateway's settings page (Affirm, Afterpay, Klarna) and uncheck the Messaging Enabled option.

China UnionPay Icon Not Rendering

The China UnionPay SVG contained malformed HTML that prevented it from rendering correctly in the new card icon introduced in 4.0.0. This has been corrected.

Express Buttons Overlapping Add to Cart on Product Pages

Some themes apply a float property to the Add to Cart button on product pages. This could cause express payment buttons to overlap or block the Add to Cart button. The .wc-stripe-clear CSS class has been added to clear the float and restore correct layout.


Additions

Credit Card Icon Cache Busting

The credit card icon URL now includes a version query parameter. This ensures browsers load the updated icon after a plugin upgrade rather than serving a stale cached version.