Payment before Sign-up/User Creation


I currently have implemented a sign-up form which is only accessible after entering a valid activation code on another page. I would like to implement payment by a user, generation of a new code, and then passing this code through to the activation/registration page and then continuing with registration.

Is it possible with the plugin to change the order of account creation and then payment to payment and then creation?

Thank you