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 21 to 40 of 115
This thread is locked. New replies are disabled.
25 Oct 2006, 2:38 PM
#21
ungeziefer avatar

ungeziefer

New Zenner

Join Date:
Mar 2006
Posts:
51
Plugin Contributions:
0

Paypal IPN and Payment Problems

Mealster:

... she received no order number on the "checkout success" page. Also, there is no order summary she could look back when she views her account (as the checkout success page had advised her). Also, she received no email confirmation from Zen cart from her order. Just the Paypal confirmation which does NOT show what products she ordered.

Yup, exactly. I fear it might make cusomters nervous after buying something ...

Mealster:

My web designer added the module so we could "view stuck orders"--which is basically useless to me--as I can not see what the customer has ordered.
...
I just got my website up and I hate to start having to call people to ask them what they ordered--very unprofessional indeed. :no:

The "PayPal Sessions Viewer" (where you can "view stuck orders") should provide at least a temporary work-around. I'm thinking you must have an old version; if so, try installing v2.0 :

http://shoetick.com/PayPal_Session_Viewer_v2.0.zip

It should look like this:

http://platypusman.com/PayPal_stuck-orders.gif

Then you just click the "Move to Orders database" button, which will "push" the orders through to where they were supposed to have gone. (So you can see who bought what, and don't have to sheepishly contact them ...)

It works fine for me -- but some people have reported error messages if your store is not at the root directory :

http://www.zen-cart.com/forum/showthread.php?t=32302&page=2

25 Oct 2006, 6:37 PM
#22
mealster avatar

mealster

New Zenner

Join Date:
Oct 2006
Location:
New Jersey
Posts:
13
Plugin Contributions:
0

Re: Paypal IPN and Payment Problems

Actually, I have gotten everything fucntioning properly by using this--which is from a poster named DickTerpin on another message board here at ZenCart:

/includes/modules/payment/paypal/paypal_functions.php

line 60 -- alter it like this:
Code:
if (strtolower($postArray['business']) != strtolower(MODULE_PAYMENT_PAYPAL_BUSINESS_ID)) {

It has worked beautifully. I did 2 tests and both came back perfect.
A freind of mine purchased some products this morning and she advised that she received her confirmation email and her "checkout success" page had the order number on it.

So it seems to be working properly!

Thanks for the advice ungeziefer. I am keeping this info in case something else crops up!

25 Oct 2006, 6:47 PM
#23
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Paypal IPN and Payment Problems

Hello Mealster
glad you got this sorted out,
it would seem that the issue you had origionally was that you had a case error in the email address that you were using in your zen cart module,
this will keep the IPN from triggering,

this just forces the use of all lower case,

very good fix.
thanx for posting it

Zen cart PCI compliant Hosting

25 Oct 2006, 7:06 PM
#24
ungeziefer avatar

ungeziefer

New Zenner

Join Date:
Mar 2006
Posts:
51
Plugin Contributions:
0

Re: Paypal IPN and Payment Problems

Euphoria! ... Despair. ...

Didn't work for me. Thank you for posting it, though.

dustin

26 Oct 2006, 1:50 PM
#25
mealster avatar

mealster

New Zenner

Join Date:
Oct 2006
Location:
New Jersey
Posts:
13
Plugin Contributions:
0

Re: Paypal IPN and Payment Problems

ungeziefer:

Euphoria! ... Despair. ...

Didn't work for me. Thank you for posting it, though.

dustin

Your welcome Dustin. I am sorry it did not work for you. I know how frustrating it can be, believe me. :down:
I hope you find the answer you need.

26 Oct 2006, 1:52 PM
#26
mealster avatar

mealster

New Zenner

Join Date:
Oct 2006
Location:
New Jersey
Posts:
13
Plugin Contributions:
0

Re: Paypal IPN and Payment Problems

Merlinpa1969:

Hello Mealster
glad you got this sorted out,
it would seem that the issue you had origionally was that you had a case error in the email address that you were using in your zen cart module,
this will keep the IPN from triggering,

this just forces the use of all lower case,

very good fix.
thanx for posting it

your welcome Merlinpa.

3 Nov 2006, 5:49 PM
#27
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Paypal IPN and Payment Problems

The "upper/lower-case" issue was addressed in v1.3.6 core, along with several other improvements.

Additional troubleshooting information here:
http://www.zen-cart.com/wiki/index.php/PayPal#Things_to_check_if_it.27s_not_working

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

6 Nov 2006, 4:22 PM
#28
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

I'm also not getting any Paypal transactions recorded or recognized in Zen. I have used it successfully with another software package only a couple weeks ago, so I'm reasonably sure my firewall settings are good.

I've gone through the troubleshooting settings, I have the IPN and Web Payments URLs entered in my Paypal profile correctly, I turned off Payment Data Transfer. Block Non-Encrypted Website Payment is off. I can't see anything wrong at all. The email address for my store Paypal account is all lower case, and is correct (I do get the Paypal confirmation emails from my tests, I just get nothing from Zen.) My free item tests work properly, and I get the emails from Zen for those transactions, so this is just Paypal IPN that's not working.

When I enter the IPN handler url in my browser, I do get a blank white screen (not that it means a great deal), I don't get PHP errors.

I was hoping to cut my store over today, but this is a MAJOR problem.

Steel Rat

6 Nov 2006, 4:47 PM
#29
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

Have you modified the meta-tags.php and put it in an override directory?

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.

6 Nov 2006, 6:52 PM
#30
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

Kim:

Have you modified the meta-tags.php and put it in an override directory?
Not that I remember. I don't see anything about that in the IPN troubleshooting link.

Which override folder? One for the template I'm using? This is getting more and more confusing, lol.

Steel Rat

6 Nov 2006, 7:00 PM
#31
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

The URL? Do you have a $1 item set up for testing?

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.

6 Nov 2006, 7:09 PM
#33
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

Can you switch to the classic template so I can test a second time?

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.

6 Nov 2006, 7:11 PM
#34
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

Kim:

Can you switch to the classic template so I can test a second time?

I can, but I saw your transaction go through, seemingly correctly. Strange.

I just set it back to the classic, though the sideboxes won't line up due to the column widths.

Thanks for testing!

Steel Rat

6 Nov 2006, 7:17 PM
#35
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

Okay - the first order returned me to your site and did not have an order number or give me a download link on the Checkout Success page. The second order was flawless. This indicates you have template files that are out of date.

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.

6 Nov 2006, 7:21 PM
#36
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

Kim:

Okay - the first order returned me to your site and did not have an order number or give me a download link on the Checkout Success page. The second order was flawless. This indicates you have template files that are out of date.

Hmm, ok. I have no idea which ones or where I would get updated versions. Technically Trublu is updated for 1.3.5, I guess I didn't expect there to be that significant a difference.

Steel Rat

6 Nov 2006, 7:23 PM
#37
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

Is there an includes/templates/tru_blue/templates directory? If so, what files are in it?

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.

6 Nov 2006, 7:29 PM
#38
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

Kim:

Is there an includes/templates/tru_blue/templates directory? If so, what files are in it?

Yes, and quite a few. There are 10 folders and about 40 files (not counting the files in the folders.)

Steel Rat

6 Nov 2006, 7:33 PM
#39
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

After your test transactions, Kim, I suddenly got a bunch of IPN debug emails, including those for my test transactions an hour before, even though the emails were timestamped with the current time, not the time of the transaction.

One source of my problem is that Paypal is calculating tax (for orders in my state), and therefore the amount is different. So I'll have to have Zen Cart calc tax and turn it off in Paypal.

Steel Rat

6 Nov 2006, 8:07 PM
#40
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

So I'll have to have Zen Cart calc tax and turn it off in Paypal.

Aye yup, that will cause problems not having amounts that match.

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.