mercredi 11 avril 2018

Laravel cashier | How can i get the total active and inactive subscriber in laravel cashier

i am working with laravel cashier .And now i want to display a record of active and inactive susbscribers along with latest 10 subscribes. But i cant find anyway to do so. And do not see much of documents about its tutorial on this.

I am trying to do like this

$userRecord  =new User();
print_r($userRecord->subscription('main')->cancelled());

I also tried with this

 $userRecord  =new User();

print_r($userRecord->subscription('main')->get());

But all these not working.Can anyone please tell me how this works. Thank you



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire