fix: add metadata to stripe payment intent (#11053)

This commit is contained in:
alannnc authored and GitHub committed 2023-08-31 19:15:45 +00:00
1 parent b2e098c781
commit 6e1a717ecf
3 files changed
+12 -3

No files matched your search

+2 -1
View File
@@ -14,7 +14,8 @@ export interface IAbstractPaymentService {
payment: Pick<Prisma.PaymentUncheckedCreateInput, "amount" | "currency">,
bookingId: Booking["id"],
bookerEmail: string,
paymentOption: PaymentOption
paymentOption: PaymentOption,
eventTitle?: string
): Promise<Payment>;
/* This method is to collect card details to charge at a later date ex. no-show fees */
collectCard(