Here is a way that you could have people pay before gaining access to your website:
- Create a one-page website that contains a PayPal button and information that the visitor will gain access to your main website once payment is received.
- Create a website which you want to charge for gaining access and protect it with a password
- Once you receive payment you can send out an email with the URL of the website and the username and password to enter the site.