Allow cashback on only wallet payments
-
Hi team π
First of all, thank you so much for such a wonderful extension.
Now my requirement is that I would only like to give rewards to customers who pay through their wallet. But currently it is applying cashback to all payments. I would like it to apply only to wallet payments, and if they are partial, then apply partial cashback.
An example of this:
1. Item1 — $40 with 5% cashback2. Item2 — $6 with 12% cashback
with $10 in wallet, the total cashback would result in:
Applying wallet money to the amounts with the highest cashbacks first.
1. 12% on $6 = $0.72 ($4 still remaining in wallet)
2. 5% on $4 (from Item1’s $40 cost) = $0.2 ($0 remaining in wallet)So, $0.72 + $0.2 = $0.92 is the total cashback.
Any help on this would be appreciated. Thanks!
Best,
Omar
- The topic ‘Allow cashback on only wallet payments’ is closed to new replies.