PayPal IPN email problem

shortmatthew

Joined: 2009-04-22
Posts: 13
Posted: Wed, 2009-04-22 23:43

Could someone please help me.
I have been using gallery and the checkout and paypal module for quite a long time. It has just stopped working. When an order is placed I get a Administrative Notification email saying: Unable to send email to customer: customer's email address not recorded at this time.
The order does not get added to the Checkout Orders Page but when found through the link in the email and clicking on the 'Oder administration Page' there is no address or email address recorded.
Have PayPal changed something? I have updated the modules to the latest releases. Any help or advice would be greatly appreciated.
Many thanks, Matt

 
alecmyers

Joined: 2006-08-01
Posts: 4338
Posted: Thu, 2009-04-23 00:09
 
alecmyers

Joined: 2006-08-01
Posts: 4338
Posted: Thu, 2009-04-23 01:24

Oh - you can look in your server access log for incoming connections from Paypal to urls that contain the string "g2_view=checkoutpaypal.IPN"

 
shortmatthew

Joined: 2009-04-22
Posts: 13
Posted: Thu, 2009-04-23 09:13

Thanks for your help on this. I have found this is the logs:
66.211.170.66 - - [22/Apr/2009:21:28:28 +0200] "POST /main.php?g2_view=checkoutpaypal.IPN HTTP/1.0" 200 0 www.events.thestudio17.co.uk "-" "-" "-"
Does this help at all?

Gallery version = 2.2.6 core 1.2.0.8
PHP version = 4.4.9 cgi
Webserver = Apache
Database = mysqlt 4.1.22-standard, lock.system=flock
Toolkits = NetPBM, Gd, SquareThumb, Exif
Acceleration = full/1800, full/3600
Operating system = Linux infong 2.4 #1 SMP Tue Dec 18 22:34:10 UTC 2007 i686 GNU/Linux
Default theme = carbon
gettext = enabled
Locale = en_GB
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.9) Gecko/2009040820 Firefox/3.0.9
Rows in GalleryAccessMap table = 7
Rows in GalleryAccessSubscriberMap table = 1424
Rows in GalleryUser table = 2
Rows in GalleryItem table = 1424
Rows in GalleryAlbumItem table = 23
Rows in GalleryCacheMap table = 5373

Matt

 
alecmyers

Joined: 2006-08-01
Posts: 4338
Posted: Thu, 2009-04-23 10:07

So far so good... now look in your server (and/or php) error log, and see if there's a corresponding entry.

 
shortmatthew

Joined: 2009-04-22
Posts: 13
Posted: Fri, 2009-04-24 06:47

I can't get access to the error logs. Is there anything else I can check? Have just found out that if I purchase a picture whilst logged in as admin PayPal passes the details back to the site - I therefore checked the permissions which are set up with Everyone and guest able to purchase. I have also checked that the PayPal IPN is turned off as required by the module. Any other thoughts?

 
alecmyers

Joined: 2006-08-01
Posts: 4338
Posted: Fri, 2009-04-24 08:04
Quote:
I can't get access to the error logs.

Oh dear... time to find a different hosting service then. (Aside - you're not using that sh*t-bucket company one2one, are you?)

Quote:
Is there anything else I can check?

Not that I can think of.

Quote:
Have just found out that if I purchase a picture whilst logged in as admin PayPal passes the details back to the site - I therefore checked the permissions which are set up with Everyone and guest able to purchase.

Hard to see where that makes a difference, as the IPN code is always run as guest - the Paypal server doesn't login when it posts back.

Quote:
I have also checked that the PayPal IPN is turned off as required by the module.

Again, that shouldn't make any difference

Quote:
Any other thoughts?

No, not at present.

Are you stating categorically that it works for the admin user but *not* for guest users? How about if you try it for another logged-in user (create one if necessary)?

 
shortmatthew

Joined: 2009-04-22
Posts: 13
Posted: Fri, 2009-04-24 19:32

I have sorted it at last. I copied the checkout module folder from one of my other working sites and replaced it. Something must of changed.
Thanks for all your help and advice.
Matt

 
alecmyers

Joined: 2006-08-01
Posts: 4338
Posted: Fri, 2009-04-24 20:23

OK, good stuff, glad you got it going!