cal.pub0.org/packages/app-store/stripepayment
alannnc 6e351a4b20
fix/premium-username-flow (#5815)
* Removes user plan logic for stripe sub

* Update hardcoded price

* Removed checkoutSessionId metadata and fix for trpc query

* Remove or comment team billing unused code

* Add todo note

* Fix type checks

* Change function that was renamed

* Remove duplicated test

* remove plan when creating user on test

Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-12-07 12:55:47 -07:00
..
api fix/premium-username-flow (#5815) 2022-12-07 12:55:47 -07:00
components Fix App Redirect logic to allow EventTypeApps requiring auth to correctly redirect (#5065) 2022-10-18 12:18:39 +01:00
extensions Fix input parse to number (#5884) 2022-12-05 20:57:33 +01:00
lib fix/premium-username-flow (#5815) 2022-12-07 12:55:47 -07:00
static #4252 Use vercel og to generate og images for meetings and apps. (#4943) 2022-10-18 11:46:22 -06:00
LICENSE App Store (#1869) 2022-03-23 15:00:30 -07:00
README.md App Store (#1869) 2022-03-23 15:00:30 -07:00
README.mdx Removed old v1 app components in web. (#5286) 2022-10-31 10:42:01 +00:00
_metadata.ts Introduce EventTypeAppCard in app-store and make it super easy to add it through CLI - Also adds Fathom app (#4727) 2022-10-14 10:24:43 -06:00
index.ts App store metadata refactor (#2495) 2022-04-14 20:04:21 -06:00
package.json Upgrades zod 2022-10-19 13:28:54 -06:00
zod.ts Introduce EventTypeAppCard in app-store and make it super easy to add it through CLI - Also adds Fathom app (#4727) 2022-10-14 10:24:43 -06: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 package 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.