When customer make a payment, the point did not deduct. However, when cancelled the order, the point will add back.
Welcome!
This community is for professionals and enthusiasts of our products and services.
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.
This question has been flagged
As a moderator, you can either validate or reject this answer.1. Customer make a payment, the point did not deduct because they didn't make payment successfully. So system won't deduct the point.
2. When cancelled the order, the point will add back because when order status change to cancelled will give back the point. Here need to do a restriction to prevent give back the point.
Solution
1. Add a condition which is change the status from 'confirmed' to 'cancelled' will be trigger. This is because after payment fail the status is 'created'. So when 'created' change to 'cancelled' will not be trigger. We using order history to track the old order status.
Your Answer
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Nov 23
|
64 | ||
|
1
Nov 24
|
84 | ||
|
0
Sep 24
|
66 | ||
|
0
Aug 24
|
107 | ||
|
0
Jun 24
|
73 |