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

Refunds happen in the base currency #323

Open
rvelhote opened this issue Sep 3, 2018 · 0 comments
Open

Refunds happen in the base currency #323

rvelhote opened this issue Sep 3, 2018 · 0 comments

Comments

@rvelhote
Copy link
Contributor

rvelhote commented Sep 3, 2018

Hello Ebanx,

We are testing the most recent version of this module and while testing the refunds feature we noticed that the refund was done using the base currency EUR instead of BRL.

Magento always sends the base amount when calling the payment method's refund method. Is it appropriate to implement a conversion to BRL based on the order's exchange rate or perhaps to specify the currency_code parameter as the order's base currency in the data array that's sent in the request?

You can check the following payment hash in the sandbox 5b8d484bf4d03ce1df72c2a96a0ba10860bd0e9e336b5f1d.

Thank you,
Ricardo

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