#coachleyton

1 messages ยท Page 1 of 1 (latest)

small crownBOT
ebon moth
proud lake
#

Well, on my app's website I have a "Next payment due on" and "Amount Due", so the customer knows what amount to expect to pay. I use the upcoming invoice API for this. So, if I update the Subscription and just skip prorations, then the upcoming invoice API should reflect the newly adjusted price?

ebon moth
proud lake
#

Yeah, I use that feature a lot (not sure what I'd do without it ๐Ÿ™‚)

#

Are you okay to keep this thread open whilst I attempt to implement this? I usually stumble upon some follow up questions

ebon moth
#

I'll keep this open for a few more minutes but these threads aren't meant to be long lived

proud lake
#

Hi, I'm having trouble listing Subscriptions. For some reason, this code that gets all subscriptions that use the given PriceId is just returning nothing:

var options = new Stripe.SubscriptionListOptions
{
    Limit = 10,
    Price = "price_1NPCM9HxbsbtU2J3sATHyS4b",
};

IEnumerable<Stripe.Subscription> subscriptions = (await _subscriptionService.ListAsync(options, cancellationToken: cancellationToken)).ToList();
#

When debugging, I can see that subcriprions is empty

#

Request Id is req_VMpE5h4XJcwamB

#

I know that there is at least one subscription that uses that Price, which has Id sub_1NemyZHxbsbtU2J3MYtqbMq6

#

am I missing something here

#

probably lol

ebon moth
proud lake
#

ahhhh that's the one. Always forget about the clock. Thank you