#ivko_code

1 messages ยท Page 1 of 1 (latest)

weak salmonBOT
#

๐Ÿ‘‹ 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/1285909043285725194

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

mystic gazelle
#

Hi, let me help you with this.

#

Do we have to use Stripe javascript API
What do you mean by this?

latent flower
#

do i have to call some Stripe API calls to update customer or can it be handled by Stripe JS?

#

let's say in some form submit callback

#

after Address Element update or so

mystic gazelle
#

Yes, you will need to make a backend call with your secret key to update the Customer object.

latent flower
#

i'll also have to fetch customer's current billing address and prefill it as default address in the Address Element?

mystic gazelle
latent flower
#

great, thanks for help!

#

have a nice day ๐Ÿ™‚

mystic gazelle
#

Happy to help.

#

You too

latent flower
#

i have one more question though - is there a VAT number input for Address Element or some special Stripe JS Element or do i have to implement myself somehow?

mystic gazelle
#

No, you'll have to implement it on your own.