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 141 to 160 of 266
This thread is locked. New replies are disabled.
13 Aug 2006, 1:57 AM
#141
drbyte avatar

drbyte

Sensei

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

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

slobadog:

on the same server with the same problem as well...
This would suggest some sort of block on the paypal server IP addresses and/or a misconfiguration of your settings on your paypal account.

http://www.zen-cart.com/wiki/index.php/Admin_-_Modules_-_Payment#How_Do_I_Set_Up_The_PayPal.E2.84.A2_Payment_Module.3F

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

13 Aug 2006, 11:22 AM
#142
slobadog avatar

slobadog

New Zenner

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

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

I don't believe paypal is being blocked as one of the zencarts (1.2.7) on the same server works just fine. Interestingly, if I set the working one to point to the new paypal account, it works. If I point the new zencart (1.3.0.2) to the old paypal account, it does not work. Therefore through my amazing powers of deduction I have come to the conclusion that the new version of zencart somehow does not work for me.

The other version mentioned above that does not work has its own paypal account. It has been upgraded to 1.3.0.1 but paypal has never worked for that one. I figure if I can get the 1.3.0.2 working this one will follow...

I have done a vanilla install of 1.3.0.2, it does not work. I have added the "other currency patch", it does not work. I have checked the settings at paypal (remember this paypal account does work with the 1.2.7 version) it does not work.

My brain really hurts, any ideas? Anyone?

13 Aug 2006, 6:13 PM
#143
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

slobadog:

Interestingly, if I set the working one to point to the new paypal account, it works. If I point the new zencart (1.3.0.2) to the old paypal account, it does not work.
You are talking about two paypal accounts here, and you say that the "old paypal account ... does not work", but that "the new paypal account ...works"

So, what are the following pieces of information, for EACH paypal account. Please don't type them ... copy and paste them instead.

  • email address entered in Zen Cart Paypal module
  • primary email address from paypal profile on paypal.com
  • Instant Payment Notification Preference URL from paypal.com

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

13 Aug 2006, 6:39 PM
#144
harlyman avatar

harlyman

Zen Follower

Join Date:
Jan 2004
Posts:
100
Plugin Contributions:
1

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

i have the same problem, have 2 sites, one for testing and one for production and have the same problem on both of them, and i know there can't be a firewall problem with blocked ip adresses, so there has to be something else...... paypal has worked on both this sites before

13 Aug 2006, 7:19 PM
#145
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

