#ltd
1 messages · Page 1 of 1 (latest)
Hi, do you have a current subscirption that you're looking at? You set the interval at the price level, https://stripe.com/docs/api/subscriptions/create?lang=php#create_subscription-items-price_data-recurring-interval_count.
Hi, yeah I have a subscription. Its all working okay, interval is at every 4 weeks they get charged. Im looking to count the amount of times this subscription has cycled a interval
or every 1 month, same as the example price object
"interval": "month",
"interval_count": 1,
Would an idea be to count the succesful charges related to a subscription? Just thinking that may create slow loading times retrieving every charge, was hoping/looking for a sort of "count": X value, if there is one
There is not a tracker like you described above. You can look at the number of successful charges like you shared, yes
Or you can look at the subscription creation date, no?
Possible yes, then calculate difference between creation and now and calculate from there