Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2010
    Posts
    207
    Plugin Contributions
    1

    Default Periship module from Numinix - Problem with recipient info

    Hello,

    I installed the Periship module from Numinix (.numinix.com/periship-shipping-module]) on my ZC 1.3.9d website and my 1.3.9h website. Unfortunately, it appears as though the code of the module is somewhat incomplete... namely, the Recipient State and Zip Code are hard-coded into the module. What Zen Cart code can be used in place of those constants, i.e., the order's ship-to State and Zip Code?

    This is the portion of the code in question:

    Code:
      function calculation($saturday = 'Y') {
        global $order, $db, $shipping_weight, $httpClient;
        
        $order_total = $_SESSION['cart']->show_total();
        
        $request = "<PeriShipRateRequest>
                     <RequestHeader>
                       <ShipperID>" . $this->account . "</ShipperID>
                       <ShipperPassword>" . $this->password . "</ShipperPassword>
                       <ShipperZIPCode>" . $this->zip . "</ShipperZIPCode>
                     </RequestHeader>
                     <RecipientInfo>
                       <RecipientState>LA</RecipientState>
                       <RecipientZip>70065</RecipientZip>
                     </RecipientInfo>
                     <PackageInfo>
                       <Weight>" . $shipping_weight . "</Weight>
                       <RecipientType>R</RecipientType>";
        if ($this->signature != 'none') {
          $request .= "<SignatureType>N</SignatureType>";
        }
    (FYI, I changed the state to La and the Zip to 70065... it was originally a CT state and zip. I also changed "Recipient Type" from "C" to "R" (Commercial to Residential).

    Thanks!
    Last edited by Kim; 12 Jan 2012 at 11:26 PM.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,825
    Plugin Contributions
    0

    Default Re: Periship module from Numinix - Problem with recipient info

    You need to contact the author. While the module may be free it is not hosted or supported here.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

 

 

Similar Threads

  1. 1062 Duplicate entry 'SHOW_PRODUCT_INFO_CONDITION' installing numinix product fields
    By Xbox Memberships in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 24 Jun 2013, 01:11 PM
  2. NUMINIX FedEx Web Services Module Question - List Rates
    By janellez in forum Addon Shipping Modules
    Replies: 4
    Last Post: 23 Mar 2012, 09:18 PM
  3. FedEx module Numinix 1.4.5.2 getting started
    By FlawlessDzign in forum Addon Shipping Modules
    Replies: 10
    Last Post: 27 Mar 2011, 08:08 PM
  4. Replies: 0
    Last Post: 19 Jan 2010, 03:46 AM
  5. Dimensions Error with Numinix Fedex module 1.4.1, the newest one
    By mental.piracy in forum Addon Shipping Modules
    Replies: 0
    Last Post: 17 Jun 2009, 03:45 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
  •