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

IntegrationError: Missing argument. Make sure to call mount() with a valid DOM element or selector #16

Open
iamtompickering opened this issue Jul 23, 2020 · 2 comments

Comments

@iamtompickering
Copy link

I am updating the payment form on the checkout page via ajax, and so have been trying to use window.payButton = window.payButton.reload(); The Apple Pay button shows on page load fine, and I have run successful live test transactions.

But I have a couple of buttons to switch between stripe and paypal payment gateways. These are being updated via ajax as I said, and when I try and include the above function in the complete function of the ajax request, it throws an error. IntegrationError: Missing argument. Make sure to call mount() with a valid DOM element or selector.

Have you seen this error before / know what could be causing it?

@syahirudean
Copy link

Have the same issue... did you manage to resolve this?

@iamtompickering
Copy link
Author

@ImCodean unfortunately I did not resolve this, would be real keen for the guys at Ether to take a look!

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

2 participants