#kevin_unexpected
1 messages ยท Page 1 of 1 (latest)
๐ 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/1215483370641821756
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi! Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
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.
searching
although im not sure which one it is
quick question
why am i receiving events for products with plans and products with no plans
how is a plan created?
I need to view the request log in order to investigate.
Let me know once you have the request ID.
No, this isn't a subscription retrieval request
No, this isn't a subscription retrieval request
how do i know what a subscription retrieval request is?
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.
https://dashboard.stripe.com/test/logs/req_xbglfzJEacNeR2 is this the request?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
we're using ruby to hit the ID
the retrieval ID doesn't come back to us....from what we ca tell
yes i think this is the one
Ok, Stripe doesn't log the GET response, but based on the event evt_1OrsWWGIehx05fPOYa08SHBv, I do see plan in the subscription object.
This is what we get from the console:
in the items, there's a plan for each item. but the subscription.plan is null
I saw plan in the items list
we're talking about the plan attribute for the subscription
sometimes it's an object and sometimes it's null....we can't understand why
Let me check the other subscription, you said you saw plan in sub_1Ors2VGIehx05fPONiBALFez right?
yes
Ok, one different I notice so far is that sub_1OrsWWGIehx05fPOI5mksDBo has two prices whereas sub_1Ors2VGIehx05fPONiBALFez has only one.
correct
Can you create another subscription with only once price and see if the resulting subscription has plan set ?
one sec
that's this one
this one only has one product
can we assume if there's only 1 item, then the plan would be raised to subscription plan attribute
and if the the subscription has 2 products/prices, then the subscription plan attribute is null and that we'd need to look at the subscription items?
It looks like so but I can't find any doc for me to 100% confirm it. Does your application have to rely on the plan attribute? any chance you can use the plan available in items ?