Take payments with your Stripe account
Connect your own Stripe account to a project. Scaffold forwards every Stripe event to your app and never holds the money.
Key takeaways
- Only owners can connect Stripe, and payments in apps are on Paid.
- Every Stripe event goes to your app, with retries you can see and resend.
- Disconnecting stops checkout in the app. Your Stripe account, money and customers stay as they are.
Connect Stripe
Open the project's Payments tab and choose Connect Stripe. Stripe's onboarding opens in a new tab; when it's done, the tab shows the account, its status, mode and payouts.
Follow the webhooks
Scaffold forwards each Stripe event to your app at /api/stripe/webhook. The delivery list shows the event, the object, your app's answer and how long it took.
Tries
- 11:02500120 ms
- 11:0350098 ms
- 11:07500102 ms
Next try at 11:22.
Your app answered
{ "error": "Missing price id" }Fix a failed delivery
Open a failed delivery to see every try, the next one and what your app answered. Fix the app, then Resend now. View app logs opens the project's logs.
Disconnect
Disconnect asks you to confirm. Checkout in the app stops until you connect again. A delivery whose next try comes before you reconnect fails, and you can resend it once you're back.