In Stripe.js Endive (js.stripe.com/endive or @stripe/stripe-js 10), setting paymentMethodTypes when creating Elements without an intent or in elements.update() throws an integration error
Took effect · Stripe.js Endive — Elements paymentMethodTypes option (stripe.elements() without an intent, elements.update())
Reviewed against the vendor source on Oct 2, 2026 (AI-assisted review). Key facts are re-checked against the source daily.
What changes
Stripe.js throws and won't create or update the Elements instance when paymentMethodTypes is set; @stripe/stripe-js 10.0.0 also removes the option from its types. Stripe.js versions through Dahlia still support it.
Breaking: Calls fail after this date.
What to do
Remove paymentMethodTypes from your Elements options before moving to Stripe.js Endive; use allowedPaymentMethodTypes to limit payment methods, or manage them in the Dashboard.
Strings to search for
paymentMethodTypes
Counts only in files that mention stripe; repos that depend on @stripe/stripe-js 10.x (npm) or @stripe/react-stripe-js 7.x (npm); or repos that mention js.stripe.com/endive or "@stripe/stripe-js": "^10 or "@stripe/stripe-js": "~10 or "@stripe/stripe-js": "10 or @stripe/stripe-js@^10 or @stripe/stripe-js@10 or @stripe/stripe-js@npm:^10 or @stripe/stripe-js@npm:10 or "@stripe/react-stripe-js": "^7 or "@stripe/react-stripe-js": "~7 or "@stripe/react-stripe-js": "7 or @stripe/react-stripe-js@^7 or @stripe/react-stripe-js@7 or @stripe/react-stripe-js@npm:^7 or @stripe/react-stripe-js@npm:7 (including dependency manifests).