Forums / Basic Configuration / Paypal IPN and Payment Problems

Paypal IPN and Payment Problems

Locked

Started by davidandrews on 29 May 2006, 5:59 PM · Views: 28,845

Results 61 to 80 of 115
This thread is locked. New replies are disabled.
10 Nov 2006, 3:12 AM
#61
mriecken avatar

mriecken

New Zenner

Join Date:
Jun 2006
Posts:
10
Plugin Contributions:
0

Paypal IPN and Payment Problems

I am working on a fresh install of the current stable version.

I too am having these issues, specifically:

Paypal Processes the transaction
No (Zen) log entry is generated
No (Zen) log e-mail is generated
No order number is displayed on the "Thank You" page
The order disappears from the customer_basket
The order is not placed in orders
The inventory is not properly updated

PayPal IS processing the correct amount ($1.97) - which matches the amount on the shopping cart prior to checkout.

The fact that the log entry is not being generated tells me that something fishy is happening on the return page - but I am not a PHP guy, so this is much like me doing my own dentistry.

I have had other (three - not tons) successful installs with previous versions.

FWIW - Check/Money Order works fine.

And for a BRIEF time today, it appeared to be working, but not now.

Any help is appreciated.

10 Nov 2006, 3:29 AM
#62
mriecken avatar

mriecken

New Zenner

Join Date:
Jun 2006
Posts:
10
Plugin Contributions:
0

Re: Paypal IPN and Payment Problems

Inventory is not updating should be translate to read - the item(s) are being subtracted but nothing is being put in the orders -

Which says to me that the inventory IS being processed properly... but because the items isn't being added to the orders table, that is improper...

I am confusing myself.

Also - note that PayPal will be down from 11:00-1:00 Pacific Time - could this have something to do with our problems all day today?

What a bad day to try to open a store.

10 Nov 2006, 2:47 PM
#63
mriecken avatar

mriecken

New Zenner

Join Date:
Jun 2006
Posts:
10
Plugin Contributions:
0

Re: Paypal IPN and Payment Problems

Well... I disable PayPal over night (not removed - just disabled). Paypal did their maintenance thing from 11p-1a PST last night and... this morning... it works.

No rhyme.
No reason.
No changes to code were made.

10 Nov 2006, 2:59 PM
#64
steel_rat avatar

steel_rat

New Zenner

Join Date:
Nov 2006
Location:
Oak Harbor, WA
Posts:
58
Plugin Contributions:
0

Re: Paypal IPN and Payment Problems

Wow, I thought PP was more reliable than that. Sorry you had to go through all that pain just to find out you weren't doing anything wrong.

Steel Rat

10 Nov 2006, 9:41 PM
#65
mriecken avatar

mriecken

New Zenner

Join Date:
Jun 2006
Posts:
10
Plugin Contributions:
0

Re: Paypal IPN and Payment Problems

Yeah, well... down again.

Anybody else going up and down like this?

I see that Pay Pal is going down for two hours again tonight for maintenance. I don't know if there is any relationship between this and the problems that I am having.

Does anybody have any experience with debugging this?

It can't be just me having problems.

10 Nov 2006, 9:58 PM
#66
steel_rat avatar

steel_rat

New Zenner

Join Date:
Nov 2006
Location:
Oak Harbor, WA
Posts:
58
Plugin Contributions:
0

Re: Paypal IPN and Payment Problems

mriecken:

Yeah, well... down again.

Anybody else going up and down like this?

I see that Pay Pal is going down for two hours again tonight for maintenance. I don't know if there is any relationship between this and the problems that I am having.

Does anybody have any experience with debugging this?

It can't be just me having problems.

I haven't gotten any store traffic yet, so I can't help you there. :sleepy:

Steel Rat

15 Nov 2006, 1:25 AM
#67
mriecken avatar

mriecken

New Zenner

Join Date:
Jun 2006
Posts:
10
Plugin Contributions:
0

Re: Paypal IPN and Payment Problems

The bug appears to be in the paypal module.

There is some disagreement on how to pull things out of and put things into the zen_paypal table.

I am digging now.

15 Nov 2006, 2:56 AM
#68
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Paypal IPN and Payment Problems

Paypal is working fine for an awful lot of shops ... which makes me doubt it is a bug in the Payment module for PayPal that comes with Zen Cart ...

This does lead me to believe it is your site, or your personal PayPal settings on the PayPal site ... or you have ports blocked for either sending or receiving ...

Read through the /docs on PayPal and check again that all settings are correct ...

Make sure your site is not Down for Maintenance and that you do not have a password on your site or PayPal cannot return order information ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

15 Nov 2006, 5:23 AM
#69
mriecken avatar

mriecken

New Zenner

Join Date:
Jun 2006
Posts:
10
Plugin Contributions:
0

Re: Paypal IPN and Payment Problems

Well - there's SOMETHING wrong here.

I'm getting IPN traffic, but log entries placed in the IPN processing script never get triggered.

Digging even deeper (the column error I reported above was confusion on my part) Ifind this in my apache logs:

[Tue Nov 14 23:08:35 2006] [error] [client 216.113.188.202] mod_security: Access denied with code 406. Pattern match "^$" at HEADER("USER-AGENT") [severity "EMERGENCY"] [hostname "amy.gorosary.com"] [uri "/store/ipn_main_handler.php"]

Any insight?

15 Nov 2006, 5:24 AM
#70
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Paypal IPN and Payment Problems

Have you an URL to your site that we could perhaps peek at?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

18 Nov 2006, 2:32 AM
#72
lee_captivemoon_com avatar

lee_captivemoon_com

New Zenner

Join Date:
Nov 2006
Posts:
22
Plugin Contributions:
0

Re: Paypal IPN and Payment Problems

My error logs look like this:

Fri Nov 2006 20:08 -- IPN NOTICE::Got past language loads
Fri Nov 2006 20:08 -- IPN INFO - POST VARS
payment_date=18%3A08%3A37+Nov+17%2C+2006+PST
&txn_type=web_accept
&last_name=Moon
&residence_country=US
&item_name=www.FreeNetworkingInternational.com...+++Online+Store+Purchase
&payment_gross=8.00
&mc_currency=USD
&business=Webmaster%40FreeNetworkingInternational.com
&payment_type=instant
&verify_sign=AjhoPeOYJByfDiJ4j1-..vR99ppQADunhpg64ZCGmL5rb6G43fY3F.t7
&payer_status=verified
&tax=0.00
&payer_email=Lee%40sinsweb.org
&txn_id=0TL39333A85260640
&quantity=1
&receiver_email=Webmaster%40FreeNetworkingInternational.com
&first_name=Lee
&payer_id=NUEK5RX6QKRP6
&receiver_id=DFQ2DY73Q7YSW
&item_number=1
&payer_business_name=Sins+Web
&payment_status=Completed
&payment_fee=0.53
&mc_fee=0.53
&shipping=0.00
&mc_gross=8.00
&custom=zenid%3D02a3a647f995f9e22a9d1765d20a856b
&charset=windows-1252
&notify_version=2.1
&cmd=_notify-validate
Fri Nov 2006 20:08 -- IPN INFO - CURL INFO
HTTP/1.1 200 OK
,Date: Sat, 18 Nov 2006 02:08:46 GMT
,Server: Apache/1.3.33 (Unix) mod_gzip/1.3.26.1a mod_ssl/2.8.22 OpenSSL/0.9.7e
,Set-Cookie: cookie_check=yes; expires=Tue, 15-Nov-2016 02:08:46 GMT; path=/; domain=.paypal.com
,Set-Cookie: Apache=74.52.131.146.323281163815726147; path=/; expires=Mon, 10-Nov-36 02:08:46 GMT
,Connection: close
,Transfer-Encoding: chunked
,Content-Type: text/html; charset=UTF-8
,
,8
,VERIFIED
,0
,

Fri Nov 2006 20:08 -- IPN WARNING::Transaction email address not matched. From IPN = [email protected]: From CONFIG = [email protected]
Fri Nov 2006 20:08 -- IPN FATAL ERROR::Transaction did not validate

But I can not find CONFIG= anywhere...

