cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to apply custom promotion based on payment card type ?

Former Member
0 Likes
262

Hello Expert,

Please share any idea about, how to apply custom promotion based on payment card type like VISA,MASTER card.

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi ,

You can create custom condition which holds the payment types as conditions. But the challenge here is that the promotion calculation will only takes place till checkout page. In payment page the calculation service did not get called. So you need to customize your flow and have to call the calculationService from payment page to trigger the promotion calculation in order to get your promotion work.

Note: The above approach will have the performance constraint.

Thanks, Rahul

Former Member
0 Likes

Thank you, I have implemented same way , what you explained.I m using recalculateCart method of CommerceCartCalculationStrategy,but its perform based on PromotionGroups. Is any service available in OOTB to update particular category of promotions ?.