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

AddPayment uses the wrong amount. #411

Open
OskarOstlund opened this issue Jun 29, 2021 · 0 comments
Open

AddPayment uses the wrong amount. #411

OskarOstlund opened this issue Jun 29, 2021 · 0 comments

Comments

@OskarOstlund
Copy link

OskarOstlund commented Jun 29, 2021

When the store itself rounds currencies do the plugin use the original value, for instance would the store use one amount in SEK for an example 150 SEK, then convert it into DKK (109,88 DKK) and round that value to the closest value (110 DKK) should the checkout send the rounded value 110 DKK as the value used in the addPayment api call.

Currently in the example above would the value when the order were converted into DKK 109,88 be used and it would then include a seperate rounding of 0.12 KR as part of the entire addpayment calls rounding. This has some rather negative effects on our merchants as it can result in a rounding that exceeds the minimum amount of 0.5 SEK that skatteverket allows.

gz#175581

@OskarOstlund OskarOstlund changed the title AddPayment uses the wrong currency. AddPayment uses the wrong ammount. Nov 12, 2021
@OskarOstlund OskarOstlund changed the title AddPayment uses the wrong ammount. AddPayment uses the wrong amount. Nov 12, 2021
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