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,715
    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. Replies: 0
    Last Post: 11 Sep 2014, 03:54 PM
  2. Problems with Numinix Fast checkout module
    By petergy in forum All Other Contributions/Addons
    Replies: 13
    Last Post: 16 Sep 2012, 03:44 PM
  3. v139h Problem with installing Numinix FedEx webservices Module
    By abpse in forum Addon Shipping Modules
    Replies: 4
    Last Post: 26 May 2012, 07:37 PM
  4. Replies: 0
    Last Post: 19 Jan 2010, 03:46 AM
  5. Paypal payment received - no order info - problem with SEO module
    By bigbadboy in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 3 Sep 2008, 03:14 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