mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 21:31:36 +02:00
[web] update webhook event handlers for Stripe custom checkout (#28526)
* do not emit subscription-started when status is incomplete * emit subscription-started when incomplete subscription transitions to active * do not emit subscription-expired when status is incomplete_expired * do not sync incomplete or incomplete_expired Stripe subscriptions * allow `incomplete*` status to better guard against syncing GitOrigin-RevId: 4e851f654dcb4bf356280197dd158e834175df12
This commit is contained in:
@@ -14,6 +14,8 @@ export type SubscriptionState =
|
||||
| 'expired'
|
||||
| 'paused'
|
||||
| 'past_due'
|
||||
| 'incomplete'
|
||||
| 'incomplete_expired'
|
||||
|
||||
// when puchasing a new add-on in recurly, we only need to provide the code
|
||||
export type PurchasingAddOnCode = {
|
||||
|
||||
Reference in New Issue
Block a user