Docs
eu, tax, billing, address, error, operation, failed, validation, ip, BIN
41075087
2023-01-19T15:43:10Z
2025-02-12T08:24:31Z
764
0
0
257592
Sorry, we were unable to process this transaction because we could not verify your location. Please use a credit card issued from the same country as provided in the Billing information
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
IP Address
Bank Identification Number (BIN)
If there is an IP mismatch, you would need to use Chargebee's Update a card payment source API and pass the correct IP address in the header of the request.
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"
If there's a mismatch between the Credit card BIN and the country of the user, you would need to contact the customer and ask them to update with a new payment method whose BIN matches the customer's Country.
The Request Payment Method option within the Customer or Subscription details page can be used to send customers an email with a secure link to update their payment details.
You would need to use Chargebee's Update a Card Payment Source API and pass the correct IP address using the parameter card [ip_address]. The card IP address HAS TO BELONG TO the customer's billing or shipping address.
If you've allowed the Self-Serve Portal via Chargebee login, they can update the payment information themselves by logging into their accounts.
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