You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Features
UCP catalog and checkout prices are now returned in the agent's requested currency (#517). When an agent sends context.currency (e.g. CAD) on catalog/search, catalog/lookup, or checkout-sessions, prices come back converted to that currency — full WooPayments conversion (exchange rate + rounding + charm pricing), matching the buyer-facing product page — instead of the store base currency:
Requires WooPayments >= 10.9 (its Store-API currency support). On older WooPayments the prices stay in the base currency, exactly as before.
Unsupported currencies fail safe: a requested currency the store does not accept (or no context.currency at all) returns base-currency prices and surfaces a currency_conversion_unsupported warning, so an agent never quotes a base-currency price as if it were the requested currency.