Don't Create Account Without Payment


Is there a way to set it up so that no account is created unless a payment is received?

There is some functionality in various plugins that is for registered users only, but I can't put that behind a payment because it's possible to register an account without subscribing.

Any ideas?