![logo](https://private-user-images.githubusercontent.com/4147109/252918327-eab087ec-e176-4ce7-a066-4ca3e2e3db02.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExNzcxODEsIm5iZiI6MTcyMTE3Njg4MSwicGF0aCI6Ii80MTQ3MTA5LzI1MjkxODMyNy1lYWIwODdlYy1lMTc2LTRjZTctYTA2Ni00Y2EzZTJlM2RiMDIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTdUMDA0MTIxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDYxMzhmNjg2NDk4MTBjNGQ0YzhjYjk3NzQ4YTk5ODIxZTZhODY1ZWE2ZTE2M2UyYWFhNzdjNGY4MDVmZWNjNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.NMY6_lwMubhTcHgfzyJOn4EQ6SnwnLchzmT1ZSbhXJY)
A Redwood/Stripe integration made easy!
The aim of this plugin is to make setting up a RedwoodJS commerce app as simple as possible, with minimal configuration. After running a single setup command users will have a demo storefront generated into their app which uses a simple cart machine for cart items and uses Stripe Checkout to checkout. The demo store can either be customised by the user or used as documentation for building their own storefront.
Current features:
- Stripe Checkout via
useStripeCheckout()
hook - Subscription support via
useStripeCustomerPortal()
hook - LoFi persistent cart functionality via
useStripeCart()
hook - User mapping via
<StripeProvider/>
- Setup script to build a working demo
npx @redwoodjs-stripe/cli setup
- Schemas and services are imported from plugin. Barely any boilerplate needed
- Demo store as in-app API reference
There's an example store that is bit more realistic in its application of the plugin if you need a slightly more complicated example.
🚀 Built with help from the awesome people at RedwoodJS and Stripe 🚀
npx @redwoodjs-stripe/cli@latest setup
- Try out this release and give feedback
- Help maintain the Redwoodjs-stripe-example-store repo
- Contribute!
- Send good vibes :)
The teams from Stripe and RedwoodJS who have supported this project from day one.
Everybody else who contributed in code, pep talks and every other way!
Go over to the Quick Start guide to start playing around