New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StripeCheckout throws an error when unmounting #310
Comments
+1 here, temporary fixed setting the line-items property on onsubmit...
|
Thank you @CKGrafico, I've tried this but I'm still getting the same error. |
Does anybody have any ideas what is causing this? I'd really like to use this with my Vue application. |
It's been another month with no reply.. |
Hi, |
@scramatte I'd look at implementing it yourself without this library. It looks like they have no intentions on fixing it. |
Describe the bug
I would like to use the
StripeCheckout
component within my Vue 3 application. To do so I've copied their example code (and updated it to use the composition API) from here.If I route using the Vue router to my subscribe component it works fine. I can click the subscribe button and pay. However, if I try routing to a different component after the subscribe page has been rendered it throws an error when trying to unmount the
StripeCheckout
component.Exception
To Reproduce
Subscribe Component
Router
I've noticed with
StripeElements
you candestroy
the components before unmounting. I'm wondering if something similar needs to be done withStripeCheckout
however there are no functions to do so. I can't find any documentation on this.Expected behavior
StripeCheckout should unmount without throwing an error.
Desktop
The text was updated successfully, but these errors were encountered: