Skip to Content

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.
Accept Reject

When customer make a payment, the point did not deduct. However, when cancelled the order, the point will add back.


Avatar
Discard
Author Best 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. 


Avatar
Discard

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

Related Posts Replies Views Activity
1
Nov 23
64
1
Nov 24
84
0
Sep 24
66
0
Aug 24
107
0
Jun 24
73