#jcodog
1 messages · Page 1 of 1 (latest)
No not as I know of. It emits events on specific thing triggered on Stripe side, ie. invoice.created everytime the subsciption renews
I have invoice paid and subscription updated managed by the endpoint
Is there no way to get how many months in a row the user has subscribed for, or should I be handling that on my database?
You can list all the Invoices of that Subscription, can check its period_start and end to make sure it's 1 month, and count
That sounds good thanks, will look at that. But surely there should be something on the subscription object sent that includes the recurrance count.
unfortunately, no, we don't have such a parameter on the Subscription object at the moment
Is there anywhere I can suggest this feature to make integrations of subscriptions easier? As my solution add bonus rewards for every 6 months subscribed.
if you would like to see more support for this feature, you can write in to https://support.stripe.com/?contact=true to explain your use cases/feature request as that helps the product team capture demand for prioritisation