Zen Cart Logo
Forums / PayPal Express Checkout support / Paypal IPN Not Showing Orders in Store

Paypal IPN Not Showing Orders in Store

Locked

Views: 5,002

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
17 Mar 2009, 1:04 AM
#1
secarrol avatar

secarrol

New Zenner

Join Date:
Mar 2009
Posts:
5
Plugin Contributions:
0

Paypal IPN Not Showing Orders in Store

Hi everyone,

I'm looking for a little bit of assistance. I have Zencart configured with the Paypal IPN module. I've followed the Paypal tutorial on the wiki to a T and it does not seem to work correctly. I am using Zencart v1.3.8. I have created a test product for 1 cent. When I checkout with it the amount gets posted to Paypal properly and I can pay for it with no issues. I get transferred back to the confirmation page in Zencart. There is no order number displayed, nor if I check the Admin area is there any sign of the order. I've searched the forums and read multiple FAQs, but nothing seems to directly related to my issue. Any help would be greatly appreciated!

Thanks...

Sean

17 Mar 2009, 1:09 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Paypal IPN Not Showing Orders in Store

Turn on debugging in admin > modules > payment > your PP module > and log and email results to you. Post back with information as to what is/is not being logged.

17 Mar 2009, 2:03 AM
#3
secarrol avatar

secarrol

New Zenner

Join Date:
Mar 2009
Posts:
5
Plugin Contributions:
0

Re: Paypal IPN Not Showing Orders in Store

Hey Kobra,

I've turned on debugging, but log files are not being generated. Which is kind of odd. Everything seems to work fine except for the order information being transferred into Zencart and an order confirmation being.

17 Mar 2009, 4:16 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Paypal IPN Not Showing Orders in Store

I've turned on debugging, but log files are not being generated.
No email either???
Where are you looking for these?

Try /public_html/includes/modules/payment/paypal/logs

27 Mar 2009, 12:19 PM
#5
kiwi1066 avatar

kiwi1066

New Zenner

Join Date:
Jan 2009
Posts:
28
Plugin Contributions:
0

Re: Paypal IPN Not Showing Orders in Store

Hi Kobra, I am having the same problem. Below is a copy of 5 debug emails

IPN DEBUG message (1238155379_uMkw) #1
IPN PROCESSING INITIATED.
*** Originating IP: 210.1.223.165 210.1.223.165
*** Browser/User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;
.NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)

IPN DEBUG message (1238155379_uMkw) #2
IPN FATAL ERROR :: No POST data available -- Most likely initiated by
browser and not PayPal.

IPN DEBUG message (1238155379_uMkw) #3
IPN FATAL ERROR :: Could not find stored session in DB, cannot re-create
session as PayPal IPN transaction.

IPN DEBUG message (1238155379_uMkw) #4
IPN FATAL ERROR :: No saved IPN session data available. Must be an Express
Checkout or Direct Pay transaction.

IPN DEBUG message (1238155379_uMkw) #5
IPN INFO - POST VARS received (sorted):
Array
(
)

:huh: :dontgetit

Any thought or advise on what be wrong would be much appreciated :smile:

28 Mar 2009, 10:09 AM
#6
kiwi1066 avatar

kiwi1066

New Zenner

Join Date:
Jan 2009
Posts:
28
Plugin Contributions:
0

Re: Paypal IPN Not Showing Orders in Store

Just adding a bit more to the above post.

I am using ZC 1.3.8a
Only mod Blank sidebox
Paypal setup installed IPN and Express Checkout
Selling only downloadable zipped files

Have gone through all the doco I can find on how to setup Paypal Express.
Have run the IPNCheck and that returned all ok
Have run the ipn_main_handler.php file from the browser and got a result "nothing to process Return to homepage".
Have removed Paypal and reinstalled it
Created new Paypal API Details and resetup ZC with these details

