With this addon, you can now make people pay for registering on your site. After a user fills up the registration form, he/she will be directed to PayPal or Stripe for making the payment. Logging into an account is only possible after the payment is successfully received.
Demo: https://codecanyon.net/item/payment-addon-for-userpro/9653341