Fundraising/Data and flow/Exchange rates

From Wikitech

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 civi1001 run `Drush make-exchange-refs [directory you want it to go into]` for example `Drush make-echange-refs /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