#bhavyacodes

1 messages ยท Page 1 of 1 (latest)

urban pagodaBOT
shy talon
#

1 min please ,let me add some code and screenshots

flint pagoda
#

How can I help?

shy talon
#

I have clicked Pay not button which triggers the form submit event as soon as the payment element is loading

and set isLoading to true

#

How Can I avoid this?

this is my code

#

Please help me with this @flint pagoda ๐Ÿ™‚

flint pagoda
#

avoid what?

#

And what button do you want to disable?

shy talon
#

can you please check the short video? the I am able to click the Pay now button

shy talon
#

and it gets stuck in that state

flint pagoda
#

But that's your own button right? you have complete control over its behaviour.

shy talon
#

Yes, but I copied this example from docs.. if you have any suggestion that would be great

https://stripe.com/docs/payments/quickstart

Learn how to embed a custom Stripe payment form in your website or application. Build a checkout form with Elements to complete a payment using various payment methods.

flint pagoda
#

I can only help with questions specific to Stripe integraiton, and I'm afraid that I can't help debugging your own code.