Zen Cart Logo
Forums / Addon Payment Modules / Checkout by Amazon Zen Cart Plug-in

Checkout by Amazon Zen Cart Plug-in

Views: 135,600

Results 161 to 180 of 350
6 Jan 2011, 12:51 AM
#161
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Checkout by Amazon Zen Cart Plug-in

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

10 Jan 2011, 10:21 PM
#162
jpsbears avatar

jpsbears

New Zenner

Join Date:
Jan 2011
Posts:
18
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

cycochuck:

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.

I am having the same issue. I can only get the seller central shipping to appear. Any help please? I have the same error above.

11 Jan 2011, 2:10 AM
#163
jpsbears avatar

jpsbears

New Zenner

Join Date:
Jan 2011
Posts:
18
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

cycochuck:

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.

I am using zone shipping in Zen Cart and I want to pass the shipping and tax from the cart to Amazon. I can not find anything on this. Any help would be appreciated.

11 Jan 2011, 2:17 AM
#164
amazonpayments avatar

amazonpayments

New Zenner

Join Date:
Oct 2009
Posts:
52
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

jpsbears:

I am using zone shipping in Zen Cart and I want to pass the shipping and tax from the cart to Amazon. I can not find anything on this. Any help would be appreciated.

Hi jpsbears,

have you enabled Callback? Please check the callback settings in the checkout by amazon module admin page.

11 Jan 2011, 2:53 AM
#165
jpsbears avatar

jpsbears

New Zenner

Join Date:
Jan 2011
Posts:
18
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

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.

11 Jan 2011, 3:22 AM
#166
jpsbears avatar

jpsbears

New Zenner

Join Date:
Jan 2011
Posts:
18
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

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.

11 Jan 2011, 6:07 AM
#167
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: Checkout by Amazon Zen Cart Plug-in

jpsbears:

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.

Did you read my line about the define ("SESSION_BLOCK_SPIDERS") bit a few pages back?

11 Jan 2011, 2:12 PM
#168
jpsbears avatar

jpsbears

New Zenner

Join Date:
Jan 2011
Posts:
18
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

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.

11 Jan 2011, 8:26 PM
#169
shortysclimbin avatar

shortysclimbin

New Zenner

Join Date:
Oct 2010
Location:
San Juan Puerto Rico
Posts:
62
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

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.com/images/G/01/cba/styles/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

11 Jan 2011, 8:29 PM
#170
jpsbears avatar

jpsbears

New Zenner

Join Date:
Jan 2011
Posts:
18
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

shortysclimbin:

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.com/images/G/01/cba/styles/one-click.css

It is overwritting some of my CSS code and making my site look funny.

Not sure if this helps but I had an issue that threw my CSS off and I found it was because the debug was enabled in the admin of GCO in the payment module. As soon as I turned it off my CSS worked fine.

11 Jan 2011, 11:29 PM
#171
jpsbears avatar

jpsbears

New Zenner

Join Date:
Jan 2011
Posts:
18
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

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

12 Jan 2011, 12:34 AM
#172
jpsbears avatar

jpsbears

New Zenner

Join Date:
Jan 2011
Posts:
18
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

jpsbears:

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

Also My Zen Cart is giving me two orders at the same time for every order placed on Amazon. They both have the same date and time which is now correct.

12 Jan 2011, 1:55 PM
#173
jpsbears avatar

jpsbears

New Zenner

Join Date:
Jan 2011
Posts:
18
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

jpsbears:

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

OK I found and fixed my issue with 2 orders, It was because I used the Integrator URL and the merchant URL.

Still having issue with call backs and shipping and taxes above.

13 Jan 2011, 11:43 AM
#174
shortysclimbin avatar

shortysclimbin

New Zenner

Join Date:
Oct 2010
Location:
San Juan Puerto Rico
Posts:
62
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

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.

14 Jan 2011, 6:54 PM
#175
shortysclimbin avatar

shortysclimbin

New Zenner

Join Date:
Oct 2010
Location:
San Juan Puerto Rico
Posts:
62
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

marcopolo:

I had to comment out line 65 in the file: checkout_by_amazon/checkout_by_amazon_constants.php because it messed up my shopping cart screen (CSS conflict) my question is will this cause any issues within the Amazon module?

Here is the line I commented out:

// define("CBA_STYLE_SHEET", '"https://images-na.ssl-images-amazon.com/images/G/01/cba/styles/one-click.css"');


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.
14 Jan 2011, 10:37 PM
#176
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: Checkout by Amazon Zen Cart Plug-in

shortysclimbin:

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.

16 Jan 2011, 5:56 AM
#177
shortysclimbin avatar

shortysclimbin

New Zenner

Join Date:
Oct 2010
Location:
San Juan Puerto Rico
Posts:
62
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

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.

18 Jan 2011, 8:41 AM
#178
amazonpayments avatar

amazonpayments

New Zenner

Join Date:
Oct 2009
Posts:
52
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

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

19 Jan 2011, 4:25 PM
#179
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: Checkout by Amazon Zen Cart Plug-in

retched:

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:

require('includes/application_top.php');

>  
> ```php
define('SESSION_BLOCK_SPIDERS','False');
```So your checkout_by_amazon.php should look like this:
>  
> ```php
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.
 
jpsbears,
 
Have you made these changes as well to your checkout_by_amazon.php file?
22 Jan 2011, 5:06 AM
#180
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: Checkout by Amazon Zen Cart Plug-in

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?