#RMoura_JS-update-client_secret
1 messages ยท Page 1 of 1 (latest)
Or how can i eliminate an element from stripe?
Hi there ๐ I think you'll need to unmount the element, recreate it with the desired client secret, and then mount the newly created one.
https://stripe.com/docs/js/element/other_methods/unmount
ok makes sense ๐ฎ
Any idea: (index):1 Uncaught IntegrationError: Can only create one Element of type payment.
Sorry, missed this because of the other thread you had! To remove it completely if you need a new one you can destroy it: https://stripe.com/docs/js/element/other_methods/destroy
Complete reference documentation for the Stripe JavaScript SDK.