#BigleBomb-PaymentElement

1 messages · Page 1 of 1 (latest)

worthy stream
#

I see it

peak torrent
#

Sorry, I meant this. As you see payment element doesn't emit error property on change event.

peak torrent
worthy stream
#

ah I see

peak torrent
#

So, is there a workaround? Or do I have to use card element?

worthy stream
#

How does the event look like when you actually have an error?

worthy stream
#

I see...

#

It looks like we haven't supported this. Thanks for report and I will feedback to the team

#

Taking a step back, what do you want to do when you catch this error? The UI should already tell the customer their input is wrong

peak torrent
#

I want to disable the submit button (blue button) when there's an error on the card input. So there's no need to process the payment in the first place.

#

Because right now when I submit and process the payment, Stripe would just return error anyway because the card isn't valid.

worthy stream
#

I guess it's a feature request to us 🙂 For the time being, I think it shouldn't be a big problem tho, since customer know they are having error