Page 26 of 35 FirstFirst ... 162425262728 ... LastLast
Results 251 to 260 of 350
  1. #251
    Join Date
    Jan 2012
    Location
    New England
    Posts
    238
    Plugin Contributions
    0

    Default 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?

  2. #252
    Join Date
    Jan 2012
    Location
    New England
    Posts
    238
    Plugin Contributions
    0

    Default 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?

  3. #253
    Join Date
    Jan 2012
    Location
    New England
    Posts
    238
    Plugin Contributions
    0

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

  4. #254
    Join Date
    Jan 2012
    Location
    New England
    Posts
    238
    Plugin Contributions
    0

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

  5. #255
    Join Date
    Jan 2012
    Location
    New England
    Posts
    238
    Plugin Contributions
    0

    Default 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?

  6. #256
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Checkout by Amazon Zen Cart Plug-in

    Quote Originally Posted by WebKat View Post
    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

  7. #257
    Join Date
    Jan 2012
    Location
    New England
    Posts
    238
    Plugin Contributions
    0

    Default 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?

    PHP Code:
    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($cnt $MAX_SHIPPING_METHODS) + 1;
          
    $expedited round($cnt $MAX_SHIPPING_METHODS) + $standard;
          
    $oneday round($cnt $MAX_SHIPPING_METHODS) + $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");
        }        
      } 

  8. #258
    Join Date
    Nov 2007
    Posts
    71
    Plugin Contributions
    0

    Default 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

  9. #259
    Join Date
    May 2006
    Posts
    84
    Plugin Contributions
    0

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

  10. #260
    Join Date
    Jan 2012
    Location
    New England
    Posts
    238
    Plugin Contributions
    0

    Default 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?

 

 
Page 26 of 35 FirstFirst ... 162425262728 ... LastLast

Similar Threads

  1. Checkout by Amazon shopping cart bug?
    By fatiga in forum Addon Payment Modules
    Replies: 0
    Last Post: 9 Aug 2011, 06:38 PM
  2. Zen Cart - Amazon.com Model
    By Cylants in forum General Questions
    Replies: 2
    Last Post: 27 May 2008, 04:05 AM
  3. Amazon Payments for Zen-Cart?
    By fruitjars in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 15 Feb 2008, 04:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR