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 241 to 260 of 350
5 Dec 2011, 12:59 AM
#241
allhen avatar

allhen

New Zenner

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

Checkout by Amazon Zen Cart Plug-in

This mod doesn't work with v1.3.9h

[04-Dec-2011 17:41:39] PHP Warning:  include_once(/home/xxxxx/public_html/checkout_by_amazon/modules/order/XMLParser.php): failed to open stream: No such file or directory in /home/xxxxx/public_html/checkout_by_amazon/amazonorder.php on line 357
[04-Dec-2011 17:41:39] PHP Warning:  include_once(): Failed opening '/home/xxxxx/public_html/checkout_by_amazon/modules/order/XMLParser.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/xxxxx/public_html/checkout_by_amazon/amazonorder.php on line 357
[04-Dec-2011 17:41:39] PHP Fatal error:  Class 'XMLParser' not found in /home/xxxxx/public_html/checkout_by_amazon/amazonorder.php on line 360
--2011-12-05 01:03:28--  https://www.xxxxxxxxxxxxxx.com/checkout_by_amazon.php?action=Everything
Resolving www.xxxxxxxxxxxxxx.com... 50.57.138.44
Connecting to www.xxxxxxxxxxxxxx.com|50.57.138.44|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://www.xxxxxxxxxxxxxx.com/index.php?main_page=cookie_usage [following]
--2011-12-05 01:03:31--  https://www.xxxxxxxxxxxxxx.com/index.php?main_page=cookie_usage
Reusing existing connection to www.xxxxxxxxxxxxxx.com:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
checkout_by_amazon.php?action=Everything: Permission denied

Cannot write to `checkout_by_amazon.php?action=Everything' (Success).

Style is lost in shopping cart when CBA is enabled :oops::oops::oops:

7 Dec 2011, 5:49 PM
#242
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Checkout by Amazon Zen Cart Plug-in

countrycharm:

I have the same problem as Jim does. AmazonPayments you never answered is there a way to do this. Seems like it should work like the PayPal payment module does. Thank You in advance.

allhen:

This mod doesn't work with v1.3.9h

[04-Dec-2011 17:41:39] PHP Warning: include_once(/home/xxxxx/public_html/checkout_by_amazon/modules/order/XMLParser.php): failed to open stream: No such file or directory in /home/xxxxx/public_html/checkout_by_amazon/amazonorder.php on line 357
[04-Dec-2011 17:41:39] PHP Warning: include_once(): Failed opening '/home/xxxxx/public_html/checkout_by_amazon/modules/order/XMLParser.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/xxxxx/public_html/checkout_by_amazon/amazonorder.php on line 357
[04-Dec-2011 17:41:39] PHP Fatal error: Class 'XMLParser' not found in /home/xxxxx/public_html/checkout_by_amazon/amazonorder.php on line 360

--2011-12-05 01:03:28--  https://www.xxxxxxxxxxxxxx.com/checkout_by_amazon.php?action=Everything
Resolving www.xxxxxxxxxxxxxx.com... 50.57.138.44
Connecting to www.xxxxxxxxxxxxxx.com|50.57.138.44|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://www.xxxxxxxxxxxxxx.com/index.php?main_page=cookie_usage [following]
--2011-12-05 01:03:31--  https://www.xxxxxxxxxxxxxx.com/index.php?main_page=cookie_usage
Reusing existing connection to www.xxxxxxxxxxxxxx.com:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
checkout_by_amazon.php?action=Everything: Permission denied

Cannot write to `checkout_by_amazon.php?action=Everything' (Success).
```Style is lost in shopping cart when CBA is enabled   :oops::oops::oops:
Does anyone have any ideas what so ever.

Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation

11 Dec 2011, 4:39 PM
#243
damiankrzyz avatar

damiankrzyz

New Zenner

Join Date:
Mar 2011
Location:
United Kingdom
Posts:
9
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

Hi,

Is anyone using this in UK. I managed to install it but now I get $ instead of GBP. Do we have to change settings to use it in UK?

Many thanks
Damian

Big Thanks to DEVELOPERS for such a great free Shopping Cart

29 Dec 2011, 8:32 PM
#244
seattleannie avatar

seattleannie

Zen Follower

Join Date:
Oct 2005
Posts:
151
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

I have the Checkout by Amazon plug in installed to a 1.3.8a Zen Cart. I am having difficulty getting orders that start on the Zen Cart site and finish on Amazon to be perceived by Amazon as items that my client has contracted with Amazon to fulfill. One possible cause for this that I have wondered about is the Amazon SKU number for each product. Zen Cart doesn't use "SKU" numbers. They use model numbers. I have given the products in Zen Cart model numbers that match the Amazon SKU numbers. But I don't know if that information is being communicated to Amazon when someone buys the product on the Zen Cart site. Could that be why these orders are not triggering the Amazon fulfillment services? Orders that start as well as end on Amazon are being fulfilled without any problem.

Thanks in advance for any help you can give me.

~anne

19 Jan 2012, 2:12 PM
#245
thieving_gypsy avatar

thieving_gypsy

New Zenner

Join Date:
May 2006
Posts:
87
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

Hello

I'm using 1.3.9h and have just installed this module. Got all the config added and seems to work until you click the button... then I get sent to the sandbox at amazon.com - then I login to amazon.. first thing I notice is the net price is in $ and then it says;

"Important Message
We're sorry, but there's a problem with this order. Please contact the merchant directly for assistance in completing this order."

I have tried changing the constants file to point at amazon.co.uk but that fails as the page doesn't exist.

Has anybody got this running for a UK based site?

Thanks

Andy

25 Jan 2012, 10:02 AM
#246
thieving_gypsy avatar

thieving_gypsy

New Zenner

Join Date:
May 2006
Posts:
87
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

Is there anybody out there that has got this add-on working on a UK based site intrgrating with amazon.co.uk?

14 Feb 2012, 10:40 PM
#247
seattleannie avatar

seattleannie

Zen Follower

Join Date:
Oct 2005
Posts:
151
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

Eventually I found the documentation from the Checkout by Amazon developer that it does not work with Amazon's Fulfillment Services. I had my client's host, who is also a programmer, take a look at the problem. And he was able to modify the module so that it WOULD work with Amazon's Fulfillment Services. It works beautifully now. Orders that originate on my client's site who choose Checkout By Amazon are being fulfilled by Amazon as well.

He describes how he did so here:
http://www.active-server.com/blog/fulfillment-by-amazon-and-zen-cart-259/ so that others can learn/benefit from it.

22 Feb 2012, 7:17 PM
#248
dennyhot avatar

dennyhot

New Zenner

Join Date:
Mar 2011
Posts:
3
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

Has anyone got this working for a UK site yet ? ive uploaded all settings and iam still getting DOLLARS in amazon sign in window and when i sign in i get IMPORTANT MESSAGE We're sorry, but there's a problem with this order. Please contact the merchant directly for assistance in completing this order. "

currently using sandbox... and iam getting no info at all from the error console in amazon seller central.

Help help help ?

23 Feb 2012, 7:02 PM
#249
dennyhot avatar

dennyhot

New Zenner

Join Date:
Mar 2011
Posts:
3
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

dennyhot:

Has anyone got this working for a UK site yet ? ive uploaded all settings and iam still getting DOLLARS in amazon sign in window and when i sign in i get IMPORTANT MESSAGE We're sorry, but there's a problem with this order. Please contact the merchant directly for assistance in completing this order. "

currently using sandbox... and iam getting no info at all from the error console in amazon seller central.

Help help help ?

Ok guys i have an answer for myself and some of the rest of you with the same problem for the UK sites.

Alas the Amazon Checkout module only supports payments for AMAZON.COM and will not work for amazon.co.uk.
Amazon checkout UK only supports at this time MAGNETO carts.

HOW TO FIX?

Well we need somone out there to configure the CHECKOUT BY AMAZON V1.0 module to work with ZENCART 1.3.9 and later versions for amzon checkout.co.uk customers.

So put your hands up? show yourselves...were are you ? were are you ? lets be avin you ....

Rallying cry for experienced coders ....

24 Feb 2012, 8:16 PM
#250
alirm41 avatar

alirm41

New Zenner

Join Date:
Feb 2012
Posts:
1
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

Hi. I am using Zencart v1.3.9h and I have installed Amazon checkout module. Unfortunately, Amazon button doesn't display on my checkout page.
Would you please advise me how I can fix it? I didn't post any details here since I have no idea what information is needed.
Please let me know if I need to share any info with you guys to solve my problem.
Thanks

8 Mar 2012, 3:58 AM
#251
webkat avatar

webkat

Zen Follower

Join Date:
Jan 2012
Location:
New England
Posts:
238
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

I'm running this with ZC 1.5.0 and it seems to work but the orders don't make it back to ZC admin because I can't figure out what the heck I'm supposed to put for Merchant URL or Integrator URL. The "What's this" text is meaningless. Can someone help out?

9 Mar 2012, 12:10 AM
#252
webkat avatar

webkat

Zen Follower

Join Date:
Jan 2012
Location:
New England
Posts:
238
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

Hey I figured out what to put for Merchant URL and Integrator URL on my own site, and everything seems to be working well--orders are showing up in ZC admin area, etc.

So now that I have it working I'm installing it on my dad's site (not live yet) and when I try to checkout using Amazon I get this message: "We're sorry, but there's a problem with this order. Please contact the merchant directly for assistance in completing this order." I'm using Advanced Shipper by CEON--I think I remember seeing some people asking about that module upthread... could that be the problem? It's ZC 1.5.0.

Also, separate issue: on my site (I use USPS shipping plugin) Amazon checkout automatically chooses USPS Express, which is the most expensive shipping. I want it to default to the cheapest method--is there a way to do that?

9 Mar 2012, 4:00 AM
#253
webkat avatar

webkat

Zen Follower

Join Date:
Jan 2012
Location:
New England
Posts:
238
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

The "problem with the order" issue seems to have gone away on its own, but now I have a question about managing orders.

I placed an order to test it... and it went through... but I wanted to refund it because I don't want to lose the money, obviously, nor do I want the item. I couldn't find anything in the ZC order admin area that told how to refund an order. I decided to try "delete" and it deleted the order...but I have no idea if that refunded my money or not. I can't find anything at SellerCentral either...

9 Mar 2012, 4:13 AM
#254
webkat avatar

webkat

Zen Follower

Join Date:
Jan 2012
Location:
New England
Posts:
238
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

I have another issue--the Amazon cart/invoice/packing slip/etc doesn't list my model number. It has a space for it, but it's empty. Why isn't this being passed along? I need to know the model numbers of the items that are being purchased--it's essential.

9 Mar 2012, 4:56 PM
#255
webkat avatar

webkat

Zen Follower

Join Date:
Jan 2012
Location:
New England
Posts:
238
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

I am still testing this by sending in test orders... of the last 3 test orders I've placed, two of them have an order date of "11/30/1999 00:00:00"... does anyone know what might cause that?

10 Mar 2012, 6:39 PM
#256
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Checkout by Amazon Zen Cart Plug-in

WebKat:

I am still testing this by sending in test orders... of the last 3 test orders I've placed, two of them have an order date of "11/30/1999 00:00:00"... does anyone know what might cause that?

I think the person who was developing this module has abandoned it.

Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation

20 Mar 2012, 11:22 PM
#257
webkat avatar

webkat

Zen Follower

Join Date:
Jan 2012
Location:
New England
Posts:
238
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

I have been going back and forth trying to figure stuff out with the Amazon help people. One of the things I'm trying to do is have Amazon default to selecting the cheapest shipping option--right now it lists them in this order:

USPS - Express Mail (1 - 2 days) - 13.95
USPS - Priority Mail (2 - 3 days) - 6.2
USPS - First-Class Mail (2 - 5 days) - 2.95

And it's preselected Express Mail, the most expensive option. The message I got back from Amazon was: "They have informed us that to know how shipping rates are displaying, please refer <zencart>/checkout_by_amazon/amazoncallback.php and refer "CalculateShippingRates" method."

So I looked and found that, and here it is... but I don't know php well enough to know what to change. Can anyone help?

function CalculateShippingRates($weight, $country_code,$postal_code,$weight,$country_id,$zone_id){
    global $order, $shipping_weight, $shipping_num_boxes, $total_weight, $shipping, $cart;
    $shipping_weight = $weight;
    $total_weight = $weight;
    $shipping_num_boxes = 1;

    $order = new zencartorder();
    $order->delivery['country']['iso_code_2'] = (string)$country_code;
    $order->delivery['country']['id'] = $country_id;
    $order->delivery['postcode'] = $postal_code;
    $order->delivery['zone_id'] = $zone_id;

    if((int)SHIPPING_ORIGIN_COUNTRY != (int)$country_id){
      $this->PreDefinedRegion="WorldAll";
    }else{
      $this->PreDefinedRegion="USAll";
    }
    writelog("PreDefinedRegion -> " . $this->PreDefinedRegion);

    $shipping = new shipping();
    $quotes_all = $shipping->quote();

    /* Setting the shipping method */
    $costArray = array();
    $quoteArray = array();
    $cnt = 0;
    for ($j = 0; $j < count($quotes_all); $j++) {
      $quotes=$quotes_all[$j];
      $cnt = $cnt +  count($quotes['methods']);
      for ($i = 0; $i < count($quotes['methods']); $i++) {
        $method = $quotes['methods'][$i];
        $cost = (float)$method['cost'];
        $shipping_id = $method['id'];
        array_push($costArray,$cost);
        array_push($quoteArray,  strtoupper($quotes['id']) . " - " .  $method['title'] . " - " . $cost);		
      }
    }
		
    /* sort the cost in values */
    asort($costArray);

    $shippingMethodsArray = array();
    $shippingMethodArray = array();
    $shippingMethodsArray['ShippingMethod'] = array();

    $MAX_SHIPPING_METHODS = 24;
    $standard = 8;
    $expedited = 15;
    $oneday = 20;
    $twoday = 25;
    $cnt = count($costArray);
    $id = 1;
    if($cnt > $MAX_SHIPPING_METHODS) {
      $standard = round(7 * $cnt / $MAX_SHIPPING_METHODS) + 1;
      $expedited = round(7 * $cnt / $MAX_SHIPPING_METHODS) + 1 + $standard;
      $oneday = round(5 * $cnt / $MAX_SHIPPING_METHODS) + 1 + $expedited;
      $twoday = $cnt - ($standard + $expedited + $oneday) + 1;
    }
    $servicelevel = "Standard";
    foreach ($costArray as $key => $cost) {
      switch($id) {
      case ($id < $standard): 
        $servicelevel = "Standard";
        break;
      case ($id < $expedited): 
        $servicelevel = "Expedited";
        break;
      case ($id < $oneday):
        $servicelevel = "OneDay";
        break;
      case ($id < $twoday):
        $servicelevel = "TwoDay";
        break;
      }

      $shippingMethodArray['ShippingMethodId'] = "ship-method-" . $id;
      $shippingMethodArray['ServiceLevel'] = $servicelevel;
      $shippingMethodArray['Rate']['ShipmentBased']['Amount'] = $cost;
      $shippingMethodArray['Rate']['ShipmentBased']['CurrencyCode'] = $this->CurrencyCode;
      $shippingMethodArray['IncludedRegions']['PredefinedRegion'] = $this->PreDefinedRegion;
      $shippingMethodArray['DisplayableShippingLabel'] = $quoteArray[$key];

      array_push($shippingMethodsArray['ShippingMethod'],$shippingMethodArray);

      $id = $id + 1;
    }	

    if($shippingMethodsArray){
      ob_writelog("Got shipping amount from shipping carrier: ", $shippingMethodsArray);
      return $shippingMethodsArray;
    }else{
      writelog("Shipping Carrier and Shipping Override are None. Please change in Checkout by Amazon 2.0 Payment module");
    }		
  }
3 Apr 2012, 10:59 AM
#258
sam_m avatar

sam_m

New Zenner

Join Date:
Nov 2007
Posts:
71
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

Has anyone actually got this working on a UK Zen Cart site? from what I have been reading its a very flakey module :(

3 Apr 2012, 11:09 AM
#259
thieving_gypsy avatar

thieving_gypsy

New Zenner

Join Date:
May 2006
Posts:
87
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

I couldn't get it working and it cost me a client. Though I do struggle to understand why you'd want to push people from your own site through Amazon to get ripped off with 12% charges...

But what do I know...

3 Apr 2012, 2:36 PM
#260
webkat avatar

webkat

Zen Follower

Join Date:
Jan 2012
Location:
New England
Posts:
238
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

I thought it was something like 30cents per sale plus 2% or something--where are you getting 12% from?