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