#atilla.fib

1 messages · Page 1 of 1 (latest)

small smeltBOT
quartz narwhal
north eagle
#

pause payment collection is not same as pausing a sub

#

stripe.Subscription.resume(tmp_subscription.get("id"), billing_cycle_anchor="now")

quartz narwhal
#
  '{{SUBSCRIPTION_ID}}',
  pause_collection={"behavior": "void"},
)```
north eagle
#

this function requries the sub to have status "paused" but i dont see how to make it that way

quartz narwhal
#

You can refer to the example code in the doc that I shared earlier.

north eagle
#

not the same thing

quartz narwhal
#

You are trying to pause a subscription? no?

north eagle
#

yeah, not the payment collection

quartz narwhal
#

What's your idea of pausing a subscription?

north eagle
#

putting the sub in status "paused"

quartz narwhal
#

It's the same thing, a paused susbcription won't collect payments from a customer.

north eagle
#

so how will the resume work?

quartz narwhal
#

You can only resume a paused subscription.