You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a generic class Similar to CalendarService it can be called either PaymentGate or PaymentService to remain consistent to CalendarService (although VideoApiAdapter should be called VideoService as well).
Abstract the whole Stripe payment logic into PaymentService (handlePayment,getPaymentData, etc)
Discussed in https://github.com/calcom/cal.com/discussions/6360
Originally posted by zomars January 9, 2023
TLDR;
CalendarServiceit can be called eitherPaymentGateorPaymentServiceto remain consistent toCalendarService(althoughVideoApiAdaptershould be calledVideoServiceas well).PaymentService(handlePayment,getPaymentData, etc)PaymentServicelike WIP: implementation lightning network app #6320Figma link to new booking diagram:
https://www.figma.com/file/XpESBxrGBdRL08lng1HZHU/handleNewBooking?node-id=0%3A1&t=wXYUsjggRXRyZAi5-1
In the case for
PaymentServiceit can go two ways.CAL-767