Setting Up Stripe and Accessing Test API Keys
Go to stripe.com and sign up for an account.
After signing in, you’ll be in the Stripe Dashboard.
Look for the toggle switch in the top-right corner of the Dashboard. Make sure it’s set to “Test mode”.
You’ll see two types of keys:
pk_test_
sk_test_
Copy the keys into the .env
file for STRIPE_PUBLIC_KEY
, STRIPE_SECRET_KEY
Setting Up Stripe and Accessing Test API Keys
Go to stripe.com and sign up for an account.
After signing in, you’ll be in the Stripe Dashboard.
Look for the toggle switch in the top-right corner of the Dashboard. Make sure it’s set to “Test mode”.
You’ll see two types of keys:
pk_test_
sk_test_
Copy the keys into the .env
file for STRIPE_PUBLIC_KEY
, STRIPE_SECRET_KEY