In Stripe.js Endive (js.stripe.com/endive or @stripe/stripe-js 10), elements.create('paymentRequestButton') throws an error, which also breaks the React PaymentRequestButtonElement
Took effect · Stripe.js Endive — payment request button element (elements.create('paymentRequestButton'), React PaymentRequestButtonElement)
Reviewed against the vendor source on Oct 2, 2026 (AI-assisted review). Key facts are re-checked against the source daily.
What changes
Stripe deprecated the payment request button and removed support for it in Endive; @stripe/stripe-js 10.0.0 removes it, and @stripe/react-stripe-js 7.0.0 (which requires @stripe/stripe-js 10) removes the React component. Stripe.js versions through Dahlia still support it.
Breaking: Calls fail after this date.
What to do
Replace the payment request button with the Express Checkout Element (Stripe's migration guide covers it) before moving to Stripe.js Endive, @stripe/stripe-js 10 or @stripe/react-stripe-js 7.
Strings to search for
paymentRequestButtonPaymentRequestButtonElement
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).