Payment methods - IBAN not being accepted

Modified on: Mon, 14 Nov, 2022 at 2:38 PM

This article covers
One of our customers in France is entering a valid IBAN in the payment method field but it is not being accepted. 


Solution


This could be seen due to the "Invalid IP address" error when they are trying to add a payment method. This usually happens when the card's IP address and the Billing country of the customer do not match.


If true, in this case, you would have to rely on API to manually pass the IP address. You can use Chargebee's Update a card payment source API and pass the correct IP address in the header of the request, to update the correct IP address.


For Example:


curl  https://abcdef123-test.chargebee.com/api/v2/payment_sources/pm_1mkVvpLQxIB1zWJjL/update_card \

    -u ************************************: \

    -H chargebee-request-origin-ip:46.101.38.123 \

    -d card[first_name]="John


Related Article

Enable SEPA payments via GoCardless API


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.
×