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

Reward points not awarded for orders where points are redeemed #5764

Closed
AndreiMaz opened this issue Jul 14, 2021 · 1 comment
Closed

Reward points not awarded for orders where points are redeemed #5764

AndreiMaz opened this issue Jul 14, 2021 · 1 comment

Comments

@AndreiMaz
Copy link
Member

This affects many versions of nopCommerce, up to and including 4.4

If a customer places an order and redeems reward points, no new reward points are added for that order.

This is because there is a test in the OrderProcessingService.AwardRewardPointsAsync to see if the order's RewardPointsHistoryEntryId has a value. If it does, no points are awarded.

BUT if the customer redeemed points, then RewardPointsHistoryEntryId will have a value.

Source: https://www.nopcommerce.com/en/boards/topic/91440/reward-points-not-awarded-for-orders-where-points-are-redeemed

@holydk
Copy link
Contributor

holydk commented Dec 2, 2021

I can't reproduce issue. The new reward points are added to order after completing.

Closed #5764

@holydk holydk closed this as completed Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants