feat(api): add SEK, DKK and NOK as localized currencies (#2684)

This commit is contained in:
Hampus
2026-09-11 15:48:56 +02:00
committed by GitHub
parent 0e470f532e
commit 3af43b3366
50 changed files with 668 additions and 390 deletions
@@ -52,8 +52,11 @@ Every amount field is in the minor unit of the currency field its description na
| USD | United States dollar |
| EUR | Euro |
| BRL | Brazilian real |
| DKK | Danish krone |
| INR | Indian rupee |
| NOK | Norwegian krone |
| PLN | Polish zloty |
| SEK | Swedish krona |
| TRY | Turkish lira |
## Price IDs object
@@ -918,7 +918,7 @@ Default empty. The webhook signing secret. Not forwarded by the shipped Compose
Default `{}`. Every price ID at once. JSON object. The individual price variables are declared after it and win.
Twenty-eight individual price variables also exist, one per product and currency: `FLUXER_STRIPE_PRICE_MONTHLY_` and `FLUXER_STRIPE_PRICE_YEARLY_` in USD, EUR, BRL, INR, PLN, and TRY, `FLUXER_STRIPE_PRICE_VISIONARY_` and `FLUXER_STRIPE_PRICE_GIFT_VISIONARY_` in USD and EUR, and `FLUXER_STRIPE_PRICE_GIFT_1_MONTH_` and `FLUXER_STRIPE_PRICE_GIFT_1_YEAR_` in the same six currencies.
Thirty-four individual price variables also exist, one per product and currency: `FLUXER_STRIPE_PRICE_MONTHLY_` and `FLUXER_STRIPE_PRICE_YEARLY_` in USD, EUR, BRL, DKK, INR, NOK, PLN, SEK, and TRY, `FLUXER_STRIPE_PRICE_VISIONARY_` and `FLUXER_STRIPE_PRICE_GIFT_VISIONARY_` in USD and EUR, and `FLUXER_STRIPE_PRICE_GIFT_1_MONTH_` and `FLUXER_STRIPE_PRICE_GIFT_1_YEAR_` in USD, EUR, BRL, INR, PLN, and TRY.
#### `FLUXER_STRIPE_LEGACY_PRICES`