cal.pub0.org/ee
Omar López 7a8ad8381e
Fixes error when user cancels stripe integration (#813)
* Fixes customer portal return ur

* Attempt to fix portal CSRF issue

* Fixes CSRF issue with Stripe redirect

* Fixes error when user cancels stripe integration
2021-09-28 22:27:06 +01:00
..
components/stripe Suggestion: let prettier sort imports order (#673) 2021-09-22 13:52:38 -06:00
lib cal 485 prevent users from changing their username to premium ones (#799) 2021-09-28 09:57:30 +01:00
pages Fixes error when user cancels stripe integration (#813) 2021-09-28 22:27:06 +01:00
LICENSE chore: change calendso strings to cal.com (#707) 2021-09-21 10:59:34 +01:00
README.md Adds Stripe integration (#717) 2021-09-22 19:36:13 +01:00

README.md

Enterprise Edition

Welcome to the Enterprise Edition ("/ee") of Cal.com.

The /ee subfolder is the place for all the Pro features from our hosted plan and enterprise-grade features such as SSO, SAML, ADFS, OIDC, SCIM, SIEM, HRIS and much more.

WARNING: This repository is copyrighted (unlike our main repo). You are not allowed to use this code to host your own version of app.cal.com without obtaining a proper license first

Setting up Stripe

  1. 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.
  2. Open Stripe ApiKeys save the token starting with pk_... to NEXT_PUBLIC_STRIPE_PUBLIC_KEY and sk_... to STRIPE_PRIVATE_KEY in the .env file.
  3. Open Stripe Connect Settings and activate OAuth for Standard Accounts
  4. Add <CALENDSO URL>/api/integrations/stripepayment/callback as redirect URL.
  5. Copy your client*id (ca*...) to STRIPE_CLIENT_ID in the .env file.
  6. Open Stripe Webhooks and add <CALENDSO URL>/api/integrations/stripepayment/webhook as webhook for connected applications.
  7. Select all payment_intent events for the webhook.
  8. Copy the webhook secret (whsec_...) to STRIPE_WEBHOOK_SECRET in the .env file.