跳至内容

欢迎!

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.

此问题已终结
作为版主,您可以批准或拒绝该答案。
接受 拒绝

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


形象
丢弃
编写者 最佳答案

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. 


形象
丢弃

您的回复

请大家尽量给个实质性的回答。如果您想回答这个问题或发表评论,只需 使用评论工具。请记住,您可以随时修改您的答案。 - 不用重复回答同样的问题。另外,请不要忘记投票 - 它确实有助于选择最好的问题和答案!

相关帖文 回复 查看 活动
1
11月 23
61
1
11月 24
83
0
9月 24
65
0
8月 24
107
0
6月 24
73