#guillaume-subscription-list

1 messages · Page 1 of 1 (latest)

icy rockBOT
solid terrace
#

@earnest stone do you have a concrete example Customer id and request id?

#

guillaume-subscription-list

earnest stone
#

stripe subscriptions list --customer=cus_NZyvaD7bLQHgbe --status=all --limit=100

#

We just added a subscription, so the list is not empty anymore

#

But looking at the payments list I should be getting more than one result?

solid terrace
#

Not sure. Sorry that's just a picture with no information for me to help you debug. I'd need to see the Customer id, your exact code, a real example request id, etc.

earnest stone
#

im using the stripe cli

#

stripe subscriptions list --customer=cus_NZyvaD7bLQHgbe --status=all --limit=100

#

Customer Id : cus_NZyvaD7bLQHgbe

solid terrace
#

Hum I'm looking at all the requests in the past 15 minutes and none of them passed --limit=100

earnest stone
#

I've found another Customer

#

stripe subscriptions list --customer=cus_N96w7Cits6yPfd --status=all --limit=100

#

CustomerId = cus_N96w7Cits6yPfd
Had a subscription in the past but the listing return an empty list

solid terrace
#

what happens if you remove the parameters?

earnest stone
#

same result

solid terrace
#

you get nothing all without any parameter?

earnest stone
#

Just using stripe subscriptions list it does list me 3 subscription

solid terrace
#

ah so not the same result at all right?

#

Okay so try the original request but add -v 2023-08-16

earnest stone
#

Still empty

solid terrace
#

Can you do the same without the customer id?

earnest stone
#

Done, it listed subscriptions

solid terrace
#

Okay so that Customer cus_N96w7Cits6yPfd doesn't have Subscriptions or didn't have any before right?

earnest stone
#

cus_N96w7Cits6yPfd Had a subscription before yes

solid terrace
#

no it did not

#

That customer doesn't even have an Invoice

earnest stone
#

right... no invoice

solid terrace
#

sorry I don't get your answer 😅 Do you agree qwith me? They have no Invoice, so they had no Subscription, so it's normal there's none in the response

earnest stone
#

I have this payment that is marked for a subscription, we do something that give our customer "free" subscription and maybe this is the case i'm currently getting

#

Yes i do aggre with you

solid terrace
#

ahhhhhh

#

Subscription data is automatically deleted after 90 days

#

those are really old

earnest stone
#

Oh thank you!

#

Yeah those were old subscription, and it make sense to noot keep track of those in test mode

#

Thank you, you've answered my question