mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-26 05:24:04 +03:00
05c206073d
* 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 * Add checkout endpoint * Remove resolver * Merge controllers * Fix security issue * Handle missing url error * Add workspaceId in checkout metadata * Add BILLING_STRIPE_WEBHOOK_SECRET env variable * WIP: add webhook endpoint * Fix body parser * Create Billing Subscription on payment success * Set subscriptionStatus active on webhook * Add useful log --------- Co-authored-by: Charles Bochet <charles@twenty.com> |
||
---|---|---|
.. | ||
commands | ||
constants/settings | ||
core | ||
database | ||
decorators | ||
filters/utils | ||
graphql-config | ||
guards | ||
health | ||
integrations | ||
metadata | ||
utils | ||
workspace | ||
app.module.ts | ||
app.service.ts | ||
command.module.ts | ||
command.ts | ||
main.ts | ||
queue-worker.module.ts | ||
queue-worker.ts |