Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / I lost some PayPal orders - how do I find the details?

I lost some PayPal orders - how do I find the details?

Locked

Views: 2,538

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
7 Jun 2007, 4:48 AM
#1
cheezylu avatar

cheezylu

New Zenner

Join Date:
Feb 2007
Location:
Chicago, IL
Posts:
56
Plugin Contributions:
0

I lost some PayPal orders - how do I find the details?

DrByte:

Yes .. in fact, the details are stored. Encrypted. Safely. Waiting for PayPal to successfully talk back to your store and let you know that the order is SAFE to release to your customer.

Dr. Byte... so, how do you go about getting the information for these orders that have already been placed? I believe I have this all set up correctly now, but I need to get info on an order that was placed prior to my changes (that I received payment for but didn't not show up in my order history).

- Steph -
Fetch Designs: Standards Compliant Web Design

** Pink Puppy Designs**
* "Collars dogs REALLY want to wear!"*
www.PinkPuppyDesigns.com

7 Jun 2007, 5:09 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: I lost some PayPal orders - how do I find the details?

Steph,
There's a contribution floating around called PayPal Session Viewer which allows you to snoop at the raw details of those stored orders. Remember though that the data you'll see when using it includes all orders, even the ones that were aborted and never paid for !

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

7 Jun 2007, 5:55 AM
#3
cheezylu avatar

cheezylu

New Zenner

Join Date:
Feb 2007
Location:
Chicago, IL
Posts:
56
Plugin Contributions:
0

Re: I lost some PayPal orders - how do I find the details?

Thank you so much for the quick response. I installed the Session Viewer found here...

http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_41&products_id=84

However I receive the following error when trying to view the report...

Displaying 6 records...
PAYPAL SESSION INFO for record #3, which expires on 1175597192
Session_ID=2e145eb3844d0c196645e878369359c7
customers_host_address => c-71-201-104-215.hsd1.il.comcast.net
cartID => 27775

Catchable fatal error: Object of class shoppingCart could not be converted to string in /hermes/web05/b141/pow.cheezylu/htdocs/pinkpuppy/htdocs/store/admin/view_stuck_paypal_orders.php on line 71

I am running Zen 1.3.7 with the Google Checkout Module installed.

Line 71 of the above mentioned file is...

    echo "<strong>$key</strong> => <em>$value</em><br />";

Any ideas?

- Steph -
Fetch Designs: Standards Compliant Web Design

** Pink Puppy Designs**
* "Collars dogs REALLY want to wear!"*
www.PinkPuppyDesigns.com

7 Jun 2007, 7:34 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: I lost some PayPal orders - how do I find the details?

At the top of /admin/view_stuck_paypal_orders.php, you have a line that says:```
require('includes/application_top.php');

Immediately AFTER that line, add this new line:```
error_reporting(0);
```This will suppress the warnings that PHP 5.2.0 no longer handles well. 
It should still show the data fine.

Or try the suggestion here: <http://www.zen-cart.com/forum/showpost.php?p=384852&postcount=1>

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

7 Jun 2007, 6:47 PM
#5
cheezylu avatar

cheezylu

New Zenner

Join Date:
Feb 2007
Location:
Chicago, IL
Posts:
56
Plugin Contributions:
0

Re: I lost some PayPal orders - how do I find the details?

That took care of the error message, but I don't get any more information other than the five lines it displayed prior to the error message.

Also, it seems to log me out every time I visit that page. If I try to navigate to another page in admin or even just refresh I have to log back in. Any thoughts?

Is there a way to find this information in the database? If so, which table should I look in? I poked around and didn't find anything useful, but I'm sure I'm just not looking in the right place.

By the way... thank you so much for taking the time to help. I really appreciate it.

- Steph -
Fetch Designs: Standards Compliant Web Design

** Pink Puppy Designs**
* "Collars dogs REALLY want to wear!"*
www.PinkPuppyDesigns.com

7 Jun 2007, 7:21 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: I lost some PayPal orders - how do I find the details?

If you want to try your hand at it, the data is encrypted in the "paypal_sessions" table.
The PayPal Sessions Viewer simply extracts the data, decrypts it, and displays it in a readable format.

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

7 Jun 2007, 7:37 PM
#7
cheezylu avatar

cheezylu

New Zenner

Join Date:
Feb 2007
Location:
Chicago, IL
Posts:
56
Plugin Contributions:
0

Re: I lost some PayPal orders - how do I find the details?

Hmmm... well, I suppose I don't know how to go about that. Any idea why it only display a few lines even though it says it has six records?

Displaying 6 records...
PAYPAL SESSION INFO for record #3, which expires on 1175597192
Session_ID=2e145eb3844d0c196645e878369359c7
customers_host_address => c-71-201-104-215.hsd1.il.comcast.net
cartID => 27775

- Steph -
Fetch Designs: Standards Compliant Web Design

** Pink Puppy Designs**
* "Collars dogs REALLY want to wear!"*
www.PinkPuppyDesigns.com

8 Jun 2007, 3:51 AM
#8
cheezylu avatar

cheezylu

New Zenner

Join Date:
Feb 2007
Location:
Chicago, IL
Posts:
56
Plugin Contributions:
0

Re: I lost some PayPal orders - how do I find the details?

I tried reinstalling the session viewer and I get the same result. This is so frustrating. I'm tired of sounding like an idiot to my customers by asking them to tell me what they ordered. Now, I believe I have fixed the PayPal communication error, but it would be nice to have the session viewer as a backup just in case. I had a similar problem with OSCommerce which is why I switched. It has to be something I'm doing wrong, but I went over everything so many times I can't see where the problem might be. If anyone has any advice, it would be most welcomed.

If you need any further information from me, please let me know. Thanks!

- Steph -
Fetch Designs: Standards Compliant Web Design

** Pink Puppy Designs**
* "Collars dogs REALLY want to wear!"*
www.PinkPuppyDesigns.com

14 Jun 2007, 9:21 AM
#9
beast666 avatar

beast666

New Zenner

Join Date:
May 2007
Posts:
20
Plugin Contributions:
0

Re: I lost some PayPal orders - how do I find the details?

I'm having similar problems. The fix listed above got rid of the error message, but when I try to use the session viewer it seems to give up when it gets to cartID of the first record:

Displaying 2 records...
PAYPAL SESSION INFO for record #2, which expires on 1181494596
Session_ID=cf96f0976ab0069d77632419240f86de
customers_host_address => host86-145-157-197.range86-145.btcentralplus.com
cartID =>

And yes, it is very annoying that it logs me out at this point. Please help us someone!!!:onfire:

Do what thou wilt shall be the whole of the Law.
www.occultsupplies.co.uk
Love is the law, love under Will.

15 Jun 2007, 5:00 AM
#10
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: I lost some PayPal orders - how do I find the details?

Did you direct paypal back to the correct page in your store once payment has been made? Check in your PayPal profile.

21 Jun 2007, 7:54 AM
#11
beast666 avatar

beast666

New Zenner

Join Date:
May 2007
Posts:
20
Plugin Contributions:
0

Re: I lost some PayPal orders - how do I find the details?

Yep, I think that's ok - it goes back to the main handler.

The stuck order viewer just won't work on mine - I'm still getting the irritating problem outlined above. Does anyone know how to fix it? Failing that, how do I extract the order data manually?

Do what thou wilt shall be the whole of the Law.
www.occultsupplies.co.uk
Love is the law, love under Will.

21 Jun 2007, 11:39 AM
#12
cheezylu avatar

cheezylu

New Zenner

Join Date:
Feb 2007
Location:
Chicago, IL
Posts:
56
Plugin Contributions:
0

Re: I lost some PayPal orders - how do I find the details?

I never got the viewer to work properly. I did end up fixing the paypal problem, but for those orders placed prior to the fix I had to look like an idiot to my customers and ask what they ordered. VERY frustrating. If anyone knows the solution, I would be very interested.

- Steph -
Fetch Designs: Standards Compliant Web Design

** Pink Puppy Designs**
* "Collars dogs REALLY want to wear!"*
www.PinkPuppyDesigns.com

21 Jun 2007, 9:30 PM
#13
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: I lost some PayPal orders - how do I find the details?

Disable the IPN and just use express checkout. It will display to you all of the items that the customer ordered.

24 Jun 2007, 10:38 AM
#14
kbalona avatar

kbalona

Zen Follower

Join Date:
Oct 2006
Posts:
213
Plugin Contributions:
0

Re: I lost some PayPal orders - how do I find the details?

The same thing happened to me, luckily I had User Tracking mod installed and I could see what the user had added to cart and checked out.

31 Oct 2007, 6:18 PM
#15
fiji avatar

fiji

New Zenner

Join Date:
Oct 2007
Posts:
42
Plugin Contributions:
0

Re: I lost some PayPal orders - how do I find the details?

I just use the Session Viewer to find out these missing orders.
But this is a temporary method.

Does someone know:

  1. why this problem suddenly happen, before 31th Oct. was working fine.
  2. will this problem lasting for a long time or just a few day? Is paypal doing some change these days?

thank you, DrByte, for the Session Viewer .

Regards