georgeit Reply #1, 5 months, 3 weeks ago
Hi,
I've created a snippet that adds a user to a member group upon successful payment though paypal. Works great. However, as far as I can tell, I have to flush all permissions in the manager to get the paid content to show up for the user.
Is there a way to flush the permissions for a user via the api? I've been trying to sift through how the menu action does it but not having much luck.
Thanks.
I've created a snippet that adds a user to a member group upon successful payment though paypal. Works great. However, as far as I can tell, I have to flush all permissions in the manager to get the paid content to show up for the user.
Is there a way to flush the permissions for a user via the api? I've been trying to sift through how the menu action does it but not having much luck.
Thanks.