#ndbtss_api

1 messages ¡ Page 1 of 1 (latest)

winged waveBOT
normal grottoBOT
#

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.

winged waveBOT
#

👋 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/1270352345397727284

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

solar elk
#

Hi, let me help you with this.

#

You can only update PaymentIntents (and other Stripe objects) via backend calls.

shell pivot
#

but i have at lesat 3 metadatas
i dont want to call the backend (in this case) 3 times

#

and in others cases a lot of times

solar elk
#

What do you mean by "3 metadatas"?

shell pivot
#

here s an exemple of what i want to send to stripe when i confirm the payment

solar elk
#

Why can't you send it in a single request?

shell pivot
#

i dont know in advance how many parameters i ll need to send for metadata
it depends on the action
so i cant send in my update payment intent fonction nb of params that can change

solar elk
#

This is nuances of your own business logic, which I can't help you with. I can only advise you on the fact that updates must be performed on the backend with your secret key. There's no other way to do it.

shell pivot
#

is there a way to create a payment intent after displaying the paymentElement?

shell pivot
#

thks

solar elk
#

Happy to help.