Jump to content

Hollmers

Member
  • Posts

    11
  • Joined

  • Last visited

Posts posted by Hollmers

  1. Allowed and disallowed zones are empty.

    Edited the file once more and the secion where the trigger_error statements were, now look like this

    } else {
                            findReasons($this->_client);
                        trigger_error('FedEx Error: No shipping quotes could be obtained for '.$this->_basket['delivery_address']['postcode'].', '.$this->_basket['delivery_address']['country_iso'], E_USER_WARNING);
                    }
                  
                } else {
                    findReasons($this->_client);
                   trigger_error('FedEx Error: '.$response->Notifications->Message, E_USER_WARNING);

                } 
                 
            
            } catch (SoapFault $exception) {
                findReasons($this->_client);
              trigger_error('FedEx Error: invalid request', E_USER_WARNING);       
            }
            
            return (isset($package)) ? $package : false;
        }
                    }
     

    Did the FedEx module work for other users of CubeCart?  I cannot imagine that I am the only users!

  2. I made all the changes you requested.  United States changed to US.  South Carolina to SC.

    Attached is an pdf file of the directory structure.  Fedex is in the shipping subdirectory.

    Please advise where you want me to install the code you provided.  Kindly provide a line text that I can search for underneath wich I should insert the following code.

    public function calculate() {

      function findReasons($soapClient) {
        // Admin needs to enable debugging to see the Request/Response
        // from testing the checkout to get a FedEx Request/Response
        if(!is_object($soapClient)) return false;
        $GLOBALS['debug']->debugMessage("FedEx Request :<br>", htmlentities($soapClient->__getLastRequest()), "<br>");
        $GLOBALS['debug']->debugMessage("FedEx Response :<br>", htmlentities($soapClient->__getLastResponse()), "<br>");
      }

      $path_to_wsdl = CC_ROOT_DIR.'/modules/shipping/FedEx/wsdl/RateService_v13.wsdl';

          } else {
            findReasons($this->_client);
            trigger_error('FedEx Error: No shipping quotes could be obtained for '.$this->_basket['delivery_address']['postcode'].', '.$this->_basket['delivery_address']['country_iso'], E_USER_WARNING); // E_USER_ERROR);
          }

    CubeCart_Directory.pdf

  3. The only folder located in the shipping subdirectory was a folder from a prior installation of "All_in_One_Shipping" which I had uninstalled again since it did not work.  Apparently the 'uninstall procedure' does not remove all what it had installed prior.

    There was no FedEx folder. I had used the "Auto Install/Upgrade Token", but it apparently did not create the FedEx folder.  Did a manual download and installed FedEx in the "Shipping" subdirectory.

    The text "E_USER_ERROR" was not to be found.  Apparently already changed in the latest version.  I found three references that were already changed to "E_USER_WARNING".

    I looked at the code you want me to implement, i.e.

    bhsmither commented on Dec 28, 2016 • edited
    Please consider:

    public function calculate() {

      function findReasons($soapClient) {
        // Admin needs to enable debugging to see the Request/Response
        // from testing the checkout to get a FedEx Request/Response
        if(!is_object($soapClient)) return false;
        $GLOBALS['debug']->debugMessage("FedEx Request :<br>", htmlentities($soapClient->__getLastRequest()), "<br>");
        $GLOBALS['debug']->debugMessage("FedEx Response :<br>", htmlentities($soapClient->__getLastResponse()), "<br>");
      }

      $path_to_wsdl = CC_ROOT_DIR.'/modules/shipping/FedEx/wsdl/RateService_v13.wsdl';

          } else {
            findReasons($this->_client);
            trigger_error('FedEx Error: No shipping quotes could be obtained for '.$this->_basket['delivery_address']['postcode'].', '.$this->_basket['delivery_address']['country_iso'], E_USER_WARNING); // E_USER_ERROR);
          }

    But I don't know where to insert this code exactly in the file.

    Debug is set and you can place an order.  Hopefully you can make sense of the details provided at the bottom of the screen.  All other changes you suggested have been made.

    Please review and advise.  Again the site is "http://asbach-chocolates.com

    Thanks

  4. Have tried several of the shipping methods, i.e. USPS, Flat Shipping, and now FEDEX.  USPS AND THE FLAT SHIPPING DO NOT SEEM TO WORK.

    Same problem with Fedex.  Get the following error message

    The following errors were detected:
    Unfortunately there are no suitable shipping methods available for your order. This may be because the total weight of your order is too high or we cannot ship to your country. Please contact a member of our staff for any further inquiries.

    All product have a weight but nothing seems to see the weight of the product.  See attached

    Also,  how to a change the default color the the optional color of green displayed on the bottom of the screen.

    Take a look: http://asbach-chocomates.com

    Thank you

     

    shopping_basket_3lb .pdf

  5. I am using version 6 and the default Foundation Template.  The text under the box slider states "This message and the slider above (including the images) can be edited using the Rich Text Editor which can be found in the admin control panel of your store under File Manager > Documents."

    I attach image of the folder content.  There is no folder that allows editing of the images and the slider.  

    Please advise

    DocumentsFolder.jpg

×
×
  • Create New...