How to create billing address-based conditional payments rule
This rule allows you to conditionally enable or disable payment methods based on specific billing address details provided by the customer during checkout.
Steps to Configure a Billing Address-Based Rule:
- Set Conditions:
- Available Billing Address Conditions:
- First Name: Apply rules based on the customer's first name (e.g., "John").
- Last Name: Apply rules based on the customer's last name (e.g., "Deo").
- Company: Offer corporate or company-specific payment methods (e.g., "Dotstore").
- Address/Address 2: Apply rules for specific shipping address patterns.
- Country: Restrict or allow payments based on the customerโs billing country (e.g., "USA").
- City: Adjust payment methods for customers from specific cities (e.g., "California").
- Postcode: Tailor payment options based on postal codes (e.g., "00040").
- Email: Restrict payment methods based on the customer's email address (e.g., "john.deo@gmail.com").
Phone: Offer or restrict payment methods for customers providing specific phone numbers (e.g., "(415) 896-1550").
- Create a new rule and choose one or more billing address fields (e.g., country, city, or email) as conditions.
- Specify the values or patterns to match for the selected fields.
- Available Billing Address Conditions:
- Configure Actions:
Select whether to enable or disable specific payment methods based on the conditions.
- Save and Test:
Save the rule and test it to confirm the settings are applied correctly at checkout.
๐ Example Use Case #1: Restrict COD for International Customers
Hide the "Cash on Delivery" option for customers whose billing country is not "USA."
๐ Example Use Case #2: Offer Net Banking for Specific Companies
Enable "Net Banking" only for customers billing to a particular company.
๐ Example Use Case #3: Apply Special Payment Options for Specific Postal Codes
Enable "Bank Transfer" for customers billing from postcodes with "12345".