Omneo Currencies
The Omneo Currencies extension is Omneo’s own exchange rate service. It works in three ways:- Transaction conversion. A Transaction in a foreign currency gains a
currency_valuesentry holding the rate for its day and the converted total, and Reactions can wait for it before issuing loyalty. - Live rates. Cross-region tier points, region switches and Omneo Clienteling ask it for today’s rate when no fixed rate is configured.
- Daily market rates. Each currency pair’s
market_rateis refreshed once a day, and pairs set touse_market_rateconvert at it.
Fixed or market rates
A Reaction that sets
rate_source reads that rate directly from the currency pair instead of the rates written into exchange_rates. The two are alternatives: when both are present, rate_source wins and the exchange_rates on that action are ignored. If the named source holds no rate for the pair, the amount is left unconverted rather than falling back to the other source.
Region switches follow the same priority as the currency table: a pair’s manual_rate or market_rate (whichever use_market_rate selects) converts a member’s tier points when it has been priced, and the live rate service answers only when the pair has not been priced yet.