#andrea - pay button

1 messages · Page 1 of 1 (latest)

tulip pier
#

Hello! Just starting a thread for you -- I'll review and respond as soon as I can 🙂

#

Hey there can you say more about your integration?

#

Are you using the payment element?

main crater
#

this is the HTML part i took from your site

#

i have the button id="submit" that is always clickable

#

is there a method to make it clickable when Stripe injects the payment element?

#

i have this js

main crater
tulip pier
#

Yes I believe the ready element event is meant o give you this information:

#

So you can disable your Pay button until you get the ready event

main crater
#

so on which variable i have to call ready event?

#

paymentElement?

#

according to my screenshoot

tulip pier
#

You don't call it, you set up a listener in your js code