e6ba89961c
refactor: consolidate error handlers to use getServerErrorFromUnknown ( #25114 )
...
* refactor: consolidate error handlers to use getServerErrorFromUnknown
- Migrate server-only code to use getServerErrorFromUnknown for better error handling
- Add JSDoc documentation to both getErrorFromUnknown and getServerErrorFromUnknown
- Update webhook handlers, payment services, email service, and booking service
- Keep getErrorFromUnknown for client-side and isomorphic code
- Improve error message extraction by using err.cause?.stack instead of err.stack
- Fix ESLint warnings: replace 'any' with 'unknown' types, fix hasOwnProperty usage
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
* Update packages/app-store/paypal/api/webhook.ts
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
* refactor
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-11-28 09:14:06 +01:00
a3fc17bc75
fix: add team installation support for HitPay payment integration ( #24738 )
...
- Add teamId support to HitPay add.ts installation handler
- Update callback.ts to fetch credentials by teamId for team bookings
- Update webhook.ts to fetch credentials by teamId for team bookings
- Update setup page to accept and handle teamId from query params
- Add permission checks using throwIfNotHaveAdminAccessToTeam
- Ensure credentials are created with teamId for team installs, userId for user installs
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-11-12 21:58:17 +05:30
Anik Dhabal Babu and GitHub
3c1dfe8b74
fix: return the actual error message for hitpay ( #24792 )
2025-10-30 17:58:04 +00:00
Benny Joo and GitHub
9156848503
refactor: circular deps between app store and lib [2] ( #23734 )
...
* mv getDefaultLocations
* fix
* 2 more utils
* update imports
* fix
* move getConnectedApps
* move handlePaymentSuccess
* update imports
* fix import
* publish platform libraries
2025-09-10 23:18:59 -03:00
Muhammad Aiman Sulaiman and GitHub
3895ef002e
fix: Updates to HitPay app ( #21175 )
...
* reapplied my changes after syncing with upstream
* fix: changed raw error to sanitized error
* fix: added try/catch to create catch
2025-06-13 12:10:28 +05:30
Muhammad Aiman Sulaiman and GitHub
58d7e59b38
feat: Updates to HitPay Payment App ( #19737 )
...
* feat: add hitpay embed feature for cal embed
feat: update hitpay app description
fix: fixed customers being able to exceed bookings in the same timeslot when using HitPay
fix: fixed callback issue in cal.com using hitpay app when not receiving payment responses
* fix: fixed type-check error
2025-03-05 11:29:38 +00:00
7131a1f015
feat: HitPay Payment App ( #17213 )
...
* Build HitPay app
* Deleted a lint comment
* Add redirect for iframe
* Fix type check error
* Fixed issue of payment pending
* Update hitpay package.json
* fix: fix lint issue in KeyInput and update zod
* fix: fix issue of parsing string to number
* fix: add default hitpay API links
* fix: resolve atoms build error
---------
Co-authored-by: kutsaniuk <kutsaniuk@gmail.com >
2025-01-20 15:36:23 +01:00