Skip to content

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

@iamtompickering

Description

@iamtompickering

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions