Scope
How to resolve the error while creating a subscription: Operation failed as the country entered in the billing address by customer cannot be verified against ip address or card bin number
How do I overcome the tax location validation error?
How do I fix the card BIN mismatch error?
What are the steps to fix an IP address mismatch during tax validation?
How to turn off location validation on digital services for customers?
Operation failed as the country entered in the billing address by customer cannot be verified
Summary
This error occurs when Chargebee attempts to match the customer's billing country with either their IP address or their card issuing country (from the card BIN)
Solution
Chargebee attempts to match the customer's billing country with either their IP address or their card issuing country (from the card BIN). Location validation in Chargebee can fail if there's a mismatch in either of the following:-
- The IP address from which the credit card was added is different from the customer's billing country.
- The credit card's BIN would be different from the customer's billing country.
Error Message: Operation failed as the country entered in the billing address by the customer cannot be verified against IP address or card bin number.
Scenario 1
The error is occurring since you have enabled location validation in the tax settings. Please disable it to resolve the issue.
Go to Settings > Configure Chargebee > Taxes > choose the country > uncheck 'Enable location validation' on the right side.
Scenario 2
Or if the issue is due to the IP address, then you can use Chargebee's Update a card payment source API and pass the correct IP address in the header of the request.
Scenario 3
If it's due to a BIN mismatch, request the customer to update with a new payment method whose BIN matches the customer’s country using the Request Payment Method or ask the customer to update the payment method from the Self-Serve Portal.