You can set the payment methods based on the ZIP code. This functionality helps you to add different payment options for different PIN codes. Depending on the ZIP or PIN entered by the customer while placing the order, the payment method(s) will be displayed on the checkout page.
You have two payment methods defined i.e. COD and Online Payments. For the ZIP code "122016", you want to set the COD payment method. On the other hand, for the other PIN codes, you want to set the online payment method. You can set this by adding a ZIP code based payment method.
To set the payment method based on the ZIP code, follow the steps mentioned below:
Now, when the ZIP code will be "122016", the COD payment option will be provided to the customer. Similarly, you can create different payment methods for the other ZIP codes.