Jump to content

Fundraising/Data and flow/Exchange rates

From Wikitech
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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