cal/packages/app-store/_utils
Joe Au-Yeung d07e86e4f3
fix: Update Event Type Pricing For Multiple Installed Payment Apps (#12272)
* Prevent two payment apps from being enabled

* Find the enabled payment app to update the event type

* Add string

* Add tests

* Type fix

* Abstract check for multiple payment app logic

* Type check

* Address feedback

* chore: Enable One Payment App Per Event Type (#12414)

Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com>
Co-authored-by: Morgan Vernay <morgan@cal.com>

* Fix bug

* Fix test

* Clean up

* Fix test

* Fix test

---------

Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Morgan Vernay <morgan@cal.com>
Co-authored-by: Keith Williams <keithwillcode@gmail.com>
2023-12-20 13:29:23 -05:00
..
oauth Add conditional (#11862) 2023-10-17 11:27:10 +00:00
payments fix: Update Event Type Pricing For Multiple Installed Payment Apps (#12272) 2023-12-20 13:29:23 -05:00
auth.ts Apps: Riverside/Whereby/Around (#3053) 2022-06-27 12:17:38 +02:00
getAppCategories.ts chore: recategorize apps (#9306) 2023-06-28 18:22:51 +02:00
getAppKeysFromSlug.ts Fix/office365 api call (#3534) 2022-07-27 19:12:42 +00:00
getCalendar.ts chore: update `tslog` from 3.2.1 to 4.9.2 (#11717) 2023-10-17 19:00:48 +00:00
getEventTypeAppData.ts fix: currency for event types (#10792) 2023-08-16 14:58:28 -07:00
getInstalledAppPath.ts chore: recategorize apps (#9306) 2023-06-28 18:22:51 +02:00
getParsedAppKeysFromSlug.ts Fix/office365 api call (#3534) 2022-07-27 19:12:42 +00:00
installation.ts feat: Stripe paid apps flow (#12103) 2023-11-15 09:29:41 -03:00
paid-apps.ts fix: getting-started crash and build failure (#12506) 2023-11-22 22:41:20 -07:00
stripe.ts feat: Stripe paid apps flow (#12103) 2023-11-15 09:29:41 -03:00
throwIfNotHaveAdminAccessToTeam.ts fix: Apps (#10394) 2023-07-26 17:43:33 +02:00
useAddAppMutation.ts refactor: Use template literal instead of '+' operator (#11444) 2023-10-03 11:52:19 -07:00
useIsAppEnabled.ts refactor: Eventtype app context after orgs (#10781) 2023-08-29 11:32:20 +05:30