Is there any way to configure payment form so that a user can be assigned to a specific user group after successful payment of a specific form? I would like my customers to be able to purchase a service using the form I created and be assigned to a specific user group. This would be great since I need each user group to have different access levels to the content published on the site after successful payment.
It's like your Membership Pro extension but will be used for services/products instead of memberships.
Scenario:
User 1 purchases Service 1 and gets assigned to Usergroup1
User 2 purchases Service 2 and gets assigned to Usergroup2
User 3 purchases Service 3 and gets assigned to Usergroup3
Usergroup1 has access to Content1
Usergroup2 has access to Content2
Usergroup3 has access to COntent3