Skip to content

v0.26.0

Choose a tag to compare

@github-actions github-actions released this 22 Jun 01:50
· 121 commits to main since this release
8476a68

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.