How to use nestjs-stripe - 8 common examples

To help you get started, we’ve selected a few nestjs-stripe examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github juicycleff / ultimate-backend / apps / service-payment / src / cqrs / query / handlers / card / get-cards.handler.ts View on Github external
constructor(
    @InjectStripe() private readonly stripeClient: Stripe,
    @Inject(CACHE_MANAGER) private readonly cacheStore: CacheStore,
  ) {}
github juicycleff / ultimate-backend / apps / service-payment / src / cqrs / command / handlers / card / add-payment-method.handler.ts View on Github external
public constructor(
    @InjectStripe() private readonly stripeClient: Stripe,
    private readonly eventBus: EventBus,
  ) {}
github juicycleff / ultimate-backend / apps / service-payment / src / cqrs / query / handlers / plan / get-plans.handler.ts View on Github external
public constructor(
    @InjectStripe() private readonly stripeClient: Stripe,
    @Inject(CACHE_MANAGER) private readonly cacheStore: CacheStore,
  ) {}
github juicycleff / ultimate-backend / apps / service-payment / src / cqrs / query / handlers / plan / get-plan.handler.ts View on Github external
public constructor(
    @InjectStripe() private readonly stripeClient: Stripe,
    @Inject(CACHE_MANAGER) private readonly cacheStore: CacheStore,
  ) {}
github juicycleff / ultimate-backend / apps / service-payment / src / cqrs / command / handlers / card / update-payment-method.handler.ts View on Github external
public constructor(
    @InjectStripe() private readonly stripeClient: Stripe,
    private readonly eventBus: EventBus,
  ) {}
github juicycleff / ultimate-backend / apps / service-payment / src / plan / plan.seed.ts View on Github external
  public constructor(@InjectStripe() private readonly stripeClient: Stripe) {}
github juicycleff / ultimate-backend / apps / service-payment / src / cqrs / query / handlers / card / get-card.handler.ts View on Github external
constructor(
    @InjectStripe() private readonly stripeClient: Stripe,
    @Inject(CACHE_MANAGER) private readonly cacheStore: CacheStore,
  ) {}
github juicycleff / ultimate-backend / apps / service-payment / src / app.module.ts View on Github external
GraphqlDistributedModule.forRoot({
      autoSchemaFile: 'graphs/plan.gql',
      introspection: true,
      buildSchemaOptions: {
        orphanedTypes: [Plan],
      },
      playground: {
        workspaceName: 'GRAPHQL SERVICE PLAN',
        settings: {
          'editor.theme': 'light',
        },
      },
      context: ({ req, res }) => buildContext({ req, res }),
    }),
    CoreModule,
    StripeModule.forRoot({
      apiKey: AppConfig.payment?.stripe?.secretKey,
    }),
    TerminusModule.forRootAsync({
      imports: [AppModule],
      useClass: HealthOptionsService,
    }),
    BillingModule,
    PlanModule,
    CardModule,
    InvoiceModule,
    SubscriptionModule,
  ],
  controllers: [AppController],
  providers: [
    AppService,
    MongoHealthIndicator,

nestjs-stripe

Provides an injectable Stripe client to nestjs modules

MIT
Latest version published 3 years ago

Package Health Score

48 / 100
Full package analysis