Docs/Stripe
Stripe
Stripe enables secure payments, one-time checkouts, and recurring subscriptions with support for global cards, Apple Pay, and Google Pay.
What your site can do with Stripe
- Accept credit cards, Apple Pay, and Google Pay via Stripe Checkout
- Collect one-time purchases and recurring subscription payments
- Safely process transactions without exposing secret keys to client browsers
Common use cases
| Example app | Example prompt | What happens |
|---|---|---|
| Digital product checkout | Use Stripe to sell my downloadable eBook with instant Stripe Checkout. | Visitors click purchase and complete payment via Stripe's hosted checkout page. |
| Subscription membership | Use Stripe to offer monthly membership plans on the pricing page. | Subscribes the customer to recurring monthly billing through your Stripe product. |
| Service deposit | Use Stripe to collect a deposit upon booking a consulting session. | Secures a non-refundable deposit before scheduling confirmation. |
Prerequisites
- An active Stripe account (live or sandbox test mode)
- A Publishable key (starts with pk_live_ or pk_test_)
- A Secret key (starts with sk_live_ or sk_test_) or Restricted API key
Set up Stripe
- Open your Stripe Dashboard at dashboard.stripe.com.
- Navigate to Developers → API Keys.
- Copy your Publishable key (starts with pk_...) and Secret key (starts with sk_...).
- In the Studio, open Connectors → Stripe, paste both keys, and republish.
- To test payments without charging real cards, use your test keys (pk_test_ and sk_test_).
Limitations
- Live transactions require an activated and verified Stripe merchant account.
- Secret keys are stored securely server-side and never exposed to website visitors.
- Refunds and dispute management must be handled directly from the Stripe Dashboard.