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 incorrect coupon calculations #655

Merged
merged 4 commits into from Jun 9, 2022
Merged

Conversation

duncanmcclean
Copy link
Owner

@duncanmcclean duncanmcclean commented Jun 9, 2022

This pull request fixes two issues with coupon calculation that were mentioned in #651. Both were issues when you entered a decimal number as the coupon value.

This PR contains both the fix and tests to cover both cases.

Fixes #651.

@duncanmcclean duncanmcclean marked this pull request as ready for review June 9, 2022 19:54
@duncanmcclean duncanmcclean merged commit e63ca55 into 3.x Jun 9, 2022
@duncanmcclean duncanmcclean deleted the bugfix/coupon-calculations branch June 9, 2022 19:54
@github-actions
Copy link

github-actions bot commented Jun 9, 2022

Released as part of v3.2.7.

@mscruse
Copy link

mscruse commented Jun 10, 2022

Hi Duncan. I'm still having my original issue after updating SC. I'm away so next week will do a screen video for you to show the exact issue.

@duncanmcclean
Copy link
Owner Author

That's weird - I managed to get both of your use cases fixed last night... Although, feel free to send over a video whenever you can and I can take another look.

Repository owner deleted a comment from github-actions bot Dec 22, 2023
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.

Coupon calculations incorrect
2 participants