13 replies [Last post]
noborders's picture
Offline
Joined: 09/06/2007
Juice: 68

In your documentation about paypal web payments standard, it says:


Do NOT provide an IPN url. UC provides this for you automatically.

for the Instant Payment Notification Preferences.

I just tried this and paypal won't allow you to enable Instant Payment Notification without providing an IPN url.

Thanks in advance for your help.

noborders's picture
Offline
Joined: 09/06/2007
Juice: 68
Re: Paypal IPN won't turn on without providing IPN url

Never mind. I got it to work. I tried again but this time deleting the http:// text that's preloaded in the url text field and it let me turn it on this time.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15422
Re: Paypal IPN won't turn on without providing IPN url

Turns out the module itself activates the IPN b/c of I'm using the notify_url field in my API calls. You actually don't need to worry about even turning it on. "Rediscovered" that in the PayPal docs today.

Vallenwood's picture
Offline
Bug Finder
Joined: 09/28/2007
Juice: 35
IPN tips

I had an IPN problem too, and in case it helps anyone else I'll share a couple of tips:

1) Make sure the IPN URL is blank--delete out the "http://" it's pre-filled with.
2) If you have HTTP authentication on your site (i.e. password protected) then IPN will not work! I had a password on my web root while developing the site, and IPN didn't work until I removed it.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15422
Re: IPN tips

Thanks for posting these tips, Vallenwood. Smiling I'll put PayPal in my documentation review queue.

madsqrl's picture
Offline
Joined: 10/18/2007
Juice: 23
IPN woes

Hi,

So I have been following this thread.

I am using the current version of Ubercart from the repository with Drupal 5.2.

I seem to have my Paypal account configured correctly including IPN being enabled and blank IPN notification URL field. Clearing payments through Paypal works just fine.

But I still get errors when I try to process IPN in the log of the form:

IPN attempted with invalid order ID.

This error gets repeated periodically in the log and the status does not update for the order.

I also log entries of the form:

Receiving IPN at URL for order 14.

Any ideas?

Thank you.

mccool's picture
Offline
Joined: 12/10/2007
Juice: 33
THANK YOU!!! I really should

THANK YOU!!!
I really should have thought about it, but I had HTTP authentication on and the IPN was not working.
Spent hours trying to make it work.
Top tip Vallenwood.
Thanks.

peach's picture
Offline
Joined: 01/30/2009
Juice: 67
Vallenwood wrote:I had an
Vallenwood wrote:

I had an IPN problem too, and in case it helps anyone else I'll share a couple of tips:

1) Make sure the IPN URL is blank--delete out the "http://" it's pre-filled with.
2) If you have HTTP authentication on your site (i.e. password protected) then IPN will not work! I had a password on my web root while developing the site, and IPN didn't work until I removed it.

OUCH so thats my problem... didn't even think about it.

++ for getting this info in documentation

JDSaward's picture
Offline
Joined: 10/21/2007
Juice: 18
Paypal IPN with SSL.

Here's what worked for me, on a site with 'Secure Pages' module enabled.

1. At Paypal enable IPN
2. IPN URL - https://example.com/uc_paypal/ipn (For a long time I had http://example.com/uc_paypal/ipn, and that path ensured failure. At this point in time I did not find a way to NOT enter a IPN URL at Paypal. This seems to have altered recently, as many posts on ubercart.org refer to people being able to leave the URL blank.)
3. In the secure pages configuration declare these paths as 'Make secure':
cart/*
uc_paypal/ipn
uc_paypal/ipn/*
cgi-bin/webscr

Simple, after spending quite some hours going in circles with it Smiling

modctek's picture
Offline
Joined: 02/04/2010
Juice: 2
Paypal IPN Update

As of now, you can no longer leave the IPN URL field blank. Perhaps an update to the documentation on proper settings?

Steel Rat's picture
Offline
Joined: 07/19/2009
Juice: 51
Re: Paypal IPN Update

Yeah, this is pretty confusing. If you need an IPN value in Paypal, then the settings pages in UC should tell you what that is. I only found out by searching these forums, and I'm still not 100% sure what it should be.

Please update the docs!!

LynnS's picture
Offline
Joined: 07/31/2010
Juice: 17
Months later...

...and the docs still aren't updated. I'd offer to help, but I'm having trouble myself! Smiling

maryo's picture
Offline
Joined: 06/16/2010
Juice: 20
Where do you set up the IPN url

Where do you set-up the IPN url?

  • somewhere in the Drupal setting for ubercart/paypal module/ payments settings?
  • In your Paypal Accont: Buyer? developer account?

Is there any decent document about integrating ubercart/Drupal with paypal?

dbassendine's picture
Offline
Joined: 09/18/2009
Juice: 40
IPN URL

The IPN settings are in your Paypal Sandbox seller (merchant) account settings. Once you've set up your sadnbox seller account, login via the sandbox interface (developer.paypal.com). Go to Profile, then Instant Payment Notification settings, then switch on IPN.

The correct URL for the IPN settings is: http://yoursite.com/uc_paypal/ipn. As noted above, make sure your test site can communicate with the outside world ie. public IP and no HTTP Auth.

Other settings which are good to enable:
* Auto return: On
* Return URL: your confirmation page
* Payment Data Transfer: On (not sure if this is required)

Thanks, David