Skip to content

Conversation

@david1alvarez
Copy link
Contributor

Because:

  • Currencies were defined both in a global/importable variable and in an environment config, causing inconsistent behavior

This commit:

  • Removes the variable, and switches referencing code to the config

Closes #PAY-3432

Checklist

Put an x in the boxes that apply

  • [x ] My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).

Screenshots (Optional)

Please attach the screenshots of the changes made in case of change in user interface.

Other information (Optional)

Any other information that is important to this pull request.

@david1alvarez david1alvarez requested a review from a team as a code owner January 6, 2026 21:32

# Currency Config
CURRENCY_CONFIG__TAX_IDS={ "EUR": "EU1234", "CHF": "CH1234" }
CURRENCY_CONFIG__CURRENCIES_TO_COUNTRIES={ "USD": ["US", "GB", "NZ", "MY", "SG", "CA", "AS", "GU", "MP", "PR", "VI"], "EUR": ["FR", "DE"] }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

env config changed to match prod values

Copy link
Contributor

@StaberindeZA StaberindeZA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+. LGTM

Because:

* Currencies were defined both in a global/importable variable and in an environment config, causing inconsistent behavior

This commit:

* Removes the variable, and switches referencing code to the config

Closes #PAY-3432
@david1alvarez david1alvarez merged commit ba48315 into main Jan 9, 2026
22 checks passed
@david1alvarez david1alvarez deleted the PAY-3432 branch January 9, 2026 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants