Support » Plugin: User Role Editor » User Roles on purchase via PayPal IPN

  • Hi guys,

    I have a website with different paid trainings. Anyone who purchases a training session with PayPal via PayPal IPN, a new user is created with “Subscriber” as per default role.

    I am looking for a way so roles can be attributed automatically based on purchased training. Here’s the list of the roles I have: https://prnt.sc/psfog7

    Would appreciate any help on this.

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author Vladimir Garagulia

    (@shinephp)

    It depends from what plugin works as a gateway to PayPal at your site.
    This discussion is very near to your topic.

    You need select suitable action after purchase made and hook to it a custom code, which will reassign a role for a customer according to a training purchased by him.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.