How to dedicated caterory X like airsoft guns not checkout by AliPay? others products are checkout by both PayPal and Alipay?
I have a website "https://shop.jkarmy.com" which is using Magento and PayPal right now. Some gears would like to be sold in China, but I have sensitive items (non-real airsoft guns) in my site, How can I dedicated those guns only checkout by PayPal instead of AliPay? or dedicated all products except guns for both PayPal and Alipay users?
Maybe Can I create a dedicated page only for Alipay users and using only Alipay? please kindly advise. https://shop.jkarmy.com/alipayandskrillusers?p=2
Solved! Go to Solution.
all payment methods extend payment abstract class and fires 'payment_method_is_active' event,
so you can setup a observer for this event and check all the items in quote, in your case check if products are in category X, then modify the checkResult
all payment methods extend payment abstract class and fires 'payment_method_is_active' event,
so you can setup a observer for this event and check all the items in quote, in your case check if products are in category X, then modify the checkResult
Thank you so much. I will tell to our integrator to do it.