Add-on paid subscriptions

I have a forum where the membership purchase is being handled by membermouse plugin on wordpress.membermouse is not compatible with xenforo.I want to move my membership management/billing to xenforo.

we offer different subscriptions .When the user buys the subscriptions on our website they get automatically registered and added to the related usergroups.
I want someone who can replicate this in xenforo?