14 replies [Last post]
thiokol's picture
Offline
Joined: 05/07/2009
Juice: 69
Was this information Helpful?

Hi,

I have setup a site for a client and all orders are stuck at 'in checkout' or 'pending'.

Paypal IPN is not reporting the payments for the orders, I can see that no IPN call is logged in the order comments.

IPN is turned off in the Paypal account profile and no URL is set as described here: http://www.ubercart.org/docs/user/3356/configuring_paypal_website_paymen...

This is using Paypal website payments standard.

Any ideas what could be wrong?

murm's picture
Offline
Joined: 07/23/2010
Juice: 10
Same

I've got the same problem, following the very same guide.
I have been googling awhile, and haven't found a solution.

LynnS's picture
Offline
Joined: 07/31/2010
Juice: 17
Re: Ubercart not receiving notifications from Paypal

same trouble, very frustrating, and no solutions anywhere.

murm's picture
Offline
Joined: 07/23/2010
Juice: 10
others

I've spoken with others about this, and quite a few I know, have the same problem also.
Maybe it has something to do with ubercart itself? Does it support this 100%?

j.mead's picture
Offline
Joined: 07/27/2009
Juice: 385
Re: others

I had some problems in the past, but it's all working now.
my PayPal account page shows I have the Notification URL box blank
and i've selected the Do not receive IPN messages (Disabled)

on my site at /admin/store/settings/payment/edit/methods for 'PayPal Website Payments Standard settings' my info is as follows:
1. my email address
2. currency code: USD
3. PayPal login page language: US
4. PayPal server: Live
5. Payment action: Complete sale
6. Order review submit button text: Submit Order
7. Cancel return URL: mysite.com/cart
8. PayPal cart submission method: Submit the whole order as a single line item. (selected)
9. Shipping address prompt in PayPal: Prompt customer to include a shipping address. (selected)
Submit address information to PayPal to override PayPal stored addresses. (checked)
10. Sent address selection: Send billing address to PayPal. (selected)
Show debug info in the logs for Instant Payment Notifications. (checked)

and on the Payment Settings page all are checked:
- Enable payment tracking.
- Allow payments to be deleted by users with permission.
- Log payments entered and deleted to order log.

probably more there than applies but I can confirm that these settings do allow IPN notifications to be received, and I see then regularly in the logs

the sites i'm always breaking.... www.sew-la-fabric.com
http://lostpetsla.com (though i hope i never break this one too bad)

LynnS's picture
Offline
Joined: 07/31/2010
Juice: 17
doesn't work

> my PayPal account page shows I have the Notification URL box blank
> and i've selected the Do not receive IPN messages (Disabled)

Paypal will not let me do this. It is insisting on a Notification URL.

EDIT: Are you sure you're not using Express Checkout instead? Does that work better than WPS, folks--does it still ping back via IPN? Because this is getting frustrating, and I'm now getting IPN pingbacks for non-shopping-cart payments.

j.mead's picture
Offline
Joined: 07/27/2009
Juice: 385
Re: doesn't work

Absolutely sure that I'm using PayPal WPS, so I'm not sure why PayPal won't let you have it blank. I think you might want to contact PayPal support for that issue then. Sorry that it wasn't more help, but I wanted to try as I know that this is frustrating for some people, and for others it just seems to work.

the sites i'm always breaking.... www.sew-la-fabric.com
http://lostpetsla.com (though i hope i never break this one too bad)

murm's picture
Offline
Joined: 07/23/2010
Juice: 10
Re: Ubercart not receiving notifications from Paypal

I don't get this to work at all. :/
It annoys not only me, but my client, since she has double work to do.

OMD
OMD's picture
Offline
Joined: 11/10/2010
Juice: 3
Paypal IPN and orders stuck at "pending"

I have had this problem for the last three days and was pulling my hair out trying to find a solution. I've been trying to configure Ubercart 2 with Drupal 6 for Paypal WPS in Canada. I finally got a very strange solution from a Paypal dev support tech. It sounds a bit strange and is a little contrary to the instructions we have for Ubercart and WPS but it did work for me when nothing else would.

The instructions were as follows:

