Version Notes
Currently active are modules for BPAY, direct deposit, Australia Post, the addition of regions and postcodes, and the addition of ABN and phone number to the general configuration values (although currently not in use).
Download this release
Release Info
Developer | Magento Core Team |
Extension | Fontis_Australia |
Version | 0.8.0 |
Comparing to | |
See all releases |
Code changes from version 0.7.1 to 0.8.0
- app/code/community/Fontis/Australia/Model/Payment/Westpac/PayWay_Api.php +170 -0
- app/code/community/Fontis/Australia/Model/Payment/Westpac/PayWay_Net.php +170 -0
- app/code/community/Fontis/Australia/Model/Shipping/Carrier/Australiapost.php +1 -1
- app/code/community/Fontis/Australia/Model/Shipping/Config/Weightunits.php +2 -1
- app/code/community/Fontis/Australia/etc/config.xml +1 -1
- app/design/frontend/default/default/template/fontis/australia/payment/bpay/info.phtml +8 -80
- package.xml +4 -4
app/code/community/Fontis/Australia/Model/Payment/Westpac/PayWay_Api.php
ADDED
@@ -0,0 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Fontis Australia Extension
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Fontis
|
16 |
+
* @package Fontis_Australia
|
17 |
+
* @author Chris Norton
|
18 |
+
* @copyright Copyright (c) 2008 Fontis Pty. Ltd. (http://www.fontis.com.au)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
+
*/
|
21 |
+
|
22 |
+
/**
|
23 |
+
* PayWay API payment model
|
24 |
+
*
|
25 |
+
* @category Fontis
|
26 |
+
* @package Fontis_Australia
|
27 |
+
*/
|
28 |
+
class Fontis_Australia_Model_Payment_Westpac_PayWay_Api extends Mage_Payment_Model_Method_Abstract
|
29 |
+
{
|
30 |
+
protected $_code = 'bpay';
|
31 |
+
protected $_formBlockType = 'fontis_australia_block_payway_api_form';
|
32 |
+
protected $_infoBlockType = 'fontis_australia_block_payway_api_info';
|
33 |
+
|
34 |
+
protected $_ref = null;
|
35 |
+
|
36 |
+
// Set to allow the admin to set whether or not payment has been received.
|
37 |
+
protected $_canCapture = true;
|
38 |
+
|
39 |
+
public function isAvailable($quote = null)
|
40 |
+
{
|
41 |
+
$groupAccess = $this->getConfigData('customer_group_access');
|
42 |
+
$group = $this->getConfigData('customer_group');
|
43 |
+
|
44 |
+
if($groupAccess == 0)
|
45 |
+
{
|
46 |
+
// No restrictions on access
|
47 |
+
return true;
|
48 |
+
}
|
49 |
+
elseif($groupAccess == 1)
|
50 |
+
{
|
51 |
+
// Only allow customer to access this method if they are part of the
|
52 |
+
// specified group
|
53 |
+
if($group == $quote->getCustomerGroupId())
|
54 |
+
{
|
55 |
+
return true;
|
56 |
+
}
|
57 |
+
}
|
58 |
+
elseif($groupAccess == 2)
|
59 |
+
{
|
60 |
+
// Only allow customer to access this method if they are NOT part
|
61 |
+
// of the specified group
|
62 |
+
if($group != $quote->getCustomerGroupId())
|
63 |
+
{
|
64 |
+
return true;
|
65 |
+
}
|
66 |
+
}
|
67 |
+
|
68 |
+
// Default, restrict access
|
69 |
+
return false;
|
70 |
+
}
|
71 |
+
|
72 |
+
/**
|
73 |
+
* Assign data to info model instance
|
74 |
+
*
|
75 |
+
* @param mixed $data
|
76 |
+
* @return Fontis_Australia_Model_Payment_Method_Bpay
|
77 |
+
*/
|
78 |
+
public function assignData($data)
|
79 |
+
{
|
80 |
+
$info = $this->getInfoInstance();
|
81 |
+
$info->setBillerCode($this->getBillerCode());
|
82 |
+
$info->setRef($this->getRef());
|
83 |
+
|
84 |
+
$details = array();
|
85 |
+
if ($this->getBillerCode())
|
86 |
+
{
|
87 |
+
$details['biller_code'] = $this->getBillerCode();
|
88 |
+
|
89 |
+
if($this->getRef())
|
90 |
+
{
|
91 |
+
$details['ref'] = $this->getRef();
|
92 |
+
}
|
93 |
+
}
|
94 |
+
if (!empty($details))
|
95 |
+
{
|
96 |
+
$this->getInfoInstance()->setAdditionalData(serialize($details));
|
97 |
+
}
|
98 |
+
return $this;
|
99 |
+
}
|
100 |
+
|
101 |
+
public function getBillerCode()
|
102 |
+
{
|
103 |
+
return $this->getConfigData('biller_code');
|
104 |
+
}
|
105 |
+
|
106 |
+
public function getRef()
|
107 |
+
{
|
108 |
+
if($this->_ref)
|
109 |
+
{
|
110 |
+
return $this->_ref;
|
111 |
+
}
|
112 |
+
else
|
113 |
+
{
|
114 |
+
// Check whether we will be calculating the reference code based on
|
115 |
+
// the customer ID or the order ID.
|
116 |
+
if($this->getConfigData('calculate_using_customerid'))
|
117 |
+
{
|
118 |
+
$customer_id = Mage::getSingleton('customer/session')->getCustomerId();
|
119 |
+
|
120 |
+
if($customer_id)
|
121 |
+
{
|
122 |
+
$this->_ref = $this->calculateRef($customer_id);
|
123 |
+
return $this->_ref;
|
124 |
+
}
|
125 |
+
else
|
126 |
+
{
|
127 |
+
return null;
|
128 |
+
}
|
129 |
+
}
|
130 |
+
else
|
131 |
+
{
|
132 |
+
$order_id = Mage::getSingleton('checkout/session')->getLastRealOrderId();
|
133 |
+
$this->_ref = 0123456789;
|
134 |
+
return $this->_ref;
|
135 |
+
}
|
136 |
+
|
137 |
+
}
|
138 |
+
}
|
139 |
+
|
140 |
+
public function calculateRef($number)
|
141 |
+
{
|
142 |
+
$revstr = strrev(intval($number));
|
143 |
+
$total = 0;
|
144 |
+
for ($i = 0;$i < strlen($revstr); $i++)
|
145 |
+
{
|
146 |
+
if ($i%2 == 0)
|
147 |
+
{
|
148 |
+
$multiplier = 2;
|
149 |
+
}
|
150 |
+
else
|
151 |
+
{
|
152 |
+
$multiplier = 1;
|
153 |
+
}
|
154 |
+
|
155 |
+
$sub_total = intval($revstr[$i]) * $multiplier;
|
156 |
+
|
157 |
+
if ($sub_total >= 10)
|
158 |
+
{
|
159 |
+
$temp = (string) $sub_total;
|
160 |
+
$sub_total = intval($temp[0]) + intval($temp[1]);
|
161 |
+
}
|
162 |
+
|
163 |
+
$total += $sub_total;
|
164 |
+
}
|
165 |
+
|
166 |
+
$check_digit = (10 - ($total % 10))%10;
|
167 |
+
$crn = str_pad($number,6-1,0,STR_PAD_LEFT) . $check_digit ;
|
168 |
+
return $crn;
|
169 |
+
}
|
170 |
+
}
|
app/code/community/Fontis/Australia/Model/Payment/Westpac/PayWay_Net.php
ADDED
@@ -0,0 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Fontis Australia Extension
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Fontis
|
16 |
+
* @package Fontis_Australia
|
17 |
+
* @author Chris Norton
|
18 |
+
* @copyright Copyright (c) 2008 Fontis Pty. Ltd. (http://www.fontis.com.au)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
+
*/
|
21 |
+
|
22 |
+
/**
|
23 |
+
* PayWay Net payment model
|
24 |
+
*
|
25 |
+
* @category Fontis
|
26 |
+
* @package Fontis_Australia
|
27 |
+
*/
|
28 |
+
class Fontis_Australia_Model_Payment_Westpac_PayWay_Net extends Mage_Payment_Model_Method_Abstract
|
29 |
+
{
|
30 |
+
protected $_code = 'bpay';
|
31 |
+
protected $_formBlockType = 'fontis_australia_block_payway_net_form';
|
32 |
+
protected $_infoBlockType = 'fontis_australia_block_payway_net_info';
|
33 |
+
|
34 |
+
protected $_ref = null;
|
35 |
+
|
36 |
+
// Set to allow the admin to set whether or not payment has been received.
|
37 |
+
protected $_canCapture = true;
|
38 |
+
|
39 |
+
public function isAvailable($quote = null)
|
40 |
+
{
|
41 |
+
$groupAccess = $this->getConfigData('customer_group_access');
|
42 |
+
$group = $this->getConfigData('customer_group');
|
43 |
+
|
44 |
+
if($groupAccess == 0)
|
45 |
+
{
|
46 |
+
// No restrictions on access
|
47 |
+
return true;
|
48 |
+
}
|
49 |
+
elseif($groupAccess == 1)
|
50 |
+
{
|
51 |
+
// Only allow customer to access this method if they are part of the
|
52 |
+
// specified group
|
53 |
+
if($group == $quote->getCustomerGroupId())
|
54 |
+
{
|
55 |
+
return true;
|
56 |
+
}
|
57 |
+
}
|
58 |
+
elseif($groupAccess == 2)
|
59 |
+
{
|
60 |
+
// Only allow customer to access this method if they are NOT part
|
61 |
+
// of the specified group
|
62 |
+
if($group != $quote->getCustomerGroupId())
|
63 |
+
{
|
64 |
+
return true;
|
65 |
+
}
|
66 |
+
}
|
67 |
+
|
68 |
+
// Default, restrict access
|
69 |
+
return false;
|
70 |
+
}
|
71 |
+
|
72 |
+
/**
|
73 |
+
* Assign data to info model instance
|
74 |
+
*
|
75 |
+
* @param mixed $data
|
76 |
+
* @return Fontis_Australia_Model_Payment_Method_Bpay
|
77 |
+
*/
|
78 |
+
public function assignData($data)
|
79 |
+
{
|
80 |
+
$info = $this->getInfoInstance();
|
81 |
+
$info->setBillerCode($this->getBillerCode());
|
82 |
+
$info->setRef($this->getRef());
|
83 |
+
|
84 |
+
$details = array();
|
85 |
+
if ($this->getBillerCode())
|
86 |
+
{
|
87 |
+
$details['biller_code'] = $this->getBillerCode();
|
88 |
+
|
89 |
+
if($this->getRef())
|
90 |
+
{
|
91 |
+
$details['ref'] = $this->getRef();
|
92 |
+
}
|
93 |
+
}
|
94 |
+
if (!empty($details))
|
95 |
+
{
|
96 |
+
$this->getInfoInstance()->setAdditionalData(serialize($details));
|
97 |
+
}
|
98 |
+
return $this;
|
99 |
+
}
|
100 |
+
|
101 |
+
public function getBillerCode()
|
102 |
+
{
|
103 |
+
return $this->getConfigData('biller_code');
|
104 |
+
}
|
105 |
+
|
106 |
+
public function getRef()
|
107 |
+
{
|
108 |
+
if($this->_ref)
|
109 |
+
{
|
110 |
+
return $this->_ref;
|
111 |
+
}
|
112 |
+
else
|
113 |
+
{
|
114 |
+
// Check whether we will be calculating the reference code based on
|
115 |
+
// the customer ID or the order ID.
|
116 |
+
if($this->getConfigData('calculate_using_customerid'))
|
117 |
+
{
|
118 |
+
$customer_id = Mage::getSingleton('customer/session')->getCustomerId();
|
119 |
+
|
120 |
+
if($customer_id)
|
121 |
+
{
|
122 |
+
$this->_ref = $this->calculateRef($customer_id);
|
123 |
+
return $this->_ref;
|
124 |
+
}
|
125 |
+
else
|
126 |
+
{
|
127 |
+
return null;
|
128 |
+
}
|
129 |
+
}
|
130 |
+
else
|
131 |
+
{
|
132 |
+
$order_id = Mage::getSingleton('checkout/session')->getLastRealOrderId();
|
133 |
+
$this->_ref = 0123456789;
|
134 |
+
return $this->_ref;
|
135 |
+
}
|
136 |
+
|
137 |
+
}
|
138 |
+
}
|
139 |
+
|
140 |
+
public function calculateRef($number)
|
141 |
+
{
|
142 |
+
$revstr = strrev(intval($number));
|
143 |
+
$total = 0;
|
144 |
+
for ($i = 0;$i < strlen($revstr); $i++)
|
145 |
+
{
|
146 |
+
if ($i%2 == 0)
|
147 |
+
{
|
148 |
+
$multiplier = 2;
|
149 |
+
}
|
150 |
+
else
|
151 |
+
{
|
152 |
+
$multiplier = 1;
|
153 |
+
}
|
154 |
+
|
155 |
+
$sub_total = intval($revstr[$i]) * $multiplier;
|
156 |
+
|
157 |
+
if ($sub_total >= 10)
|
158 |
+
{
|
159 |
+
$temp = (string) $sub_total;
|
160 |
+
$sub_total = intval($temp[0]) + intval($temp[1]);
|
161 |
+
}
|
162 |
+
|
163 |
+
$total += $sub_total;
|
164 |
+
}
|
165 |
+
|
166 |
+
$check_digit = (10 - ($total % 10))%10;
|
167 |
+
$crn = str_pad($number,6-1,0,STR_PAD_LEFT) . $check_digit ;
|
168 |
+
return $crn;
|
169 |
+
}
|
170 |
+
}
|
app/code/community/Fontis/Australia/Model/Shipping/Carrier/Australiapost.php
CHANGED
@@ -70,7 +70,7 @@ class Fontis_Australia_Model_Shipping_Carrier_Australiapost
|
|
70 |
|
71 |
// Here we get the weight (and convert it to grams) and set some
|
72 |
// sensible defaults for other shipping parameters.
|
73 |
-
$sweight = (float)$request->getPackageWeight() * $this->getConfigData('weight_units');
|
74 |
$sheight = $swidth = $slength = 100;
|
75 |
$shipping_num_boxes = 1;
|
76 |
|
70 |
|
71 |
// Here we get the weight (and convert it to grams) and set some
|
72 |
// sensible defaults for other shipping parameters.
|
73 |
+
$sweight = (int)((float)$request->getPackageWeight() * (float)$this->getConfigData('weight_units'));
|
74 |
$sheight = $swidth = $slength = 100;
|
75 |
$shipping_num_boxes = 1;
|
76 |
|
app/code/community/Fontis/Australia/Model/Shipping/Config/Weightunits.php
CHANGED
@@ -34,7 +34,8 @@ class Fontis_Australia_Model_Shipping_Config_Weightunits
|
|
34 |
return array(
|
35 |
array('value' => 1000, 'label' => Mage::helper('adminhtml')->__('Kilograms (kg)')),
|
36 |
array('value' => 1, 'label' => Mage::helper('adminhtml')->__('Grams (g)')),
|
37 |
-
array('value' =>
|
|
|
38 |
);
|
39 |
}
|
40 |
}
|
34 |
return array(
|
35 |
array('value' => 1000, 'label' => Mage::helper('adminhtml')->__('Kilograms (kg)')),
|
36 |
array('value' => 1, 'label' => Mage::helper('adminhtml')->__('Grams (g)')),
|
37 |
+
array('value' => 453.59, 'label' => Mage::helper('adminhtml')->__('Pounds (lb)')),
|
38 |
+
array('value' => 28.35, 'label' => Mage::helper('adminhtml')->__('Ounces (oz)'))
|
39 |
);
|
40 |
}
|
41 |
}
|
app/code/community/Fontis/Australia/etc/config.xml
CHANGED
@@ -23,7 +23,7 @@
|
|
23 |
<config>
|
24 |
<modules>
|
25 |
<Fontis_Australia>
|
26 |
-
<version>0.
|
27 |
<depends>
|
28 |
<Mage_Shipping />
|
29 |
<Mage_Payment />
|
23 |
<config>
|
24 |
<modules>
|
25 |
<Fontis_Australia>
|
26 |
+
<version>0.8.0</version>
|
27 |
<depends>
|
28 |
<Mage_Shipping />
|
29 |
<Mage_Payment />
|
app/design/frontend/default/default/template/fontis/australia/payment/bpay/info.phtml
CHANGED
@@ -19,83 +19,11 @@
|
|
19 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
*/
|
21 |
?>
|
22 |
-
<
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
border: 2px solid #10204B;
|
31 |
-
padding: 6px;
|
32 |
-
}
|
33 |
-
td.bpayLogo {
|
34 |
-
width: 42px;
|
35 |
-
border: 2px solid #142C61;
|
36 |
-
}
|
37 |
-
.bpayLogo img {
|
38 |
-
margin: 12px;
|
39 |
-
}
|
40 |
-
td.refBox {
|
41 |
-
border: 2px solid #142C61;
|
42 |
-
padding: 0px 8px;
|
43 |
-
height: 54px;
|
44 |
-
width: 158px;
|
45 |
-
}
|
46 |
-
|
47 |
-
.refBoxText {
|
48 |
-
font-size: 13px;
|
49 |
-
text-transform: capitalize;
|
50 |
-
color: #142C61;
|
51 |
-
white-space: nowrap;
|
52 |
-
line-height: 22px;
|
53 |
-
font-weight: normal;
|
54 |
-
}
|
55 |
-
|
56 |
-
.billerTextHeading {
|
57 |
-
font-size: 11px;
|
58 |
-
text-transform: capitalize;
|
59 |
-
color: #142C61;
|
60 |
-
white-space: nowrap;
|
61 |
-
line-height: 20px;
|
62 |
-
font-weight: bold;
|
63 |
-
}
|
64 |
-
.billerText{
|
65 |
-
font-size: 11px;
|
66 |
-
color: #142C61;
|
67 |
-
}
|
68 |
-
-->
|
69 |
-
</style>
|
70 |
-
<div align="left">
|
71 |
-
<table border="0" cellpadding="0" cellspacing="0" class="bpay">
|
72 |
-
<tr>
|
73 |
-
<td width="1%" class="bpayLogo"><img src="http://www.bpay.com.au/images/bpay.jpg" width="51" height="82" /></td>
|
74 |
-
<td class="refBox">
|
75 |
-
<p class="refBoxText">
|
76 |
-
<?if ($this->getMethod()->getBillerCode()):?>
|
77 |
-
<?=$this->__('<b>Biller Code</b>: %s', $this->getMethod()->getBillerCode())?><br />
|
78 |
-
<?endif;?>
|
79 |
-
<?if ($this->getMethod()->getRef()):?>
|
80 |
-
<?=$this->__('<b>Ref</b>: %s', $this->getMethod()->getRef())?><br />
|
81 |
-
<?endif;?>
|
82 |
-
</p>
|
83 |
-
</td>
|
84 |
-
</tr>
|
85 |
-
<tr>
|
86 |
-
<td colspan="2">
|
87 |
-
<p class="billerTextHeading">Telephone & Internet Banking – BPAY®</p>
|
88 |
-
</td>
|
89 |
-
</tr>
|
90 |
-
<tr>
|
91 |
-
<td colspan="2">
|
92 |
-
<p class="billerText">
|
93 |
-
Contact your bank or financial institution to make this
|
94 |
-
payment from your cheque, savings, debit, credit card
|
95 |
-
or transaction account. More info: www.bpay.com.au
|
96 |
-
</p>
|
97 |
-
</td>
|
98 |
-
</tr>
|
99 |
-
</table>
|
100 |
-
</div>
|
101 |
-
</div>
|
19 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
*/
|
21 |
?>
|
22 |
+
<p><?=$this->getMethod()->getTitle()?>
|
23 |
+
<?if ($this->getMethod()->getBillerCode()):?>
|
24 |
+
<br /><?=$this->__('<b>Biller Code</b>: %s', $this->getMethod()->getBillerCode())?>
|
25 |
+
<?endif;?>
|
26 |
+
<?if ($this->getMethod()->getRef()):?>
|
27 |
+
<br /><?=$this->__('<b>Ref</b>: %s', $this->getMethod()->getRef())?>
|
28 |
+
<?endif;?>
|
29 |
+
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Fontis_Australia</name>
|
4 |
-
<version>0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>This extension is intended to provide most of the functionality needed to run a Magento store in Australia. This includes all essential payment and shipping methods as well as small localisations such as adding the store's ABN, adding Australian states and territories to the region directory and adding in a postcode database.</description>
|
11 |
<notes>Currently active are modules for BPAY, direct deposit, Australia Post, the addition of regions and postcodes, and the addition of ABN and phone number to the general configuration values (although currently not in use).</notes>
|
12 |
<authors><author><name>Chris Norton</name><user>auto-converted</user><email>chris.norton@fontis.com.au</email></author><author><name>Lloyd Hazlett</name><user>auto-converted</user><email>hazzard43@fastmail.fm</email></author></authors>
|
13 |
-
<date>2008-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="fontis"><dir name="australia"><dir name="payment"><dir name="bpay"><file name="form.phtml" hash="2bd318e4e8ac220a6b2f8339d5cf090d"/><file name="info.phtml" hash="70dae47552b94f5773afb59d00555a4b"/></dir><dir name="directdeposit"><file name="form.phtml" hash="1d01443b2e0f3147bf65dd9c799d4744"/><file name="info.phtml" hash="70d76862e026d4e8d76e6c32a36a5d74"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="fontis"><dir name="australia"><dir name="payment"><dir name="bpay"><file name="form.phtml" hash="2bd318e4e8ac220a6b2f8339d5cf090d"/><file name="info.phtml" hash="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Fontis_Australia</name>
|
4 |
+
<version>0.8.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
|
7 |
<channel>community</channel>
|
10 |
<description>This extension is intended to provide most of the functionality needed to run a Magento store in Australia. This includes all essential payment and shipping methods as well as small localisations such as adding the store's ABN, adding Australian states and territories to the region directory and adding in a postcode database.</description>
|
11 |
<notes>Currently active are modules for BPAY, direct deposit, Australia Post, the addition of regions and postcodes, and the addition of ABN and phone number to the general configuration values (although currently not in use).</notes>
|
12 |
<authors><author><name>Chris Norton</name><user>auto-converted</user><email>chris.norton@fontis.com.au</email></author><author><name>Lloyd Hazlett</name><user>auto-converted</user><email>hazzard43@fastmail.fm</email></author></authors>
|
13 |
+
<date>2008-08-18</date>
|
14 |
+
<time>08:39:17</time>
|
15 |
+
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="fontis"><dir name="australia"><dir name="payment"><dir name="bpay"><file name="form.phtml" hash="2bd318e4e8ac220a6b2f8339d5cf090d"/><file name="info.phtml" hash="70dae47552b94f5773afb59d00555a4b"/></dir><dir name="directdeposit"><file name="form.phtml" hash="1d01443b2e0f3147bf65dd9c799d4744"/><file name="info.phtml" hash="70d76862e026d4e8d76e6c32a36a5d74"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="fontis"><dir name="australia"><dir name="payment"><dir name="bpay"><file name="form.phtml" hash="2bd318e4e8ac220a6b2f8339d5cf090d"/><file name="info.phtml" hash="f578ec338f8b333f20af6253676fa167"/></dir><dir name="directdeposit"><file name="form.phtml" hash="1ad42dfd4409c49166e864469b24b898"/><file name="info.phtml" hash="70d76862e026d4e8d76e6c32a36a5d74"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Fontis"><dir name="Australia"><dir name="Block"><dir name="Bpay"><file name="Form.php" hash="958e11d14d7c87054a68d34b60c498d6"/><file name="Info.php" hash="a28f40be3c76637eb43ba80c61031512"/></dir><dir name="Directdeposit"><file name="Form.php" hash="13589d5d85499678bdc62fde04107095"/><file name="Info.php" hash="0f31ac7451127c87813c823423a9057b"/></dir></dir><dir name="etc"><file name="config.xml" hash="7f178215ce15d810f804e38d6b976450"/><file name="system.xml" hash="da40a4584279c6b0618f64ec5c6651fd"/></dir><dir name="Helper"><file name="Data.php" hash="8aa57f77ae93ad1b6371c0b3e34e4a79"/></dir><dir name="Model"><dir name="Config"><file name="CustomerGroupAccess.php" hash="e531a8049b9a877e01c2b806b065dbef"/><file name="CustomerGroups.php" hash="8014e56b1141cb9bbb63f807ec1c87a5"/></dir><dir name="Payment"><dir name="Westpac"><file name="PayWay_Api.php" hash="9bf2eb944136d2fd30c3c5e4443987e2"/><file name="PayWay_Net.php" hash="5ae8290955bc009b54081401bd38692b"/></dir><file name="Bpay.php" hash="56d5b9d3e17cbc9ff4316fef2574401a"/><file name="Directdeposit.php" hash="21c4febe6d321450fba4de5e655093c8"/></dir><dir name="Shipping"><dir name="Carrier"><file name="Australiapost.php" hash="791bdc2384774739a7563ab548400cbc"/></dir><dir name="Config"><file name="Weightunits.php" hash="e13ba9de393ae67420f863d4008c3c72"/></dir></dir><dir name="Tax"><file name="Gst.php" hash="d7e024971dab498e80de8c957d2911f2"/></dir></dir><dir name="sql"><dir name="australia_setup"><file name="mysql4-install-0.7.0.php" hash="c85da407f2817d022b065a3baa1b2688"/><file name="postcodes.txt" hash="7ed0415d5e9972b60c990f5660e03aae"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Fontis_Australia.xml" hash="a60b83cf1b1b449a16fe09da16342a4d"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|