Skip to content
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

dropin teardown not working #1

Open
aphavichitr opened this issue Aug 25, 2017 · 0 comments
Open

dropin teardown not working #1

aphavichitr opened this issue Aug 25, 2017 · 0 comments

Comments

@aphavichitr
Copy link

aphavichitr commented Aug 25, 2017

I'm having issues using the teardown method to destroy the drop in. I'm calling the teardown method in beforeDestroy life cycle hook, but I'm still getting this error:
DropinError {name: "DropinError", message: "options.selector or options.container must reference an empty DOM node.", _braintreeWebError: undefined}

(warning)
PayPal Checkout Integration Script already loaded on page

How and where did you put the teardown method?

Thanks

@aphavichitr aphavichitr changed the title dropin teardown dropin teardown not working Aug 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant