Web Hosting Talk







View Full Version : Allowing Access after Payment


blind9
11-04-2004, 02:34 PM
Hello,

I am currently building an ecommerce site which will sell access to a members directory.

Im a little confused on how to set up the payment system etc.

I was going to use paypal, but my question is:

how would I go about automatically adding a new member to my access list after the person has paid?

to be more specific, I am going to manage the users using apache's .htaccess. I see free scripts on the net, but how would they know when the person has paid?

I want the customer to have instant access to the site after they have made their payment.

Thanks

Corey Bryant
11-04-2004, 02:48 PM
Welcome to the forums blind9!

Paypal has something called IPN - Instant Payment Notification. This should help you out. http://www.paypal.com/cgi-bin/webscr?cmd=p/xcl/rec/ipn-intro-outside

superprogram
11-05-2004, 03:17 AM
coreybrant
The link isn't working...
Also, is it possible to set say the moment I get payment via paypal, automatic WHM account is created for the customer(Reseller hosting)

Corey Bryant
11-05-2004, 09:37 AM
If you go to Paypal & choose the Developers Link - Paypal Solutions - Instant Payment Notification (IPN) - that will get you to the page.

I do not use WHM, but if WHM is compatible with Paypal - I do not see why it could not be set up that way. WHM would have to also be able to communicate with the Paypal IPN.