Forums / Addon Payment Modules / Paypal IPN orders not being relayed to cart or emailed to owner or buyer

Paypal IPN orders not being relayed to cart or emailed to owner or buyer

Locked

Views: 64,165

Results 41 to 60 of 266
This thread is locked. New replies are disabled.
26 May 2006, 12:12 PM
#41
poosk avatar

poosk

Totally Zenned

Join Date:
Mar 2005
Location:
Helsinki
Posts:
477
Plugin Contributions:
0

Paypal IPN orders not being relayed to cart or emailed to owner or buyer

glad to see someone else is struggling with this one aswell.
I've tried everything what is stated in this thread and probably much more and spent about hundred dollars for paypal fees. I'm using 127 and I've tried the earlier version paypal files aswell.
If anyone was able to solve this problem PLEASE post your solution to here. Is there anything else what should be configured in the paypal than return address and ipn_handler.php address?
The checkout success displays the order number as zero and no confirmations is sent from zen. and the orders doesnt display in the admin either...
Could this problem result from using ssl on zen. I tried to use url in paypal options with https and just http and it didnt help either

I tried jeff's solution aswell but it just led to error on the zen checkout

26 May 2006, 1:08 PM
#42
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: Paypal IPN orders not being relayed to cart or emailed to owner or buyer

I tried to use url in paypal options with https and just http and it didnt help either

Perhaps your web hosting service improperly configured your SSL settings over your site. I'd send them a support ticket message in order to resolve this problem. :wink2:

26 May 2006, 1:21 PM
#43
poosk avatar

poosk

Totally Zenned

Join Date:
Mar 2005
Location:
Helsinki
Posts:
477
Plugin Contributions:
0

Re: Paypal IPN orders not being relayed to cart or emailed to owner or buyer

nah i dont think so. i've had same ssl certificates and hosting for over two years and everything has been smooth to this very day.

26 May 2006, 1:23 PM
#44
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: Paypal IPN orders not being relayed to cart or emailed to owner or buyer

Strange. If you check your filters, from your cPanel access, or either your returned URL from your Paypal account, are you sure there both properly configured ?

26 May 2006, 1:57 PM
#45
whocaresanyway avatar

whocaresanyway

Suspended

Join Date:
May 2006
Posts:
66
Plugin Contributions:
0

Re: Paypal IPN orders not being relayed to cart or emailed to owner or buyer

after reading old posts it dosnt matter what you have set in paypal for IPN and return url. it seems zen sends over ride information

also I have seen about 30 instances where the problem was the email address didnt match,

I have determined that the primary email address from paypal must be used in zen cart and that they must be spelled exactly the same ( including capital letters )

26 May 2006, 9:26 PM
#46
paramon avatar

paramon

New Zenner

Join Date:
May 2006
Posts:
6
Plugin Contributions:
0

Re: Paypal IPN orders not being relayed to cart or emailed to owner or buyer

Hi guys,

I have PHP version 5.0.4, MySQL version 4.1.18-standard
under Linux and zen_cart (1.3.0) also I have the same problem as Pauls had and now Kirsten Smit has - ipn_main_handler.php doesn't work properly.

I made the changes:
for ($i=0; $i<sizeof($order->products); $i++) {
$xx .= $order->products[$i]['qty'] . '-' . ($order->products[$i]['name']) . '**';
}

zen_draw_hidden_field('item_name', STORE_NAME) .
to this:
zen_draw_hidden_field('item_name', STORE_NAME . ' ' . $xx) .

but returned string can have only up to 128 characters(means 6-7 product names), all other truncated.

My question is the next, if somebody has working file ipn_main_handler.php could he or she send me this file on my e-mail [email protected]

I hope it will work as in Pauls case

Regards

Eugene

26 May 2006, 10:21 PM
#47
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Paypal IPN orders not being relayed to cart or emailed to owner or buyer

I know you resolved your immediate problem, but you will have other occasional problems because of this setting:

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty

Your site is hosted on a Red Hat Enterprise Linux server, for which the correct setting is:

define('DB_SERVER', '127.0.0.1'); // eg, localhost - should not be empty

