Stripe will handle payments for you. If you’ll have a completely free app anyway, you can skip this.
Stripe Account
- Go to Stripe & log in or sign up - if not already done.
- On the top left, you’ll see your “Accounts”. Create a new one for your app.
- Follow the full creation process and complete it.
- Now on the top right, you’ll see the button “Developer” which shows you developer specific information, click on it.
- Now on the main page, you have the tab “API Keys” click on it.
- You’ll need to copy the secret key, so you need to unhide it first.
- Copy the secret key and paste it to your .env file:
STRIPE_SECRET_KEY="sk_test_51J4h
STRIPE_PUBLIC_KEY="pk_test_51J4h