cal.pub0.org/packages/app-store/stripepayment
Joe Au-Yeung 7ff5b66f46
Bookings with no-show fee to set proper location & prevent broken payments from blocking payment page (#8508)
* Better error logging on Stripe payment service

* Update booking

* If missing payment, load rest of bookings

* Address feedback

* Move requires confirmation threshold to webhook

* Use requiresConfirmation

* Revert unnecessary prettier changes

---------

Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
2023-04-26 10:12:14 -04:00
..
api Enforces explicit type imports (#7158) 2023-02-16 15:39:57 -07:00
components Remove Intl.Provider (#8208) 2023-04-19 21:38:06 +00:00
lib Bookings with no-show fee to set proper location & prevent broken payments from blocking payment page (#8508) 2023-04-26 10:12:14 -04:00
static
DESCRIPTION.md chore/AppStore: Remove deprecated imageSrc and make the paths relative in logo (#8479) 2023-04-26 12:03:34 +01:00
LICENSE
README.md
_metadata.ts chore/AppStore: Remove deprecated imageSrc and make the paths relative in logo (#8479) 2023-04-26 12:03:34 +01:00
index.ts feat/payment-service-6438-cal-767 (#6677) 2023-02-08 13:36:22 -07:00
package.json
zod.ts Stripe add the ability to place hold on cards (#8022) 2023-04-11 23:44:14 +02: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.