Re: Checkout by Amazon Zen Cart Plug-in
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:
PHP Code:
require('includes/application_top.php');
IMMEDIATELY BEFORE THIS LINE, on the prior line, add the following:
PHP Code:
define('SESSION_BLOCK_SPIDERS','False');
So your checkout_by_amazon.php should look like this:
PHP Code:
define('SESSION_BLOCK_SPIDERS','False');
require('includes/application_top.php');
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.
Re: Checkout by Amazon Zen Cart Plug-in
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
Re: Checkout by Amazon Zen Cart Plug-in
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.
Re: Checkout by Amazon Zen Cart Plug-in
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
Re: Checkout by Amazon Zen Cart Plug-in
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:
Re: Checkout by Amazon Zen Cart Plug-in
Quote:
Originally Posted by
bluejewelry
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.
Re: Checkout by Amazon Zen Cart Plug-in
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
Re: Checkout by Amazon Zen Cart Plug-in
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.
Re: Checkout by Amazon Zen Cart Plug-in
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
Re: Checkout by Amazon Zen Cart Plug-in
my host did not allow to set cron job less than 30min, so can I set up every 30min?