mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #27391 from overleaf/rh-stripe-pause-anchor
Reset billing cycle when resuming paused Stripe subscription GitOrigin-RevId: 44f7aa4d3eeaab7622e97b0178fe7d6c7cccae50
This commit is contained in:
@@ -335,9 +335,7 @@ async function resumeSubscription(user) {
|
||||
) {
|
||||
throw new Error('No active subscription to resume')
|
||||
}
|
||||
await RecurlyClient.promises.resumeSubscriptionByUuid(
|
||||
subscription.recurlySubscription_id
|
||||
)
|
||||
await Modules.promises.hooks.fire('resumePaidSubscription', subscription)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user