18 Nov 2006, 2:39 AM
#73
lee_captivemoon_com avatar

lee_captivemoon_com

New Zenner

Join Date:
Nov 2006
Posts:
22
Plugin Contributions:
0

Re: Paypal IPN and Payment Problems

It also is not sending the items I purchase to paypal. It just says purchase for so and so website...

18 Nov 2006, 3:28 AM
#74
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,701
Plugin Contributions:
0

Re: Paypal IPN and Payment Problems

Look at your email address- They Do Not MatCh they are case sensitive.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

18 Nov 2006, 3:38 AM
#75
lee_captivemoon_com avatar

lee_captivemoon_com

New Zenner

Join Date:
Nov 2006
Posts:
22
Plugin Contributions:
0

Re: Paypal IPN and Payment Problems

YES! But in the config they are the same exactly... I can't find where else to change it...

18 Nov 2006, 3:42 AM
#76
lee_captivemoon_com avatar

lee_captivemoon_com

New Zenner

Join Date:
Nov 2006
Posts:
22
Plugin Contributions:
0

Re: Paypal IPN and Payment Problems

They match now and it still does not work:

Fri Nov 2006 21:39 -- IPN INFO - CURL INFO
HTTP/1.1 200 OK
,Date: Sat, 18 Nov 2006 03:39:49 GMT
,Server: Apache/1.3.33 (Unix) mod_gzip/1.3.26.1a mod_ssl/2.8.22 OpenSSL/0.9.7e
,Set-Cookie: cookie_check=yes; expires=Tue, 15-Nov-2016 03:39:49 GMT; path=/; domain=.paypal.com
,Set-Cookie: Apache=74.52.131.146.19071163821189571; path=/; expires=Mon, 10-Nov-36 03:39:49 GMT
,Connection: close
,Transfer-Encoding: chunked
,Content-Type: text/html; charset=UTF-8
,
,8
,VERIFIED
,0
,

Fri Nov 2006 21:39 -- IPN WARNING::Transaction email address not matched. From IPN = [email protected]: From CONFIG = [email protected]
Fri Nov 2006 21:39 -- IPN FATAL ERROR::Transaction did not validate

And on the success order screen I get no order #

18 Nov 2006, 3:51 AM
#77
lee_captivemoon_com avatar

lee_captivemoon_com

New Zenner

Join Date:
Nov 2006
Posts:
22
Plugin Contributions:
0

Re: Paypal IPN and Payment Problems

you know i just noticed the ipn is putting a : at the end of the email address... could this be the problem?

18 Nov 2006, 3:53 AM
#78
lee_captivemoon_com avatar

lee_captivemoon_com

New Zenner

Join Date:
Nov 2006
Posts:
22
Plugin Contributions:
0

Re: Paypal IPN and Payment Problems

nope then it won't let me send the payment... and there is no : in my paypal account settings...

Dare I say perhaps the script is incorrect somewheres...

18 Nov 2006, 6:09 PM
#79
lee_captivemoon_com avatar

lee_captivemoon_com

New Zenner

Join Date:
Nov 2006
Posts:
22
Plugin Contributions:
0

Re: Paypal IPN and Payment Problems

I am still at this end:

IPN WARNING::Transaction email address not matched. From IPN = [email protected]: From CONFIG = [email protected]

That : in there is messing it up. I can't get around it. I have contact paypal and waiting on their reply.

I also wonder why I can not longer POST anywhere other than this thread..... That isn't very friendly. Seems alot of people have this issues and I can't talk to any of them....

19 Nov 2006, 3:54 AM
#80
mriecken avatar

mriecken

New Zenner

Join Date:
Jun 2006
Posts:
10
Plugin Contributions:
0

Re: Paypal IPN and Payment Problems

My Problem:: solved (possibly not your problem)

I was having a probleem a few pages back. It turns out that there was a change made to our apache configuration.

in the security mod config file, the setting to require a USER-CLIENT (browser version) must be turned off - the PAYPAY IPN process, when it contacts your site, does not transmit a browser (MOZILLA, for example).

Simply comment out the line in the config that contains this setting.

That's what worked for me, anyway.