mirror of
https://github.com/Since-3/Kuma.git
synced 2026-10-12 20:51:18 +00:00
addressed issues regarding Stripe Payments
This commit is contained in:
parent
6359004609
commit
6752f8768a
10 changed files with 219 additions and 61 deletions
|
|
@ -157,8 +157,8 @@ model CourseBooking {
|
|||
paymentStatus String @default("pending") // "pending" | "paid" | "failed" | "refunded"
|
||||
stripeSessionId String? @unique
|
||||
stripePaymentIntentId String? @unique
|
||||
amountPaid Float? // tatsächlich gezahlter Betrag in EUR
|
||||
platformFee Float? // unsere Service-Fee in EUR
|
||||
amountPaid Int? // tatsächlich gezahlter Betrag in Cents
|
||||
platformFee Int? // unsere Service-Fee in Cents
|
||||
course Course @relation(fields: [courseId], references: [id], onDelete: Cascade)
|
||||
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
createdAt DateTime @default(now())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue