#sg-pushpaveni_code

1 messages ยท Page 1 of 1 (latest)

sour valeBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1306254061212794902

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

untold rain
#

this is the request id - req_fPXbCh6x5Dvwfv?t=1731501848

#

it was working a week before, now address param is requested to add

lament sail
#

hi! as far as I can tell this has always been required. I think it's only required when charging a non-EU IBAN though(your example is Switzerland) so maybe that's why it works without the full address sometimes.

untold rain
#

thanks for info
if we pass address, then its expecting the country code instead of country name
is it a new change in stripe???

#

this was one of the error we got few days before when we pass the address
"Country 'Spain' is unknown. Try using a 2-character alphanumeric country code instead, such as 'US', 'EG', or 'GB'. "

lament sail
#

no as far as I can tell the requirement for a full address for non-EU IBans has always been there

#

and yes you should use country codes not names

untold rain
#

but it was working before the migration from sources API to payment intent API
I mean to say that it was working with sources api.
is the payment intent API requires the address property???

lament sail
#

yes generally things are implemented properly/more eaxctly on the new API which is part of the reason we're deprecating the old one ๐Ÿ™‚

untold rain
#

ohh ok fine

#

is there any API / code to identify the non-EU IBAN ???

lament sail
#

if you check the docs link I posted above it describes one way of doing it.

untold rain
#

oh ok, Im checking it

#

it is mentioned as below
, IBANs with the country codes AD, PF, TF, GI, GB, GG, VA, IM, JE, MC, NC, BL, PM, SM, CH, and WF require the country and line1 properties of the billing_details.address property

only for these country codes, the billing address needs to be sent???

if so, ES- spain is missing here

#

kindly let me know the full list of country codes which require address property

lament sail
#

kindly let me know the full list of country codes which require address property
you quoted it above

#

if so, ES- spain is missing here
yes.
are you claiming you get an error not passing the address for an ES IBAN? the only example you shared was a CH(Switzerland) IBAN, where the error is expected as described in this thread.

untold rain
#

are you claiming you get an error not passing the address for an ES IBAN?
yes I got the error for Spain

#

Country 'Spain' is unknown. Try using a 2-character alphanumeric country code instead, such as 'US', 'EG', or 'GB'.

this was the error I received jsut couple of days before when I was trying to add an IBAN

#

when I got the above error for a spain user, actually his IBAN number starts with GB
is it because of GB the error thrown???

lament sail
#

yes