46 add stripe product endpoint (#4133)
* Add self billing feature flag * Add two core tables for billing * Remove useless imports * Remove graphql decorators * Rename subscriptionProduct table * WIP: Add stripe config * Add controller to get product prices * Add billing service * Remove unecessary package * Simplify stripe service * Code review returns * Use nestjs param * Rename subscription to basePlan * Rename env variable
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
|
||||
import { ProductPriceController } from 'src/core/billing/controllers/product-price.controller';
|
||||
import { EnvironmentModule } from 'src/integrations/environment/environment.module';
|
||||
import { BillingService } from 'src/core/billing/billing.service';
|
||||
import { StripeModule } from 'src/core/billing/stripe/stripe.module';
|
||||
|
||||
@Module({
|
||||
imports: [],
|
||||
imports: [StripeModule],
|
||||
controllers: [ProductPriceController],
|
||||
providers: [EnvironmentModule, BillingService],
|
||||
})
|
||||
export class BillingModule {}
|
||||
|
||||
Reference in New Issue
Block a user