#alexesch_api
1 messages ยท Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- alex_subscription-bundle, 17 hours ago, 16 messages
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1250020630129147945
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
error: Stripe\Exception\InvalidRequestException: No such subscription: 'sub_1PQPRAJaf89hC41IRuymRdkA' i
๐ happy to help
but at the same time, i can' access this subscription by url, https://dashboard.stripe.com/test/subscriptions/sub_1PQPRAJaf89hC41IRuymRdkA
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
would you mind sharing the request ID?
just a sec
can you tell me how?
$stripe = seq_stripe_client();
try {
$subscription = $stripe->subscriptions->retrieve('sub_1PQNKlJaf89hC41In97KWB7d', ['expand' => ['latest_invoice']]);
dsm($subscription->toArray());
}
catch (Exception $e) {
dsm($e->getMessage());
}
the only thing i'm getting is 'No such subscription: 'sub_1PQNKlJaf89hC41In97KWB7d'"
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
yes give me a second
you're using a very old API version
before https://docs.stripe.com/upgrades#2016-07-06 the API didn't use to get "canceled" subscriptions
is there are any other way to get the canceled?
about old api, i know, we are already working on it
and, are you talking about SDK old versio? or about Stripe api version set in our account?
ok, thanks
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
sure. have a good day!