#0xL34N
1 messages · Page 1 of 1 (latest)
I used this codes
return await this.stripe.subscriptions.update(subscription.id, { pause_collection: { behavior: 'void', }, })
For example
Hello 👋
If I remember correctly, pause_collection is different than subscription pausing itself.
Pause collection only pauses the charges, it keeps the subscription cycle going.
Let me see if we have any docs for this
Oh! And how can i pause the subscription?
And in the following example to cancel a subscription:
'return await await this.stripe.subscriptions.update(subscriptionID, { cancel_at_period_end: true })'
I understand that the subscription changes its status when this period ends, right?
that's correct, yes
And in what case i recibe the next event: customer.subscription.paused
Subscription can get status pause:
How can i do this?