Yes. it will work for 1.3.8a too.
Printable View
I installed the Amazon Checkout plug in and ran a test order through the sandbox and everything worked fine. Received notification from Zencart to merchant email and 'customer' email.
Today I received a notification from amazon that I had an official checkout by amazon order and to ship. Everything seems fine on the amazon end, but in my Zencart, there is no record of the order or customer and the merchandise total in stock has not been adjusted to show the purchase. Not sure why the sandbox order worked and the real one didn't. Any suggestions on what's going on?
All fixed. Thanks. Did not realize the sandbox and the regular website had to be configured individually.
when I plug in CAZ, I can set it up in admin, however I did not see any Amazon box on my website, I have google checkout but it did not work , so I just remove it from admin. SoI do not know where I did wrong for my Amazon checkout.
v1.3.9d
thanks
www.isparkling.com
thanks, the thing is i can not see the page
http://isparkling.com/checkout_by_amazon.php
why?
do i need modify the .php, like install information said? and I did try to modify that .php, however I get fail information.
Thanks, do I need do EXISTING INSTALL or fresh install, since I have google checkout but it did not work, I remove it. :no:
A while ago I introduced a way on getting the cron "wget" to work with Zencart which involved deleting the entry of "wget" from spiders.txt inside the /zencart/includes directory.
After doing some testing on my (semi-)live server, I HIGHLY suggest the following change:
Open /zencart/checkout_by_amazon.php and look for:
IMMEDIATELY BEFORE THIS LINE, on the prior line, add the following:PHP Code:
require('includes/application_top.php');
So your checkout_by_amazon.php should look like this:PHP Code:
define('SESSION_BLOCK_SPIDERS','False');
Once this is done, go back and edit back in the word "wget" on a line by itself on spiders.txt. This way you don't open your ENTIRE site up to remote wget attacks.PHP Code:
define('SESSION_BLOCK_SPIDERS','False');
require('includes/application_top.php');
thanks, I will go with existing install since I have paypal on my website, hope my understanding is right, however when I Modifying tpl_shopping_cart_default.php
i get this fail message, althgouh I can see the line I added.
open tpl_shopping_cart_default.php failed: Permission denied at cpanel line 4988
Carp::croak('open tpl_shopping_cart_default.php failed: Permission denied') called at /usr/local/cpanel/Cpanel/Fileman.pm line 1105
Cpanel::Fileman::fmsavefile('%2fhome%2fisparkli%2fpublic_html%2fincludes%2ftempl ates%2ftempla...', 'tpl_shopping_cart_default.php', '<?php^M^J/**^M^J * Page Template^M^J *^M^J * Loaded automatically by ind...', 1, 1) called at cpanel line 4988
main::__ANON__('%2fhome%2fisparkli%2fpublic_html%2fincludes%2ftemplates%2ftempla ...', 'tpl_shopping_cart_default.php', '<?php^M^J/**^M^J * Page Template^M^J *^M^J * Loaded automatically by ind...', 1, 1) called at cpanel line 1093
eval {...} called at cpanel line 1093
main::real_exectag('<cpanel Fileman="fmsavefile($FORM{\'dir\'},$FORM{\'file\'},$FORM...') called at cpanel line 4015
main::dotag_finished_headers('<cpanel Fileman="fmsavefile($FORM{\'dir\'},$FORM{\'file\'},$FORM...', 0) called at cpanel line 3898
main::cpanel_parseblock('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"^J^I...') called at cpanel line 3842
main::cpanel_parse('GLOB(0x8fade8c)') called at cpanel line 5331
main::run_standard_mode() called at cpanel line 387
thanks all, it works right now, what I did is modify the tpl_shopping_cart_default.php which is under my template not in template default.I am going to test it right now.
hi, again, I did see the amazon checkout box, I did order one product,however nowhere I can find the order report, not in my zen cart admin or in sell center of amazon, anything could be wrong. thanks lot.
www.isparkling.com
Again not work yet, no order shows anywhere, but buyer did get the confirm email.
1. so how do I updated the correct end point in the Merchant URL under Settings > Checkout Pipeline Settings > Instant Order Processing Notification Settings in seller central?
2. how about corn code, how to do that :frusty::frusty::frusty:
1) To update the correct endpoint, you'd have to edit this in AmazonCentral. Also make sure that you're doing this under Sandbox and that your configuration details match those registered under ZenCart.
2) This generally depends on your host. If you have a host that uses CPanel, this is VERY easily done by a few clicks. If you're on a Windows based server, we're going to need to work a bit.
thanks, although I still did not know what I should put in Merchant URL box, is this www.isparkling.com/checkout-php?
I use CPanel, so what I should do next, please help.
isparkling.com
Here are my settings...
Cancel Payment Return Settings - The home page of the cart
Instant Order Payment Notification URL should be - the home page of the cart/checkout_by_amazon.php.
For CPanel, log in to CPanel and scroll to the (normally) bottom of the page and look for Cron Jobs. Most hosts do not have this option enabled.
I did exactly setting part like you said, execpt cron job, I will try it.
and I check the error log get this I do not understand, thanks
[Wed Oct 13 17:56:12 2010] [error] [client 66.87.1.40] File does not exist: /home/isparkli/public_html/favicon.ico
[Wed Oct 13 17:55:06 2010] [error] [client 66.87.1.40] File does not exist: /home/isparkli/public_html/favicon.ico
[Wed Oct 13 17:54:42 2010] [error] [client 66.87.1.40] File does not exist: /home/isparkli/public_html/favicon.ico
[Wed Oct 13 17:54:06 2010] [error] [client 66.87.1.40] File does not exist: /home/isparkli/public_html/favicon.ico
[Wed Oct 13 17:53:29 2010] [error] [client 66.87.1.40] File does not exist: /home/isparkli/public_html/favicon.ico
[Wed Oct 13 17:52:14 2010] [error] [client 66.87.1.40] File does not exist: /home/isparkli/public_html/favicon.ico
[Wed Oct 13 17:52:08 2010] [error] [client 66.87.1.40] File does not exist: /home/isparkli/public_html/favicon.ico
[Wed Oct 13 17:50:37 2010] [error] [client 66.87.1.40] File does not exist: /home/isparkli/public_html/favicon.ico
[Wed Oct 13 17:29:04 2010] [error] [client 77.103.61.34] File does not exist: /home/isparkli/public_html/favicon.ico
[Wed Oct 13 17:29:01 2010] [error] [client 77.103.61.34] File does not exist: /home/isparkli/public_html/favicon.ico
[Wed Oct 13 17:29:01 2010] [error] [client 77.103.61.34] File does not exist: /home/isparkli/public_html/favicon.ico
[Wed Oct 13 15:40:00 2010] [error] [client 159.53.110.141] File does not exist: /home/isparkli/public_html/favicon.ico
[Wed Oct 13 15:39:54 2010] [error] [client 159.53.110.141] File does not exist: /home/isparkli/public_html/favicon.ico
[Wed Oct 13 15:39:36 2010] [error] [client 159.53.110.141] File does not exist: /home/isparkli/public_html/favicon.ico
[Wed Oct 13 14:03:39 2010] [error] [client 165.155.110.4] File does not exist: /home/isparkli/public_html/favicon.ico
[Wed Oct 13 14:03:26 2010] [error] [client 165.155.110.4] File does not exist: /home/isparkli/public_html/favicon.ico
[Wed Oct 13 14:02:56 2010] [error] [client 165.155.110.4] File does not exist: /home/isparkli/public_html/favicon.ico
[Wed Oct 13 13:14:31 2010] [error] [client 67.195.115.162] File does not exist: /home/isparkli/public_html/robots.txt
[Wed Oct 13 10:57:36 2010] [error] [client 66.249.71.204] File does not exist: /home/isparkli/public_html/robots.txt
[Wed Oct 13 09:44:40 2010] [error] [client 207.46.195.229] File does not exist: /home/isparkli/public_html/robots.txt
09 2010] [error] [client 66.249.71.203] File does not exist: /home/isparkli/public_html/robots.txt
my host did not allow to set cron job less than 30min, so can I set up every 30min?
i just do now know what is going wrong, it just refuses to work. Any suggest please?
The log file which you posted has absolutely NOTHING to do with Checkout By Amazon. These only indicate a user or some process is trying to find the favorites icon which is standard on almost all websites and is failing to find such file. In addition, a spider or robot is trying to find the robots.txt file which is uses to determine whether or not to index a file or directory.
These errors are completely harmless to ZenCart.
Hello, I installed amazon checkout, and everything is good but when I got an order the attributes that I have in my store did not go through to my amazon order, I have looked on my amazon merchant account to see if there was anything I had to adjust but I don't find anything, is there anything else I can do, I sell clothes and sizes matter.
Thank you so much
I am using 138 and it has not been updated.
thanks , I am using 1.3.9d, I installed amazon checkout, I can see the checkout box and I can order through it, however I did not see amazon order anywhere, the buyer can receive the order email, but the seller did not receive any email. And I did not see the order even pending order through the zen cart admin or through sell central control. I do not where I did wrong. so please help me out here.
yes, maybe seller will not receive any email about the order, however seller should receive the email from Aamzon, and amazon seller center should have order recorder, however I did not see that too. Neither in the cart or in the Amazon center. I will try to update cart to 1.3.9g, hope that will help.
I was using Sandbox, since my site is live , so I can not test this now, maybe tonight.
Ok, I will do that, I'm a bit scared though because I had a whole lot of problems with 139 and ended up uninstalling it and and going back to 138 to find success, luckily I was just putting up my store and did not have too much to lose but now I do, I'll just back everything up again, thank you
I have not come across any discussion about upgrading or changing from the old checkout by amazon script? I have mostly successfully installed this one (i think) however I still think there is some remnant code frmo the old script which is breaking my css ONLY on the shopping cart page)
does anyone have a link or suggestions of where i need to remove all references that related to the old module?
thanks
Thanks, and what PM stand.
oh right i remember now. the css code for 1 click checkout conflicts with the css stylesheet since it uses COMMONLY used tags. I can't believe this has not been fixed.
I'll post this here for anyone else who is looking for the solution.
If you get redirected to 404 page after checkout, you might want to contact your hosting company to see if this is the problem:
The issue you are having is that the shopping card application is passing a full url, something disallowed by default within mod_security (A module that we run to harden our servers.)
I have white-listed that rule for your domain, the shopping cart appears to be acting normally now.
If you have this issue in the future, please email support and ask them to whitelist mod_sec rule 1234234.
If you have any further questions or support issues, please let us know!
Best regards,
James V.
james thanks for that update. I also run modsecurity but I do not see that rule you mentioned. (in cpanel i went to mod security then edit config) so perhaps i dont have that rule installed?
thanks
can someone tell me what we are suppsed to set as the Success Return page?
First I have gone through and read all the other threads about this problem and tried multiple fixes suggested. My SSL certificate matches, my domain name and I HAVE tried ordering with SSL disabled too with no difference.
I am using the most recent zencart ( 1.3.9g) and the most recent Checkout by Amazon module
I THINK the issue comes down to writting the session/cache info for the store. I have tried testing using database (db) for the cache And file cache and an interesting thing here is NO record ever gets created in the database when I order something.
I have this in my amazon checkout configuration
https://mydomain.com/store/index.php...eckout_success
as well as the same set in the Seller central section of the amazon payments website.
this is my configure.php code in the includes folder and likewise in the admin/includes folder:
and yes i have the sessions folder set in my ZC admin toCode:define('HTTP_SERVER', 'http://mydomain.com');
define('HTTPS_SERVER', 'https://mydomain.com');
define('ENABLE_SSL', 'true');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage
define('SQL_CACHE_METHOD', 'database');
define('DIR_FS_SQL_CACHE', '/home/MYUSERNAME/public_html/demo/cache');
/home/MYUSERNAME/public_html/demo/cache
I tried testing without DB cache (set it to use file) and a session file DOES get created, but the same effect, session timeout when i return from amazon checkout.
please any other ideas?? i would love some help here.
thanks
John
I wouldn't try to direct someone to the checkout_success page. Two reasons:
1) You aren't creating a $_SESSION variable with the most recently made order or other details. So you're ALWAYS going to get a timeout message.
2) Anything that you want your customer to see on the checkout_page, you can either:
A) Make a copy of the define page and point your Amazon customer to that. Note, you can't get the order ID # in this way.
B) Use a PHP IF block to test if there is a AMAZON Payments ID and create a message using the index page.
um ok thanks so have to create a special return page just for amazon checkout ... awesome...
also can someone tell me how to use their new inline fully integrated system (the NEW amazon checkout or is this not possible yet?
thanks
John
ok so from what I have gathered, the inline (express checkout module) has nothing to do with this plug and involves extensive programming to make it work.
if someone can correct me on this I would love that, but I have seen nothing in the documentation.
Amazon wont help me on it, says its a 3rd party product, so try contacting them, but no one on the forums here, seems to know what to do with the inline express checkout module either....
can you say rock and a hardplace?
Basically I need to know how to make the checkout by amazon work with their INLINE widget so it carries through the steps on my stores site as per their advertisements about this great new feature... pretty useless if its not even a part of the actualy plug-in??
thanks!
Hi, me again. still same problem, buyer can check out, buyer can have the order confirm email, but seller did not have order information neither in zencart or in amazon seller center, no 'Sold, Dispatch Now' e-mail to seller. need help. thanks
isparkling.com
Hi guys,
I found a bug in the amazon checkout code. Here is what happens
1) browse the site and add something to my cart, click on my regular checkout button and LOGIN to my zencart, zencart then pops up with a "THIS PAGE CONTAINS SECURE AND UNSECURE INFORMATION etc..." message as it is returning me to the shopping cart page because it has MERGED my cart with stuff i had already browserd for in the past. The returning link is an HTTPS link (the shopping cart page is normally just http)
if i disable the amazon checkout, the warning goes away.
so basically all of the conenctions used in the amazon checkout module are NOT secure this producing an error when viewing the shopping cart page using https !! I really find this hard to believe that a PAYMENT checkout module is not done with all secure links.
I have not found a way to edit any sort of code sinec I dont actually see anything on the code from this end that would indicate an insecure link, so I think it must be pulling it from the js code on amazons side of things.
anyone with moer details on this and or how to fix this issue would be appreciated.
what version of the module are you using? the newest one?
also what checkout script are you using, i really like it!
John
The first release from the start of this thread. I haven't done any bugfixes, since dates in ZC don't really matter to me, not sure if that would cause your problem though.
The checkout mod is AJAX by Rubik Integration
What is the deal with the module? Is it working for anyone out there? What happened to Bala this modules developer?
Please get in touch with me as I am at a standstill.
I just ran into a bug and I don't have time to read the whole thread to see if it's been reported, so here it is for Amazon, or users that this may affect.
If you are using inventory in ZenCart and you have the option set to not allow checkout if there are insufficient quantities of a product added to the cart, and the customer uses Amazon to check out, that setting is ignored. In other words if a customer orders 20 widgets and your inventory says you have 10, the warning will show up in the shopping cart that there are insufficient widgets, but the customer can click the Amazon button to check out and it will let the customer check out....which of course I found this because a customer did just that and now I'm going through the hell trying to reach someone that can tell me how to do a partial refund since it isn't apparent or documented in the Amazon selling manager.
Has any one got this working with Ceon URI Mapping?
If I turn URI mapping off it works great, turn it on you can complete the order but fails when amazon tries to return to your site.
Keith
This thread leads me to the conclusion that the Amazon Checkout plug in is a bit dicy. Is there a good reason to attempt it?
Who is running it now with success?
Can the buyer choose Amazon Checkout as an option?
Do I still use my merchant account with authorize.net or does it go through another Amazon merchant account?
Some clarity will be appreciated.
Thanks so much.
We're running it with no problems at all on two websites.
Our buyers have the options of paying via credit card (Authorize.net), PayPal or Checkout by Amazon.
The only continuing glitch I've run into is it messes with the CSS when the buyer is returned to the site. All it does though is change the link colors to blue so it's not a huge issue. As soon as they click a link and go to another page, everything returns to normal.
Hope this helps.
I am having trouble getting shipping and tax call backs to work. The module works fine (so far) and completes the order if I don't do call backs, but I don't want have to deal with setting up tax and shipping rates in multiple places. With callbacks enabled the Amazon side says it can't complete the order. On my server I get the following error:
Does anyone have any suggestions? I appreciate any help given.Quote:
PHP Warning: Call-time pass-by-reference has been deprecated in /home/html/test/checkout_by_amazon/library/order_callback_processor.php on line 280
Ok, had more time to work on this. Amazon Error Console under OrderCalculationCallbacks I gettinng the following error:
On my server I am getting the following myDEBUG errorQuote:
The OrderCalculationsResponse could not be validated. Details: The XML could not be validated against the schema [cvc-complex-type.2.4.b: The content of element 'ShippingMethod' is not complete. One of '{"http://payments.amazon.com/checkout/2009-05-15/":ShippingMethodId}' is expected.].
I have set the Instant Order Processing Notification Settings, both Merchant and Integrator URL (since the instructions are not clear) to point back to my checkout_by_amazon.php. I have filled in all the settings on the module with my Amazon data. Is there something I am missing here?Quote:
PHP Warning: Call-time pass-by-reference has been deprecated in /home/html/test/checkout_by_amazon/library/order_callback_processor.php on line 280
Also, I noticed that the test orders that did not use the callback only filled in the shipping address data and not the billing address data on the zen side. Is that normal?
:frusty:
This module has been a pain to install. Has anyone run into the issue where the module does not show up as a payment method in the checkout 2 of 3 section?
How about having issues with the Amazon Checkout not working with Money orders enabled?
Is there any way to install the module so that it works with checkout after the second page? It would be nice to have this option so that I may have users confirm terms and conditions.
This guide provides information on how to use Checkout by Amazon as an alternate payment method on the payments page of your standard checkout. Plug-in does not support it as of now.
After some fiddling around, I can safely verify that this module WORKS. It just takes some time for orders to appear where they should be since Amazon does not do instantaneous card processing. (The wait was clocked at 10-15 minutes after the order.)
Yes call backs are enabled. I have tried with both the http and https in the sandbox mode. I am using Zen 1.3.9f.
The error I get is : The OrderCalculationsResponse could not be validated. Details: The XML could not be validated against the schema. It says 'shipping method" is not complete.
I was able to just place an order in my sand box and it went to my zencart admin but it showed up twice. Once with the right date and another with 11/30/1999. I think I read something about the date issue but nothing on a duplicate entry.
So I have two issues I am working on.
Most likely not related but I made the two line changes for the date fix and now all I get is a Address Mismatch Error. As soon as I try to sign in to Amazon I get aa fail. I could get all the way through before, just no zen shipping/tax and duplicated order.
OK I have done the spiders edit and the date fix.
Here is what I have:
I can place orders and the transaction hits my zencart admin. I do still get two identical orders for the one placed. They both show up together in Zen admin, but now they both have the correct date.
Also I can not get my shipping and tax to be used from Zen Cart, it only uses the Amazon shipping rates from seller central.
I am having an interesting issues that I am currently trying to track down:
does anyone know where this file is generated?
https://images-na.ssl-images-amazon..../one-click.css
It is overwritting some of my CSS code and making my site look funny.
I need to change Color: 333; for the text to be commented out and use my CSS text style
Here is where I am:
I made all changes to date fix and spiders.txt. If I use amazon shipping all is fine. Order shows up in zen cart admin and everthing is good. If I enable shipping and tax calculations after enabling call backs I get the following error in seller central:
The OrderCalculationsResponse could not be validated. Details: The XML could not be validated against the schema [cvc-complex-type.2.4.b: The content of element 'ShippingMethod' is not complete. One of '{"http://payments.amazon.com/checkout/2009-05-15/":ShippingMethodId}' is expected.].
Of course when checking out I get the We are sorry but were having problems retreving order details from the merchant.
My setting for callbacks:
Enable callbacks - true
Callback page - http://www.XXX.com/checkout_by_amazon.php
I am in sandbox so I am not using https as recommended, this also matches the address used in seller central piplene for both Merchant and Intergrator URLs. Not sure if both are supposed to be the same. Also I changed the listed domain in this post, its not xxx.
Enable Shipping callbacks - true
Enable tax calculations - true
Is shipping taxed - true , it is in GA
I have all by zone shipping set up in Zen and want to use it. Same with taxes. My shipping is flat rate based on the number of items shipped. One for all of USA, and then a zone 2 and 3 for international. Example of shipping: 1-3 items in USA is 4.50 4-8 items USA 8.75 and so on.
Any help would be great please
I disabled the sandbox and reloaded the site, Still having CSS issues. that Amazon is causing. It would be no issue on a lighter color site, but being darker you can barely read the text now.
I ended up commenting out this line and it did remove my issue of the CSS issues. I was also able to get it to process a complete order and email so that is good news!
Now... If it was only checkout at step 2 like all the rest I would be happy! Any ideas if the checkout info could be pulled from that page instead? I much rather have all the options listed in one place.
I would've commented out the code in the header.php with the <!-- and --> tags but that works too I suppose. Do you still get the popup notification on that case?
You cannot currently use this module to process an order from the "Step 2" page. It is not meant for processing this way. Much like the Google Checkout button, you can only use this from the Shopping Cart page (Step 0) to start the process.
retched,
I realize that this is only designed to be at step zero. What data can it not get from step 2 that is in step zero? Date, shipping, product qnt and item # are all in step 2. Sadly I do not have a full understanding of the process, so can you be a little more specific on why it may have issues?
Also, for my dunce self can you be a little more specific on how to properly comment out that line of code and I will do so to keep everything uniform. It should also help others on here that have also had the same issues.
Hi jpsbears
Could you please verify the values returned by the shipping modules(Like Fedex, UPS etc) . Probably it may be returning some incorrect values.
Thanks
Checkout By Amazon Team
CheckoutbyAmazon (sorry, I don't have another name to call you),
Would you happen to know if it's alright to change the code that uses the product ID to the product Model instead?
darlingdoggy
did you ever solve the problem of attributes not being passed through to Amazon Checkout Seller central site. We have the same issue and ARE using 1.3.9h, attributes do NOT show up on the amazon side of things.
Thanks for anyone that has insight into this.
Cheers
John
Hi retched,
can you please elaborate what do you mean by product ID and product model? Also can you point to the code that you are referring to?
Thanks
Checkout by Amazon Team
Sure.
Any orders that are processed via this module are reported in the Amazon orders with the ZenCart Database ID# instead of the product model as the Item ID. Is there a way to change this so that the Product Model appears in Amazon instead?
I've changed some parts of the code but the only problem is that the order doesn't appear on ZenCart once processed.
There was never any final solution to this css issue and AmazonPayments did not recommend the solution above. The issue specifically is that the Amazon payment module defines h3 in the css which is fetched from https://images-na.ssl-images-amazon..../one-click.css. This css overrides the template css and makes the sidebox header look terrible. The fix is to do the following.
modify includes/templates/your_template/css/stylesheet.css
in the h3 section add the following line
display: block !important;
To clarify my final css h3 section looks like this
h3 {
display: block !important;
font-size: 1.3em;
}
AmazonPayments, please consider removing your own style for h3 in future releases.
Hey Gang,
Please - can someone help. I have been using this successfully on 2 different ZenCart sites for months ... and now, for the last 30+ days or so, nothing is working.
The error in the Integration Console Error Logs at SellerCentral is usually:
Either there was a problem connecting to your endpoint or the merchant endpoint returned an invalid response status code.
When I checkout the /checkoutbyamazon/logs/ on my server, there is nothing there, so no error logs or anything on the server.
We're getting email notices that an order happened, but the orders are not posting back into ZenCart:
We are also getting tons of errors with this message:
The OrderCalculationsResponse could not be validated. Details: The XML could not be validated against the schema [cvc-complex-type.2.4.b: The content of element 'ShippingMethod' is not complete. One of '{"http://payments.amazon.com/checkout/2009-05-15/":ShippingMethodId}' is expected.].
I am a loss, we haven't changed anything?? I hope someone can offer some insights?
Here is some updated info:
We've had 2 new orders since yesterday via "Checkout by Amazon". The orders are in SellerCentral, but neither of the orders are in our ZenCart, and there are NO ERRORS listed anywhere in the Error portions of the Integration Console in Seller Central.
With no errors in the Integration Console logs on SellerCentral, now I'm really stumped. The callback is the correct URL for us:
https://www.hppenterprises.com/checkout_by_amazon.php
and
https://www.getskinsnow.com/checkout_by_amazon.php (respectively, for each site)
Our web host confirms the cron job is running every 5 minutes.
retched:
Thanks for jumping in!
Are you running the CRON job as well?
Not sure what you mean ... I'm not manually running it, because it's already configured to run every 5 minutes, and I've verified that it IS, indeed, running (because I temporarily enabled the email notifications in cpanel to see that it runs successfully, which it does)
Here's the actual cron setup:
wget "http://www.hppenterprises.com/checkout_by_amazon.php?action=Everything" -O /dev/null
*btw - if you manually load http://www.hppenterprises.com/checko...ion=Everything in the browser, it just redirects to homepage.
Did you make sure to have the checkout_by_amazon.php file added in?
Added in where? My checkout_by_amazon.php file is uploaded, and it's the file being referenced in all of our callback URLs, etc.
Did you also make the change to the site about the DEFINE section I added in a while ago?
This I'm not sure of - I haven't made any revisions or changes. That's why I'm puzzled, because this plugin worked perfectly for many months, and has only stopped working in the last 30+ days or so ... but it's stopped working universally, across all 3 of our sites. All 3 worked fine ... now, NONE of them are getting any data back from Amazon ... if it weren't for the [Sold: Ship Now] emails we get from SellerCentral, we'd never know we have orders, because they aren't showing up in our ZenCart admin.
What "DEFINE" section changes are you referring to? (I've read every page of this thread a few days ago when I initially posted this)
PS: I DOWNLOADED our spiders.txt file and "wget" is not listed on there. "xget" is listed, but not "wget"?
Is your website(s) set up in ZenCart to redirect to the homepage in the event of an error or 404 or 500 or anything?
The checkout_by_Amazon.php file shouldn't redirect you nowhere but instead return a blank page.
If you're cron is running and wget doesn't appear in spiders.txt, there's no need to include the define statement listed below:
But I would recommend readding wget to your spiders.txt file and placing the above statement in your checkout_by_amazon.php to protect your site against wget remote attacks.PHP Code:
define('SESSION_BLOCK_SPIDERS','False');
Have you done any sort of upgrading to ZenCart? What version are you running now?
retched:
If I manually load the "cron" URL, I get a blank page:
http://www.hppenterprises.com/checko...ion=Everything
However, if I go to
http://www.hppenterprises.com/checkout_by_amazon.php
(just the filename), it does redirect to my homepage.
I've not added any custom redirects, etc ... and I have not updated or modified my Zencart. I'm running Zen Cart 1.3.8a
Patch Level 1
We're getting several orders every day - and none of them are going back into ZenCart. Some don't generate ANY errors in SellerCentral. Others generate the following:
Http error:
Either there was a problem connecting to your endpoint or the merchant endpoint returned an invalid response status code.
Below is a copy/paste of the full XML info:
Error Details
Here are the details on the error. Please review the error and follow the steps below to resolve it. Learn more
Date: Feb 22, 2011 2:28:38 AM PST
Client Request ID: cartId:87067
Severity: ERROR
Error Type: OrderCalculationCallbacks
Error Code: HttpError
Error Message: Either there was a problem connecting to your endpoint or the merchant endpoint returned an invalid response status code.
Callback Response We Received:
Callback Request We Sent:
<?xml version="1.0" encoding="UTF-8"?><OrderCalculationsRequest xmlns="http://payments.amazon.com/checkout/2009-05-15/"><CallbackReferenceId>1-1f27364c-1921-4165-bfc5-c4033dcbaef3</CallbackReferenceId><OrderCalculationCallbacks>
<CalculateTaxRates>true</CalculateTaxRates>
<CalculatePromotions>false</CalculatePromotions>
<CalculateShippingRates>true</CalculateShippingRates>
<OrderCallbackEndpoint>https://www.hppenterprises.com/checkout_by_amazon.php</OrderCallbackEndpoint>
<ProcessOrderOnCallbackFailure>false</ProcessOrderOnCallbackFailure>
</OrderCalculationCallbacks><ClientRequestId>cartId:87067</ClientRequestId><IntegratorId>A1JTR13ML1DA21</IntegratorId><IntegratorName>CBAZencart1.0</IntegratorName><CallbackOrderCart><CallbackOrderCartItems><CallbackOrderCartItem ><CallbackOrderItemId>miq://cba:1.0/ordering/cba:1.0/item:2.0/049221f5cb7beebfa2067da43db78c27</CallbackOrderItemId><Item>
<SKU>171549</SKU>
<MerchantId>A35DL6C7BAXYRR</MerchantId>
<Title>OTTER PRODUCTS 40767 OtterBox Commuter Series Amazon Kindle 3 - Black</Title>
<Description>Your new <B>Kindle 3</B> makes reading super fun and easy. Now that you are reading like gangbusters, finding the perfect Kindle case is the logical next step. The <B>OtterBox Commuter Series for Amazon Kindle 3</B> is nothing short of impressive. The durable silicone mid layer absorbs bumps and shocks while the tough polycarbonate shell fights off dents and scratches.<br/><B>About our Commuter Series:</B> Three slender, yet sturdy layers offer tough protection in a sleek package. With a slim form factor and smooth outer layer, this Kindle case slides easily in and out of a pocket, purse or bag.<br/><br/><B>Compatibility:</B><br/><ul><li>Amazon Kindle 3 WiFi<br/><li>Amazon Kindle 3 WiFi + 3G</li></ul><br/><br/><B>Features:</B><br/><ul><li>Access to all buttons and features<br/><li>Silicone plugs provide coverage for ports<br/><li>Includes a self-adhering protective film</li></ul><br/><br/><B>Material:</B><br/><ul><li>Self-adhering clear screen protector<br/><li>Durable silicone skin<br/><li>High-quality polycarbonate outer shell</li></ul><br/><br/><B>Environmental Protection:</B><br/>Case provides added protection against bump and shock. Case is NOT protective against water<br> <b>Product : </b>OTTERBOX COMMUTER SERIES AMAZON KINDLE 3 BLACK<br> <b>Manufacturer : </b>OTTER PRODUCTS<br> <b>Manufacturer Part No : </b>AMZ4-KIND3-20-E4OTR<br> <b>UPC : </b>660543006565</Description>
<Price>
<Amount>28.9</Amount>
<CurrencyCode>USD</CurrencyCode>
</Price>
<Quantity>1</Quantity>
<Weight>
<Amount>0.7</Amount>
<Unit>lb</Unit>
</Weight>
<Category>Waterproof Containers</Category>
<FulfillmentNetwork>MERCHANT</FulfillmentNetwork>
<ItemCustomData>
<ProductInfo>
<Model>HP340767</Model>
<Manufacturer>OTTER PRODUCTS</Manufacturer>
</ProductInfo>
</ItemCustomData>
</Item></CallbackOrderCartItem></CallbackOrderCartItems><CartCustomData>
<MerchantData>
<Customer_ip_address>68.48.216.120</Customer_ip_address>
<Cart>O:12:"shoppingCart":9:{s:8:"contents";a:1:{i:171549;a:1:{s:3:"qty";d:1;}}s :5:"total";d:28.89999999999999857891452847979962825775146484375;s:6:"weight";d:0 .6999999999999999555910790149937383830547332763671875;s:6:"cartID";s:5:"87067";s :12:"content_type";b:0;s:18:"free_shipping_item";i:0;s:20:"free_shipping_weight" ;i:0;s:19:"free_shipping_price";i:0;s:9:"observers";a:0:{}}</Cart>
</MerchantData>
</CartCustomData></CallbackOrderCart><CallbackOrders><CallbackOrder><Address><AddressId>jjojssltpr</AddressId><AddressFieldOne>1419 Potomac Heights Drive</AddressFieldOne><AddressFieldTwo/><AddressFieldThree/><City>Ft. Washington</City><State>MD</State><PostalCode>20744</PostalCode><CountryCode>US</CountryCode></Address><CallbackOrderItems><CallbackOrderItem><CallbackOrderItemId>miq://cba:1.0/ordering/cba:1.0/item:2.0/049221f5cb7beebfa2067da43db78c27</CallbackOrderItemId></CallbackOrderItem></CallbackOrderItems></CallbackOrder></CallbackOrders></OrderCalculationsRequest>
Cart Request We Received:
<?xml version="1.0" encoding="utf-8"?>
<Order xmlns="http://payments.amazon.com/checkout/2009-05-15/">
<ClientRequestId>cartId:87067</ClientRequestId>
<Cart>
<Items>
<Item>
<SKU>171549</SKU>
<MerchantId>A35DL6C7BAXYRR</MerchantId>
<Title>OTTER PRODUCTS 40767 OtterBox Commuter Series Amazon Kindle 3 - Black</Title>
<Description>Your new <B>Kindle 3</B> makes reading super fun and easy. Now that you are reading like gangbusters, finding the perfect Kindle case is the logical next step. The <B>OtterBox Commuter Series for Amazon Kindle 3</B> is nothing short of impressive. The durable silicone mid layer absorbs bumps and shocks while the tough polycarbonate shell fights off dents and scratches.<br/><B>About our Commuter Series:</B> Three slender, yet sturdy layers offer tough protection in a sleek package. With a slim form factor and smooth outer layer, this Kindle case slides easily in and out of a pocket, purse or bag.<br/><br/><B>Compatibility:</B><br/><ul><li>Amazon Kindle 3 WiFi<br/><li>Amazon Kindle 3 WiFi + 3G</li></ul><br/><br/><B>Features:</B><br/><ul><li>Access to all buttons and features<br/><li>Silicone plugs provide coverage for ports<br/><li>Includes a self-adhering protective film</li></ul><br/><br/><B>Material:</B><br/><ul><li>Self-adhering clear screen protector<br/><li>Durable silicone skin<br/><li>High-quality polycarbonate outer shell</li></ul><br/><br/><B>Environmental Protection:</B><br/>Case provides added protection against bump and shock. Case is NOT protective against water<br> <b>Product : </b>OTTERBOX COMMUTER SERIES AMAZON KINDLE 3 BLACK<br> <b>Manufacturer : </b>OTTER PRODUCTS<br> <b>Manufacturer Part No : </b>AMZ4-KIND3-20-E4OTR<br> <b>UPC : </b>660543006565</Description>
<Price>
<Amount>28.9</Amount>
<CurrencyCode>USD</CurrencyCode>
</Price>
<Quantity>1</Quantity>
<Weight>
<Amount>0.7</Amount>
<Unit>lb</Unit>
</Weight>
<Category>Waterproof Containers</Category>
<FulfillmentNetwork>MERCHANT</FulfillmentNetwork>
<ItemCustomData>
<ProductInfo>
<Model>HP340767</Model>
<Manufacturer>OTTER PRODUCTS</Manufacturer>
</ProductInfo>
</ItemCustomData>
</Item>
</Items>
<CartCustomData>
<MerchantData>
<Customer_ip_address>68.48.216.120</Customer_ip_address>
<Cart>O:12:"shoppingCart":9:{s:8:"contents";a:1:{i:171549;a: 1:{s:3:"qty";d:1;}}s:5:"total";d:28.899999999999998578914528 47979962825775146484375;s:6:"weight";d:0.69999999999999995559107901499 37383830547332763671875;s:6:"cartID";s:5:"87067";s:12:" content_type";b:0;s:18:"free_shipping_item";i:0;s:20:"free_s hipping_weight";i:0;s:19:"free_shipping_price";i:0;s:9:"obse rvers";a:0:{}}</Cart>
</MerchantData>
</CartCustomData>
</Cart>
<IntegratorId>A1JTR13ML1DA21</IntegratorId>
<IntegratorName>CBAZencart1.0</IntegratorName>
<ReturnUrl>https://www.hppenterprises.com/checkout_by_amazon.php?action=ResetCart</ReturnUrl>
<CancelUrl>https://www.hppenterprises.com/checkout_by_amazon.php?action=CancelCart</CancelUrl>
<OrderCalculationCallbacks>
<CalculateTaxRates>true</CalculateTaxRates>
<CalculatePromotions>false</CalculatePromotions>
<CalculateShippingRates>true</CalculateShippingRates>
<OrderCallbackEndpoint>https://www.hppenterprises.com/checkout_by_amazon.php</OrderCallbackEndpoint>
<ProcessOrderOnCallbackFailure>false</ProcessOrderOnCallbackFailure>
</OrderCalculationCallbacks>
</Order>
Steps to Resolve This Issue: Guide1
Go Back to Error Console
Rate this page | Contact Seller Support
Your SSL certificate chain seems to be invalid.
Please check here http://www.digicert.com/help/index.h...nterprises.com
Please get this fixed. we are not able to send you any information because of invalid / broken SSL certificate chain. You can contact your SSL provider / Hosting provider for SSL related issues.
Hello,
I can't find any references to my issue so wondering if anybody be able to explain why 'the hidden text' is showing (below) and I'm seeing this on tpl_shopping_cart_default.php when I enable CBA? I'm on 1.3.9h, used 'existing install' and have Paypal as well. Everything else seems to work fine, even Amazon techs can't help me as they say it's something to do with the plug-in or Zen.
Thanks so much!
cartId:26014 274 A3NORTHRCP2ROK <p> This heishe necklace was hand-spun and created by Lillie and Marvin Lovato of the Santo Domingo Pueblo. Please see our <a href="/About-Heishe.html" title="About Heishe">About Heishe Page</a> for a detailed description of what's involved in making a necklace like this. It is 17" long, made from Kingman Turquoise rough from Arizona (stab.) spun into 1/8" wide beads. They are finished with Sterling Silver cones and hook & eye. Great by itself or with a lightweight pendant hanging from it, can be worn by a man or woman.</p> 72 USD 1 0.1 lb Zuni & Santo Domingo MERCHANT 5320 174.56.55.185 O:12:"shoppingCart":8:{s:8:"contents";a:1:{i:274;a:1:{s:3:"qty";d:1;}}s:5:"total ";d:72;s:6:"weight";d:0.1000000000000000055511151231257827021181583404541015625; s:6:"cartID";s:5:"26014";s:12:"content_type";b:0;s:18[/B]:"free_shipping_item";i:0;s:20:"free_shipping_weight";i:0;s:19:"free_shipping_pr ice";i:0;} A1JTR13ML1DA21 CBAZencart1.0 https://www.skystonetrading.com/chec...tion=ResetCart https://www.skystonetrading.com/chec...ion=CancelCart true false true http://www.skystonetrading.com/checkout_by_amazon.php false
www.skystonetrading.com
AmazonPayments:
I don't understand - everything on the page has a big green check. There are no SSL security warnings when you visit the site or checkout. Also, it's the same SSL we've been using since last year, and everything worked fine ... so I'm guessing that this issue you've discovered isn't the culprit. I've asked our SSL provider and webhost to view the link you sent and see what that one broken chain means ... but even the one, single broken chain icon didn't seem to invalidate the rest of the data, since everything passed.
Systonetrading:
I think that is what appears on the shopping cart page when you have debugging turned ON ... go into your settings in ZenCart and turn the debug settings to off and see if that goes away.
Uh, wow, what a concept! That did it! The guys at Amazon couldn't figure it out, but did tell me someone else had the same problem with their install so I'll tell my Amazon guy what fixed it, wonder why that never occurred to me, thanks, I'll try it out and see, thanks SO MUCH for the suggestion!
Julia
skystonetrading.com
Julia,
So happy I could help. Now, if someone could just help ME with MY sites!???
AmazonPayments:
Well whatdayaknow ... the SSL broken chain WAS indeed the issue. I re-keyed it 2x and it still didn't fix the situation, and found out from webhost that our server was storing all the old intermediary certs and sending them all.
It's resolved and now Amazon checkout orders are posting back into ZenCart successfully.
UPDATE:
We are now getting orders (all those from the past week or so dumped in!) ... but unfortunately, we are getting duplicates of each order. Any way to eliminate that? I must have the callback specified twice somewhere, but in my pipeline settings, the only field where the checkout_by_amazon.php file is populated is the "Merchant URL" field.
I haven't seen anyone else mention this (maybe no one else sells on Amazon too), but this has happened twice more now. Once on Nov. 17th and again tonight, March 17th. Today it dumped 207 orders in there all which were Amazon orders.
I turned off the cron job after it happened the last time thinking that might be the culprit, but apparently it isn't.
Anybody have a clue why this is happening?
Also....
We're having the same issue. Sometimes it passes the attribute (size) through and sometimes it doesn't. Only in our instance, the attribute doesn't show up ANYWHERE - Zencart Admin or Amazon side. So we have to resort to contacting the customer to find out what size they wanted.