Reading the doc it shouldn't be this hard but at the moment when I use the Paypal Express Button at Step 2 of 3 in the Checkout process. I get to either enter Credit card details in Paypal or log into to pay for the purchase. Then Paypal lets me confirm the Credit card details, I click "continue" and I am returned to Step 3 of 3 in the ZC checkout process.

Nothing in Admin >> Customer >> Orders,
No emails

I don't know what to do next :frusty:

Some questions I have.

  1. What is the required details that gets passed from ZC to Paypal? I haved modified the ZC Customer Account creation form to just be a fe basic details, could this impact the Paypal process?

  2. Once a payment and order is successful what page should I see?:wink:

Any help or suggestions will be appreciated.

28 Mar 2009, 11:37 AM
#7
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Paypal IPN Not Showing Orders in Store

We are currently having paypal IPN problems too and DrByte kindly pointed out earlier today that paypal itself is experiencing "issues", so it's likely the problem is on their side.

30 Mar 2009, 1:22 AM
#8
kiwi1066 avatar

kiwi1066

New Zenner

Join Date:
Jan 2009
Posts:
28
Plugin Contributions:
0

Re: Paypal IPN Not Showing Orders in Store

Schoolboy - thanks for the tip.

Is there any way I can find out what the issues are and if they could impact my setup.?

In the meantime I am still looking for other possible causes. So I have removed all the products and Payment modules and started again.

Looking through some more threads came across on that discussed testing the order process using echeck to see if the process worked.

I setup a product and set echeck to default to processing. This all worked well, order processed and I was able to download the product.

Setup Paypal modules again with debug log and email options on.
Paypal process failed again. Went through the email messages and did see this in one of the emails...

[total] => 0.1
[weight] => 0
[cartID] => 37794
[content_type] => virtual
[free_shipping_item] => 2
[free_shipping_weight] => 0
[free_shipping_price] => 0.2
[observers] => Array

Still trying to understnd all that goes behind the scenes, so my question is

Looking at that info, it seems to indicate that the "free_shipping_price" has a value, yet all the way through setting up of the product, it has been set to free shipping, and I know that shipping data can affect how Paypal works. Am I misunderstanding and just grabing at straws to try and find an answer to way Paypal is not working for me?

23 Sep 2009, 12:19 PM
#9
fabiomasetti avatar

fabiomasetti

New Zenner

Join Date:
Apr 2009
Posts:
2
Plugin Contributions:
0

Re: Paypal IPN Not Showing Orders in Store

I have the same problem to. I followed all the forum on the net I gusss. I made an ipncheck test and communications seems to be ok. but my zencart 1.3.8 does not register some orders.

25 Sep 2009, 10:35 PM
#10
stagebrace avatar

stagebrace

Totally Zenned

Join Date:
Jan 2005
Location:
Tennessee
Posts:
985
Plugin Contributions:
0

Re: Paypal IPN Not Showing Orders in Store

I also receive a PayPal Express payment with no order loged in Zen Cart. The serve log shows a line without a checkout sucess.

[25/Sep/2009:14:23:25 -0500]- 198.147.225.146 -  "GET /usa/index.php?main_page=checkout_process HTTP/1.1" 200 803 "https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=QBQb0prw_BOSd2Vm10rwGXssRa4elltpYRGn6wdZ63QBHLkzzfFo9nTorMC&dispatch=50a222a57771920b6a3d7b606239e4d529b525e0b7e69bf0224adecfb0124e9bed5d628c85727479b1b92b132a6281aab8c2c6f2ee34f0a1" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729)"

no checkout success line

[25/Sep/2009:14:23:37 -0500]- 66.211.170.66 -  "POST /usa/ipn_main_handler.php HTTP/1.0" 200 - "-" "-"
26 Sep 2009, 1:59 AM
#11
stagebrace avatar

stagebrace

Totally Zenned

Join Date:
Jan 2005
Location:
Tennessee
Posts:
985
Plugin Contributions:
0

Re: Paypal IPN Not Showing Orders in Store

