Solutions for recurrent paying

Hello Everyone!

I’m currently creating a site for my friends where they need a customer to register after he pays a subscription for their service. I found a way to implement payment thanks to the wix-pay and wix-pay-backend api, have also implemented registration on my own. The only and biggest missing part is achieving recurrency, basically i want the User to not be able to utilize his site until the subscription is not payed for each month. Same as when he want’s to dismiss the subscription, i will need to remove his user.
I tried already the Plugin “Wix Plans and Pricing” but it doesn’t fit in our product cause it’s bound to a very specific site and i need to execute Payment on a dynamic one.

Do you have any suggestions if there’s an easy way i’m missing how i could achieve my goal?
Because handling everything on my own storing everything in database… seems very risky for me.

Thank in advice and have all a nice weekend! Stay safe!
Kind regards,
Sebastian