Chris Norton

Register Log in

I got BPAY working last night and have added it, as well as the direct deposit functionality created previously, to the Australia module page on the Fontis site. Hopefully the instructions are clear enough: the module as a whole is started to get more complicated now that I had to start defining custom template files.

I have just finished adding a basic direct deposit payment module to my Australian Magento module. Development only took a day - again, because I didn’t understand some basic things to do with the Magento/Zend framework - and was mostly done by replicating functionality for the Check/Money Order module that’s already in Magento. Although direct deposit is currently lumped in with the rest of the Australian stuff I could always extract it if people in other countries would find it useful. I’m not sure how popular a payment method it is overseas.

The next order of business will be cleaning up the code for release and then moving on to the development of a BPAY payment method, which should be pretty similar to direct deposit.

To go along with my previous post on how to enable the en_AU locale in Magento, here is my unofficial, incomplete translation for said locale: en_au.zip. To install, simply unzip it to app/locale/ alongside the existing en_US locale directory.

Please note that this is incomplete - I haven’t made changes to things like “Zip Code” for example.

I have requested an official Australian locale and translation be added so hopefully I can move some of these changes across to the core soon, maybe for inclusion in the next version of Magento?

Update: Please note that en_AU is now included by default in Magento so all this is unnecessary.

Simple tip here on how to enable the “English (Australia)” locale in Magento: simply go to app/etc/config.xml and, under config->global->locale->allow->codes add in the text <en_AU/>. Your config file should have something similar to the following:

<config>
    <global>
        <locale>
            <allow>
                <codes>
                    <en_AU/>

You can even do this before installation to allow the selection of the Australian locale during the install process.

I have completed the first part of a new module for the open source ecommerce software Magento which aims to add in a bunch of additional functionality specific for Australia. You can find the module, along with installation instructions at the Fontis Magento project page.

Read the rest of this entry »