#Linas

1 messages ยท Page 1 of 1 (latest)

remote copperBOT
hybrid moth
#

Hello ๐Ÿ‘‹
The quick start guide is just an example, you don't necessarily need to build your app that uses the same flow. You can create a PaymentIntent on let's say a button click if that helps

lucid summit
#

hmmm, but does it work with apple pay then ? i think, that apple pay button is generated through thatp rocess?

hybrid moth
#

If you change your flow then you must change how the button renders too ๐Ÿ™‚ The example is only for your reference!

#

But yes, the button will render if you provide it client-secret later on

lucid summit
#

ohh jeeez, i'm not strong at javascript.. and if i want user allow to change amount, then i have to use paymentintent update feature ?

hybrid moth
#

Yes, you'll need to update the PaymentIntent with the amount and re-render the elements

lucid summit
#

is there any premade examples how to re/render button?

hybrid moth
lucid summit
#

thank you, i will take a look.

hybrid moth
#

NP! ๐Ÿ™‚ Good luck