If you're using v1.3.0.2 and the patch I posted elsewhere, then do this:

  1. Use your FTP program to enable read/write permissions (ie: CHMOD 777) on this folder:
    includes/modules/payment/paypal/logs
  2. Admin->Modules->Payment->PayPal ... edit ... at the bottom, choose Debug mode: Log
  3. Test a paypal transaction.
  4. use your FTP program to access the most recent file in includes/modules/payment/paypal/logs/*******.txt

Paste the contents of that file here.

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

13 Aug 2006, 8:36 PM
#146
harlyman avatar

harlyman

Zen Follower

Join Date:
Jan 2004
Posts:
100
Plugin Contributions:
1

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

DrByte:

If you're using v1.3.0.2 and the patch I posted elsewhere, then do this:

  1. Use your FTP program to enable read/write permissions (ie: CHMOD 777) on this folder:
    includes/modules/payment/paypal/logs
  2. Admin->Modules->Payment->PayPal ... edit ... at the bottom, choose Debug mode: Log
  3. Test a paypal transaction.
  4. use your FTP program to access the most recent file in includes/modules/payment/paypal/logs/*******.txt

Paste the contents of that file here.

i don't use the patch, but will look it up and try, if i can find it:)

13 Aug 2006, 8:55 PM
#147
harlyman avatar

harlyman

Zen Follower

Join Date:
Jan 2004
Posts:
100
Plugin Contributions:
1

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

installed your pach and now it works great:) forgot to enable debug but guess thats not importent now:)

13 Aug 2006, 9:11 PM
#148
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

harlyman:

forgot to enable debug but guess thats not importent now:)
Correct - do not leave debug on for normal use. And do not leave the folder read/write unless debug is on and needed, or you leave yourself open to risks.

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

14 Aug 2006, 9:27 AM
#149
slobadog avatar

slobadog

New Zenner

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

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

Dr Byte, sorry for the delay, a power pole fell down so had no power... Pasted as requested but @ replaced with at. When I say that a transaction works, I mean the amount of the product is sent to paypal and an order number and order are generated by zencart.

Account one - working
email address entered in Zen Cart Paypal module: shop at veganpet.com.au
primary email address from paypal profile on paypal.com: shop at veganpet.com.au
Instant Payment Notification Preference URL from paypal.com: off

Account two - not working
email address entered in Zen Cart Paypal module: shop at bladeslapper.com
primary email address from paypal profile on paypal.com: shop at bladeslapper.com
Instant Payment Notification Preference URL from paypal.com: http://www.bladeslapper.com/content/vanilla/ipn_main_handler.php

I tried turning IPN off on account two but no go. I'm not sure I explained myself properly before. I set the email address in account one to that of account two, paypal worked. Then I set the email address in account two to that in account one, paypal did not work.

I CHMOD'd the log directory in account two to 777 and set debug mode to log but no text file is generated.

14 Aug 2006, 10:12 AM
#150
slobadog avatar

slobadog

New Zenner

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

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

Well here's a thing. I tried on a whim setting to USD and presto, it works. I re-installed the beta patch mentioned above, USD still works but AUD does not.
I also tried on my modified site (not the vanilla one) and USD works there too.

Getting closer...

14 Aug 2006, 10:40 AM
#151
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

This may or may not be obvious.... Do you have your paypal settings in Zen Cart configured to use "Selected Currency" or "USD"-only ?

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

14 Aug 2006, 10:40 AM
#152
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

Also, my bad ... the log files are ipn_xxxxxxx.log ... not .txt

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

14 Aug 2006, 11:11 AM
#153
slobadog avatar

slobadog

New Zenner

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

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

I'm a dickhead. In my haste I neglected to set AUD in Localization > Currencies.

All good now, sorry to waste your time. Hope someone else benefits from my last few days...

11 Jan 2007, 9:52 PM
#154
tmainc avatar

tmainc

New Zenner

Join Date:
Feb 2006
Posts:
14
Plugin Contributions:
0

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

I've been reading through all of these posts for many hours now and, having done everything recommended and checked everything recommended, PP is still not sending me emails of purchases and the sales are not showing up in Admin. PayPal itself (business account) is showing that the transactions are going through and is sending me email payment notifications, but the IPN Return is not working. Both email addresses are identical (PP admin and ZC admin). I have uninstalled and reinstalled the payment modules and shipping modules. My client is losing track of the orders because he can't fill what he doesn't know about!

This is a brand new install (not an upgrade), ver. 1.3.6, using only PayPal and Check/Money Order for payment options and Per Item & UPS as the only shipping options. I have installed four other ZC stores for other clients and they all work perfectly, especially the older versions. They are all hosted by the same company, so there are no ISP issues.

I've read the thread on the seo.url.php patch, but since I have not installed that add-on module, I don't have a file by that name (at least I don't think I do). I can't find where to modify this: "The solution: In the class file seo.url.php we just have to add a check for ipn_main_handler.php."

Will someone PLEASE help?! The store is located at http://www.bobfitts.com/store/index.php

Thanks,
Gary Stripling, President
The Management Agency, Inc. (TMAInc)

12 Jan 2007, 1:51 AM
#155
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

Gary-

Please don't double post. See the answer in the separate thread.

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.

12 Jan 2007, 8:33 AM
#156
lextechs avatar

lextechs

Zen Follower

Join Date:
Mar 2005
Location:
Tempe, AZ
Posts:
316
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

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?

I am having the same problem since i upgraded from 1.3.6 to 1.3.7 i get the notice from paypal but the orders are not recorded in zencart and not invoices are sent to the customer or admin., This does not seem to be a local issue there seem to be many variables to this problem. Can we just use the old paypal mod from version 1.3.6 with version 1.3.7? since we know that 1.3.6 worked?

  1. yes i would

  2. yes i would

  3. no you would not

  4. no i would not

  5. no

  6. no it just took me to a page where pay pal is asking me to join

  7. no

Lextechs.com Powered By ZenCart

12 Jan 2007, 4:11 PM
#157
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

Did you try going to the Payment Modules and writting down your settings and uninstalling and reinstalling it and then configure it?

No, the old v1.3.6 is very different from v1.3.7 you need to be sure that you updated all of the files in with the new files in v1.3.7 ...

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!

12 Jan 2007, 5:13 PM
#158
lextechs avatar

lextechs

Zen Follower

Join Date:
Mar 2005
Location:
Tempe, AZ
Posts:
316
Plugin Contributions:
0

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

Ajeh:

Did you try going to the Payment Modules and writting down your settings and uninstalling and reinstalling it and then configure it?

No, the old v1.3.6 is very different from v1.3.7 you need to be sure that you updated all of the files in with the new files in v1.3.7 ...

Yes it did, this was working before i upgraded to version 1.3.7. i turned on the debug mod and here is what the e-mail sent me for a refund transaction,

It was send in 3 seperate e-mails so i am not sure if the order it correct but here is the debug message i got.

IPN NOTICE::ipn_application_top -> language files okay

IPN INFO - POST VARS
mc_gross=11.88
&address_status=confirmed
&payer_id=76VMG22AJJRGS
&tax=0.00
&address_street=425+e+embassy+dr
&payment_date=23%3A30%3A28+Jan+11%2C+2007+PST
&payment_status=Refunded
&charset=windows-1252
&address_zip=85243
&first_name=Adam
&mc_fee=0.64
&address_country_code=US
&address_name=Adam+Joseph
&notify_version=2.1
&custom=zenid%3D37a9af29c1e66cd8d59b342532ebaf81
&payer_status=unverified
&business=E-mail%40xxxx.xxx
&address_country=United+States
&address_city=queen+creek
&quantity=1
&verify_sign=ALBe4QrXe2sJhpq1rIN8JxSbK4RZAVGKEIK8vCBzhsdiFddmDqagH6JW
&payer_email=email%40something.something
&contact_phone=xxx-xxx-xxxx
&txn_id=53H70248A4893230K
&payment_type=instant
&last_name=Joseph
&address_state=AZ
&receiver_email=xxxx%40xxxxx.xxx
&payment_fee=0.64
&receiver_id=EH7728J4PM7DE
&txn_type=web_accept
&item_name=Lextechs+com+Purchase
&mc_currency=USD
&item_number=1
&residence_country=US
&receipt_id=1254-7366-4255-2574
&payment_gross=11.88
&shipping=0.00
&cmd=_notify-validate
IPN INFO - CURL INFO
HTTP/1.1 200 OK
,Date: Fri, 12 Jan 2007 09:04:59 GMT
,Server: Apache/1.3.33 (Unix) mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a
mod_ssl/2.8.22 OpenSSL/0.9.7e
,Set-Cookie: cookie_check=yes; expires=Mon, 09-Jan-2017 09:04:59 GMT;
path=/; domain=.paypal.com
,Set-Cookie: Apache=66.225.253.151.132901168592699661; path=/; expires=Sun,
04-Jan-37 09:04:59 GMT
,Connection: close
,Transfer-Encoding: chunked
,Content-Type: text/html; charset=UTF-8
,
,8
,VERIFIED
,0
,

Lextechs.com Powered By ZenCart

12 Jan 2007, 5:20 PM
#159
jeff_mash avatar

jeff_mash

Totally Zenned

Join Date:
Aug 2004
Posts:
732
Plugin Contributions:
0

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

Same problem is happening to my store, but it's not consistent. For example, I just noticed two paypal orders in a row were deposited into my paypal account but not relaying back to my ZenCart CP, so I have no idea what they bought. However, the paypal order after those DID work.

I am using the latest and greatest version of ZenCart, and I am stuck. I have also uninstalled and reinstalled the module many times as well.

  • Jeff
12 Jan 2007, 5:46 PM
#160
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 the Tools ... Install SQL Patches ... and run these:

ALTER TABLE paypal CHANGE txn_type txn_type varchar(32) NOT NULL default '';
ALTER TABLE paypal CHANGE payment_type payment_type varchar(40) NOT NULL default '';
ALTER TABLE paypal_testing CHANGE txn_type txn_type varchar(32) NOT NULL default '';
ALTER TABLE paypal_testing CHANGE payment_type payment_type varchar(40) NOT NULL default '';

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!