Docs
You are viewing:
Product Catalog 2.0
Scope
EU billing error
Summary Chargebee collects the following address/location information as evidence of a customer's place of residence in adherence to the EU VAT location requirements. As a part of EU VAT Location Validation, Chargebee attempts to match the customer's billing country with either their IP address or their card issuing country (from the card BIN). If any of the validation fails you would see the above message.
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. 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 Self-Serve Portal.
Solution
Chargebee's location validation as per EU VAT rules ensures that the right tax rules are applied. This validation is carried out both when a card is added and updated. Chargebee attempts to match the customer's billing country with either their IP address or their card issuing country (from the card BIN). Only when either of these pieces of evidence matches with their billing country, location validation is successful and the customer can complete their purchase.
Location validation in Chargebee can fail if there's a mismatch for the following validation
curl https://abcdef123-test.chargebee.com/api/v2/payment_sources/pm_1mkVvpLQxIB1zWJjL/update_card
-u test_ghCDAkktDLXew4xTHTUdGR1zNGrawOtn:
-H chargebee-request-origin-ip:46.101.38.123
-d card[first_name]="John"
Temporary fix:
If you want to charge the customer immediately and ignore the error, for now, you can turn "Auto Collection" off for the customer, select the invoice and click the "Collect now" option to manually collect the payment using the payment method on file.
You can read more about the location validation here
Was this article helpful?