Zen Cart Logo
Forums / Addon Shipping Modules / ozpost shipping module

ozpost shipping module

Views: 403,044

Results 2,001 to 2,020 of 2,251
20 May 2014, 1:41 PM
#2001
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

ozpost shipping module

vandiermen:

Hi Rod,
We are getting a warning message saying
E-go : The calculator API has been updated on Monday 19th May. Please see details on http://www.e-go.com.au/infopage.do?page
Do we just need to update the ozpost version to fix this?

All fixed. Please let me know if still having problems.

Cheers
RodG

20 May 2014, 2:20 PM
#2002
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

New release now available V3.6.0

Changes since V3.5.5

$Id: ozpost.php,V3.5.6 Apr 15th 2014
Removed backslash from update code (creates errors with older versions of PHP)
Fixed issue with the update_products.php not being correctly patched with all installations.
Tweaked update code (attempting to avoid DB/File mismatching.

$Id: ozpost.php,V3.5.7 Apr 22nd 2014
Added more validity checks for code patching
Added patch to /admin/includes/header.php file to display update notifications and expiration countdown (optional)

$Id: ozpost.php,V3.6.0 May 20th 2014
Updated to work with Transdirect V3 API
Added Transdirect Insurance options
More updates to the installation/upgrade code
Tare weights can now be added as absolute weights (as well as percentage of parcelweight)
Server check now displays IP addresses as well as hostnames.
Dropped the Ebay Satchels & Boxes (No longer supported for general use).
Added new Click n Send methods (Replacement methods for the Ebay options)

Please don't hesitate to let me know of any problems or issues.

Thanks
Rod

21 May 2014, 12:06 AM
#2003
evocivic avatar

evocivic

New Zenner

Join Date:
Mar 2014
Location:
Sydney, Australia
Posts:
7
Plugin Contributions:
0

Re: ozpost shipping module

Just upgraded to 3.6.0 and Click & Send has completely vanished ...

21 May 2014, 7:38 AM
#2004
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

EvoCivic:

Just upgraded to 3.6.0 and Click & Send has completely vanished ...

If you haven't done so already, could you please click the buttons to uninstall and reinstall, and let me know if the problem persists.

Thanks
RodG

21 May 2014, 11:24 AM
#2005
evocivic avatar

evocivic

New Zenner

Join Date:
Mar 2014
Location:
Sydney, Australia
Posts:
7
Plugin Contributions:
0

Re: ozpost shipping module

RodG:

If you haven't done so already, could you please click the buttons to uninstall and reinstall, and let me know if the problem persists.

Thanks
RodG

That did it. I always hate doing an uninstall/reinstall in case something disastrous happens but it seems to have worked fine :smile:.

3 Jun 2014, 10:56 PM
#2006
rlgriffo avatar

rlgriffo

New Zenner

Join Date:
Jun 2014
Location:
Newcastle, New South Wales, Australia
Posts:
3
Plugin Contributions:
0

Re: ozpost shipping module

Hi Rod,
I am using Zen Cart 1.5.1 and the latest download of OZCart. I am only interested in the Fastway courier service and changing the prices for the courier. Is this possible?

Thanks, Rachelle

4 Jun 2014, 4:34 AM
#2007
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

rlgriffo:

Hi Rod,
I am using Zen Cart 1.5.1 and the latest download of OZCart (sic). I am only interested in the Fastway courier service and changing the prices for the courier. Is this possible?

Yes, it is possible to only enable the FastWay courier methods, and the prices can be adjusted via the handling fees.

You can't specify your own prices though because that pretty much defeats the entire point of ozpost, which is to provide accurate real time quotes.

You should also consider the fact that Fastway don't deliver to all suburbs, so having them as the only carrier is going to cause an issue for many potential customers.

Cheers
RodG

9 Jun 2014, 10:09 AM
#2008
gee38l avatar

gee38l

Zen Follower

Join Date:
Jul 2008
Posts:
362
Plugin Contributions:
0

Re: ozpost shipping module

Hi Rod,

Installed ozpost module to use with tnt and Aus Post.

Aus post is working fine but for the life of me can't get TNT to work, I have entered my login details and account number.

Any ideas?

9 Jun 2014, 1:06 PM
#2009
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

gee38l:

Hi Rod,
Installed ozpost module to use with tnt and Aus Post.
Aus post is working fine but for the life of me can't get TNT to work, I have entered my login details and account number.
Any ideas?

Assuming your account details are correct, this generally means that the 'RTT' service hasn't been enabled for your TNT account. You will need to phone or email them to have this activated (it's not enabled by default).

There are two error messages that the TNT servers return that provide a clue as to exactly what the problem is.

The 1st one sates "The username or password is incorrect" . I assume that you are NOT getting this one.

The other states "The account number supplied is invalid or not assigned to this login", which means a call to the CIT Helpdesk on 1300 851 131

Cheers
RodG

10 Jun 2014, 12:24 PM
#2010
gee38l avatar

gee38l

Zen Follower

Join Date:
Jul 2008
Posts:
362
Plugin Contributions:
0

Re: ozpost shipping module

RodG:

Assuming your account details are correct, this generally means that the 'RTT' service hasn't been enabled for your TNT account. You will need to phone or email them to have this activated (it's not enabled by default).

There are two error messages that the TNT servers return that provide a clue as to exactly what the problem is.

The 1st one sates "The username or password is incorrect" . I assume that you are NOT getting this one.

The other states "The account number supplied is invalid or not assigned to this login", which means a call to the CIT Helpdesk on 1300 851 131

Cheers
RodG

Looks like I'm getting the username/password incorrect

<quote><id>Error</id><cost>0.00</cost><days>-1</days><description>TNT : Username and password combination is incorrect.</description></quote>

Triple checked the info and its definitely correct can log into tnt website fine.

Any ideas?

10 Jun 2014, 1:29 PM
#2011
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

gee38l:

Looks like I'm getting the username/password incorrect

<quote><id>Error</id><cost>0.00</cost><days>-1</days><description>TNT : Username and password combination is incorrect.</description></quote>

Triple checked the info and its definitely correct can log into tnt website fine.

Any ideas?

Which site are you logging into?

https://www.tntexpress.com.au/interaction/asps/login.asp
http://www.tnt.com/express/en_au/site/home.html

Your account needs to be with tntexpress.com.au.

Cheers
RodG

10 Jun 2014, 2:31 PM
#2013
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

gee38l:

my login details work with both...

Really?? That never used to be the case.

Oh well, not to worry....

Could I please get you to enter "Demo" into the TNTusername field in the ozpost settings, and let me know if quotes are being returned (or not).

Please note: This is for testing only. Do NOT use it on a production server. The quotes won't be accurate.

Cheers
RodG

11 Jun 2014, 5:36 AM
#2014
gee38l avatar

gee38l

Zen Follower

Join Date:
Jul 2008
Posts:
362
Plugin Contributions:
0

Re: ozpost shipping module

RodG:

Really?? That never used to be the case.

Oh well, not to worry....

Could I please get you to enter "Demo" into the TNTusername field in the ozpost settings, and let me know if quotes are being returned (or not).

Please note: This is for testing only. Do NOT use it on a production server. The quotes won't be accurate.

Cheers
RodG

Ok tried the demo and still get the same username/password error

I also just tried changing my password to see if that worked and still no good.

11 Jun 2014, 9:15 AM
#2015
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

gee38l:

Ok tried the demo and still get the same username/password error

Could you please confirm that you used "Demo" and not "demo"

Thanks
Rod

11 Jun 2014, 9:25 AM
#2016
gee38l avatar

gee38l

Zen Follower

Join Date:
Jul 2008
Posts:
362
Plugin Contributions:
0

Re: ozpost shipping module

RodG:

Could you please confirm that you used "Demo" and not "demo"

Thanks
Rod

Do i leave the tnt account and password field blank?

11 Jun 2014, 9:32 AM
#2017
gee38l avatar

gee38l

Zen Follower

Join Date:
Jul 2008
Posts:
362
Plugin Contributions:
0

Re: ozpost shipping module

Ok got the demo to bring up quotes but for the life of me can't get my details to work. I spoke to the TNT help desk got RTT enabled and they said my current details should work fine

11 Jun 2014, 10:42 AM
#2018
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

gee38l:

Ok got the demo to bring up quotes but for the life of me can't get my details to work. I spoke to the TNT help desk got RTT enabled and they said my current details should work fine

OK, before I go any further, I will explain how the 'Demo' works.

The TNT servers don't actually have a demo/test account for us developers to work with, so when the username 'Demo' is received by the ozpost servers, this name, the password, and the account details (if supplied) are replaced by real/valid details from a friends TNT account (used with permission), so this tells me/us that there is nothing amiss with the data being sent to the TNT servers, and that their servers are functioning correctly, at least for this friends account.

I've also verified that this 'Demo' account works (in fact I tested this before asking you to, which is why I was quite surprised when you said it didn't work when you first tried it), but as an additional test, I removed one of the digits from his account number just to be sure that TNT haven't changed their response codes, and as expected I received the "The account number supplied is invalid or not assigned to this login" response.

This has made it quite 'obvious' that it is indeed a username/password error associated with your account.

The problem now is what is wrong?

One of the things that come to mind is the length of the username or password. When I was 1st setting this up several years ago I discovered a flaw in their web interface in that it was truncating the input fields at 'x' number of characters (sorry, I can't remember the actual length. The result of this being if for example, the password entered was "thisinsmypassword" what was actually being saved by TNT was something like "thisismypass". Needless to say, because this was only applicable to their web interface. it was never seen as a problem until "thisismypassword" was entered into the ozpost settings which then caused a password mismatch. ozpost was sending "thisinsmypassword" but the TNT servers are/were expecting "thisismypass", so that is one possibility.

Another possible cause is if the username (or password) contains any 'special characters' that are filtered by their web interface, but not filtered by their API. I recall at least one case where this was a problem, and the solution was for the customer to change the username or password so it doesn't contain any of these 'special' characters.

Other than these two things I'm pretty much out of ideas. About the only thing I can say for sure is that it definitely is username/password related, and it is almost certainly caused by a difference between how thier website(s) handle these inputs vs how their API handles the same inputs.

Therefore, my suggestion is to firstly change both your username and password so they don't contain anything other than alphanumerics, and to keep both of them under 12-15 characters. If this STILL causes a problem then if I could get you to PM the details you are using (no need for the account number, because as noted, this gives a different error) and I'll be able to insert then directly into the ozpost server requests and investigate further.

Cheers
RodG

11 Jun 2014, 10:55 AM
#2019
gee38l avatar

gee38l

Zen Follower

Join Date:
Jul 2008
Posts:
362
Plugin Contributions:
0

Re: ozpost shipping module

Yeah i didn't have the capital D when i first tried... Worked when i adjusted

In regards to usernames and password tntexpress use your email as your username and the password isn't strict so my current one is basic.

I created another log in with a simple email/password still doesn't work.

11 Jun 2014, 1:37 PM
#2020
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

gee38l:

In regards to usernames and password tntexpress use your email as your username

This never used to be the case, but I have confirmed that this does appear to be a requirement with their current system(s). In theory this shouldn't be the cause of the problem because even my friends ' account that I use for the 'Demo' testing is an email address.

I've also confirmed that the same usernames/password pairs now work on all of the TNT sites, which again, never used to be the case.

I created another log in with a simple email/password still doesn't work.

I'm guessing that this was the same that you've PM'd me?

Anyway, as per my PM reply, this has me beat, and I've submitted a report/help request to the TNT folk, hoping they'll have an answer.

Please post any further communication about this via PM (to help avoid clutter in the forum).

I'll report the final findings/solution or whatever back here when we've resolved the issue.

Cheers
RodG