Forums / Built-in Shipping and Payment Modules / Paypal module update..

Paypal module update..

Locked
Results 1 to 16 of 16
This thread is locked. New replies are disabled.
13 Oct 2006, 02:30
#1
ettendu avatar

ettendu

New Zenner

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

Paypal module update..

Hello all,

I am still using 1.3.0, but have been applied patches whenever I can, but
haven applied one for paypal yet. I still couldn't get paypal roundtripping to work.
(I have make sure the user name, paypal setting is corrects, and making
sure the host is not blocking any bidirectional communication, only using US$ no language issues I suppose)
I would like to get the log going, so at least I can figure oout what's going on.

I understand that there have been lot of changes in paypal module, is there any way for me to patch only the paypal module without upgrading the site. Since it s a live site, I can't afford the potential downtime.

I tried to simply copy over the paypal files ipn_main_handler and others, but it didn't work, I guess there must have been additional changes required or even db changes.

Even just letting me know verbally what being fixed in paypal module would be great, then at least I can try to fix it myself.


THanks in advance for any help.
13 Oct 2006, 03:39
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
1

Re: Paypal module update..

remove the includes/languages/english/YOUR TEMPLATE/meta_tags.php file

note only remove the one from your custom directory.
14 Oct 2006, 19:42
#3
ettendu avatar

ettendu

New Zenner

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

Re: Paypal module update..

Are you saying that remove this one file, and then I can copy the new paypal module from 1.3.5?

Thanks again for all the help.
14 Oct 2006, 20:43
#4
liamerven avatar

liamerven

New Zenner

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

Re: Paypal module update..

yes. I am having a horible time with the new module. for some reason, an order can be placed but info isn't being sent back to the cart. I've setup everything correctly. what can I do? I'm taking down my cart till it's resolved. cause. well. ya know. this isn't a good thing.
14 Oct 2006, 20:59
#5
ettendu avatar

ettendu

New Zenner

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

Re: Paypal module update..

Merlin,

Maybe I am missing something.
I just did a diff between my customized meta-tags.php and the default
meta-tags.php

The only differences are the following defines:

TITLE
SITE_TAGLINE
CUSTOM_KEYWORDS
SECONDARY_SECTION
TERTIARY_SECTION

These defines are changed to fit my site. I don't quite understand how this
prevent me to install paypal module from 1.3.5 to 1.3.0

Is there any database changes needed in 1.3.5 for paypal module update?

ettendu
14 Oct 2006, 22:39
#6
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
1

Re: Paypal module update..

there is an issue with old version of 1.3.x

take the file out of the over rides file,
it breaks paypal.
19 Oct 2006, 18:23
#7
ettendu avatar

ettendu

New Zenner

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

Re: Paypal module update..

What would you suggest to do?


Thanks so much for your help again.

Regards

Ettendu
19 Oct 2006, 18:33
#8
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
1

Re: Paypal module update..

I would suggest removing the includes/languages/english/YOUR TEMPLATE/meta_tags.php
19 Oct 2006, 21:20
#9
ettendu avatar

ettendu

New Zenner

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

Re: Paypal module update..

ok now I got a bit further, thanks.

Now my logging is working, and here is the log

Thu Oct 2006 17:09 -- IPN NOTICE::Got past language loads


Just this one line.

So does this means that I am not receiving the response from paypal?

Thanks again for your help.

Ettendu
25 Oct 2006, 00:13
#10
sue4ster avatar

sue4ster

New Zenner

Join Date:
Apr 2006
Posts:
47
Plugin Contributions:
0

Re: Paypal module update..

Merlinpa1969:

I would suggest removing the includes/languages/english/YOUR TEMPLATE/meta_tags.php


Yep ... that is the one core file I know of that you have to modify. It can't go in your override files. You can customize the information in includes/languages/english/meta_tags.php, but don't try to put a copy in your override folder. Hoped it was fixed for 1.3.5, but I guess not.

- Sue
05 Nov 2006, 08:38
#11
ettendu avatar

