I would like to create a report in my admin dashboard which give me all expired subscriptions list.
Asked
Active
Viewed 111 times
-1
-
You should at least add *any* starting point, where an answer could start. – StephenKing Jul 20 '15 at 13:27
-
That's great! Thanks for sharing. Did you have a question? – Adam Jul 20 '15 at 16:02
-
@stephenking, Do we have any method in recurly which can give only expired subscription ? – Yogesh Jul 21 '15 at 04:23
-
No, I have no idea. I just noticed the "recurely" tag. I don't know that application. Thought your using a homegrown PHP software. Still your question lacks a question. – StephenKing Jul 21 '15 at 05:26
1 Answers
0
Please Try
$subscriptions = Recurly_SubscriptionList::getActive();
foreach ($subscriptions as $subscription) {
print "Subscription: $subscription\n";
}
The state of subscriptions to return: "active", "canceled", "expired", "future", "in_trial", "live", or "past_due". A subscription may belong to more than one state.
you can filter as per your requirement.

Ashish Chaturvedi
- 1,352
- 3
- 13
- 37