#Muhammad Awais
1 messages · Page 1 of 1 (latest)
I have assigned a new payment intent client_secret, but the payment that I entered at the time of the first payment intent is already there.
I want to reset those fields
I'm not sure that's possible
element.destroy()
what this method do?
Hi! I'm taking over this thread.
In this case I think you would need to destroy and re-create the Payment Element.
Oh wait, maybe you can try this: https://stripe.com/docs/js/element/other_methods/clear