#nachofranco14

1 messages Β· Page 1 of 1 (latest)

queen roverBOT
plain vessel
#

Can you elaborate on the exact issue?

steep bough
plain vessel
steep bough
#

and this is the code I'm executing (consider that the api_key has been set to the stripe module stripe.api_key = "the_key")

s = stripe.Subscription.retrieve("sub_1MWGLcBEDYDqpisubMFy5bpb", billing_cycle_anchor="unchanged")

plain vessel
#

stripe.Subscription.retrieve

#

I thought you wanted to resume not retrieve?

steep bough
#

does that help?

plain vessel
#

Oh the documentation is wrong then

#

I'll flag it to the team

#

retrieve is for fetching a subscription

steep bough
#

do I earn a t-shirt?

#

jokes aside, how can I resume it?

#

I'm using the pyhton client

#

(you can gift me the Stripe tshirt anyway if you want πŸ™‚ )

plain vessel
#

Haha

#

I think it's .resume

#

But could be wrong. Can you try?

#

It's hard without the docs haha

steep bough
#

😦

plain vessel
#

Ok one sec

#

What version of the python library are you using?

steep bough
#

2.76

plain vessel
#

Wasn't added until 5.1.0

steep bough
#

I just updated it

plain vessel
#

resume should work on the latest version

steep bough
#

could you pay a look at req_wpLu53z1lSFPW1?

#

the subscription is paused but it claims that it isn't 😦

plain vessel
#

It shows as active for me

#

Where do you see paused?

steep bough
#

πŸ‘€

plain vessel
#

Looking

#

Oh

#

So the /resume endpoint is just for that above scenario when subscription is in status=paused

#

What you want actually is this:

#

Paused collection isn't the same thing as status=paused, but this is a very recent change

steep bough
#

ah I see

#

so what's the difference between them? should I changethe current pause of the collection to the new one?

plain vessel
#

No you're doing it the right way now

#

status=paused isn't meant for you to manually pause a sub

#

It's just for the trials without payment methods scenario

steep bough
#

wait

#

okay it works fine

#

thanks

#

still is not clear what's gonna happen with the billing cycle

#

will it keep the same it had?

#

(the same for the invoices if they were kept as draft)

plain vessel
steep bough
#

great

#

thanks πŸ™‚

#

let me know where should I send my address to in order to receive thetshirt

#

I'd like it to be black, XL and with Stripe in white

plain vessel
#

Haha