Hi all,
Does anyone know if it is possible to dynamically enable or disable payment methods on the store?.
The idea is that depending on the kind of user that we have in a collection we want to offer different payment methods. So after login we would using code enable or disable the payment methods we want.
Thanks you.
Custom checkout page.
and use getCurrentCart() to check what user going to buy, on the step of checkout, show the available options. Use custom payment gateway (such as https://www.wix.com/velo/example/Stripe-Payment-Processing ). Using wix-pay will show all(so not for youðŸ˜).
Hi,
Thanks for the feedback but unfortunately your answer is not responding to our problem.
We just need to know if there is a way using code to enable or maybe hide some of the payment methods depending on the customer.
So the workflow would be to check what customer is logged in and if it is one specific kind of customer we just show at checkout for example Offline payment and if it’s another kind of customer, we show for example visa and paypal payment methods.
I cannot see a way of customising the checkout page so I am afraid this might not be possible.
Thanks anyway.