#maverickdoge_api

1 messages ¡ Page 1 of 1 (latest)

steady pikeBOT
#

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

📝 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.

grizzled mountain
#

Have you built this integration yet?

slate folio
#

@grizzled mountain have to ask again here

grizzled mountain
#

I recommend you build it and test some things out

slate folio
#

since bot closed the previous once

#

yes i have created the once I described above

grizzled mountain
#

I closed it. As our bot mentioned above, we close threads due to inactivity.

#

I think you could achieve this behavior but it would be tricky. You can create the Payment Element before creating an Intent by specifying the important details when you create the stripe.elements instance. We document this here

#

The hard part is, you need to specify the mode which would either be setup or payment in this case.

#

Trying to confirm a Payment Intent with an Element created with mode: "setup" would throw an error, same with trying to save a Payment Method with mode: "payment.

#

Wait a sec, sorry I was getting ahead of myself. We definitely support this!

#

You can save the payment method when you confirm a payment intent

#

We document this here

#

The only difference between this doc and what you are trying to do with re-displaying the payment methods is that you would need to set up the allow_redisplay part when you create the Payment ELement. That part is in the doc I shared in your earlier thread.