#lucasnguyen1707
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.
- lucasnguyen1707, 21 hours ago, 8 messages
- lucasnguyen1707, 6 days ago, 11 messages
hello! can you elaborate more? Why do you want to detect the subscription has charged a number of times?
I have a Plan that charge 4 times and I need to detect if user paid times reach to 4 times then I will Cancel the sub immediately
Then you'll want to listen for the invoice.paid webhook event and save that to your DB
the Subscription object itself doesn't state the number of times a customer has paid for it
And also use to show Subscription status on my own app.
If user charge less than 4 time, sub will show Incomplete
vice versa, sub will show Complete for sample