Set to 'localhost' it will work much of the time, but occasionally you'll find that your site won't connect.

Vger

Pauls:

I fixed it !!!!!!!

The problem appeared to be related to the ipn_main_handler.php file, I took one that worked from my testing site, and replaced the one on my updated site. I am not sure why it worked, and it may have something to do with CHMOD settings. The ipn file that worked on my other server was CHMOD 644, yet I had been informed somewhere along the way that it should be set to CHMOD 777 or 755 hence my settings. It may have been that the file was not updated fully or correctly since i updated files manually in the first instance. I did previously however copy a brand new version from the v1.3.01 full installation zip but this didn't do any good.

So I have to say a massive thanks to Ajeh, and Merlinpa for their help in helping me try to isolate this problem.

I thought I should post the solution too, so that this post might be of use to others later.

Thanks.

28 May 2006, 11:06 AM
#48
megagumby avatar

megagumby

New Zenner

Join Date:
Oct 2004
Posts:
39
Plugin Contributions:
0

Re: Paypal IPN orders not being relayed to cart or emailed to owner or buyer

my PMS are on that is weird..

I am still having same problem.. so frustrating. What has changed to make this happen would be a start to solving this problem. I have contacted my server provider they said there's nothing that could have changed to affect it. Then I contacted paypal they told me what I posted a few messages ago. Im wondering if I create a whole new cart and test it if I will still have the problem. It's a shame cos I really don't want to take much more time on this..

Kirsten Smit
http://www.kirkyskreations.com/cart

28 May 2006, 1:50 PM
#49
Kim avatar

Kim

Obaa-san

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

Re: Paypal IPN orders not being relayed to cart or emailed to owner or buyer

Are you trying to test and fix PayPal with your site down for maintenance?

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.

28 May 2006, 8:16 PM
#50
tuffy avatar

tuffy

New Zenner

Join Date:
Apr 2006
Posts:
20
Plugin Contributions:
0

Re: Paypal IPN orders not being relayed to cart or emailed to owner or buyer

I am having this issue as well with clean install of ZC...

you guys are saying that the email must be the same throughout zencart and your paypal email setting.

could you please be more specific...what email option in zencart?
the settings under configuration > e_Mail options

or the admin email under tools > admin settings> ??

28 May 2006, 11:42 PM
#51
ajeh avatar

ajeh

Oba-san

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

Re: Paypal IPN orders not being relayed to cart or emailed to owner or buyer

Modules ... Payment ... PayPal ...

Edit ...

It asks for your PayPal email address ...

If your email address is:

mYNameIsfReD@myDOMAin_NaME.com

You must type it exactly like that in the configuration on your Zen Cart PayPal Payment Modules ...

It is case sensative and must also be set as the PRIMARY email address ...

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!

29 May 2006, 12:25 AM
#52
tuffy avatar

tuffy

New Zenner

Join Date:
Apr 2006
Posts:
20
Plugin Contributions:
0

Re: Paypal IPN orders not being relayed to cart or emailed to owner or buyer

Ajeh:

It is case sensative and must also be set as the PRIMARY email address ...

thanks for the quick reply, but can you specify PRIMARY email address? where is that option?....is it paypal option or what?

primary email of the cart?

email where the copys of the invoice are sent?

