Version Notes
Change Log:
* Accept alphanumeric order references
* Always use price including tax in calculations
* HC-276 paybyfinance_enable gets loaded into the flat tables
* Test against Magento CE 1.9.2.2
* Legacy PHP 5.3 support
* Undefined variable notice fix
Download this release
Release Info
Developer | Sandor Czettner |
Extension | HC_PayByFinance |
Version | 2.0.0.1 |
Comparing to | |
See all releases |
Code changes from version 2.0.0.0 to 2.0.0.1
- app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Redirect.php +1 -1
- app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service.php +1 -1
- app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service/Edit.php +1 -1
- app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service/Edit/Form.php +1 -1
- app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service/Edit/Tab/Form.php +1 -1
- app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service/Edit/Tabs.php +1 -1
- app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service/Grid.php +1 -1
- app/code/local/HC/PayByFinance/Block/Adminhtml/Version.php +3 -2
- app/code/local/HC/PayByFinance/Block/Checkout/Redirect.php +1 -1
- app/code/local/HC/PayByFinance/Block/Product/List/Finance.php +1 -1
- app/code/local/HC/PayByFinance/Block/Sales/Order/Totals.php +1 -1
- app/code/local/HC/PayByFinance/Block/Selector.php +6 -2
- app/code/local/HC/PayByFinance/Block/Status.php +1 -1
- app/code/local/HC/PayByFinance/Helper/Cart.php +1 -1
- app/code/local/HC/PayByFinance/Helper/Checkout.php +3 -3
- app/code/local/HC/PayByFinance/Helper/Data.php +4 -5
- app/code/local/HC/PayByFinance/Helper/Notification.php +1 -1
- app/code/local/HC/PayByFinance/Model/Calculator.php +1 -1
- app/code/local/HC/PayByFinance/Model/Config/Source/Catalog/Product/Finance.php +44 -1
- app/code/local/HC/PayByFinance/Model/Config/Source/Catalog/Product/Type.php +1 -1
- app/code/local/HC/PayByFinance/Model/Config/Source/Cms/Block.php +1 -1
- app/code/local/HC/PayByFinance/Model/Config/Source/Connectionmode.php +1 -1
- app/code/local/HC/PayByFinance/Model/Config/Source/Notification/Status.php +1 -1
- app/code/local/HC/PayByFinance/Model/Config/Source/Type.php +1 -1
- app/code/local/HC/PayByFinance/Model/Log.php +1 -1
- app/code/local/HC/PayByFinance/Model/Mysql4/Log.php +1 -1
- app/code/local/HC/PayByFinance/Model/Mysql4/Log/Collection.php +1 -1
- app/code/local/HC/PayByFinance/Model/Mysql4/Service.php +1 -1
- app/code/local/HC/PayByFinance/Model/Mysql4/Service/Collection.php +1 -1
- app/code/local/HC/PayByFinance/Model/Observer.php +3 -2
- app/code/local/HC/PayByFinance/Model/Paypal/Api/Nvp.php +1 -1
- app/code/local/HC/PayByFinance/Model/Paypal/Hostedpro/Request.php +1 -1
- app/code/local/HC/PayByFinance/Model/PaypalUk/Api/Nvp.php +1 -1
- app/code/local/HC/PayByFinance/Model/Post.php +1 -1
- app/code/local/HC/PayByFinance/Model/Post/Abstract.php +1 -1
- app/code/local/HC/PayByFinance/Model/Post/Custom.php +1 -1
- app/code/local/HC/PayByFinance/Model/Post/Live.php +1 -1
- app/code/local/HC/PayByFinance/Model/Post/Simulation.php +1 -1
- app/code/local/HC/PayByFinance/Model/Post/Test.php +1 -1
- app/code/local/HC/PayByFinance/Model/Post/Unittest.php +1 -1
- app/code/local/HC/PayByFinance/Model/Resource/Setup.php +1 -1
- app/code/local/HC/PayByFinance/Model/Sales/Order/Creditmemo/Financeamount.php +1 -1
- app/code/local/HC/PayByFinance/Model/Sales/Order/Invoice/Financeamount.php +1 -1
- app/code/local/HC/PayByFinance/Model/Sales/Quote/Financeamount.php +1 -1
- app/code/local/HC/PayByFinance/Model/Sales/Quote/Totalcost.php +1 -1
- app/code/local/HC/PayByFinance/Model/Service.php +1 -1
- app/code/local/HC/PayByFinance/Model/Session.php +1 -1
- app/code/local/HC/PayByFinance/Model/Sessionobserver.php +1 -1
- app/code/local/HC/PayByFinance/controllers/Adminhtml/Paybyfinance/RedirectController.php +1 -1
- app/code/local/HC/PayByFinance/controllers/Adminhtml/Paybyfinance/ServiceController.php +1 -1
- app/code/local/HC/PayByFinance/controllers/CheckoutController.php +2 -2
- app/code/local/HC/PayByFinance/controllers/NotificationController.php +2 -3
- app/code/local/HC/PayByFinance/controllers/SelectorController.php +1 -1
- app/code/local/HC/PayByFinance/controllers/SessionController.php +1 -1
- app/code/local/HC/PayByFinance/controllers/StatusController.php +1 -1
- app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-install-2.0.0.php +1 -1
- app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-upgrade-1.0.0-1.0.1.php +1 -1
- app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-upgrade-1.0.1-1.0.2.php +1 -1
- app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-upgrade-1.0.3-1.0.4.php +1 -1
- app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-upgrade-1.0.4-1.0.5.php +1 -1
- app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-upgrade-1.0.5-1.0.6.php +1 -1
- app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-upgrade-1.0.6-1.0.7.php +1 -1
- app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-upgrade-1.0.7-2.0.0.php +1 -1
- app/design/frontend/base/default/template/paybyfinance/selector.phtml +1 -0
- package.xml +14 -31
app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Redirect.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service/Edit.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service/Edit/Form.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service/Edit/Tab/Form.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service/Edit/Tabs.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service/Grid.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Block/Adminhtml/Version.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
@@ -27,8 +27,9 @@
|
|
27 |
* @link http://www.healthywebsites.co.uk/
|
28 |
*/
|
29 |
class HC_PayByFinance_Block_Adminhtml_Version extends Mage_Adminhtml_Block_Template
|
|
|
30 |
{
|
31 |
-
const PATCH_LEVEL =
|
32 |
|
33 |
protected $_template = "paybyfinance/version.phtml";
|
34 |
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
27 |
* @link http://www.healthywebsites.co.uk/
|
28 |
*/
|
29 |
class HC_PayByFinance_Block_Adminhtml_Version extends Mage_Adminhtml_Block_Template
|
30 |
+
implements Varien_Data_Form_Element_Renderer_Interface
|
31 |
{
|
32 |
+
const PATCH_LEVEL = 1;
|
33 |
|
34 |
protected $_template = "paybyfinance/version.phtml";
|
35 |
|
app/code/local/HC/PayByFinance/Block/Checkout/Redirect.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Block/Product/List/Finance.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Block/Sales/Order/Totals.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Block/Selector.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
@@ -61,7 +61,11 @@ class HC_PayByFinance_Block_Selector extends Mage_Core_Block_Template
|
|
61 |
if (!isset($this->_amount)) {
|
62 |
if ($product = Mage::registry('current_product')) {
|
63 |
// We are on the product page
|
64 |
-
$this->_amount =
|
|
|
|
|
|
|
|
|
65 |
} else {
|
66 |
$cartHelper = Mage::helper('paybyfinance/cart');
|
67 |
$this->_amount = $cartHelper->getEligibleAmount()
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
61 |
if (!isset($this->_amount)) {
|
62 |
if ($product = Mage::registry('current_product')) {
|
63 |
// We are on the product page
|
64 |
+
$this->_amount = Mage::helper('tax')->getPrice(
|
65 |
+
$product,
|
66 |
+
$product->getFinalPrice(),
|
67 |
+
true
|
68 |
+
);
|
69 |
} else {
|
70 |
$cartHelper = Mage::helper('paybyfinance/cart');
|
71 |
$this->_amount = $cartHelper->getEligibleAmount()
|
app/code/local/HC/PayByFinance/Block/Status.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Helper/Cart.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Helper/Checkout.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
@@ -67,7 +67,7 @@ class HC_PayByFinance_Helper_Checkout extends Mage_Core_Helper_Data
|
|
67 |
throw new Exception("Invalid decision code", 1);
|
68 |
}
|
69 |
|
70 |
-
$message
|
71 |
$message .= $this->getParamText('id2', 'id2', $parameters);
|
72 |
$message .= "\nFinance: " . $parameters['decision'];
|
73 |
$message .= "\nApplication: " . $parameters['applicationNo'];
|
@@ -125,7 +125,7 @@ class HC_PayByFinance_Helper_Checkout extends Mage_Core_Helper_Data
|
|
125 |
{
|
126 |
$helper = Mage::helper('paybyfinance');
|
127 |
$status = Mage::getStoreConfig($helper::XML_PATH_STATUS_ABANDONED);
|
128 |
-
$message
|
129 |
$message .= ' id2: ' . $parameters['id2'];
|
130 |
$message .= "\n" . $parameters['decision'];
|
131 |
$message .= "\nApplication: " . $parameters['applicationNo'];
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
67 |
throw new Exception("Invalid decision code", 1);
|
68 |
}
|
69 |
|
70 |
+
$message = $this->getParamText('id', 'id', $parameters);
|
71 |
$message .= $this->getParamText('id2', 'id2', $parameters);
|
72 |
$message .= "\nFinance: " . $parameters['decision'];
|
73 |
$message .= "\nApplication: " . $parameters['applicationNo'];
|
125 |
{
|
126 |
$helper = Mage::helper('paybyfinance');
|
127 |
$status = Mage::getStoreConfig($helper::XML_PATH_STATUS_ABANDONED);
|
128 |
+
$message = 'id: ' . $parameters['id'];
|
129 |
$message .= ' id2: ' . $parameters['id2'];
|
130 |
$message .= "\n" . $parameters['decision'];
|
131 |
$message .= "\nApplication: " . $parameters['applicationNo'];
|
app/code/local/HC/PayByFinance/Helper/Data.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
@@ -168,7 +168,7 @@ class HC_PayByFinance_Helper_Data extends Mage_Core_Helper_Data
|
|
168 |
$price = $item->getRowTotalInclTax();
|
169 |
} elseif ($item instanceof Mage_Catalog_Model_Product) {
|
170 |
$product = $item;
|
171 |
-
$price = $product->getFinalPrice();
|
172 |
}
|
173 |
|
174 |
if ($product->getPaybyfinanceEnable() == $options::VALUES_DISABLE) {
|
@@ -177,12 +177,11 @@ class HC_PayByFinance_Helper_Data extends Mage_Core_Helper_Data
|
|
177 |
return true;
|
178 |
}
|
179 |
|
180 |
-
$
|
181 |
-
$types = explode(',', Mage::getStoreConfig($helper::XML_PATH_PRODUCTTYPES));
|
182 |
if (!in_array($product->getTypeID(), $types)) {
|
183 |
return false;
|
184 |
}
|
185 |
-
$minPriceProduct = Mage::getStoreConfig(
|
186 |
if ($product->getPrice() < $minPriceProduct) {
|
187 |
return false;
|
188 |
}
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
168 |
$price = $item->getRowTotalInclTax();
|
169 |
} elseif ($item instanceof Mage_Catalog_Model_Product) {
|
170 |
$product = $item;
|
171 |
+
$price = Mage::helper('tax')->getPrice($product, $product->getFinalPrice(), true);
|
172 |
}
|
173 |
|
174 |
if ($product->getPaybyfinanceEnable() == $options::VALUES_DISABLE) {
|
177 |
return true;
|
178 |
}
|
179 |
|
180 |
+
$types = explode(',', Mage::getStoreConfig(self::XML_PATH_PRODUCTTYPES));
|
|
|
181 |
if (!in_array($product->getTypeID(), $types)) {
|
182 |
return false;
|
183 |
}
|
184 |
+
$minPriceProduct = Mage::getStoreConfig(self::XML_PATH_MINIMUM_PRICE_PRODUCT);
|
185 |
if ($product->getPrice() < $minPriceProduct) {
|
186 |
return false;
|
187 |
}
|
app/code/local/HC/PayByFinance/Helper/Notification.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Calculator.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Config/Source/Catalog/Product/Finance.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
@@ -59,4 +59,47 @@ class HC_PayByFinance_Model_Config_Source_Catalog_Product_Finance
|
|
59 |
return $this->_options;
|
60 |
}
|
61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
}
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
59 |
return $this->_options;
|
60 |
}
|
61 |
|
62 |
+
/**
|
63 |
+
* Retrieve all options array
|
64 |
+
*
|
65 |
+
* @return array
|
66 |
+
*/
|
67 |
+
public function toOptionArray()
|
68 |
+
{
|
69 |
+
return $this->getAllOptions();
|
70 |
+
}
|
71 |
+
|
72 |
+
/**
|
73 |
+
* Get flat column names
|
74 |
+
*
|
75 |
+
* @return array Additional names
|
76 |
+
*/
|
77 |
+
public function getFlatColums()
|
78 |
+
{
|
79 |
+
|
80 |
+
$columns = array(
|
81 |
+
$this->getAttribute()->getAttributeCode() => array(
|
82 |
+
'type' => 'int',
|
83 |
+
'unsigned' => false,
|
84 |
+
'is_null' => true,
|
85 |
+
'default' => null,
|
86 |
+
'extra' => null
|
87 |
+
)
|
88 |
+
);
|
89 |
+
return $columns;
|
90 |
+
}
|
91 |
+
|
92 |
+
/**
|
93 |
+
* Get select update for additional column
|
94 |
+
*
|
95 |
+
* @param integer $store Store
|
96 |
+
*
|
97 |
+
* @return Varien_Db_Select
|
98 |
+
*/
|
99 |
+
public function getFlatUpdateSelect($store)
|
100 |
+
{
|
101 |
+
return Mage::getResourceModel('eav/entity_attribute')
|
102 |
+
->getFlatUpdateSelect($this->getAttribute(), $store);
|
103 |
+
}
|
104 |
+
|
105 |
}
|
app/code/local/HC/PayByFinance/Model/Config/Source/Catalog/Product/Type.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Config/Source/Cms/Block.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Config/Source/Connectionmode.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Config/Source/Notification/Status.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Config/Source/Type.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Log.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension f6f5b81
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension f6f5b81
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Mysql4/Log.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Mysql4/Log/Collection.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Mysql4/Service.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Mysql4/Service/Collection.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Observer.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
@@ -314,7 +314,8 @@ class HC_PayByFinance_Model_Observer
|
|
314 |
}
|
315 |
if ($helper->isProductEligible($product)) {
|
316 |
$product->setData('has_finance', true);
|
317 |
-
$
|
|
|
318 |
$product->setData('finance_from_price', $minInstallment);
|
319 |
}
|
320 |
}
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
314 |
}
|
315 |
if ($helper->isProductEligible($product)) {
|
316 |
$product->setData('has_finance', true);
|
317 |
+
$price = Mage::helper('tax')->getPrice($product, $product->getFinalPrice(), true);
|
318 |
+
$minInstallment = $calculator->getLowestMonthlyInstallment($price);
|
319 |
$product->setData('finance_from_price', $minInstallment);
|
320 |
}
|
321 |
}
|
app/code/local/HC/PayByFinance/Model/Paypal/Api/Nvp.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Paypal/Hostedpro/Request.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/PaypalUk/Api/Nvp.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Post.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Post/Abstract.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Post/Custom.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Post/Live.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Post/Simulation.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Post/Test.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Post/Unittest.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Resource/Setup.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Sales/Order/Creditmemo/Financeamount.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Sales/Order/Invoice/Financeamount.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Sales/Quote/Financeamount.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Sales/Quote/Totalcost.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Service.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Session.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/Model/Sessionobserver.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/controllers/Adminhtml/Paybyfinance/RedirectController.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/controllers/Adminhtml/Paybyfinance/ServiceController.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/controllers/CheckoutController.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
@@ -194,7 +194,7 @@ class HC_PayByFinance_CheckoutController extends Mage_Core_Controller_Front_Acti
|
|
194 |
$helper = Mage::helper('paybyfinance');
|
195 |
$helper->log("Response: \n" . $helper->arrayDump($parameters), 'post');
|
196 |
|
197 |
-
if (array_key_exists('ro', $parameters)
|
198 |
$order = Mage::getModel('sales/order')->load($parameters['ro'], 'increment_id');
|
199 |
}
|
200 |
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
194 |
$helper = Mage::helper('paybyfinance');
|
195 |
$helper->log("Response: \n" . $helper->arrayDump($parameters), 'post');
|
196 |
|
197 |
+
if (array_key_exists('ro', $parameters)) {
|
198 |
$order = Mage::getModel('sales/order')->load($parameters['ro'], 'increment_id');
|
199 |
}
|
200 |
|
app/code/local/HC/PayByFinance/controllers/NotificationController.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
@@ -40,7 +40,6 @@ class HC_PayByFinance_NotificationController extends Mage_Core_Controller_Front_
|
|
40 |
$helper = Mage::helper('paybyfinance');
|
41 |
|
42 |
if (!array_key_exists('supplierReference', $parameters)
|
43 |
-
|| !is_numeric($parameters['supplierReference'])
|
44 |
|| !array_key_exists('status', $parameters)
|
45 |
|| !array_key_exists('applicationNumber', $parameters)
|
46 |
) {
|
@@ -99,7 +98,7 @@ class HC_PayByFinance_NotificationController extends Mage_Core_Controller_Front_
|
|
99 |
echo '1';
|
100 |
die();
|
101 |
} else {
|
102 |
-
|
103 |
echo '0';
|
104 |
die();
|
105 |
}
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
40 |
$helper = Mage::helper('paybyfinance');
|
41 |
|
42 |
if (!array_key_exists('supplierReference', $parameters)
|
|
|
43 |
|| !array_key_exists('status', $parameters)
|
44 |
|| !array_key_exists('applicationNumber', $parameters)
|
45 |
) {
|
98 |
echo '1';
|
99 |
die();
|
100 |
} else {
|
101 |
+
header("HTTP/1.0 503 Service unavailable");
|
102 |
echo '0';
|
103 |
die();
|
104 |
}
|
app/code/local/HC/PayByFinance/controllers/SelectorController.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/controllers/SessionController.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/controllers/StatusController.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-install-2.0.0.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-upgrade-1.0.0-1.0.1.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-upgrade-1.0.1-1.0.2.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-upgrade-1.0.3-1.0.4.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-upgrade-1.0.4-1.0.5.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-upgrade-1.0.5-1.0.6.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-upgrade-1.0.6-1.0.7.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-upgrade-1.0.7-2.0.0.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
-
* PHP version >= 5.
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
4 |
*
|
5 |
* Hitachi Capital Pay By Finance Extension
|
6 |
*
|
7 |
+
* PHP version >= 5.4.*
|
8 |
*
|
9 |
* @category HC
|
10 |
* @package PayByFinance
|
app/design/frontend/base/default/template/paybyfinance/selector.phtml
CHANGED
@@ -72,6 +72,7 @@ $_secure = $this->getRequest()->isSecure();
|
|
72 |
|
73 |
|
74 |
<table class="services">
|
|
|
75 |
<?php foreach ($_services as $_service): ?>
|
76 |
<tr>
|
77 |
<td>
|
72 |
|
73 |
|
74 |
<table class="services">
|
75 |
+
<?php $checked = false; ?>
|
76 |
<?php foreach ($_services as $_service): ?>
|
77 |
<tr>
|
78 |
<td>
|
package.xml
CHANGED
@@ -1,41 +1,24 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>HC_PayByFinance</name>
|
4 |
-
<version>2.0.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.healthywebsites.co.uk/license.html">Healthy Websites</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>Hitachi Capital
|
10 |
-
<description>Hitachi Capital
|
11 |
<notes>Change Log:
|
12 |
-
*
|
13 |
-
*
|
14 |
-
* HC-
|
15 |
-
*
|
16 |
-
*
|
17 |
-
*
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
* HC-220 Cart calculation should be based on the row total
|
23 |
-
* HC-185 added automatic calculation to RPM from APM field
|
24 |
-
* HC-256 Product eligibility on cart (Minimum Amount)
|
25 |
-
* HC-220 Order total modification events (for extendibility)
|
26 |
-
* HC-261 Race condition on notification events fix
|
27 |
-
* HC-261: Send a 503 status code when the notification is not applicable, this makes Hitachi to send it again after:
|
28 |
-
* 10 minutes
|
29 |
-
* 1 hour
|
30 |
-
* 2 hours
|
31 |
-
* 5 hours
|
32 |
-
* HC-214 Additional text to the selector
|
33 |
-
* HC-257 Text changes on referred handback pages
|
34 |
-
* HC-259 remove virtual, downloadable products</notes>
|
35 |
-
<authors><author><name>Sandor Czettner</name><user>MAG000003395</user><email>support@healthywebsites.co.uk</email></author><author><name>Alistair Macneil</name><user>MAG000006529</user><email>support@healthywebsites.co.uk</email></author><author><name>Rhuaridh Clark</name><user>MAG002562063</user><email>support@healthywebsites.co.uk</email></author></authors>
|
36 |
-
<date>2015-09-07</date>
|
37 |
-
<time>15:35:11</time>
|
38 |
-
<contents><target name="magelocal"><dir><dir name="HC"><dir name="PayByFinance"><dir name="Block"><dir name="Adminhtml"><dir name="Paybyfinance"><file name="Redirect.php" hash="b7aadc98068529d4fb08219a83b2e69b"/><dir name="Service"><dir name="Edit"><file name="Form.php" hash="19f94b6405f5ec45510022c5aff868c2"/><dir name="Tab"><file name="Form.php" hash="74936b4d5056fdad950d1b98e94c83c2"/></dir><file name="Tabs.php" hash="5af9151c310841d8dd0b6f7e8f984625"/></dir><file name="Edit.php" hash="d73f958b0abaebff8aff703f650c5a01"/><file name="Grid.php" hash="e617125bf81d1f8d243c834a878ebac8"/></dir><file name="Service.php" hash="26112ba2733a9db951addfef4e0152e8"/></dir><file name="Version.php" hash="3d4e3f13bf89bcd2277718c4e957f827"/></dir><dir name="Checkout"><file name="Redirect.php" hash="30f1cf1f682abc985e872619b67a86d7"/></dir><dir name="Product"><dir name="List"><file name="Finance.php" hash="459249d30ad2f93e57faf4cab8f55e14"/></dir></dir><dir name="Sales"><dir name="Order"><file name="Totals.php" hash="1fe522dd0d6a4c890374b2602b840d3b"/></dir></dir><file name="Selector.php" hash="9b3b8b7b3711966aad2b2208fbfb15c5"/><file name="Status.php" hash="f76d4e3558d096055234a877e4a24d8f"/></dir><dir name="Helper"><file name="Cart.php" hash="b26ae9571db19b3efea4a78e841d254c"/><file name="Checkout.php" hash="fb5fdbc1f1999fe6a8fcb6e1fb1c99df"/><file name="Data.php" hash="0ca1c9390b16b490ca84fc9875bea980"/><file name="Notification.php" hash="61b2c989209abb4678d6da588031a22b"/></dir><dir name="Model"><file name="Calculator.php" hash="6298a84cc8ff849046ae6a8a5b39eb9c"/><dir name="Config"><dir name="Source"><dir name="Catalog"><dir name="Product"><file name="Finance.php" hash="68dfc0233403f61c82aa62009cdd2da7"/><file name="Type.php" hash="3ad78910aec093cc1b552821fc097a8d"/></dir></dir><dir name="Cms"><file name="Block.php" hash="a4302b47926c40f480ea84f81420070f"/></dir><file name="Connectionmode.php" hash="e446478c837f7bfffe7e6fa686d5f91e"/><dir name="Notification"><file name="Status.php" hash="0e9792c4ea7e27e61472d60e07227c5e"/></dir><file name="Type.php" hash="ce4604dccb55c6ce450fd34d4fa8ad4d"/></dir></dir><file name="Log.php" hash="446fc48510a09b279ad725bf87b839ff"/><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="6ebe6b95b2565601cd77f1d4db264ff4"/></dir><file name="Log.php" hash="914cb47c3274c2cce6a3913302a2d4e3"/><dir name="Service"><file name="Collection.php" hash="135b986e60187998e224b8f5b10c9ff2"/></dir><file name="Service.php" hash="3dac2e956f57c9a1467e52a0f008fefd"/></dir><file name="Observer.php" hash="a72c50340ce29c0da6eaaded1213a99c"/><dir name="Paypal"><dir name="Api"><file name="Nvp.php" hash="5d1f7b687e2ca293ac1dc0c0425d1b8f"/></dir><dir name="Hostedpro"><file name="Request.php" hash="11ba073df9037d899eecb211c062d5f5"/></dir></dir><dir name="PaypalUk"><dir name="Api"><file name="Nvp.php" hash="49ba8cbd3145939a3d78e4964d1fe27e"/></dir></dir><dir name="Post"><file name="Abstract.php" hash="1583544fb76cd6552f733de5c320d6bd"/><file name="Custom.php" hash="f7afad244324db80af64014b51cf9b18"/><file name="Live.php" hash="8a70b4568b06fb27b29e35a35af3a160"/><file name="Simulation.php" hash="d24a30fbdd29dde34814bdaa4f134e85"/><file name="Test.php" hash="8183e4fcec09e963ffee39bb8f7d7c3e"/><file name="Unittest.php" hash="422ed96628a703e4efedf64817edec98"/></dir><file name="Post.php" hash="c45665581817d711048d37bed0ecb67b"/><dir name="Resource"><file name="Setup.php" hash="c20cba205135fbfb01055518102b4681"/></dir><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Financeamount.php" hash="0ab402b6f55a4b9d13d0cafb36b6280f"/></dir><dir name="Invoice"><file name="Financeamount.php" hash="7c07f5432f0781314df41bae3ccdb145"/></dir></dir><dir name="Quote"><file name="Financeamount.php" hash="85eba4714b45677e5e97fd8227c22a06"/><file name="Totalcost.php" hash="f7b360b6fd09029fd48c47c2be803d97"/></dir></dir><file name="Service.php" hash="5cc3d5959b8e08b11ca754da67776efd"/><file name="Session.php" hash="c2cdc285f6297ad2dc100973022ec6d4"/><file name="Sessionobserver.php" hash="2730d896b8e56e8f752bd8a01df86767"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Paybyfinance"><file name="RedirectController.php" hash="8098982cfa01371e3427d0b7a8da6829"/><file name="ServiceController.php" hash="841b9e942f7050f2b065be281cc1ac8f"/></dir></dir><file name="CheckoutController.php" hash="cacc13e3454a4062bdf8523350b372a0"/><file name="NotificationController.php" hash="55510e41fdee3f15460bfed6a2ade04d"/><file name="SelectorController.php" hash="5d440a1a0cea72787d7370679fe34e60"/><file name="SessionController.php" hash="b3756993e0d8e6e49434354c824f837e"/><file name="StatusController.php" hash="3a8d40001d3f843d3a69147734072370"/></dir><dir name="etc"><file name="adminhtml.xml" hash="216df222a5f5d9fdcf29c238cfd78bd5"/><file name="config.xml" hash="c815a0084a0855402269bfd6f6049c0b"/><file name="system.xml" hash="ab4ebbf8e699c3adb88e2df469cca654"/></dir><dir name="sql"><dir name="paybyfinance_setup"><dir name="html"><file name="abandoned.html" hash="424f900dbddc267f7dac72e67752df25"/><file name="accepted.html" hash="3cd819649eeb88b108cfbd87d6bb5048"/><file name="declined.html" hash="4cb2e73cbf449ced4596b6d14289a76f"/><file name="error.html" hash="4a448b052f101b2648dfe84423ad1313"/><file name="information.html" hash="b364458ba3d9ad7579fa4935e3449b46"/><file name="page-finance-options.html" hash="d9f090c84559caf2311cabced715b668"/><file name="referred.html" hash="1c143c51776357bcad9e27aff6e6b9b8"/></dir><file name="mysql4-install-2.0.0.php" hash="c3a2e10a36b8950ddcbb4c5b7df2ce27"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="35e40e56f4eaa482cf76861bf268b9d7"/><file name="mysql4-upgrade-1.0.1-1.0.2.php" hash="f88bb5dae696c130c0038c05e86dfd9c"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="abd3f7c7e68120a6bcad82470f62db25"/><file name="mysql4-upgrade-1.0.4-1.0.5.php" hash="2cc09a77b0c36f2f0a2bdce97ba0f50d"/><file name="mysql4-upgrade-1.0.5-1.0.6.php" hash="04656ff6a19b294c8e6340dd44cce470"/><file name="mysql4-upgrade-1.0.6-1.0.7.php" hash="49f12a49af3619329e5566b633169d02"/><file name="mysql4-upgrade-1.0.7-2.0.0.php" hash="38bf860781960d49b9bfaa9c6292838b"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="paybyfinance"><dir><dir name="catalog"><dir name="product"><dir name="list"><file name="finance.phtml" hash="fc9c4b43b09338aa33ba034b31508869"/></dir></dir></dir><dir name="sales"><dir name="order"><file name="totals.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir></dir><file name="form.phtml" hash="6f583d5629e39fe564d4b86535242c7a"/><file name="selector-no.phtml" hash="b54c570f68254a2e879464a0b761c7db"/><file name="selector.phtml" hash="5b576ea8d7111905213b545eba50fc46"/><file name="status.phtml" hash="9e02cb668c470d72612bccc09e34c51a"/></dir><dir name="checkout"><dir name="cart"><file name="totals-pbf.phtml" hash="f14878e618aa3c8943f3728128aadaa6"/></dir><dir name="onepage"><dir name="review"><file name="info-pbf.phtml" hash="e4c7c70c798f1956ae7aaa5c09114fab"/><file name="totals-pbf.phtml" hash="f26e488359433c3814a1cd416006869a"/></dir></dir><file name="cart-pbf.phtml" hash="9f6b1873ed02e5e2ae1966e3e5a1910d"/></dir></dir><dir name="layout"><file name="paybyfinance.xml" hash="f541883d7e115794fcde3b0a4ac1bb3d"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="paybyfinance.xml" hash="21e409f98bd00b6de93a09610dabdbdd"/></dir><dir name="template"><dir name="paybyfinance"><file name="history.phtml" hash="31fbbbb8477717175da3de1e9fe98f54"/><file name="redirect.phtml" hash="90e7aa306768f5aac337300848c04e6a"/><file name="version.phtml" hash="09a8f416156d853ecc47b24a15744563"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="js"><dir name="paybyfinance"><file name="checkout.js" hash="6930043a719765833f6d64de1216b7ad"/><file name="functions.js" hash="98c27381b3f7eaeaa845271dbe763f05"/><file name="slider.js" hash="16d83f4f0faa449276c926d2afac75fb"/></dir></dir><dir name="css"><file name="paybyfinance.css" hash="25d02dc5cf228662c30d908d7c2f1356"/><file name="paybyfinance-ie8.css" hash="a6be9c7af8b95300bc62e4fe9ef252ac"/></dir><dir name="images"><dir name="paybyfinance"><file name="bullet.png" hash="ea2baab34b2eb7d0aacb7a67d5b080f1"/><file name="pointer-toggle.png" hash="e661d42aed7a5562f75828312c7a635a"/><file name="pointer.png" hash="68c58b28d6ebd77d415f8666c301a199"/><file name="progress.png" hash="6d46a109cc9e38a663678918142d89f2"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="HC_PayByFinance.xml" hash="58a12daf6bb6aeb8b94471bf605514e5"/></dir></dir></target><target name="mageweb"><dir><dir name="js"><dir name="paybyfinance"><file name="config-edit.js" hash="81817d23afdf99d10b01072d2471ff65"/><file name="service.js" hash="7e1fe3ffe2d4b95eeb5b27c8d07b23f1"/></dir></dir></dir></target></contents>
|
39 |
<compatible/>
|
40 |
-
<dependencies><required><php><min>5.4.
|
41 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>HC_PayByFinance</name>
|
4 |
+
<version>2.0.0.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.healthywebsites.co.uk/license.html">Healthy Websites</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>Hitachi Capital PaybyFinance</summary>
|
10 |
+
<description>Hitachi Capital PaybyFinance</description>
|
11 |
<notes>Change Log:
|
12 |
+
* Accept alphanumeric order references
|
13 |
+
* Always use price including tax in calculations
|
14 |
+
* HC-276 paybyfinance_enable gets loaded into the flat tables
|
15 |
+
* Test against Magento CE 1.9.2.2
|
16 |
+
* Legacy PHP 5.3 support
|
17 |
+
* Undefined variable notice fix</notes>
|
18 |
+
<authors><author><name>Sandor Czettner</name><user>MAG000003395</user><email>support@healthywebsites.co.uk</email></author><author><name>Alistair Macneil</name><user>MAG000006529</user><email>support@healthywebsites.co.uk</email></author></authors>
|
19 |
+
<date>2016-01-04</date>
|
20 |
+
<time>13:37:55</time>
|
21 |
+
<contents><target name="magelocal"><dir><dir name="HC"><dir name="PayByFinance"><dir name="Block"><dir name="Adminhtml"><dir name="Paybyfinance"><file name="Redirect.php" hash="46d17d14a08b88ce3984c76cacb0e49b"/><dir name="Service"><dir name="Edit"><file name="Form.php" hash="795e6da10c09c6cdb0eb2b0efd12e411"/><dir name="Tab"><file name="Form.php" hash="d0650f05a261578ed631094e7e498687"/></dir><file name="Tabs.php" hash="6bae46296191ce6117cf451b33845632"/></dir><file name="Edit.php" hash="e2b8f8e008230c1422affde245deeece"/><file name="Grid.php" hash="64be01301192797f829ca95e5a60bc73"/></dir><file name="Service.php" hash="47c7ad1303dc525e3739e85d79916615"/></dir><file name="Version.php" hash="aef3da3ef0706887b6859b7752664059"/></dir><dir name="Checkout"><file name="Redirect.php" hash="3072817fc35701741a607735a258de49"/></dir><dir name="Product"><dir name="List"><file name="Finance.php" hash="d542ae3b6181d0d1fe7643a4466ecd71"/></dir></dir><dir name="Sales"><dir name="Order"><file name="Totals.php" hash="2a21d61db9d09bc92f6c4e3f81e871e6"/></dir></dir><file name="Selector.php" hash="35439f78b8219e51c47e35cbd1015442"/><file name="Status.php" hash="c32779b4fe38284bdd928ff8cbe773bd"/></dir><dir name="Helper"><file name="Cart.php" hash="8aee2d2f34206b6dbfefdbce29fddddd"/><file name="Checkout.php" hash="2d5b3b6f817b3b1673df60979244111b"/><file name="Data.php" hash="c56c4c8a66e7ec5c72eafb9ac52de63e"/><file name="Notification.php" hash="e5676184b2bfd27fa2eff84b16522921"/></dir><dir name="Model"><file name="Calculator.php" hash="ad8655b8b77fde331f7bdc18136cdcd4"/><dir name="Config"><dir name="Source"><dir name="Catalog"><dir name="Product"><file name="Finance.php" hash="6f56646346c6121b6aaccc423cfd330a"/><file name="Type.php" hash="bd01a8bb27db5be6121597a2eaaaa0cf"/></dir></dir><dir name="Cms"><file name="Block.php" hash="4d54ff32ae233accceade52ad4005574"/></dir><file name="Connectionmode.php" hash="bc52be78a5078dbfe2938873157cb31e"/><dir name="Notification"><file name="Status.php" hash="4511641cddc47b4db8ed5333304a1439"/></dir><file name="Type.php" hash="becda2eb287dc0bc9c5f969a4e1950b1"/></dir></dir><file name="Log.php" hash="4437d6a3f4952c52e0a67e970e4c8eef"/><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="085a5f4eb72fd3b29fe75a772214cfc2"/></dir><file name="Log.php" hash="a0bfe9246e61ff3aa3e3d6ed1960efc9"/><dir name="Service"><file name="Collection.php" hash="b297e9e21273033d77d850df6b49d6b7"/></dir><file name="Service.php" hash="8b2e4a231760d07e27d40e4145489f61"/></dir><file name="Observer.php" hash="7e3c806286dc260d5ca3584f0415e1bf"/><dir name="Paypal"><dir name="Api"><file name="Nvp.php" hash="93b2810387631d1cb0802f303174d73b"/></dir><dir name="Hostedpro"><file name="Request.php" hash="07ac676c417b5e4602ae2ebc26427341"/></dir></dir><dir name="PaypalUk"><dir name="Api"><file name="Nvp.php" hash="0f55997489e0fd41a79106bc4026990c"/></dir></dir><dir name="Post"><file name="Abstract.php" hash="7cb555e3a22a1118a02c595b3e01b458"/><file name="Custom.php" hash="998ccd20956707a1d45bc30742226b16"/><file name="Live.php" hash="1ddf37b095e27247f02fdd21dded1e54"/><file name="Simulation.php" hash="2ce0770deb178de4f8961f5ade1ee61b"/><file name="Test.php" hash="840b56e78f0d71093922c0c4f1d2c805"/><file name="Unittest.php" hash="c22d91e13e7d302e006256d6c3248eb4"/></dir><file name="Post.php" hash="5b3dca9232f266d684fa0b0c02fb1013"/><dir name="Resource"><file name="Setup.php" hash="154dffaca0a1715a08753b90c4731743"/></dir><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Financeamount.php" hash="068793f1e6aaf92f4da8c86e67a9515a"/></dir><dir name="Invoice"><file name="Financeamount.php" hash="e8b3d7e5a523dd6befba27aa2d67517e"/></dir></dir><dir name="Quote"><file name="Financeamount.php" hash="2c11b5a46af769119d9037b5e76c36a9"/><file name="Totalcost.php" hash="fa08aacf2d0bf2945510aad2f7625758"/></dir></dir><file name="Service.php" hash="e1e0eff256c0c40ac297addf68fd3973"/><file name="Session.php" hash="6f109c5c5de35251c3d6ed68a9f3c0af"/><file name="Sessionobserver.php" hash="8b583c176d424a30192446a9f6ae5c65"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Paybyfinance"><file name="RedirectController.php" hash="eb7d2255806e7ecf25c39057a4dee247"/><file name="ServiceController.php" hash="dc382596ac299f7ea767f211c597f867"/></dir></dir><file name="CheckoutController.php" hash="da2bcdafd88eb1d34e53eb9822c002a8"/><file name="NotificationController.php" hash="d6b5d413ea7651ce0cb00746bc38df75"/><file name="SelectorController.php" hash="ec360fff720c59b8d7582508b1573315"/><file name="SessionController.php" hash="2e4f3431884d71ecce27f6a7288e7141"/><file name="StatusController.php" hash="8ab4af6e411f0cbeb010a63d963baffd"/></dir><dir name="etc"><file name="adminhtml.xml" hash="216df222a5f5d9fdcf29c238cfd78bd5"/><file name="config.xml" hash="c815a0084a0855402269bfd6f6049c0b"/><file name="system.xml" hash="ab4ebbf8e699c3adb88e2df469cca654"/></dir><dir name="sql"><dir name="paybyfinance_setup"><dir name="html"><file name="abandoned.html" hash="424f900dbddc267f7dac72e67752df25"/><file name="accepted.html" hash="3cd819649eeb88b108cfbd87d6bb5048"/><file name="declined.html" hash="4cb2e73cbf449ced4596b6d14289a76f"/><file name="error.html" hash="4a448b052f101b2648dfe84423ad1313"/><file name="information.html" hash="b364458ba3d9ad7579fa4935e3449b46"/><file name="page-finance-options.html" hash="d9f090c84559caf2311cabced715b668"/><file name="referred.html" hash="1c143c51776357bcad9e27aff6e6b9b8"/></dir><file name="mysql4-install-2.0.0.php" hash="657ef46b1535b12decc09138e6bf903f"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="bdd5aab92d29e9299856d306edaf5db4"/><file name="mysql4-upgrade-1.0.1-1.0.2.php" hash="77716f98afa803990b4799b9982ac1f0"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="212c52fe9f57f61cf523a403af291d40"/><file name="mysql4-upgrade-1.0.4-1.0.5.php" hash="63dd633ac9d5865a11b86a7a0142cb9e"/><file name="mysql4-upgrade-1.0.5-1.0.6.php" hash="b2ea39f14943faf5a9f28d832e5d4163"/><file name="mysql4-upgrade-1.0.6-1.0.7.php" hash="3b06173409d691611fa01bebdfb9f63a"/><file name="mysql4-upgrade-1.0.7-2.0.0.php" hash="8f4d3a81ad0b5270cb74d7bacb92d0a3"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="paybyfinance"><dir><dir name="catalog"><dir name="product"><dir name="list"><file name="finance.phtml" hash="fc9c4b43b09338aa33ba034b31508869"/></dir></dir></dir><dir name="sales"><dir name="order"><file name="totals.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir></dir><file name="form.phtml" hash="6f583d5629e39fe564d4b86535242c7a"/><file name="selector-no.phtml" hash="b54c570f68254a2e879464a0b761c7db"/><file name="selector.phtml" hash="be16432e1525c994a3e4cbfe5273d2a0"/><file name="status.phtml" hash="9e02cb668c470d72612bccc09e34c51a"/></dir><dir name="checkout"><dir name="cart"><file name="totals-pbf.phtml" hash="f14878e618aa3c8943f3728128aadaa6"/></dir><dir name="onepage"><dir name="review"><file name="info-pbf.phtml" hash="e4c7c70c798f1956ae7aaa5c09114fab"/><file name="totals-pbf.phtml" hash="f26e488359433c3814a1cd416006869a"/></dir></dir><file name="cart-pbf.phtml" hash="9f6b1873ed02e5e2ae1966e3e5a1910d"/></dir></dir><dir name="layout"><file name="paybyfinance.xml" hash="f541883d7e115794fcde3b0a4ac1bb3d"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="paybyfinance.xml" hash="21e409f98bd00b6de93a09610dabdbdd"/></dir><dir name="template"><dir name="paybyfinance"><file name="history.phtml" hash="31fbbbb8477717175da3de1e9fe98f54"/><file name="redirect.phtml" hash="90e7aa306768f5aac337300848c04e6a"/><file name="version.phtml" hash="09a8f416156d853ecc47b24a15744563"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="js"><dir name="paybyfinance"><file name="checkout.js" hash="6930043a719765833f6d64de1216b7ad"/><file name="functions.js" hash="98c27381b3f7eaeaa845271dbe763f05"/><file name="slider.js" hash="16d83f4f0faa449276c926d2afac75fb"/></dir></dir><dir name="css"><file name="paybyfinance.css" hash="25d02dc5cf228662c30d908d7c2f1356"/><file name="paybyfinance-ie8.css" hash="a6be9c7af8b95300bc62e4fe9ef252ac"/></dir><dir name="images"><dir name="paybyfinance"><file name="bullet.png" hash="ea2baab34b2eb7d0aacb7a67d5b080f1"/><file name="pointer-toggle.png" hash="e661d42aed7a5562f75828312c7a635a"/><file name="pointer.png" hash="68c58b28d6ebd77d415f8666c301a199"/><file name="progress.png" hash="6d46a109cc9e38a663678918142d89f2"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="HC_PayByFinance.xml" hash="58a12daf6bb6aeb8b94471bf605514e5"/></dir></dir></target><target name="mageweb"><dir><dir name="js"><dir name="paybyfinance"><file name="config-edit.js" hash="81817d23afdf99d10b01072d2471ff65"/><file name="service.js" hash="7e1fe3ffe2d4b95eeb5b27c8d07b23f1"/></dir></dir></dir></target></contents>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
<compatible/>
|
23 |
+
<dependencies><required><php><min>5.4.45</min><max>7.0.1</max></php></required></dependencies>
|
24 |
</package>
|