#robbycarter_error
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/1376960261855908010
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- robbycarter_webhooks, 1 hour ago, 13 messages
This is what i was referring to
Here is the event link
https://dashboard.stripe.com/test/workbench/events/evt_1RTPZo058U8nLMGsJUPgI90d
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Hi! The Invoice period is in the past, so the past of a brand new thing starts at its moment of birth - both its 'start' and 'end'.
Does that make sense?
The next Invoice will cover the period from the "birth" of the last Invoice up to this one, i.e. period_start of the next Invoice will be this Invoice's period_end.
Okay thats understandable but then its messed up my through process of how to handle the subscription webhooks.
Currently out of ideas on how to go about it
how can i schedule a call with someone who can walk me through it?
Support does calls, but I'm not sure it's going to get you the results you're looking for.
Describe to me, without Stripe-specific words, the problem you're trying to solve.
I will have a customer subscribing for a plan to access our service (autobilling)
When i get a webhook update on the first and recurring charges from their account,
i want to know the plan the plan they were billed for.
I currently have a manual approach where i use a one time payment and i can pass a reference in the payment request so i can manage the start and end time of the plan
Looking at what stripe does.
I was hoping to get the customer_id, plan_id and the period that the payment was done for, the start and end date of the payment that was just made for
You would. Wait one.
eventInstant.object.lines.data[0].period_start and ``eventInstant.object.lines.data[0].period_end` have the information you're looking for.
What you actually want is the Price's period, not the Invoice's period.
okay let me check that out right now and see if it is
eventInstant.object.lines.data[0].period_start and `eventInstant.object.lines.data[0].period_end had the right values i was expecting
let me work with this information and reach out if i have any other blockers
Thank you
You're very welcome! We're here! ๐