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

Fix for refund amount losing cents #65

Merged
merged 1 commit into from
Jan 7, 2016

Conversation

simonpfry
Copy link
Contributor

Amount of the refund was calculated with integer division, so we lost the cents value, leading to small inconsistencies in refunded orders if made from Adyen. This fixes it by dividing by a float.

@simonpfry
Copy link
Contributor Author

This fixes #62.

@Dkendal
Copy link
Contributor

Dkendal commented Jan 7, 2016

Looks good! Thanks Simon!

Dkendal pushed a commit that referenced this pull request Jan 7, 2016
Fix for refund amount losing cents
@Dkendal Dkendal merged commit e1e06db into StemboltHQ:master Jan 7, 2016
@simonpfry simonpfry deleted the fix-refund-lost-cents branch January 13, 2016 14:34
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

Successfully merging this pull request may close these issues.

2 participants