#stripe22_unexpected

1 messages ¡ Page 1 of 1 (latest)

carmine shoalBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1219851315413258322

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

paper saffronBOT
ionic heath
#

Before customer.subscription.deleted event is sent, subscription should be active

chilly depot
#

When I do the following, it returns Data.Count = 0

#

string custId = StripeSettings.GetCustomerId(familyID);
if (custId != null && custId != "")
{
var options = new SubscriptionListOptions
{
Limit = 1,
Customer = custId
};
var service = new SubscriptionService();
StripeList<Subscription> subscriptions = service.List(options);

#

Is there another call I can use to get the information I need to determine if the subscription is truly deleted or just waiting to be deleted until the end of the trial period?

ionic heath