see comments

This commit is contained in:
Rajpreet0 2026-08-07 17:41:00 +02:00
parent 7cd831cbc4
commit 9d8de41a5f
17 changed files with 481 additions and 306 deletions

View file

@ -172,7 +172,7 @@ model CourseBooking {
courseId String
userId String?
guestLeadId String?
paymentStatus String @default("pending") // "pending" | "paid" | "failed" | "refunded" | "partially_refunded"
paymentStatus String @default("pending") // "pending" | "paid" | "failed" | "refunded" | "partially_refunded" | "refunding" | "cancelled" (cancelled = storniert ohne Geldbewegung, 0% Erstattung)
stripeSessionId String? @unique
stripePaymentIntentId String? @unique
amountPaid Int? // tatsächlich gezahlter Betrag in Cents