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 21 to 40 of 266
This thread is locked. New replies are disabled.
18 May 2006, 1:32 PM
#21
theoracle avatar

theoracle

Suspended

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

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

Also make sure to have followed the /docs folder's content correctly. It is possible you might of missed a step in the mean time.

As an alternative step, you can always read the FAQs on top of this site. :wink2:

18 May 2006, 9:34 PM
#22
pauls avatar

pauls

Zen Follower

Join Date:
Feb 2006
Location:
UK
Posts:
300
Plugin Contributions:
0

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

Merlinpa1969:

make sure that your email address used in zen cart matches the primary email address used in paypal.com and that they are case equal
red Red and RED are all different in paypals eyes for purpose of IPN.

If this dosnt work try uninstalling and reinstalling paypal through your browser in admin-> modules-> payment

try replacing the ipn file located in your stores root file

Megagumby, you need to try each of the things posted above by merlinpa, and in that order, and TEST after each ... that is

email address must be accurate
UNINSTALL and then RE-INSTALL the paypal module from inside admin of your shop, this is very important as you have just upgraded to 1.3.x
last resort replace the ipn_main_handler file (search the install directory for it if you can't find it) from the original zip/archive.

I noticed something different with your method/problem too, you said your problem is the same as mine, well not quite. I never had a problem returning to the store, you appear to, this sounds like some return URL issue with paypal. This could be the problem, where does the paypal module in the cart tell you to set the IPN URL to?

Does the IPN URL above exactly correlate to the IPN URL you have set in PayPal?

19 May 2006, 3:34 PM
#23
giftbasketree avatar

giftbasketree

New Zenner

Join Date:
Sep 2005
Posts:
11
Plugin Contributions:
0

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

I continue to have this problem and I have no idea how to fix it. I have tried everything suggested in this thread. I have not upgraded.

Also, when I go to the "Customers" drop down and go to "PayPal IPN" I see the following error:

1146 Table 'gbtree-zen.zen_paypal_payment_status_history' doesn't exist

I would appreciate any help that I can get. I feel the frustration of the other users. Not being able to see what the customer has purchased is almost laughable, unless you want to fill the order!!!

Thanks again.

20 May 2006, 1:16 AM
#24
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

OK totally stumped...

Ive reinstalled the paypal payment modules (TWICE)

I have changed that metatag.php file to metatag.php.bak (no difference)

I have gone into my paypal profile and done this -

Instant Payment Notification (IPN) URL: http://www.kirkyskreations.com/cart/ipn_main_handler.php

Website payment preferences - return URL: http://www.kirkyskreations.com/cart/index.php?main_page=checkout_process

I have also contacted paypal..

Here's what they have to say ( funny they sent me back to this exact forum topic)

"Hi Kirsten,

I apologize for any inconvenience. I went to your site and put in a test order. The third party shopping cart that you are using is not passing over what the customer ordered with the payment information, typically called an 'aggregate' order. For instance, the only thing we see about the order is:

Payment For: Kirky's Kreations
Amount: $10.00 USD

Typically with this kind of setup, you should be able to contact your cart support to see if you can get more information and perhaps change the order to an 'itemized' format so that they pass the items the customer ordered over to PayPal. However, if I remember correctly, Zen Cart is an Open Source cart, so there really isn't any support to contact.

I did a search on the Zen Cart forums and found this thread:

http://www.zen-cart.com/forum/showthread.php?t=35436&highlight=paypal

It seems that you can edit your current module to get it to pass over the order information, so you may want to read that thread to see if the fix works for you. If it doesn't, I would suggest searching for (or creating) a module that will pass over the individual item information to our server instead of the aggregate information. "

I was using my zencart fine for over a year, and this happened out of no where..

My cart has been not working for weeks now. Someone made an order yesterday in the time I was trying to fix the problem.. and I didnt even recieve the paypal verification this time... but everytime I test it I do recieve that.. The problem with my situation is because my products are downloadable zip files which they should be able to do straight after oder is made.. so im having to ask customers what they ordered and give them a coupon to make another order and download for free..

Sending out an SOS!

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

20 May 2006, 1:24 AM
#25
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

Pauls:

I noticed something different with your method/problem too, you said your problem is the same as mine, well not quite. I never had a problem returning to the store, you appear to, this sounds like some return URL issue with paypal. This could be the problem, where does the paypal module in the cart tell you to set the IPN URL to?

As for returning to the store it does return to the right place except the order it shows to download is dated in april, it's an old order.

The last known paid order that worked on my site was dated 25th April, since then the orders have stuffed up. My cart was working fine for over a year. And I made no changes to my cart during that time of april/may. Did paypal make changes during this time? I have just upgraded last couple of weeks.
:(

21 May 2006, 2:11 PM
#26
pauls avatar

pauls

Zen Follower

Join Date:
Feb 2006
Location:
UK
Posts:
300
Plugin Contributions:
0

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

Your shop doesn't look like or appear to be ZenCart? It appears to be X-Cart or am I missing something ?

Regardless, I wish I could help you with your problem, but I don't have anything else to offer, sorry.

21 May 2006, 2:58 PM
#27
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

Pauls-

Are you still having a problem? You know that payment modules will not work while a site is 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.

21 May 2006, 9:33 PM
#28
drbyte avatar

drbyte

Sensei

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

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

megagumby,

Your link to
http://www.kirkyskreations.com/cart/ipn_main_handler.php

took me to:
http://scrapbookbytes.com/store/manufacturers.php?manufacturerid=33/ipn_main_handler.php

So, either you have some odd redirects running, or your SEFU contribution is causing you troubles.

.
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.

21 May 2006, 11:45 PM
#29
jeff_fwd avatar

jeff_fwd

Totally Zenned

Join Date:
Jun 2003
Location:
CA
Posts:
212
Plugin Contributions:
0

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

megagumby:

It seems that you can edit your current module to get it to pass over the order information, so you may want to read that thread to see if the fix works for you. If it doesn't, I would suggest searching for (or creating) a module that will pass over the individual item information to our server instead of the aggregate information. "

make the following changes in the paypal.php file:

includes/modules/payment/paypal.php

find the following line:

$telephone = preg_replace('/\D/', '', $order->customer['telephone']);

add the following code immediately following the above line:

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

now change the following line:

                          zen_draw_hidden_field('item_name', STORE_NAME) .

to this:

                          zen_draw_hidden_field('item_name', STORE_NAME . ' ' . $xx) .

this will allow the cart contents (except for any attributes - I never figured out how to pass attributes) to be passed to PayPal so you will see a list of items ordered in yuor PayPal admin account activity listing

22 May 2006, 12:53 AM
#30
justwade avatar

justwade

Zen Follower

Join Date:
Oct 2005
Posts:
206
Plugin Contributions:
0

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

Version 1.27

Before I try some of these suggestions, I would like to relay my own observations for whatever there worth, as I have not read the same somewhere else.
I been building my store for some time and have not gone live yet.
Last fall I set up Paypal IPN, did tests, and with kind help from this forum, got it working perfectly, email notifications and all. I have not changed the sight much since, other than things like Imagehandler, or usps shipping, and the upgrades from 1.26. Now I am testing everything again, want to go live soon.

I am noticeing when I use Zen cart with Explorer that paypal gives a choice of CC or sign on to Paypal. (I may have not tried this last year, as I prefer Firefox) I tried the CC side to see what happens, Paypal goes though the transaction, gives me the option "Return To Merchant", and test show it will return to Zen Checkout success page. but the admin does not get order. cart is still full, emails are only from paypal.

Firefox on a PC or a Mac will go to Paypal, "But there is no CC or Paypal choice". You get Paypal and sign in, go thru normal transaction and it auto returns to Zen like it should, cart is empty. But, then I "still do not get admin order", and only email from paypal.

Check or money order works fine.

I am still testing, but I wondered if Explorer always did offer a CC choice that other browsers did not, or ??. I am just trying to catch up.

Being I don't think I changed anything, (my /ipn_main_handler.php is chmod 644, the Primary email is exact) is it possible that Paypal IPN has made a change recently on their end?
Forgive me if this has been gone over somewhere, but I don't see it for the pixels.

Justwade
Zen 1.5.5f
Zen 1.3.9h*, Zen 1.27 + (did that, done with that)*

22 May 2006, 1:01 AM
#31
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

For giggles ... jot down each setting before doing the remove and install ...

Go to Modules ... Payment ...

Remove, Install, Configure each Payment Module you have installed ...

WARNING: write down existing settings first ...

CAUTION: if you are not using it ... remove it and do not reinstall it ...

Go to Modules ... Shipping ...

Remove, Install, Configure each Shipping Module you have installed ...

WARNING: write down existing settings first ...

CAUTION: if you are not using it ... remove it and do not reinstall it ...

Go to Modules ... Order Totals ...

Remove, Install, Configure each Order Total Module you have installed ...

WARNING: write down existing settings first ...

CAUTION: if you are not using it ... remove it and do not reinstall it ...

Note: check the PayPal recommended settings for the PayPal site ... and confirm that you have them set correctly ...

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!

22 May 2006, 1:12 AM
#32
justwade avatar

justwade

Zen Follower

Join Date:
Oct 2005
Posts:
206
Plugin Contributions:
0

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

Wow Ajeh, that was fast, was that reply to me?

Your suggestions sound like my next step. I will let you know the outcome.

Wade

Justwade
Zen 1.5.5f
Zen 1.3.9h*, Zen 1.27 + (did that, done with that)*

22 May 2006, 1:35 AM
#33
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

Yes Wade ... that one's for you ... let us know the results ... :smile:

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!

22 May 2006, 2:37 AM
#34
justwade avatar

justwade

Zen Follower

Join Date:
Oct 2005
Posts:
206
Plugin Contributions:
0

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

Well, I started by removing all module not used, even though they were set to false. Tried after that first, no luck.

Then it just hit me, and what is so frustrating is I have been down this road before.

I turned off password protection to my catalog. Jees.... the CC choice at Paypal worked perfect. Got all the emails, admin is showing order. Older I get the slower I learn.

Now I sorta remember from months ago reading that you should edit text to advice on making sure the customer "returns to merchant" when using a CC. I will test some more and not return to site to see what happens.

Thanks for your help, I needed the boost.

Wade

P.S. Does Paypal only show CC's or Paypal choice with Explorer on a PC?

Justwade
Zen 1.5.5f
Zen 1.3.9h*, Zen 1.27 + (did that, done with that)*

22 May 2006, 2:39 AM
#35
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

PayPal does not show anything on the Zen Cart checkout_ pages other than a selection via Radio Button ...

All of the processing for Credit Card is done on PayPal Site ...

The Credit Card info you see in checkout_ is NOT PayPal but one of the Credit Card Payment Modules that you have installed ...

NOTE: I would still complete the save/remove/install on everything ...

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!

22 May 2006, 4:10 AM
#36
justwade avatar

justwade

Zen Follower

Join Date:
Oct 2005
Posts:
206
Plugin Contributions:
0

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

Just in case I have miscommunicated,

What I found in my earlier tests was after I confirmed a normal order on Zen cart, that is choosing to pay with paypal (no "credit card" choice shows because that module was installed in the past, then it was turned to false, and today after your suggestion removed) Then after the confirm you leave Zen and are "diffently" sent to Paypals website.

I do not have paypal pro.

When and only when I used Explorer as a browser the "Paypal website comes up with a window, "Checkout" left side says "Don't have a Paypal Account?", right side "Have a Paypal Account?". I used the don't have side, and the succesful transaction leaves you with a button to return to merchant at the end.

But Firefox or FF on a Mac does "not" give this choice, that is only a Paypal log in, payment choices then can be used, and is automatic to the end with auto return to zen. I havent tried more tests again yet, sorta got burned out. But I see your logic, sets up a good foundation. Some remnent of code allowing wrong page to show? I will push further.

Wade

Justwade
Zen 1.5.5f
Zen 1.3.9h*, Zen 1.27 + (did that, done with that)*

22 May 2006, 9:21 PM
#37
giftbasketree avatar

giftbasketree

New Zenner

Join Date:
Sep 2005
Posts:
11
Plugin Contributions:
0

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

I have tried all the suggestions. With the help of Jeff I am able to see the name of the product. So, that's a good start, but not really the solution I'd like. I'm really new at this so I'm not sure what information I can give that would help you guys understand my problem. It's pretty much been identified by the other users. The one thing that does confuse me is some of the users are pointing to the ipn_main_handler file for the PayPal IPN notification. Mine says to use:

http://www.giftbasketree.com/index.php?main_page=checkout_process

So, is this part of my problem? I changed it to the ipn_main_handler.php too and tested it to no avail.

I'm so clueless. I get the email from PayPal saying the money is there, but like with others, no order and no email confirmations. I also had my email set up to send my cell phone a text message. That isn't happening either.

Thanks for all of those trying to help all of us who can't figure this out! We appreciate it.

23 May 2006, 9:44 AM
#38
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

Pauls:

Your shop doesn't look like or appear to be ZenCart? It appears to be X-Cart or am I missing something ?

Regardless, I wish I could help you with your problem, but I don't have anything else to offer, sorry.

I had my store redirected to another store I sell products at because I have not had sales for almost a month now...

23 May 2006, 9:49 AM
#39
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

jeff:

make the following changes in the paypal.php file:

includes/modules/payment/paypal.php

find the following line:

$telephone = preg_replace('/\D/', '', $order->customer['telephone']);

add the following code immediately following the above line:

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

now change the following line:

                          zen_draw_hidden_field('item_name', STORE_NAME) .

to this:

                          zen_draw_hidden_field('item_name', STORE_NAME . ' ' . $xx) .

this will allow the cart contents (except for any attributes - I never figured out how to pass attributes) to be passed to PayPal so you will see a list of items ordered in yuor PayPal admin account activity listing

Thanks... but ahm this is well and good .. but will the customer be shown their order after purchase? , my customers need to return to store so that they can download their product. In a way it is more important for them to be able to see what they ordered so they can get their product that they just paid for. I am not sending them their product they have to download their virtual products immediately after purchase or be able to return to store within 10 days or so to go back to their order and download it when they like...

:(

23 May 2006, 12:12 PM
#40
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

mega turn your PMs on.

in user cp
edit options