PDA

View Full Version : Problem recording sale from OSCommerce


Derek
7th February 2006, 06:06 PM
Hello,

I believe the problem I am having is with the cookies but im not sure. When a user clicks on the banner, it WILL record the click. However once it gets thru the sale process I am getting the following in my merchant log:

debug Registrator: Data/Cookie is empty Registrator.class.php 281

debug Sale registration: Data not decoded, failed to save sale sale.php 39


I am not sure what is causing this. I have the EXACT same site on another domain and it is working perfectly. The only difference between the two is that the site that is working is called like "http://www.site.com/catalog" and the one that is not working is called like "http://www.site2.com".

The apache config points www.site2.com to the /catalog directory itself.

It seems like it is not storing the cookie for the affiliate?
The sales aren't even going to the default affiliate. When I do a view source on the checkout_success.php page I AM seeing the 1x1 image link to my affiliate site with the order ID and order amount. I am not using any outside processing company such as paypal. We do all order processing in house.

Please help.

PS I am using the Pro version which I purchased a year ago and am just getting into using it now.

Thanks.

Derek
8th February 2006, 01:56 AM
Well ive managed to get it to record the sales now, but its going to the default affiliate instead of to the proper referer. Im still getting the "Registrator: Data/Cookie is empty".

Please help. Customer is in a rush and i dunno what to do.


Thanks,
Derek

Derek
8th February 2006, 09:36 PM
Alright.. seems I solved the problem on my own. The problem was that the cookie from PAP was being blocked on the order processing. I created a P3P and now it works.

Here is a link to a good FREE p3p generator that I used to get it working.

http://www.p3pwiz.com/

Hope this helps anyone else who is having sales registration problems.


Derek

Lloyd
10th February 2006, 09:51 AM
Hi Derek,

I noticed that you had a similar problem to the one I have - the sales stats.

I'm using Formmail. Do you think this could be my problem?
http://www.greenmarketshare.com/marketing/form.php

The clicks work fine but the sales don't. I get no error message and I don't see any sales stats requestered either. I'm stuck..

Do you have any suggestions please?

Thanks!
Lloyd

15th February 2006, 05:32 PM
If you are using IE... put in a dummy order.. and when you get to your checkout complete page to to "View -> Privacy Report" in IE.

Check all the cookies and see if your cookie from your affiliate program is getting blocked. That is what was causing my errors with the sales. If this is your case.. make a P3P and try it again. It worked for me and I haven't had any problems recording sales since.


Derek

18th February 2006, 07:49 PM
Hi Derek,

Thanks for the help!

I checked the "View -> Privacy Report" in IE and it mentions there that 'Based on privacy settings, no cookies were restricted or blocked.

So what else could the problem be then do you think?

Thank you,
Lloyd