Our very popular Australian Post VirtueMart 2.0 Shipping Plugin has just had another upgrade to handle the false postcode failure much better.
Up to now if the customer entered a wrong Australian Postcode the error would be returned BUT the customer could also checkout with the zero postage.
This is because of the way Virtuemart 2.0 handles the returns from the shipping plugins - anything that is not a number or is empty is treated as 0.00.
You can download it here - Download Price is €40.00
Now the Australian Postcode check can be done at the shipping plugin selection stage so if the postcode is incorrect the dreaded "We are sorry, no shipment method matches the characteristics of your order." will appear.
You can edit this in your language files to suggest they check their postcode etc....
This is selectable in the AusPost plugin config under "Pre-fail on AusPost error".
You can also choose to show the error returned by AusPost - Info: auspost.com.au : Please enter a valid To postcode.
If you don't choose this option then the default is the AusPost ship method will appear in the Shipping Methods selection but the radio button will be greyed out and a message shown if you choose "Show AusPost error" in the config. An alternative message can be chosen.
The message can be styled by targeting class "aserrorshow".
If you have ONLY AusPost selected as a shipping method this will still work although the method will appear in the cart but labelled so:
The method is actually disabled and if you try to confirm the cart you get this message:
WARNING!!! Due to I don't know what there appears to be NO CHECKING of Australian Postcodes with Letter Post - You can test this on http://auspost.com.au/apps/domestic-letter.html - no where is the address asked for. Even though the api requires a postcode the AusPost system doesn't check it.
If you have an older version just use the Support page to contact me with your details and I will send you the updated version.
There is no need to uninstall/re-install - you can just unzip the vm2.0.auspost.shipping.zip and ftp the following 2 files to the correct folder. I would suggest you rename the 2 existing files so you can go back to the older version if this solution isn't wanted.
|Last Updated on Saturday, 26 January 2013 17:14|