ettendu

New Zenner

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

Re: Paypal module update..

I followed your instruction, now the paypal order seems to go through, now I got an order recorded in Zen-cart, but the order items are not recorded??

Any idea?

Thanks again for any help.
05 Nov 2006, 09:24
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Paypal module update..

ettendu:

now I got an order recorded in Zen-cart, but the order items are not recorded??


Can you please explain what you mean in more detail?
05 Nov 2006, 09:36
#13
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Posts:
4,572
Plugin Contributions:
0

Re: Paypal module update..

ettendu:

Now my logging is working, and here is the log

Thu Oct 2006 17:09 -- IPN NOTICE::Got past language loads

Just this one line.

Ettendu, can I ask where you are seeing this logging information - ZC Admin or your Control Panel?

Also, I've editted the 'meta_tags.php' and have it in a custom directory. No problem getting info back from PayPal, except that ZC does not pass on all of the Order information. (i.e., Product name & Model number)

It was confirmed in another post, by DrByte, that this is by design.
10 Nov 2006, 08:06
#14
ettendu avatar

ettendu

New Zenner

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

Re: Paypal module update..

After client placed an order through paypal, I got the order recorded in the database, and see the order total, but none of the item and quantity is recorded and updated. I have to go to "paypal stuck order" in order to find out what they order. In adim IPN order menu, I don't see any paypal order being recorded.

I am including a log from the paypal function, note that I added a couple messsage and deleted the client information (replaced by xxxxxx)

Fri Nov 2006 1:46 -- IPN NOTICE::Got past language loads

Fri Nov 2006 1:46 -- Starting in ipn_main_handler.php

Fri Nov 2006 1:46 -- Checking paypal handler

Fri Nov 2006 1:46 -- Finished Checking paypal handler

Fri Nov 2006 1:46 -- begin sending paypal info

Fri Nov 2006 1:46 -- Finished sending paypal info

Fri Nov 2006 1:46 -- IPN INFO - POST VARS
xxxxxx

Fri Nov 2006 1:46 -- IPN INFO - CURL INFO
HTTP/1.1 200 OK

,Date: Fri, 10 Nov 2006 06:46:01 GMT

,Server: Apache/1.3.33 (Unix) mod_gzip/1.3.26.1a mod_ssl/2.8.22 OpenSSL/0.9.7e

,Set-Cookie: cookie_check=yes; expires=Mon, 07-Nov-2016 06:46:01 GMT; path=/; domain=.paypal.com

,Set-Cookie: Apache=217.160.254.109.12431163141161425; path=/; expires=Sun, 02-Nov-36 06:46:01 GMT

,Connection: close

,Transfer-Encoding: chunked

,Content-Type: text/html; charset=UTF-8

,

,8

,VERIFIED

,0

,



Fri Nov 2006 1:46 -- IPN NOTICE:set transaction type unique
xxxxxx

Fri Nov 2006 1:46 -- checking valid payment

Fri Nov 2006 1:46 -- pass valid payment check
10 Nov 2006, 08:10
#15
ettendu avatar

ettendu

New Zenner

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

Re: Paypal module update..

I see the order total from "new order" in the first page when you log into the zen-cart admin page.

From the "new order", if I click on the customer name, I can only see the order total, but I don't see what he ordered.

Thanks again for any help in advance.

ettendu
10 Nov 2006, 09:05
#16
ettendu avatar

ettendu

New Zenner

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

Re: Paypal module update..

After digging around the log more, I think I found the problem statement in
ipn_main_handler.pho

I think the following line is failing

$new_order_id = $order->create($order_totals);

I went into the order class, and see that there is a sql insert and then you
get the newly inserted ID back, I think there is something wrong the insert
statement, maybe some field is null??

If you can let me know an easy way to debug into the order class (something similar to ipn_debug_email command or any debug statement) that would be
great. I tried including paypal_functions.php in order.php and tried to
use ipn_debug_email, but it didn't work.

Thanks again for all the help.

ettendu