Fundraising/Data and flow/Exchange rates
Uses
- Monthly Convert minimum ask
- Matching gifts in civi uses it wmf_crm.module 306 using the keys to get the currency symbols
- are there more?
Process
They are updated nightly [how] and put into a database in the drupal db named exchange_rates
How to update for SmashPig
On civi1002 run `cv api4 ExchangeRate.exportToClass outputDirectory [directory you want it to go into]` for example `cv api4 ExchangeRate.exportToClass outputDirectory /tmp/`
This creates a file called CurrencyRates.php
Check this into SmashPig, example patch here https://gerrit.wikimedia.org/r/c/wikimedia/fundraising/SmashPig/+/669955