Jump to content

waxteddy

Members
  • Content count

    22
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    John Doe
  • Website
  1. waxteddy

    Estimated Shipping Costs

    Well, Well.. I found this in the ShipIt Documentation! There are three Override Codes available:Z1 - When you know that the Receiver\Address\PostalCode is not in the Receiver\Address\State use Z1 to override the DHL error message and generate the shipment. Note that by utilizing the Z1 override, the shipment may incur misroute fees. I updated the DHL module with the follwing code $request .= "<ShipmentProcessingInstructions>" . "<Overrides>" . "<Override>" . "<Code>Z1</Code>" . "</Override>" . "</Overrides>" . "</ShipmentProcessingInstructions>"; I then put a generic state in the class 'state' => 'Washington', I looks like it works! What a hack! only took me 8 hours.. Thanks for your help.. I still need to make sure these are correct estimates.... I manually enter addressed for shipping lables so if the customer entered there state or zipcode wrong I will know then...
  2. waxteddy

    Estimated Shipping Costs

    Hello- State and zip are required. Regards, XML Implementation Team DHL! Err! What kind of email is that!
  3. waxteddy

    Estimated Shipping Costs

    Nope didnt work for state, I dont ship DHL international. There rates are to high for that. I have DHL zoned to states only. I think Ill wait to hear from DHL before I put a bunch of work into rewriting the module to include a state option.
  4. waxteddy

    Estimated Shipping Costs

    I replaced 'city' => '' with 'city' => 'dummy''' And the requirement for the City went away.. I was thinking about changing estimated_shipping.php to include a state selection.. $info_box_contents[] = array('form' => tep_draw_form('estimated_shipping', tep_href_link(basename($PHP_SELF), '',$request_type, false), 'post'), 'align' => 'left', 'text' => TEXT_EXPLAIN_ESTIMATED_SHIPPING . '<BR><CENTER>' . TEXT_COUNTRY_TO_SHIP_TO . '</CENTER><TABLE WIDTH="' . BOX_WIDTH . '"><TR><TH colspan="3">' . tep_get_country_list('country', $country, 'onChange="this.form.submit();" style="width:' . (BOX_WIDTH+50) . 'px"') . '</th></tr><tr><td align="left" class="smallText">' . TEXT_ZIPCODE . '</td><td align="left">' . tep_draw_input_field('estzipcode', $estzipcode,'MAXLENGTH="20" SIZE="10"') . '</td><td align="center" class="smallText">' . TEXT_ZIPCODE_SUBMIT . '</td></tr></TABLE>' . tep_get_estimated_shipping_quotes($country, $HTTP_GET_VARS['action'],$customer_country_id)); You think making a change in there and in estimated_shipping_class.php 'state' => $custstate, or something I send them an email asking them whats the deal...
  5. waxteddy

    Estimated Shipping Costs

    Yeah, It looks like I have two choices. Create City and State fields to the est., or maintain my own zip code database. DHL is such a pain, they are cheap and fast, but they still have their issues... I really dont understand why its a requirement when you can get est. from the their website wih just a zip code..
  6. waxteddy

    Estimated Shipping Costs

    Here is the output from debuging the module.. Looks like they require city and street address to quote? Does this look like that to you? <?xml version="1.0"?> <eCommerce version="1.1" action="Response" timestamp="2005/08/31T07:00:18" transmission_reference="758285C1"><Requestor><ID>*********</ID> <Password><![CDATA[********]]></Password></Requestor><Shipment action="RateEstimate" version="1.0" test="True"><Faults><Fault><Code>2553</Code> <Desc>Required element/node is missing.</Desc><Source>Shipment/Receiver/Address/State</Source></Fault><Fault><Code>1002</Code> <Desc>Required element/node is missing.</Desc><Source>Shipment/Receiver/Address/City</Source></Fault></Faults><Result>< Code>202</Code><Desc>The shipment could not be rated.</Desc></Result><ShippingCredentials><ShippingKey>*****</ShippingKey> <AccountNbr>*****</AccountNbr></ShippingCredentials><ShipmentDetail><ShipDate>2005-09-02</ShipDate><Service><Code>G</Code></Service><ShipmentType> <Code>P</Code></ShipmentType><Weight>1</Weight><Dimensions><Length>0</Length><Width>0</Width><Height>0</Height></Dimensions><SpecialServices> <SpecialService><Code>SAT</Code></SpecialService></SpecialServices></ShipmentDetail><Billing><Party><Code>S</Code></Party></Billing><Sender/> Sorry I mean City and State
  7. waxteddy

    Estimated Shipping Costs

    I changed your line from ?if (($quotes[$i]['module'] == 'United Parcel Service' || $quotes[$i]['module'] == 'United States Postal Service' || substr($quotes[$i]['module'],0,8) == 'Airborne') && (!tep_not_null($estzipcode))) { to if (($quotes[$i]['module'] == 'United Parcel Service' || $quotes[$i]['module'] == 'United States Postal Service' || substr($quotes[$i]['module'],0,3) == 'DHL') && (!tep_not_null($estzipcode))) { All the the zip code errors are gone now, but Im still getting DHL/Airborne (1 x 6lbs) The following errors have occured: 1. Required element/node is missing. 2. Required element/node is missing. Everything is correct in my configuration, I will see if I can find where that error is coming from
  8. waxteddy

    Estimated Shipping Costs

    This is when i add a item to the cart with no zipcode DHL/Airborne (1 x 6lbs) The following errors have occured: 1. Postal Code invalid. 2. Required element/node is missing. 3. Required element/node is missing. This is when a zip code is entered. The following errors have occured: 1. Sender Zip code not found. 2. Required element/node is missing. 3. Required element/node is missing.
  9. waxteddy

    Estimated Shipping Costs

    Wow, that was fast. Im using, Airborne Express Quotes using ShipIT XML API http://www.oscommerce.com/community/contri...,all/search,DHL
  10. waxteddy

    Estimated Shipping Costs

    Any thoughts on getting this to work with DHL? I tried to change the line in functions to, if (($quotes[$i]['module'] == 'United Parcel Service' || $quotes[$i]['module'] == 'United States Postal Service' || $quotes[$i]['module'] == 'DHL/Airborne') && (!tep_not_null($estzipcode))) { But doesnt work... I wish I was a better at programming.
×