#ebellotpu6

1 messages · Page 1 of 1 (latest)

wise wigeonBOT
sharp ginkgo
#

Error: Uncaught (in promise): IntegrationError: Invalid value for stripe.confirmSetup(): elements should have a mounted Payment Element or Payment Button Element.

abstract basin
#

Hi,
Could you please give more details about your integration ?

abstract basin
#

it looks like the Payment Element is not mounted, Did you check that this function is well exectued?

    this.paymentElement.mount(this.paymentElementForm.nativeElement);
#

After checking you frontend code, you need to have a global variable in your component called stripe, you initialize it when the page is charged (you can use the function loadStripe()) and use it whenever you need. Don't import it from from 'stripe'.