#xfechx-subscription-maxoccurrences
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
- xfechx, 14 minutes ago, 7 messages
- xfechx-subscription-maxoccurrences, 1 hour ago, 29 messages
👋 @azure kettle can you make sure to ask a clear and detailed question instead of doing this? It's easier to help you and we're not LLM bots :p
xfechx-subscription-maxoccurrences
yes
sorry
how can I tell that a subscription schedule has been applied to a subscription?
what event should I look for
can I tell with an invoice? because I can see an invoice.created, and invoice.upcoming
and where can I find the parameter that tells the number of the installment it is refering to?
what have you tried?
It all takes seconds to test in the API in Test mode. You'd get exact Events, exact objects, you could look at each one. Would be way faster than asking here
similarly I sent you to https://stripe.com/docs/billing/subscriptions/subscription-schedules/use-cases#installment-plans earlier, so did my colleague and it shows exactly how this works $stripe->subscriptionSchedules->create([ 'customer' => '{{CUSTOMER_ID}}', 'start_date' => 'now', 'end_behavior' => 'cancel', 'phases' => [ [ 'items' => [ [ 'price' => '{{PRICE_ID}}', 'quantity' => 1, ], ], 'iterations' => 6, ], ], ]);
the "max occurrences" is that iterations parameter
Sorry to push but it is crucial that you take 10 minutes to at least try a lot of this yourself first to ask a clear question (and likely self serve 90% on your own!)
Yes, sorry I don't see what event gets fired, I will read the API
what do you mean you don't see? All you need to do is
- Create a Subscription
- Create a SubscriptionSchedule from that Subscription
- Read Events in the Dashboard
should take one minute at most on your own Stripe account
there really isn't a better way than this. I have worked here for many years (and helped you over those years) and really integrating our APIs in Test mode and testing them is the fastest way to see what happens
Yes, i do that obviously. But with connected accounts sometime it is more confusing, and I currently testing that way. For me to find the events on connected accounts I go to developers > webhooks > connected webhook
I understand but our API works the same 99.9% of the way on your own account and connected accounts. So really as a developer, always try new APIs on your own account first