Skip to content

Using Stripe in Development

Paulius Juzenas edited this page Feb 9, 2026 · 4 revisions

NOTE: This page is work in progress.

To use stripe in development a few manual steps have to be taken. Specifically, Stripe CLI has to be installed and set up on your machine.

Background

This explains why you have to do the things which are described in this article. If you only care about the how, skip to the next section.

This is because our Stripe integration is webhook based. This means that Stripe's servers have to make a request

Setup

  1. Download Stripe CLI using your favorite method.
  2. Get API keys for stripe. Either from Stripe dashboard directly or from a gnome.
  3. Make sure API keys are present in .env file.

Caution

Never use the production keys during development! They should only ever be present at one place: the production server.

Usage

  1. Run the following command: stripe-cli ...
  2. Voliá!

Clone this wiki locally