Found another customer pay, but no order in Zen Cart. I hope someone can translate the data below. What does it mean? Where do I go with this, PayPal, my server company, Zen Cart?

66.211.170.66 - - [08/Sep/2009:17:37:22 -0500] "POST /usa/ipn_main_handler.php HTTP/1.0" 200 - "-" "-"
65.89.233.126 - - [08/Sep/2009:17:37:52 -0500] "GET /usa/index.php?main_page=checkout_process HTTP/1.1" 302 26 "https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=4u3kZORnsAPLz3Ukw3QhXdxwllh76JqlPhmI5VlThe9B0TRqHFMrLI70HRi&dispatch=50a222a57771920b6a3d7b606239e4d529b525e0b7e69bf0224adecfb0124e9bed5d628c85727479b1b92b132a6281aac7982341a4a3ca00" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2"
65.89.233.126 - - [08/Sep/2009:17:37:53 -0500] "GET /usa/index.php?main_page=checkout_payment HTTP/1.1" 200 5352 "https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=4u3kZORnsAPLz3Ukw3QhXdxwllh76JqlPhmI5VlThe9B0TRqHFMrLI70HRi&dispatch=50a222a57771920b6a3d7b606239e4d529b525e0b7e69bf0224adecfb0124e9bed5d628c85727479b1b92b132a6281aac7982341a4a3ca00" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2"
65.89.233.126 - - [08/Sep/2009:17:37:54 -0500] "GET /usa/includes/templates/template_default/images/icons/error.gif HTTP/1.1" 200 295 "https://www.brandnamebatteries.com/usa/index.php?main_page=checkout_payment" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2"
65.89.233.126 - - [08/Sep/2009:17:38:42 -0500] "POST /usa/index.php?main_page=checkout_confirmation HTTP/1.1" 302 26 "https://www.brandnamebatteries.com/usa/index.php?main_page=checkout_payment" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2"
65.89.233.126 - - [08/Sep/2009:17:38:43 -0500] "GET /usa/index.php?main_page=checkout_payment HTTP/1.1" 200 5280 "https://www.brandnamebatteries.com/usa/index.php?main_page=checkout_payment" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2"
65.89.233.126 - - [08/Sep/2009:17:38:50 -0500] "POST /usa/index.php?main_page=checkout_confirmation HTTP/1.1" 302 26 "https://www.brandnamebatteries.com/usa/index.php?main_page=checkout_payment" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2"
65.89.233.126 - - [08/Sep/2009:17:38:50 -0500] "GET /usa/index.php?main_page=checkout_payment HTTP/1.1" 200 5271 "https://www.brandnamebatteries.com/usa/index.php?main_page=checkout_payment" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2"
65.89.233.126 - - [08/Sep/2009:17:39:15 -0500] "POST /usa/index.php?main_page=checkout_confirmation HTTP/1.1" 200 4485 "https://www.brandnamebatteries.com/usa/index.php?main_page=checkout_payment" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2"
65.89.233.126 - - [08/Sep/2009:17:39:20 -0500] "POST /usa/ipn_main_handler.php?type=ec&markflow=1&clearSess=1&stage=final HTTP/1.1" 302 26 "https://www.brandnamebatteries.com/usa/index.php?main_page=checkout_confirmation" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2"
26 Sep 2009, 2:10 AM
#12
drbyte avatar

drbyte

Sensei

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

Re: Paypal IPN Not Showing Orders in Store

Dennis, that apache log snippet shows:

  • checkout-process - 302 - redirect - to checkout_payment, and display error.gif ---suggests they were shown an error message, presumably due to a problem with their entry
  • checkout-confirmation - 302 - redirect - to payment page ... 200 - okay, so customer dealt with page and submitted. Repeated again.
  • checkout-confirmation - 200 - okay
  • clicked to confirm, and taken to PayPal

Looks like normal activity.

Apache logs can't tell you what happened regarding PayPal communications. That's what the paypal debug logs are for.