#akram-paymentelement-complete
1 messages ยท Page 1 of 1 (latest)
@boreal dagger you want to use https://stripe.com/docs/js/element/events/on_change?type=paymentElement#element_on_change-handler-complete
akram-paymentelement-complete
yes
yes perfect now have done
awesome!
Glad I could help
question if the status succeed what is the event we are need ?
I don't understand what that question could mean and which status we are talking about sorry
thank you sorted to show loading icon when i submit
๐
that doc tells you exactly when it's rendered
rendered = after paid ?
yes. Again as the dev, try it, it'll be faster than the question here since I would give you the same answer as our docs do
๐ hopping in here - the ready event is meant to be called with a specific element, not on the elements group. In your code you have elements.on('ready'... but you need to call it on the paymentElement instead