feat: payment card atom (#17203)
* init stripe payment card atom * cleanup * update platform libraries * fix import paths * add function to get user payment info * fixup * resolve merge conflicts * fixup fixup * resolve merge conflicts * fixup * update payments page * add props for event payment success and failure * update props and fixup * bump platform libraries * fixup! bump platform libraries * fixup! fixup! bump platform libraries * resolve merge conflicts * fix: add isActive to paymentsTab --------- Co-authored-by: Morgan <[email protected]> Co-authored-by: Morgan Vernay <[email protected]>
This commit is contained in:
15 files changed
+602
-129
No files matched your search
@@ -9,6 +9,7 @@ import { getBookingForReschedule } from "@calcom/features/bookings/lib/get-booki
|
||||
import getBookingInfo from "@calcom/features/bookings/lib/getBookingInfo";
|
||||
import handleCancelBooking from "@calcom/features/bookings/lib/handleCancelBooking";
|
||||
import * as newBookingMethods from "@calcom/features/bookings/lib/handleNewBooking";
|
||||
import { getClientSecretFromPayment } from "@calcom/features/ee/payments/pages/getClientSecretFromPayment";
|
||||
import { getPublicEvent } from "@calcom/features/eventtypes/lib/getPublicEvent";
|
||||
import { handleCreatePhoneCall } from "@calcom/features/handleCreatePhoneCall";
|
||||
import handleMarkNoShow from "@calcom/features/handleMarkNoShow";
|
||||
@@ -19,6 +20,7 @@ import { symmetricEncrypt, symmetricDecrypt } from "@calcom/lib/crypto";
|
||||
import { getTranslation } from "@calcom/lib/server/i18n";
|
||||
import { MembershipRole } from "@calcom/prisma/enums";
|
||||
import { credentialForCalendarServiceSelect } from "@calcom/prisma/selects/credential";
|
||||
import { paymentDataSelect } from "@calcom/prisma/selects/payment";
|
||||
import type { TeamQuery } from "@calcom/trpc/server/routers/loggedInViewer/integrations.handler";
|
||||
import { updateHandler as updateScheduleHandler } from "@calcom/trpc/server/routers/viewer/availability/schedule/update.handler";
|
||||
import { getAvailableSlots } from "@calcom/trpc/server/routers/viewer/slots/util";
|
||||
@@ -175,3 +177,6 @@ export type { CredentialPayload };
|
||||
export { getAppFromSlug };
|
||||
export { credentialForCalendarServiceSelect };
|
||||
export { MembershipRole };
|
||||
|
||||
export { paymentDataSelect };
|
||||
export { getClientSecretFromPayment };
|
||||
Reference in new issue
Block a user