Well, for anyone who's interested it this. I've got the plugin 80% working.
I realize that for most this is a dead module, but felt it necessary to post my progress.
Here are a few things i've found that help
#1 Callback Issue
This file ->AmazonMerchantClient.php should be updated this way
Find:
PHP Code:
require_once('../checkout_by_amazon_constants.php');
Replace with:
PHP Code:
require_once(DIR_FS_CATALOG . 'checkout_by_amazon/checkout_by_amazon_constants.php');
DIR_FS_CATALOG is important for some other pages that try to reference this file.
#2 Orders not appearing in Zencart
You have to specify the "Instant Order Processing Notification Settings:" in "Pipeline Settings" on Amazon Seller Central
Code:
https://www.yoursite.com/checkout_by_amazon.php
and "Order Reports Settings" to XML
#3 Orders have no date
This File -> IOPNXMLParser.php
Find:
PHP Code:
function getOrderDate() {
return 'now()';
Replace with:
PHP Code:
function getOrderDate() {
return "'now()'";
So like i said it's mostly working, Where i'm having trouble is adding shipping info or canceling to the order via their buttons in the order.
This is the error i get returned:
Code:
2006 MySQL server has gone away
in:
[insert into zen_amazon_order_history (amazon_order_id, orders_id, reference_id, created_on, status, operation, comments) values ('110-0939952-2236242', '18024', '', now(), '0', '1002', ' Carrier: USPS Shipping Service: 321 Shipment Tracking ID: 3213')]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
2006 MySQL server has gone away
in:
[select count(*) as total from zen_sessions where sesskey = '0690d10412c05f08419a1a0b03be8653']
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
If anyone has feedback, please post.
Thanks
~D
Bookmarks