#krishna008
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.
- krishna008, 3 hours ago, 61 messages
Hi
You should compute that in your integration, there is no direct field for that
How can I compute that?
You need to track that in your database for example
You calculate the number of previous invoices of a given Subscription and get the current cycle number
In the public API, no there is no direct access to that information
I also don't want to hit some information in webhook for first time subscription payment.
I want to write condition that if subscritption payment cycle is 1st then don't run code.
You can write that code in your integration yes.
Is there any way to check how many cycles are remaining?
No you need to track that in your database.
That is also very difficult to track.
Stripe should provide that. Actually Razorpay provides it that is why client demands.
You have all the elements in the Stripe API to track that information back in your own database.
But I have to write extra logic for that.
Yes.
If it was provided by Stripe then my code execution time would have been reduced.
Currently that's not supported.