#BigleBomb-PaymentElement
1 messages · Page 1 of 1 (latest)
Sorry, I meant this. As you see payment element doesn't emit error property on change event.
Now for card element it does emit error property on change event.
ah I see
So, is there a workaround? Or do I have to use card element?
How does the event look like when you actually have an error?
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
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.
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