Adds LawPay payment integration for Cal.com, enabling legal professionals to accept payments through their LawPay/AffiniPay merchant accounts.
This PR follows the existing PayPal payment app pattern and implements:
IAbstractPaymentService interfacepackages/app-store/lawpay/
├── config.json, package.json, index.ts, zod.ts
├── api/ (add.ts, callback.ts, webhook.ts)
├── lib/ (LawPay.ts, PaymentService.ts, PaymentService.test.ts)
├── components/ (EventTypeAppCardInterface.tsx, EventTypeAppSettingsInterface.tsx)
├── pages/setup/_getStaticProps.tsx
└── static/icon.svg
Add to .env or Admin Settings:
LAWPAY_CLIENT_ID=your_client_id
LAWPAY_CLIENT_SECRET=your_client_secret
yarn app-store:build to generate app metadataUse LawPay Sandbox for testing:
4242424242424242andresctirado
@andresctirado
Cal.com, Inc.
@cal