Tips for creating a subscription system through LDAP

Hello,

I’m planning a way to create a subscription method and allow registration for paid users. But since there isn’t this option in the Registration app, I’m trying to figure out a way of allowing users to login based on a LDAP syncing.

Do you know any way I can charge users, and allow the registration in the AD from Microsoft (or other service) only after a payment? That way, when users create their account, they would automatically have an account in my cloud, being able to login normally.