Skip to content

chrisvdm/redwoodjs-stripe

Repository files navigation

RedwoodJS-Stripe

logo

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 🚀

Get Started

npx @redwoodjs-stripe/cli@latest setup

Resources

How you can help

Thank you

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!

Where to next?

Go over to the Quick Start guide to start playing around