martmull
05c206073d
38 add billing webhook endpoint (#4158)
* 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>
2024-02-24 17:30:32 +01:00
..
2023-12-21 19:15:05 +01:00
2023-12-11 10:54:57 +01:00
2024-02-20 14:35:09 +01:00
2024-02-24 17:30:32 +01:00
2024-01-23 09:59:00 +01:00
2024-02-16 11:17:37 +01:00
2024-02-16 11:17:37 +01:00
2023-12-10 18:10:54 +01:00
2024-02-08 18:22:29 +01:00
2023-12-10 18:10:54 +01:00
2023-12-10 18:10:54 +01:00
2023-12-10 18:10:54 +01:00
2023-12-10 18:10:54 +01:00
2024-02-20 14:35:09 +01:00
2024-02-20 14:35:09 +01:00
2024-01-29 06:17:12 -03:00
2024-02-20 14:35:09 +01:00