Use Payment Form - Joomla User Groups to grant access to restricted Joomla content after payment or move a customer from one user group to another. For example, a course payment form can add the customer to a Course Participants group that can access the course materials. Configure the group's access in Joomla before setting up the form.

Submit a test payment while signed in, or use a form that creates a Joomla account for the customer. The payment must be linked to a Joomla user account for the plugin to update groups. For an offline payment, mark it as Paid first.
Open the account under Users → Manage and verify its Assigned User Groups. Then sign in as the test user and check that the intended content is accessible.