Setting up Stripe
Create a stripe account or use an existing one. For testing, you should use all stripe dashboard functions with the Test-Mode toggle in the top right activated.
Open Stripe ApiKeys save the token starting with
pk_...
toNEXT_PUBLIC_STRIPE_PUBLIC_KEY
andsk_...
toSTRIPE_PRIVATE_KEY
in the .env file.Open Stripe Connect Settings and activate OAuth for Standard Accounts
Add
<Cal.com URL>/api/integrations/stripepayment/callback
as redirect URL, replacing Cal.com URL with the URI at which your application runsCopy your client*id (
ca*...
) toSTRIPE_CLIENT_ID
in the .env file.Open Stripe Webhooks and add
<Cal.com URL>/api/integrations/stripepayment/webhook
as webhook for connected applications.Select all
payment_intent
events for the webhook.Copy the webhook secret (
whsec_...
) toSTRIPE_WEBHOOK_SECRET
in the .env file.