Use invite system to invite course participants to topic in secure category

Then have that platform add them to the group when they pay our whatever makes them join.