Commit cb17dca
committed
fix(auth): add CMS support to billing-and-subscriptions
Because:
- The billing-and-subscriptions API needs to return pricing information
for the currency used for subscriptions using multi-currency prices
This commit:
- Based on the IAP store ID, it uses the IAP CMS config to determine the
correct Stripe price to fetch and return priceInfo for the currency
used for that IAP subscription.
- If currency could not be determined, return null
- If no amount can be determined for the provided currency, retrun null
Closes #PAY-32371 parent 0e43225 commit cb17dca
16 files changed
Lines changed: 487 additions & 360 deletions
File tree
- packages
- fxa-auth-server
- bin
- lib
- payments
- routes
- subscriptions
- test
- local
- payments
- routes/subscriptions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments