If this is your first visit, check our documentation. To post, register or login.
Forums / Addon Payment Modules / Checkout by Amazon Zen Cart Plug-in

Checkout by Amazon Zen Cart Plug-in

Started by amazonpayments on 10 Aug 2010, 7:09 PM · Views: 135,750

Results 281 to 300 of 350
28 Oct 2012, 3:56 AM
#281
limitless avatar

limitless

Inactive

Join Date:
Jan 2012
Posts:
496
Plugin Contributions:
0

Checkout by Amazon Zen Cart Plug-in

sunseeker1988:

will checkout by amazon ad-on work with zencart 1.5.0? anything I need to change/add when using this on 1.5.0 if it will work? thanks guys.

Yes, it appears to work.

30 Oct 2012, 5:13 AM
#282
patg avatar

patg

New Zenner

Join Date:
Feb 2011
Posts:
4
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

I am trying to upgrade my existing 1.0 CBA to the new 1.1 that was released. I am showing a 500 result for the callback on the Amazon error console under my merchant account.

The install guide references "2. Signing Options" and the MWS key but the admin ui provided buy checkout_by_amazon_admin.php still only allows the old AWS settings, I see nothing for the new MWS credentials. Where are the MWS Access Key ID and Secret Access Key supposed to be configured?

8 Nov 2012, 3:30 PM
#283
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

Hi

I've spent a day and a half trying to get checkout by amazon to work on my 1.5.0 cart. I have made much headway. Regarding the call back functions for shipping and tax. If I have callbacks enabled I get the error numerous folks have reported.
**

We're sorry!

We're sorry, but we're currently having problems retrieving order details from the merchant, and cannot process your order. Please return to the merchant's website and try placing your order again.
**

Can anyone tell me if it is curl that handles the callback function? I think it is but I'm not certain.

9 Nov 2012, 3:43 PM
#284
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

buildingblocks:

Hi

I've spent a day and a half trying to get checkout by amazon to work on my 1.5.0 cart. I have made much headway. Regarding the call back functions for shipping and tax. If I have callbacks enabled I get the error numerous folks have reported.
**

We're sorry!

We're sorry, but we're currently having problems retrieving order details from the merchant, and cannot process your order. Please return to the merchant's website and try placing your order again.
**

Can anyone tell me if it is curl that handles the callback function? I think it is but I'm not certain.

Well I've discover the warning message is a result of CBA having a problem with my ceon advanced shipper mod. If anyone has this working with advanced shipper......did you have to do anything special with the CBA files to make them work together?

18 Nov 2012, 2:55 PM
#285
patg avatar

patg

New Zenner

Join Date:
Feb 2011
Posts:
4
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

buildingblocks:

Well I've discover the warning message is a result of CBA having a problem with my ceon advanced shipper mod. If anyone has this working with advanced shipper......did you have to do anything special with the CBA files to make them work together?

Are you sure this is the issue? I see the same "Were sorry.." message from the callback but I am not running your addon shipping module. I am dissappointed with Amazon; they throw out new code but offer no support. I tried to IM the AmazonPayments account here but the queue is full and they do not care enough to reply on this forum. Note that if you go to the error console on your Amazon account you will see that the callback returns no data although the original order was sent through just fine. It is not clear how the new released plugin utilizes the Amazon MWS settings that I received numerous email on from Amazon and the newly released plugin admin still only references the old AWS identifiers. To be honest I have no time or desire to sift through the PHP code. I have removed the Amazon payment option from my website for now and will likely pull my Amazon product ads as well. It is just not worth my time to work on their code so they can make a profit via click and processing fees when they do not care enough to make it work.

5 Dec 2012, 3:10 AM
#286
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

yes, what was discovered were the ® characters being passed back to amazon during callback. I removed the <sup>®</sup> tags from the ceon adv shipper language file and then amazon was able to read the shipping rates. Perhaps you had characters included in your shipping rates that amazon wasn't able to read.

Still trying to get it working fully with zen cart 1.5.0. Amazon is trying to help but it's a process

The last two hurdles is the return url to actually come back to my site after checkout and for standard integration to work where customers stay on my site to pay rather than going to a payment page off-site. But test orders are being recorded to zen admin and in my amazon account,

8 Jan 2013, 1:56 PM
#287
jill8026 avatar

jill8026

Totally Zenned

Join Date:
May 2007
Posts:
461
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

Seems Checkout by Amazon has gone MIA and their support for this mod is horrible. I do not know if anyone can point me in the right direction but I have everything working in terms of an order being able to placed, order and proper shipping calculations are being passed to the Amazon Seller area as well as the Zencart admin - but what I am missing is the Amazon buttons in the orders detail page to be able to allow me to "process" the orders so they update in seller central.....my understanding is that after an order is placed about 10-15 minutes later it will be removed from "pending" and at that point via the XML it should update in my zencart admin to the buttons for processing.

I have a cron job setup as per the documentation, have reporting set to XML on the hour - but nothing is coming through...

Anyone have any tips here?

Jill || I Love Zen Cart Templates || 2 Dogs Design
I Love To Help But Let's Keep It Public Please To Help Others!

10 Jan 2013, 10:00 PM
#288
city1227 avatar

city1227

New Zenner

Join Date:
Sep 2008
Posts:
7
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

Hello Everyone,

I am new to zen cart , currently installed checkout by amazon to zen cart.

Everything work in that module, but some time product model number and attributes like size, color are not showing up on order page.

i checked the database table and amazon payment table record the size ordered by customer and other attributes but order attribute tables does not save that data some time.

Looking for solution of this thing.

Mike

10 Jan 2013, 10:59 PM
#289
city1227 avatar

city1227

New Zenner

Join Date:
Sep 2008
Posts:
7
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

Boggled:

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

Hi have you ever find out the solution for attribute problem.
if yes please let me know

13 Jan 2013, 1:25 AM
#290
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Checkout by Amazon Zen Cart Plug-in

What a POS/CF this add-on is turning out to be.. First I need to get this off my chest..

<rant> Can we talk about the confusing and occasionally INCOHERENT documentation for this add-on??? There are SO MANY places in this readme which refers to things in the Amazon Seller account which DO NOT MATCH the instructions in the readme.. Couple that with the fact that it's not always CRYSTAL clear where configuration should take place in the Zen Cart admin and where it should take place in your Amazon Seller account..

Seems like yet another major "player" developing something for Zen Cart then abandoning their support.. (Google can ya HEAR ME???) When was the last time anyone from Amazon responded HERE on this forum???
</rant>

I suspect I'll be putting up a few posts as I muddle my way through this mess. But wanted to share a solution I found for one issue I was having.. When you get the error

We're sorry, but we're currently having problems retrieving order details from the merchant, and cannot process your order. Please return to the merchant's website and try placing your order again.
and then click the link to return to your website, I was getting a blank page and the error log reads:

[12-Jan-2013 19:37:52] PHP Warning:  require_once(../checkout_by_amazon_constants.php) [function.require-once]: failed to open stream: No such file or directory in /home/mysite/public_html/checkout_by_amazon/library/AmazonMerchantClient.php on line 30
[12-Jan-2013 19:37:52] PHP Fatal error:  require_once() [function.require]: Failed opening required '../checkout_by_amazon_constants.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mysite/public_html/checkout_by_amazon/library/AmazonMerchantClient.php on line 30

Found that if I edited the following file as follows: checkout_by_amazon/checkout_by_amazon_constants.php

Find:

require_once('../checkout_by_amazon_constants.php');

Replace with:

require_once('checkout_by_amazon/checkout_by_amazon_constants.php');

One problem down.. who knows how many to go..

Have I mentioned how much I am hating this :censored:add-on???

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

13 Jan 2013, 1:26 AM
#291
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Checkout by Amazon Zen Cart Plug-in

jill8026:

Seems Checkout by Amazon has gone MIA and their support for this mod is horrible. I do not know if anyone can point me in the right direction but I have everything working in terms of an order being able to placed, order and proper shipping calculations are being passed to the Amazon Seller area as well as the Zencart admin - but what I am missing is the Amazon buttons in the orders detail page to be able to allow me to "process" the orders so they update in seller central.....my understanding is that after an order is placed about 10-15 minutes later it will be removed from "pending" and at that point via the XML it should update in my zencart admin to the buttons for processing.

I have a cron job setup as per the documentation, have reporting set to XML on the hour - but nothing is coming through...

Anyone have any tips here?
Is the cron job required?? I can't tell by this documentation.. sigh

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

13 Jan 2013, 6:27 AM
#292
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Checkout by Amazon Zen Cart Plug-in

Callbacks is just not working.. and I am stumped as to why. When I enable callbacks, this is the error I am getting after being transferred to the Amazon payment page and entering my Amazon login data:

Either there was a problem connecting to your endpoint or the merchant endpoint returned an invalid response status code. The status code received is 403

In Zen Cart this is the callback URL I am using: https://www.mydomain.com/checkout_by_amazon.php

This is the same URL I have confirgured as the merchant URL in Amazon Seller

Looking at the Amazon error log this is what I see with regards to the callback endpoint

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. The status code received is 403.

Callback Request We Sent:
<OrderCallbackEndpoint>https://www.mydomain.com/checkout_by_amazon.php</OrderCallbackEndpoint>

Cart Request We Received:
<OrderCallbackEndpoint>https://www.mydomain.com/checkout_by_amazon.php</OrderCallbackEndpoint>

I am stumped and quite frustrated..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

13 Jan 2013, 7:36 AM
#293
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Checkout by Amazon Zen Cart Plug-in

While it's been years since I looked at CBA, I will respond generically to the 403 message you posted about.

403 FORBIDDEN means the visitor was denied due to server configuration settings, such as .htaccess rules or IP address restrictions.
The cause of such error should be recorded in the apache error log, even if it's as generic as "denied by server configuration".

It could be that there's a URL-rewriter module that's intercepting that file incorrectly.
Whatever the case, the logs should show some information. And it would be worth renaming the public_html/.htaccess file to htaccess_BAK temporarily to rule it out as a test.

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

13 Jan 2013, 7:38 AM
#294
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Checkout by Amazon Zen Cart Plug-in

So callbacks are still not working, but I think I've got some other kinks worked out.. Wanted to share some of the changes I made in case anyone finds it useful.

  1. I had to comment out the stylesheet calls in the two jscript_cba.php files because it screws up my store's template stylesheet.. Hey Amazon.. just a thought.. there has to be a BETTER way to add these styles that DO NOT interfere with a shopowner's template.. I instead added lines 34 - 241 of the Amazon stylesheet to the end of my template's stylesheet. I left out lines 1-33 because these lines were all in direct conflict with the template's stylesheet.
  2. I had to create a checkout success page for this module so that the user experience using this payment module somewhat resembled the normal checkout. I used the define pages generator in the Downloads section to do this. I called mine amazon_checkout_success. In the settings for this module I used the URL for my new defined page as the URL for the Success Return Page setting.
  3. Still trying to figure out the best way to use this with COWOA as Amazon bypasses the normal Zen Cart checkout, I need to make sure that customers who checkout without an account know that Amazon is not going to be an available payment option.
  4. Neither of the fixes posted here: http://www.zen-cart.com/showthread.php?162847-Date-corrections-in-Checkout-By-Amazon-module are included in the "latest" version of this add-on.. (what's up with THAT???) I made both of these updates in my files.
  5. Changed the shipping display (presuming I can ever get callbacks to work) so that it shows the shipping method description and leaves out the shipping module ID (Having the shipping module ID in the display looks silly IMHO) Instructions for doing that are here: http://www.zen-cart.com/showthread.php?161514-Checkout-by-Amazon-Zen-Cart-Plug-in&p=927561#post927561

Though I haven't gotten callbacks to work I am not convinced that it will display all of my active shipping methods. Namely the Free Shipping Options. Does anyone know if adding another carrier to the "supported shipping carrier" section of the checkout_by_amazon_constants.php is the right way to do this?? Or do I have to worry about this??

Finally does have issues with Amazon not filling out the customer information on the order. Amazon checkout creates a customer record using the shipping address, but the order ONLY shows a Shipping address. There is no Customer address or a Billing address.. Does anyone else have this issue?? Any clue how to resolve this??

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

13 Jan 2013, 7:45 AM
#295
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Checkout by Amazon Zen Cart Plug-in

DrByte:

While it's been years since I looked at CBA, I will respond generically to the 403 message you posted about.

403 FORBIDDEN means the visitor was denied due to server configuration settings, such as .htaccess rules or IP address restrictions.
The cause of such error should be recorded in the apache error log, even if it's as generic as "denied by server configuration".

It could be that there's a URL-rewriter module that's intercepting that file incorrectly.
Whatever the case, the logs should show some information. And it would be worth renaming the public_html/.htaccess file to htaccess_BAK temporarily to rule it out as a test.As soon as I started reading the first three lines of your post a lightbulb went off.. Then I read your last sentence.. DOH.. I'll bet it's the .htaccess I setup for Ceon URI.. Let me try updating my .htaccess to ignore the amazon payments folder..

Thanks.. I'm tired a a bit crunchy that I have to install this at all.. (client is in a dispute with PayPal and needed an alternate payment processor install ASAP he chose Amazon since he already has an affiliate account) Sometimes ya just need another set of eyes is all..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

13 Jan 2013, 7:52 AM
#296
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Checkout by Amazon Zen Cart Plug-in

Ya, the CEON URI mod was known to have problems with any normal.php files other than index.php, in its early days anyway. I had hoped those had been sorted out.

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

13 Jan 2013, 8:37 AM
#297
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Checkout by Amazon Zen Cart Plug-in

DrByte:

Ya, the CEON URI mod was known to have problems with any normal.php files other than index.php, in its early days anyway. I had hoped those had been sorted out.Okay.. so I added the following rule to my .htaccess file and I'm still getting the 403 error.. grrrrrrrrrrrrrrrrrrrrrrrrr..... what am I still missing/doing wrong here??

# Don't rewrite checkout_by_amazon directory
RewriteCond %{REQUEST_URI} !^/checkout_by_amazon/ [NC]

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

13 Jan 2013, 9:14 AM
#298
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Checkout by Amazon Zen Cart Plug-in

Did you rename the .htaccess and test?

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

13 Jan 2013, 9:46 AM
#299
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Checkout by Amazon Zen Cart Plug-in

DrByte:

Did you rename the .htaccess and test?

I went one better.. to eliminate the Ceon URI mod altogether, I turned it off, and removed the rules in the .htaccess file that supported it. Then to be VERY sure I uninstalled Amazon Payments, and reinstalled it, and tried again to checkout and still got the same result.. As soon as I log into Amazon, I got the same error..

:frusty::censored: Grrrrrrrrrrrrrrrrrrrrrrrr... I am really frustrated and not loving Amazon Payments at the moment..

Maybe I need to go to Amazon and buy a couple of books from my massive wishlist to appease the Amazon powers to be..:laugh:

Seriously though I am not sure what to do next here..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

13 Jan 2013, 10:51 AM
#300
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Checkout by Amazon Zen Cart Plug-in

If it's still throwing a 403, then you'll need to check the server logs.

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