I have a paid members and general users. I need to check when users logins is paid membership expired or not. Currently I am checking when login redirects to profile page
if(auth()->user()->type == 'paid' || auth()->user()->type == 'subscriber') {
$user = PaymentController::checkPaid();
}
How to check paid on logging in?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire