Payment

Stripe Elements make it easy to collect a customer's credit card information securely

A Stripe account created at stripe. Write down your Stripe Public and Secret TEST Keys.

You’ll have to get your account approved if you want to start selling online (deployment instructions included).

1. Create Your Product & Plans

Because we'll only be creating 1 Stripe product for our app, "Boostack", it makes sense to directly create that product through the Stripe Dashboard.

Enter your test product name ("Boostack") and click on the button in the lower right to create your product.

Once you create a product, you'll automatically be taken to a screen to create your first plan associated with that product.

  1. Enter your test Plan nickname — Lite

  2. Enter your test Plan nickname - Pro

2. Get your Keys

As mentioned earlier, for security purposes, we want to house our Stripe Secret Key & Publishable key in our .env file.

To find your Secret Key, click on the Developers option in your Stripe Dashboard sidebar, and once expanded, click on API Keys.

We need one more KEY to fully integrate stripe, Boostack uses stripe webhooks to notify your application when an event happens in your account. (optional)

To get your webhook secret please follow the link below:

Last updated

Was this helpful?