WPPayForm Auto User Register
This is a code snippet which registers a user after a successful payment. If the user is already logged in when the payment is made, it will just skip the this process. A random password will be generated and the new user will be automatically logged in. The code executes using the ‘wppayform/form_payment_success’ hook, this…

