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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...