Collect payment before registering user?

I have set up Membership with Paypal gateway. I am not sure why it is creating the user before collecting the membership fees. If you exit from paypal without submitting your payment you can still sign into the site. Can I make it collect payment, then register the user?