#friedrich_paymentelement-defer

1 messages ยท Page 1 of 1 (latest)

worthy vergeBOT
#

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

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

wanton wyvernBOT
#

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.

tulip void
#

Can you tell me a bit more about this use-case? Do you have an amount that may be updated? Or is this saving a card for a payment at a later date maybe?

mighty bloom
#

I have a form, in which the user can choose a package, so that the price ist not clear while loading the form. But I want to display the payment methods already

tulip void
mighty bloom
#

OK! I think this is really prone to errors, but if there is no other way, I will do so!

tulip void
#

Can you tell me more about the kind of errors you are looking to address here?

worthy vergeBOT
neon tide
#

friedrich_paymentelement-defer

mighty bloom
#

It's more about maybe sending the wrong price because a default one was set

neon tide
#

What does that mean "sending the wrong price" exactly?

#

You control both sides of the code so that shouldn't happen

mighty bloom
#

I've got another Question: I've got a PaymentIntent response - how can I access the clientSecret?

neon tide
#

What programming language are you using? Can you share the code where you created it?

mighty bloom
#

PHP

#

I see a _value-Key inside the returned object, but cannot access it

#

Sorry - I got it! ๐Ÿ˜‰

neon tide
#

If you share your creation code I can show you how to do this properly

mighty bloom
#

I found out, that it's stored as class portperty of the PaymentIntent Object - thank you! ๐Ÿ™‚