Multi-Currency E-commerce: Handling FX Rates, Rounding and Refunds Safely

The article argues that multi-currency e-commerce commonly fails in three areas: unsaved exchange rates, per-line instead of per-order rounding, and refunds calculated at the current rate. It recommends storing monetary amounts as integers in minor units alongside ISO 4217 currency codes, since floating-point arithmetic introduces compounding errors. Each order should record the exchange rate and its source, rounding should occur once per order using a documented rule, and refunds should be issued in the original currency and amount paid. The author suggests a hybrid pricing model, with fixed price lists for major markets and converted prices with rounding rules for others. The piece also distinguishes between presentment, settlement, and reporting currencies, which a single currency column on orders cannot capture.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in