StoreHippo provides the support to set the payment methods based on the product collections. However, in order to do this, you need to add collections and then you can set payment methods based on the product collections. Click here to know how to add collections. Depending on the categories of the product(s) added to the cart, the payment method(s) will be displayed on the checkout page.
There are 2 ways to add the payment methods based on the collection. You can either choose the "Every product collection" or "Any collection" option. On choosing the "Every product collection" option, the payment method will be available when all the products added to the cart belong to the specified collection. If there is even a single product that is not in the specified collection, the payment method will not be displayed.
Similarly, on selecting the "Any product collection" option, the payment method will be applicable even if the single product from that collection is added to the cart.
Suppose you have an electronics store having multiple categories including "Mobile Phones" and "Mobile Accessories". You want when there is even a single product from the "Mobile Phones" category, the Online payment method should be available. On the other hand, you want to offer the COD payment method when all the products belong to the Mobile Accessories category.
To set the payment method based on the city, follow the steps mentioned below:
Now, when any product from the "Mobile Phones" collection will be available in the cart, the online payment method will be available for making payment. Similarly, you can create the payment method for the "Every product collection", and specify the collection for another payment method.