I understand what you mean so I visited also the Ubercart website/forum and I read their instructions about the PayPal IPN integration.
Unfortunately PayPal does not allow to leave a blank URL destination for IPN so the workaround that I suggest to you is:

- Go to your Profile /Instant Payment Preferences
- Click on "Choose IPN Settings" (you will need to insert a URL, so you can simply add " https://www.paypal.com/ ")
- Enable IPN messages and Save
- After that you will need to click on "Turn Off"

But you will not have IPN history unless you have IPN Turn On.

I followed these instructions and did a sample purchase for $1.00 on the live site and it almost immediately went to "complete" status! Finally! I hope this is helpful to others who were in the same "pending" situation.

daggerhart's picture
Offline
Joined: 12/18/2010
Juice: 3
Worked perfectly!

This fixed it for me in a manner of seconds. Thank you!

yesct@drupal.org's picture
Offline
Uber Donor
Joined: 11/18/2008
Juice: 294
Re: Paypal IPN and orders stuck at "pending"

I wonder if I need to do this...

ajsoles's picture
Offline
Joined: 01/11/2011
Juice: 8
Ongoing battle

I have at last got a downloadable file but when i go to download it, this is what I get: "Fatal error: Call to undefined function drupal_set_header() in /home/artztud2/public_html/sites/all/modules/ubercart/uc_file/uc_file.pages.inc on line 334". Close but no bouquet!
Art

Sohodojo_Jim's picture
Offline
Joined: 11/11/2010
Juice: 4
And don't overlook your PP primary email profile setting! :-/

Having suffered through a lot of Googling and dated thread readling like so many others I 'met' along the way, this thread was a last stop.

My WPS set-up was suffering the same frustrating lack of payment acknowledgment that so many others have had. I tried about all the 'maybe this will work' remedies I found to no joy.

OMD's experience report (about the PP tech support person suggesting a PP-side tweak to get things working) got me to redouble my efforts to consider PP configuration more than assuming the problem was at the receiving side. As it turned out my problem was minor and easily overlooked.

When I dug into the debug logging entry in Watchdog for a failed PP->mySite message, I saw that PP was using the email address that I had set as my Primary email address rather than my account's 'official' username/email which is what you use when you set up your accont. WTF!? They let you add email addresses to your account and set one as primary (which I did as I had a forwarding address stack that would go to multiple recipients) which is what I wanted for both the automated messaging and for such things as update and newsletter communication, etc.

The problem is that WPS cannot handle the 'subtle' distinction that your 'official' account username/email-login may not be the same as your account's 'primary email' setting. Once I reset my primary email account setting back to the email address that is my account login name, things worked.

Sheesh... but relief.
--Sohodojo Jim--
www.DropaBalm.com
www.Sohodojo.biz
www.Sohodojo.com

ajsoles's picture
Offline
Joined: 01/11/2011
Juice: 8
Continuing Problem…

Everything working well until return to site after payment is made.
This is the error message I get "EntityMetadataWrapperException: Unknown data property order_total. in EntityStructureWrapper->getPropertyInfo() (line 294 of /Users/arthursoles/Documents/drupal/travelguide/sites/all/modules/entity/includes/entity.wrapper.inc)."
In the file downloads I get this error message "Notice: Undefined variable: account_uid in uc_file_user_downloads() (line 104 of /Users/arthursoles/Documents/drupal/travelguide/sites/all/modules/ubercart/uc_file/uc_file.pages.inc).
Notice: Undefined property: stdClass::$address in uc_file_user_downloads() (line 144 of /Users/arthursoles/Documents/drupal/travelguide/sites/all/modules/ubercart/uc_file/uc_file.pages.inc)."
When I try to download the file I get "Fatal error: Call to undefined function drupal_set_header() in /Users/arthursoles/Documents/drupal/travelguide/sites/all/modules/ubercart/uc_file/uc_file.pages.inc on line 334"
I am using Drupal 7 with the acgua stack and PayPal Sandbox.
Any comments or suggestions.
Art

RobertReginald11's picture
Offline
Joined: 04/28/2011
Juice: 3
Re: Ubercart not receiving notifications from Paypal

Hi

Hi!