: [

29 May 2006, 12:34 AM
#53
ajeh avatar

ajeh

Oba-san

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

Re: Paypal IPN orders not being relayed to cart or emailed to owner or buyer

Go to your PayPal account ... which of course is a Business Account ...

Next, check your email addresses for this account ...

What is the one marked PRIMARY?

Copy and Paste this email address MakE_SUrE_yOu_wRiTe_it_CaSEsenSaTive in your Zen Cart settings for the PayPal Payment Modules ...

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!

29 May 2006, 12:37 AM
#54
tuffy avatar

tuffy

New Zenner

Join Date:
Apr 2006
Posts:
20
Plugin Contributions:
0

Re: Paypal IPN orders not being relayed to cart or emailed to owner or buyer

let me confirm also that the payment goes through great, but the cart does not take record of it, and it does not email the buyer or the store.

I have the email options of send copy to in email - options diffrent than the paypal email...is this the issue?

29 May 2006, 1:06 AM
#55
tuffy avatar

tuffy

New Zenner

Join Date:
Apr 2006
Posts:
20
Plugin Contributions:
0

Re: Paypal IPN orders not being relayed to cart or emailed to owner or buyer

Ajeh:

Go to your PayPal account ... which of course is a Business Account ...

Next, check your email addresses for this account ...

What is the one marked PRIMARY?

Copy and Paste this email address MakE_SUrE_yOu_wRiTe_it_CaSEsenSaTive in your Zen Cart settings for the PayPal Payment Modules ...

ok, that is all correct.

i'm lost :\

this is killing me

29 May 2006, 1:11 AM
#56
Kim avatar

Kim

Obaa-san

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

Re: Paypal IPN orders not being relayed to cart or emailed to owner or buyer

in your /docs/ directory are complete instructions for setting up your PayPal module and your PayPal account to work together.

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.

29 May 2006, 2:04 AM
#57
tuffy avatar

tuffy

New Zenner

Join Date:
Apr 2006
Posts:
20
Plugin Contributions:
0

Re: Paypal IPN orders not being relayed to cart or emailed to owner or buyer

Kim:

in your /docs/ directory are complete instructions for setting up your PayPal module and your PayPal account to work together.

i've got it all configured right apparently..the transactions go through, but just like the title of this thread, the orders are not being relayed to hte cart and no one is receving emails...you cant ever tell what people order!

29 May 2006, 2:09 AM
#58
merlinpa1969 avatar

merlinpa1969

Totally Zenned

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

Re: Paypal IPN orders not being relayed to cart or emailed to owner or buyer

tuffy

Open paypal.com
hit the profiles link on the right of th eheader nav bar

Now hit the email link at the top of the left column

You will see email addresses there
1 of them says primary beside it,

make sure that the email address that you see there is the one you are uising in the paypal module of your zen cart store.

Make sure that you have the return URL turned ON ( paypal.com )
make sure that you have the paypal IPN turned on ( paypal.com )

Try and re-upload your ipn_main_handler.php file

make sure that If you are using seo urls that you have added the fix for paypal..

make sure that your ipn_main_handler.php isnt password protected and that you are NOT down for maintenance

Zen cart PCI compliant Hosting

29 May 2006, 2:10 AM
#59
ajeh avatar

ajeh

Oba-san

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

Re: Paypal IPN orders not being relayed to cart or emailed to owner or buyer

If I were to make an order right now on your site utilizing PayPal ...

1 Would you see it at paypal.com

2 Would you get an email from paypal.com

3 Would I, the customer, get an email from your site?

4 Would you, the admin, get an email from your site?

5 Would you see the order at all in the Admin ... Customer ... Orders?

6 Would I, the customer, see on checkout_success, the completed order?

7 Would I, the customer, see the order in my Account History?

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!

29 May 2006, 2:21 AM
#60
tuffy avatar

tuffy

New Zenner

Join Date:
Apr 2006
Posts:
20
Plugin Contributions:
0

Re: Paypal IPN orders not being relayed to cart or emailed to owner or buyer

Ajeh:

If I were to make an order right now on your site utilizing PayPal ...

1 Would you see it at paypal.com --- yes

2 Would you get an email from paypal.com --- yes

3 Would I, the customer, get an email from your site? --- no : [

4 Would you, the admin, get an email from your site? --- no : [

5 Would you see the order at all in the Admin ... Customer ... Orders? --- no : [

6 Would I, the customer, see on checkout_success, the completed order? --- yes

7 Would I, the customer, see the order in my Account History?--- no

with this being said and reviewing this thread, I'm assuming it is something wrong configured wiht the ipn_main_handler file, however I have replaced it with one from the zen-cart-v130-changed files only zip file.

I have tried it with the CHMOD set to 644 and 777.

I have deleted the includes/modules/payment/paypal directory and put the one from the full fileset in it.

I can not check the paypal settings, due to the fact that it is a customer and I dont have their info.