Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tracking exchange rate history #1

Open
lsmith77 opened this issue Mar 1, 2018 · 0 comments
Open

tracking exchange rate history #1

lsmith77 opened this issue Mar 1, 2018 · 0 comments

Comments

@lsmith77
Copy link
Contributor

lsmith77 commented Mar 1, 2018

in my example, the external system asks sylius for an order number and a total amount in a specific currency.

imo, it is the job of Sylius to calculate the conversion between base currency used for the order and display currency at the rate available when the order was completed. 

for example: if I use EuropeanBank Interbank FX in Sylius and my supplier is using PolishBankInterbank FX, by doing the conversion from base currency (RON) to EUR at another conversion rate, would result in a different amount to be paid

when calculating the "amount paid" for display purposes, you need to take into consideration historical FX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant