Jump to content
Larry Ullman's Book Forums

Paypal Ipn With Mamp


Recommended Posts

Hi

 

I don't have a spare domain name and web hosting to test out the Paypal IPN.

What I have is a local server which is MAMP.

 

I have tried to do what is instructed on page 151 to enable IPN using the localhost address below:

http://localhost:8888/EBOOKSTORE_PROJECT/ipn.php

 

With the thanks.php and cancel.php

I was able to use

http://localhost:8888/EBOOKSTORE_PROJECT/thanks.php

and

http://localhost:8888/EBOOKSTORE_PROJECT/cancel.php

 

I'm not too sure why it won't work for ipn.php.

Is there a way around this, given that I am using MAMP and I don't have any active URL domain name and web hosting to use to enter into the Notification URL field?

 

Thank you very much...

Link to comment
Share on other sites

It won't work with the IPN script because PayPal has no way to get to http://localhost. Localhost is a domain that, by definition, is only available to the same computer. The only work around I would know of is very complicated, requiring DNS management, router configuration, and more, and may not even be possible depending upon your ISP.

Link to comment
Share on other sites

 Share

×
×
  • Create New...