Scope
How can I restrict the countries at billing, shipping, and card addresses as a self-serve action?
How to restrict the countries on checkout?
How to restrict countries at the shipping addresses on checkout?
How to restrict countries at the card addresses on checkout?
How to restrict countries at the billing addresses on checkout?
How to restrict the countries on the self-serve portal?
How to have a default Billing/Shipping Country in Checkout?
How to change the default country Phone Number Code at Checkout?
Summary
You can allow or restrict specific countries at the billing/shipping/card address page on checkout by navigating to Checkout & Self-Serve Portal> Fields> Billing> Address Fields> Country.
Solution
Billing Address
Follow the below steps to restrict countries at the billing address:
Navigate to Configure Chargebee> Checkout & Self-Serve Portal> Fields> Billing> Address Fields> Country.
Click the Edit icon.
Configure Country list
Select All countries available or Include specific countries from the Country list dropdown.
Select the required countries from the dropdown if you have selected Include specific countries in the above step.
Click Apply.
If you want to allow existing customers to manage their subscriptions using the self-serve portal, select all countries that you have customers from.
Choose the Default Country
Select the default country to be displayed in the billing address fields from the dropdown. The dropdown displays only the countries selected from the Country list.
Set default country code for phone number
This can be achieved by modifying the Fields under the Checkout and Self-Serve Portal section and have shared the steps below.
1. Navigate to Settings > Configure Chargebee > Checkout & Self-Serve Portal > Fields
2. Account Information > Phone > Edit > Select the option Use the billing address value.
3. Next, go to the Billing section > enable the Phone option if it is not already enabled
4. Now go to Address fields > Country > Edit > Set the default country as ‘Spain’ for example > Apply.
5. Be sure to Publish the changes.
Now the checkout will show the Phone Number country code as ‘+34’ under the ‘Add your Billing Address’ section
I have also included this brief video to help guide you on where to make the necessary changes.
1. Repeat the same steps for restricting countries in the Shipping address by navigating to Configure Chargebee> Checkout & Self-Serve Portal> Fields> Shipping> Address Fields> Country
2. Repeat the same steps for restricting countries in the Card address by navigating to Configure Chargebee> Checkout & Self-Serve Portal> Fields> Payments> Address Fields> Country