-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cc-pricing-page)!: adapt to support priceSystem currency
BREAKING CHANGE: the component no longer supports hard coded change rate Prices displayed in pricing components are no longer computed based on hard coded change rate. Prices related to the selected currency come from the API priceSytem endpoint. This means that some types for the component properties have changed: - `selectedCurrency` is now a `string` (ISO 4217 currency code), - `selectedPlans` now handles plans differently (they must have a `priceId` if they come from `cc-pricing-product` or `sections` if they come from `cc-pricing-product-consumption`). Fixes #1167
- Loading branch information
1 parent
a67c3bc
commit 0d24ff5
Showing
4 changed files
with
426 additions
and
236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.