update payment method, remove stripe, paypal, amanapay
Build & Push / Pipeline Tests (push) Failing after 59s
Build & Push / Build & Push Docker Image (push) Has been skipped
Test / Type Check (all packages) (push) Failing after 48s
Test / API Unit Tests (push) Has been skipped
Test / Homepage Unit Tests (push) Has been skipped
Test / Carplace Unit Tests (push) Has been skipped
Test / Admin Unit Tests (push) Has been skipped
Test / Dashboard Unit Tests (push) Has been skipped
Test / API Integration Tests (push) Has been skipped
Build & Push / Pipeline Tests (push) Failing after 59s
Build & Push / Build & Push Docker Image (push) Has been skipped
Test / Type Check (all packages) (push) Failing after 48s
Test / API Unit Tests (push) Has been skipped
Test / Homepage Unit Tests (push) Has been skipped
Test / Carplace Unit Tests (push) Has been skipped
Test / Admin Unit Tests (push) Has been skipped
Test / Dashboard Unit Tests (push) Has been skipped
Test / API Integration Tests (push) Has been skipped
This commit is contained in:
@@ -126,12 +126,8 @@ enum BillingLineItemType {
|
||||
}
|
||||
|
||||
enum BillingPaymentMethodType {
|
||||
CARD
|
||||
ACH_DEBIT
|
||||
BANK_TRANSFER
|
||||
WIRE_TRANSFER
|
||||
MANUAL_INVOICE
|
||||
PURCHASE_ORDER
|
||||
CHECK
|
||||
}
|
||||
|
||||
enum BillingPaymentIntentStatus {
|
||||
@@ -157,7 +153,6 @@ enum BillingPaymentAttemptStatus {
|
||||
}
|
||||
|
||||
enum SubscriptionCollectionMethod {
|
||||
STRIPE
|
||||
BANK_TRANSFER
|
||||
CHECK
|
||||
}
|
||||
@@ -244,9 +239,6 @@ enum BillingCreditNoteStatus {
|
||||
}
|
||||
|
||||
enum PaymentProvider {
|
||||
AMANPAY
|
||||
PAYPAL
|
||||
STRIPE
|
||||
MANUAL
|
||||
}
|
||||
|
||||
@@ -754,10 +746,7 @@ model SubscriptionInvoice {
|
||||
amount Int
|
||||
currency String @default("MAD")
|
||||
status InvoiceStatus
|
||||
amanpayTransactionId String? @unique
|
||||
paypalCaptureId String? @unique
|
||||
stripeCheckoutSessionId String? @unique
|
||||
paymentProvider PaymentProvider @default(AMANPAY)
|
||||
paymentProvider PaymentProvider @default(MANUAL)
|
||||
billingInvoiceId String? @unique
|
||||
billingInvoice BillingInvoice? @relation(fields: [billingInvoiceId], references: [id])
|
||||
dueAt DateTime?
|
||||
@@ -903,7 +892,7 @@ model BillingInvoice {
|
||||
billingAddress Json?
|
||||
providerInvoiceId String?
|
||||
paymentProvider PaymentProvider?
|
||||
collectionMethod SubscriptionCollectionMethod @default(STRIPE)
|
||||
collectionMethod SubscriptionCollectionMethod @default(BANK_TRANSFER)
|
||||
requestedPlan Plan?
|
||||
requestedBillingPeriod BillingPeriod?
|
||||
checkoutIdempotencyKey String?
|
||||
@@ -1468,11 +1457,6 @@ model BrandSettings {
|
||||
instagramUrl String?
|
||||
defaultLocale String @default("en")
|
||||
defaultCurrency String @default("MAD")
|
||||
amanpayMerchantId String?
|
||||
amanpaySecretKey String?
|
||||
paypalEmail String?
|
||||
paypalMerchantId String?
|
||||
paymentMethodsEnabled PaymentProvider[]
|
||||
isListedOnCarplace Boolean @default(true)
|
||||
carplaceRating Float?
|
||||
homePageConfig Json? @map("home_page_config")
|
||||
@@ -1900,10 +1884,6 @@ model RentalPayment {
|
||||
status PaymentStatus @default(PENDING)
|
||||
type PaymentType @default(CHARGE)
|
||||
paymentProvider PaymentProvider
|
||||
amanpayTransactionId String? @unique
|
||||
paypalCaptureId String? @unique
|
||||
stripeCheckoutSessionId String? @unique
|
||||
stripePaymentIntentId String? @unique
|
||||
paymentMethod String?
|
||||
reference String?
|
||||
note String?
|
||||
|
||||
Reference in New Issue
Block a user