4.0.16 Release Notes
Version 4.0.16 is a patch release with one bug fix.
Download 4.0.16
Bug Fixes
Adaptive Pricing's Beta Header Now Only Sent on the Request That Needs It
4.0.15 added Adaptive Pricing for the Universal Payment Method, which uses a Stripe API feature available only to accounts Stripe has enrolled in it. That feature's request header was included on every Stripe API call the plugin made, rather than only the one call that uses it. On a small number of accounts not enrolled in this feature, in both test mode and live mode, this caused Stripe to reject those requests, so checkout didn't complete, with an error similar to:
Invalid Stripe API version: ...;checkout_server_update_beta=v1. You do not have permission to pass this beta header: checkout_server_update_beta.
The header is now only sent on the specific Stripe API call Adaptive Pricing uses, and only when Adaptive Pricing is enabled.