Docs

Log into read the version of docs relevant to your site.

Operation failed as the country entered in the billing address by customer cannot be verified against IP address or card bin number

Problem Statement

You receive the error "Operation failed as the country entered in the billing address by the customer cannot be verified against IP address or card bin number" when creating a subscription or during tax validation.

  • 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?

Solution

Chargebee validates the customer's billing country against their IP address or card issuing country (from the card BIN). The error occurs when:

  • The IP address from which the card was added differs from the customer's billing country
  • The card's BIN (issuing country) differs from the customer's billing country

Configuration Steps

Scenario 1: Location validation enabled in tax settings

Disable location validation to resolve the issue.

Navigate to Settings > Configure Chargebee > Taxes > select the country > uncheck Enable location validation on the right side.

Scenario 2: IP address mismatch

Use Chargebee's Update a card payment source API and pass the correct IP address in the request header.

Scenario 3: BIN mismatch

Ask the customer to update their payment method with a card whose BIN matches their billing country. They can use Request Payment Method or update from the Self-Serve Portal.

Was this article helpful?