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:

  1. 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").


        Admin: Available billing address conditions

    • 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.
  2. Configure Actions:
    • Select whether to enable or disable specific payment methods based on the conditions.


      Admin: Set billing country based conditional payments rule
  3. Save and Test:
    • Save the rule and test it to confirm the settings are applied correctly at checkout.


      Front: Checkout page with applied rule

๐Ÿ“Œ 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".

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.