Use Stripe
useStripe hook The
Last verified 2026-09-24
Is this helpful?
useStripe hook returns the initialized Stripe.js instance from the Elements provider. Use it to confirm payments and call other Stripe.js methods from inside your React components. If you need to access the Stripe object from a class component, use ElementsConsumer instead. ### Return value - result Returns the Stripe instance configured on the provider, or null while it is still loading. ### Example title Call useStripe Is this helpful?