Stripe
Setting up Stripe
Create or log into a Stripe account
Go to Stripe and either create a new account or log into an existing one. For testing, activate the Test-Mode toggle in the top right of the Stripe dashboard.
Save API keys
Open Stripe API Keys, then save the token starting with pk_...
to NEXT_PUBLIC_STRIPE_PUBLIC_KEY
and sk_...
to STRIPE_PRIVATE_KEY
in the .env
file.
Activate OAuth for Standard Accounts
Go to Stripe Connect Settings and activate OAuth for Standard Accounts.
Add the redirect URL
Add the following redirect URL, replacing <Cal.com URL>
with your application’s URL:
Save the Stripe Client ID
Copy your client ID (ca_...
) to STRIPE_CLIENT_ID
in the .env
file.
Set up a Stripe webhook
Select webhook events
Select all payment_intent
events for the webhook.
Save the webhook secret
Copy the webhook secret (whsec_...
) to STRIPE_WEBHOOK_SECRET
in the .env
file.