You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: