Skip to main content

2.0.24 Release Notes

Version 2.0.24 is a patch release with one bug fix and one improvement.


Download 2.0.24

Bug Fixes

Server-Side Shipping Callback Error on Checkout Block

When Server-Side Shipping Callback was enabled and a customer paid with PayPal from the checkout block's payment methods section (not the express button), PayPal could reject the order with an error stating that the shipping callback events aren't supported for the given shipping configuration. This happened because the checkout block already collects the shipping address before the order is created, which caused the plugin to switch to a fixed shipping setup while the server-side shipping callback was still attached to the order — a combination PayPal doesn't allow. This has been fixed — the shipping callback is no longer left attached in this situation, so checkout completes normally.


Improvements

Reduced Size of Settings Data Sent to the Browser

The wcPPCPSettings JavaScript variable, which passes plugin configuration to the browser on checkout and product pages, has been reduced in size. Previously this data was percent-encoded before being embedded on the page, which significantly inflated its footprint. It is now embedded more efficiently, reducing the amount of data sent to the browser on every page load without changing any functionality.