Back to components
Payments component

Stripe Pay Button

One-time Stripe PaymentSheet button. Mints a PaymentIntent on your backend, opens the native sheet.

Install

What it does

  • Native PaymentSheet on iOS + Android
  • Cards, Apple Pay, Google Pay, Link — all built in
  • Backend endpoint configurable (default /api/stripe/create-payment-intent)
  • Granular onError callback (cancelled / failed / init_failed)

When to use

Use it

Global card payments. Pair with mobile-money-pay-screen for full coverage in EA markets.

Skip it

Pure-EA-only apps (use mobile-money-pay-screen instead — lower fees, local rails).

Files & routes added

  • components/payments/stripe-pay-button.tsx

Related components