News:

Looking for documentation? Take a look on our wiki

Main Menu

DHL Shipping and printing shipping labels

Started by durian, January 04, 2006, 18:10:59 PM

Previous topic - Next topic

Josh

Ok, so im no longer getting the errors that I was recieving before. Now I am just getting Error: Please select a Shipping Method.
Any ideas what I need to do this now?

holsum

Latest version of DHL ship and Print Model has been released for Virtuemart 1.0.12
http://holsumstudios.com/component/option,com_docman/task,doc_details/gid,9/Itemid,47/
   

This is the FULL VERSION of the Virtuemart v.1.0.12 DHL ship & Print Module.

Features:

    * DHL application for DHL API (you will need a dhl account to use this module)
    * Automatic DHL rates for domestic and international customers.
    * From the virtumart administrator section:
          o One click auto generated labels
          o One click void shipment
          o One click tracking

tonertek

Is there any word on a fix for the DHL module for Virtuemart 1.0.12 . It currently does not work :-( despite every effort.

mr9sky

Guys, I think the link is down . I am gettingerros like this:

Parse error: syntax error, unexpected $end in /var/www/vhosts/holsumstudios.com/httpdocs/modules/mod_contentitem.php on line 124


ANyone has alternate download links?




holsum

The link is up but I do seem to see a bug in this version.  The "Print" feature doesn't seem to be working correctly.  If anyone has any ideas why or was able to get this work on in their version let me know.

I will try to investigate it as well.  Time permitting.

-holsum

TheWebGuy

Hi all, I'm a complete noob to this and would appreciate some help...

I'm on step 2 of the instructions for the installation of this module and keep getting errors on the import.

2. Update your database with the provided SQL updates located in the "sql" directory.
Import dhl_create_table.sql first. It will create a table to hold information for the labels.
Import dhl_add_countries.sql into the jos_vm_country table.
Import dhl_add_states.sql into the jos_vm_state table.


I'm using PHPMyAdmin/MySQL...so what I did was
1. Select the database to import these files to
2. Clicked on "Import" which takes me to the Import page:
    a. Browse to location of the file (selected the "dhl_create_table.sql" file)
    b. Unchecked the "Allow Interupt"
    c. Format of imported file SQL checked
    d. SQL compatibility mode: NONE
3. Clicked "Go"

Then I get Navigation to Page was Cancelled: Refresh
When I refresh I get this ERROR: Error
You probably tried to upload too large file. Please refer to documentation for ways to workaround this limit.

I know that the file is not too large...it's quite small :-)

So I opened the "dhl_create_table.sql" and changed the "mos_" to "jos_" because all my tables are jos_
I then tried to import via the SQL page querie...and recieved the same ERROR.

I was able to import the other 2 .sql files for countries and states (once I change the mos_ to jos_)

Can someone please help me to "dhl_create_table.sql" imported without ERROR?

Thanks,
TheWebGuy

TheWebGuy

Ok nevermind it appears that even though it threw the described ERROR the table was still created.

Next Question is:

When filling out the Shipping Module Configuration:

Quote"Click on the "Configure Ship Method" under The DHL Shipping Module. This should pull up a configuration page for the module. Fill in the values acordingly. You will need the information from step one for this. if you dont understand something hover over the help icon for an explanation."

The text boxes are already filled with: <? echo DHL_ID?>

Do I just replace the DHL_ID OR replace the entire text?

Should it be:

<? echo 12345678?> OR 12345678 in the text box?

I know this question will probably make most of you laugh, so after you have a good laugh
can you please reply with the correct answer  :D

Thanks.



TheWebGuy

OK I'm getting Error: Invalid DHL XML Response.

Under the Shipping Module Configuration: dhl.php
Do all Items have to be filled in for this to work?

I don't need:
1. International Shippping
2. What is "Too late to ship"?
3. Shipping Contents can be anything right?
4. Weight of Packaging: One Product weighs 21oz. the Other 42oz. What if anything goes here?
5. I won't be using Duty since I'm not shipping International
6. I won' be using Insurance



Any kind of more specific instructions and/or help is greatly appreciated.
Has anyone got this module to work for them?

Thanks,
The Web Guy

aravot

I have not tried this DHL shipping module, don't know if it works or not but I am sure the first 5 fields need to have value.

TheWebGuy

Yeah, I did fill in all the "necessary" boxes or the ones I think are "necessary"...ID LOGIN PW etc.

I'm just not too sure about the others.
I've tried a number of different combinations now with the same result.

Error: Invalid DHL XML Repsonse

I have no where else to go for help so I'll hope and wait someone responds  :)

I've also noticed that when I save this Config and then go back to change something none of my previous data is there?
I know I have all the correct permissions on the .php files so it's not a "writeable" "non-writeable" issue.

Someone help please!?

TheWebGuy

Ok...slowly but surely I'm getting somewhere

There was a "bad" line in my english.php file, once I fixed that it seems to be processing almost:
Now I get this:
It is too late for the DHL shipment to go out today. The order will ship on: Jan 21, 2008

Next Afternoon: The shipment could not be rated. [code 202]
This account can not be used for rate estimates. [code 4198]

Second Day: The shipment could not be rated. [code 202]
This account can not be used for rate estimates. [code 4198]

Ground: The shipment could not be rated. [code 202]
This account can not be used for rate estimates. [code 4198]

If anyone wants to know how to get rid of the "It is too late to ship today...etc."
In the dhl.php file starting at line 39 "$shipping_delayed = true;"

Change all these to: $shipping_delayed = false;

I've sent an email to DHL, I wonder who will respond first?

mizanation

is this module compliant with dhl's new xml-api?

TheWebGuy

As far as I know it is, I haven't changed anything since I first installed it and it is still working with DHL.