#keith_api

1 messages ยท Page 1 of 1 (latest)

kindred matrixBOT
#

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

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

fickle basinBOT
#

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.

late girder
main shoal
#

Does it allow me to prefill and not display the address?

late girder
#

no but if you want that there are ways

kindred matrixBOT
proper sorrel
#

๐Ÿ‘‹ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!

main shoal
#

Is there not a way to expand the payment intent through the JS API? I tried to do this a couple ways but neither worked.

proper sorrel
#

unfortunately that's not possible

#

you need to send a request to your API and get that information with the secret_key

main shoal
#

what is the expand on the confirmPayment used for?

proper sorrel
#

but that doesn't provide all information

main shoal
#

I was hoping to get the payment_method data

proper sorrel
#

even if you expand there are information that you won't have access via publishable_key

proper sorrel
main shoal
#

I created the payment intent on the server before the page loads. I guess I'm not sure what the purpose is of the token compared to creating a payment intent and confirming payment

proper sorrel
#

the confirmationToken holds the payment method data even before confirming the Payment

#

after that you can confirm the Payment directly using the confirmationToken

main shoal
#

I'd rather not confirm the payment at all. I will probably just have to do the lookup on the server using the return_url because I need to save the payment before it moves to the next page. Thanks for your help.

proper sorrel
#

exactly why you would need the confirmation token for