HC_PayByFinance - Version 1.0.4.1

Version Notes

Change Log:
* Wizard type flag: old, new rather than Y, N
* HC-187 Fixed deposit when there's only one service
* Tests against CE 1.9.1.9 and EE 1.14.1.0

Download this release

Release Info

Developer Sandor Czettner
Extension HC_PayByFinance
Version 1.0.4.1
Comparing to
See all releases


Code changes from version 1.0.4.0 to 1.0.4.1

Files changed (58) hide show
  1. app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Redirect.php +24 -24
  2. app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service.php +24 -24
  3. app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service/Edit.php +25 -25
  4. app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service/Edit/Form.php +25 -25
  5. app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service/Edit/Tab/Form.php +24 -24
  6. app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service/Edit/Tabs.php +24 -24
  7. app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service/Grid.php +24 -24
  8. app/code/local/HC/PayByFinance/Block/Adminhtml/Version.php +25 -25
  9. app/code/local/HC/PayByFinance/Block/Checkout/Redirect.php +22 -22
  10. app/code/local/HC/PayByFinance/Block/Sales/Order/Totals.php +22 -22
  11. app/code/local/HC/PayByFinance/Block/Selector.php +24 -24
  12. app/code/local/HC/PayByFinance/Block/Status.php +24 -24
  13. app/code/local/HC/PayByFinance/Helper/Cart.php +24 -24
  14. app/code/local/HC/PayByFinance/Helper/Checkout.php +24 -24
  15. app/code/local/HC/PayByFinance/Helper/Data.php +25 -25
  16. app/code/local/HC/PayByFinance/Helper/Notification.php +24 -24
  17. app/code/local/HC/PayByFinance/Model/Calculator.php +24 -24
  18. app/code/local/HC/PayByFinance/Model/Config/Source/Catalog/Product/Finance.php +23 -23
  19. app/code/local/HC/PayByFinance/Model/Config/Source/Catalog/Product/Type.php +22 -22
  20. app/code/local/HC/PayByFinance/Model/Config/Source/Cms/Block.php +22 -22
  21. app/code/local/HC/PayByFinance/Model/Config/Source/Connectionmode.php +22 -22
  22. app/code/local/HC/PayByFinance/Model/Config/Source/Type.php +22 -22
  23. app/code/local/HC/PayByFinance/Model/Log.php +22 -22
  24. app/code/local/HC/PayByFinance/Model/Mysql4/Log.php +22 -22
  25. app/code/local/HC/PayByFinance/Model/Mysql4/Log/Collection.php +23 -23
  26. app/code/local/HC/PayByFinance/Model/Mysql4/Service.php +22 -22
  27. app/code/local/HC/PayByFinance/Model/Mysql4/Service/Collection.php +23 -23
  28. app/code/local/HC/PayByFinance/Model/Observer.php +22 -22
  29. app/code/local/HC/PayByFinance/Model/Paypal/Api/Nvp.php +22 -22
  30. app/code/local/HC/PayByFinance/Model/Paypal/Hostedpro/Request.php +22 -22
  31. app/code/local/HC/PayByFinance/Model/PaypalUk/Api/Nvp.php +22 -22
  32. app/code/local/HC/PayByFinance/Model/Post.php +23 -23
  33. app/code/local/HC/PayByFinance/Model/Post/Abstract.php +22 -22
  34. app/code/local/HC/PayByFinance/Model/Post/Live.php +22 -22
  35. app/code/local/HC/PayByFinance/Model/Post/Simulation.php +22 -22
  36. app/code/local/HC/PayByFinance/Model/Post/Test.php +22 -22
  37. app/code/local/HC/PayByFinance/Model/Post/Unittest.php +22 -22
  38. app/code/local/HC/PayByFinance/Model/Resource/Setup.php +25 -25
  39. app/code/local/HC/PayByFinance/Model/Sales/Order/Creditmemo/Financeamount.php +24 -24
  40. app/code/local/HC/PayByFinance/Model/Sales/Order/Invoice/Financeamount.php +24 -24
  41. app/code/local/HC/PayByFinance/Model/Sales/Quote/Financeamount.php +24 -24
  42. app/code/local/HC/PayByFinance/Model/Sales/Quote/Totalcost.php +24 -24
  43. app/code/local/HC/PayByFinance/Model/Service.php +22 -22
  44. app/code/local/HC/PayByFinance/Model/Session.php +22 -22
  45. app/code/local/HC/PayByFinance/Model/Sessionobserver.php +22 -22
  46. app/code/local/HC/PayByFinance/controllers/Adminhtml/Paybyfinance/RedirectController.php +24 -24
  47. app/code/local/HC/PayByFinance/controllers/Adminhtml/Paybyfinance/ServiceController.php +24 -24
  48. app/code/local/HC/PayByFinance/controllers/CheckoutController.php +24 -24
  49. app/code/local/HC/PayByFinance/controllers/NotificationController.php +25 -25
  50. app/code/local/HC/PayByFinance/controllers/SelectorController.php +24 -24
  51. app/code/local/HC/PayByFinance/controllers/SessionController.php +24 -24
  52. app/code/local/HC/PayByFinance/controllers/StatusController.php +24 -24
  53. app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-install-1.0.4.php +14 -14
  54. app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-upgrade-1.0.0-1.0.1.php +14 -14
  55. app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-upgrade-1.0.1-1.0.2.php +14 -14
  56. app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-upgrade-1.0.3-1.0.4.php +14 -14
  57. app/design/frontend/base/default/template/paybyfinance/selector.phtml +7 -2
  58. package.xml +7 -8
app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Redirect.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Healthy Websites
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Redirect debug preview block
20
- *
21
- * @uses Mage_Adminhtml_Block_Template
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_Block_Adminhtml_Paybyfinance_Redirect
30
  extends Mage_Adminhtml_Block_Template
31
  {
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Healthy Websites
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Redirect debug preview block
20
+ *
21
+ * @uses Mage_Adminhtml_Block_Template
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_Block_Adminhtml_Paybyfinance_Redirect
30
  extends Mage_Adminhtml_Block_Template
31
  {
app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Healthy Websites
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Services grid widget container
20
- *
21
- * @uses Mage_Adminhtml_Block_Widget_Grid_Container
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_Block_Adminhtml_Paybyfinance_Service
30
  extends Mage_Adminhtml_Block_Widget_Grid_Container
31
  {
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Healthy Websites
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Services grid widget container
20
+ *
21
+ * @uses Mage_Adminhtml_Block_Widget_Grid_Container
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_Block_Adminhtml_Paybyfinance_Service
30
  extends Mage_Adminhtml_Block_Widget_Grid_Container
31
  {
app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service/Edit.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Healthy Websites
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Edit form container for service
20
- *
21
- * @uses Mage_Adminhtml_Block_Widget_Form_Container
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_Block_Adminhtml_Paybyfinance_Service_Edit
30
  extends Mage_Adminhtml_Block_Widget_Form_Container
31
  {
@@ -64,4 +64,4 @@ class HC_PayByFinance_Block_Adminhtml_Paybyfinance_Service_Edit
64
  return Mage::helper('paybyfinance')->__('Add Service');
65
  }
66
  }
67
- }
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Healthy Websites
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Edit form container for service
20
+ *
21
+ * @uses Mage_Adminhtml_Block_Widget_Form_Container
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_Block_Adminhtml_Paybyfinance_Service_Edit
30
  extends Mage_Adminhtml_Block_Widget_Form_Container
31
  {
64
  return Mage::helper('paybyfinance')->__('Add Service');
65
  }
66
  }
67
+ }
app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service/Edit/Form.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Healthy Websites
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Form widget block for service
20
- *
21
- * @uses Mage_Adminhtml_Block_Widget_Form
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_Block_Adminhtml_Paybyfinance_Service_Edit_Form
30
  extends Mage_Adminhtml_Block_Widget_Form
31
  {
@@ -51,4 +51,4 @@ class HC_PayByFinance_Block_Adminhtml_Paybyfinance_Service_Edit_Form
51
  $this->setForm($form);
52
  return parent::_prepareForm();
53
  }
54
- }
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Healthy Websites
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Form widget block for service
20
+ *
21
+ * @uses Mage_Adminhtml_Block_Widget_Form
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_Block_Adminhtml_Paybyfinance_Service_Edit_Form
30
  extends Mage_Adminhtml_Block_Widget_Form
31
  {
51
  $this->setForm($form);
52
  return parent::_prepareForm();
53
  }
54
+ }
app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service/Edit/Tab/Form.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Healthy Websites
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Data form for service
20
- *
21
- * @uses Mage_Adminhtml_Block_Widget_Form
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_Block_Adminhtml_Paybyfinance_Service_Edit_Tab_Form
30
  extends Mage_Adminhtml_Block_Widget_Form
31
  {
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Healthy Websites
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Data form for service
20
+ *
21
+ * @uses Mage_Adminhtml_Block_Widget_Form
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_Block_Adminhtml_Paybyfinance_Service_Edit_Tab_Form
30
  extends Mage_Adminhtml_Block_Widget_Form
31
  {
app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service/Edit/Tabs.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Healthy Websites
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Tabs widget for service edit form
20
- *
21
- * @uses Mage_Adminhtml_Block_Widget_Tabs
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFInance_Block_Adminhtml_Paybyfinance_Service_Edit_Tabs
30
  extends Mage_Adminhtml_Block_Widget_Tabs
31
  {
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Healthy Websites
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Tabs widget for service edit form
20
+ *
21
+ * @uses Mage_Adminhtml_Block_Widget_Tabs
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFInance_Block_Adminhtml_Paybyfinance_Service_Edit_Tabs
30
  extends Mage_Adminhtml_Block_Widget_Tabs
31
  {
app/code/local/HC/PayByFinance/Block/Adminhtml/Paybyfinance/Service/Grid.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Healthy Websites
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Grid widget for services
20
- *
21
- * @uses Mage_Adminhtml_Block_Widget_Grid
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFInance_Block_Adminhtml_Paybyfinance_Service_Grid
30
  extends Mage_Adminhtml_Block_Widget_Grid
31
  {
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Healthy Websites
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Grid widget for services
20
+ *
21
+ * @uses Mage_Adminhtml_Block_Widget_Grid
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFInance_Block_Adminhtml_Paybyfinance_Service_Grid
30
  extends Mage_Adminhtml_Block_Widget_Grid
31
  {
app/code/local/HC/PayByFinance/Block/Adminhtml/Version.php CHANGED
@@ -1,34 +1,34 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Healthy Websites
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Version information to be displayed on the configuration
20
- *
21
- * @uses Mage_Adminhtml_Block_Template
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
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 = 0;
32
 
33
  protected $_template = "paybyfinance/version.phtml";
34
 
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Healthy Websites
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Version information to be displayed on the configuration
20
+ *
21
+ * @uses Mage_Adminhtml_Block_Template
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
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 = 1;
32
 
33
  protected $_template = "paybyfinance/version.phtml";
34
 
app/code/local/HC/PayByFinance/Block/Checkout/Redirect.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * To render the redirect form
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFinance_Block_Checkout_Redirect extends Mage_Core_Block_Template
28
  {
29
 
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * To render the redirect form
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFinance_Block_Checkout_Redirect extends Mage_Core_Block_Template
28
  {
29
 
app/code/local/HC/PayByFinance/Block/Sales/Order/Totals.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Totals on cart and checkout
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFInance_Block_Sales_Order_Totals extends Mage_Core_Block_Template
28
  {
29
  /**
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Totals on cart and checkout
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFInance_Block_Sales_Order_Totals extends Mage_Core_Block_Template
28
  {
29
  /**
app/code/local/HC/PayByFinance/Block/Selector.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Selector block class
20
- *
21
- * @uses Mage_Core_Block_Template
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_Block_Selector extends Mage_Core_Block_Template
30
  {
31
 
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Selector block class
20
+ *
21
+ * @uses Mage_Core_Block_Template
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_Block_Selector extends Mage_Core_Block_Template
30
  {
31
 
app/code/local/HC/PayByFinance/Block/Status.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Block class for status pages
20
- *
21
- * @uses Mage_Core_Block_Template
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_Block_Status extends Mage_Core_Block_Template
30
  {
31
  private $_type;
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Block class for status pages
20
+ *
21
+ * @uses Mage_Core_Block_Template
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_Block_Status extends Mage_Core_Block_Template
30
  {
31
  private $_type;
app/code/local/HC/PayByFinance/Helper/Cart.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Data helper for cart functions
20
- *
21
- * @uses Mage_Core_Helper_Data
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_Helper_Cart extends Mage_Core_Helper_Data
30
  {
31
 
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Data helper for cart functions
20
+ *
21
+ * @uses Mage_Core_Helper_Data
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_Helper_Cart extends Mage_Core_Helper_Data
30
  {
31
 
app/code/local/HC/PayByFinance/Helper/Checkout.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Data helper for checkout functions
20
- *
21
- * @uses Mage_Core_Helper_Data
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_Helper_Checkout extends Mage_Core_Helper_Data
30
  {
31
 
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Data helper for checkout functions
20
+ *
21
+ * @uses Mage_Core_Helper_Data
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_Helper_Checkout extends Mage_Core_Helper_Data
30
  {
31
 
app/code/local/HC/PayByFinance/Helper/Data.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Data helper for storing and getting configuration
20
- *
21
- * @uses Mage_Core_Helper_Data
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_Helper_Data extends Mage_Core_Helper_Data
30
  {
31
  const XML_PATH_PRODUCTTYPES = 'hc_paybyfinance/general/enable_producttypes';
@@ -263,7 +263,7 @@ class HC_PayByFinance_Helper_Data extends Mage_Core_Helper_Data
263
 
264
  if ($type == 'notification') {
265
  $log->setType('Notification')
266
- ->setFlow('Outgoing')
267
  ->setTime($currentTime)
268
  ->setContent($data)
269
  ->save();
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Data helper for storing and getting configuration
20
+ *
21
+ * @uses Mage_Core_Helper_Data
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_Helper_Data extends Mage_Core_Helper_Data
30
  {
31
  const XML_PATH_PRODUCTTYPES = 'hc_paybyfinance/general/enable_producttypes';
263
 
264
  if ($type == 'notification') {
265
  $log->setType('Notification')
266
+ ->setFlow('Incoming')
267
  ->setTime($currentTime)
268
  ->setContent($data)
269
  ->save();
app/code/local/HC/PayByFinance/Helper/Notification.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Data helper for notification process
20
- *
21
- * @uses Mage_Core_Helper_Data
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_Helper_Notification extends Mage_Core_Helper_Data
30
  {
31
 
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Data helper for notification process
20
+ *
21
+ * @uses Mage_Core_Helper_Data
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_Helper_Notification extends Mage_Core_Helper_Data
30
  {
31
 
app/code/local/HC/PayByFinance/Model/Calculator.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Data model for finance calculations
20
- *
21
- * @uses Varien_Object
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_Model_Calculator extends Varien_Object
30
  {
31
  private $_service;
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Data model for finance calculations
20
+ *
21
+ * @uses Varien_Object
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_Model_Calculator extends Varien_Object
30
  {
31
  private $_service;
app/code/local/HC/PayByFinance/Model/Config/Source/Catalog/Product/Finance.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Provides the list of config values to enable finance
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFinance_Model_Config_Source_Catalog_Product_Finance
28
  extends Mage_Eav_Model_Entity_Attribute_Source_Abstract
29
  {
@@ -59,4 +59,4 @@ class HC_PayByFinance_Model_Config_Source_Catalog_Product_Finance
59
  return $this->_options;
60
  }
61
 
62
- }
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Provides the list of config values to enable finance
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFinance_Model_Config_Source_Catalog_Product_Finance
28
  extends Mage_Eav_Model_Entity_Attribute_Source_Abstract
29
  {
59
  return $this->_options;
60
  }
61
 
62
+ }
app/code/local/HC/PayByFinance/Model/Config/Source/Catalog/Product/Type.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Provides the list of product types to be used in admin config fields
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFinance_Model_Config_Source_Catalog_Product_Type
28
  {
29
  protected $_options;
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Provides the list of product types to be used in admin config fields
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFinance_Model_Config_Source_Catalog_Product_Type
28
  {
29
  protected $_options;
app/code/local/HC/PayByFinance/Model/Config/Source/Cms/Block.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Provides the list of blocks to be used in admin config fields
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFinance_Model_Config_Source_Cms_Block
28
  {
29
  protected $_options;
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Provides the list of blocks to be used in admin config fields
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFinance_Model_Config_Source_Cms_Block
28
  {
29
  protected $_options;
app/code/local/HC/PayByFinance/Model/Config/Source/Connectionmode.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Provides the list of product types to be used in admin config fields
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFinance_Model_Config_Source_Connectionmode
28
  {
29
  /**
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Provides the list of product types to be used in admin config fields
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFinance_Model_Config_Source_Connectionmode
28
  {
29
  /**
app/code/local/HC/PayByFinance/Model/Config/Source/Type.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Provides the list of product types to be used in admin config fields
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFinance_Model_Config_Source_Type
28
  {
29
  /**
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Provides the list of product types to be used in admin config fields
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFinance_Model_Config_Source_Type
28
  {
29
  /**
app/code/local/HC/PayByFinance/Model/Log.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension f6f5b81
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Hitachi Log Model
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFinance_Model_Log extends Mage_Core_Model_Abstract
28
  {
29
  /**
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension f6f5b81
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Hitachi Log Model
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFinance_Model_Log extends Mage_Core_Model_Abstract
28
  {
29
  /**
app/code/local/HC/PayByFinance/Model/Mysql4/Log.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Hitachi Log Resource model
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFinance_Model_Mysql4_Log
28
  extends Mage_Core_Model_Mysql4_Abstract
29
  {
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Hitachi Log Resource model
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFinance_Model_Mysql4_Log
28
  extends Mage_Core_Model_Mysql4_Abstract
29
  {
app/code/local/HC/PayByFinance/Model/Mysql4/Log/Collection.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Hitachi Log Collection
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFinance_Model_Mysql4_Log_Collection
28
  extends Mage_Core_Model_Mysql4_Collection_Abstract
29
  {
@@ -36,4 +36,4 @@ class HC_PayByFinance_Model_Mysql4_Log_Collection
36
  {
37
  $this->_init('paybyfinance/log');
38
  }
39
- }
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Hitachi Log Collection
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFinance_Model_Mysql4_Log_Collection
28
  extends Mage_Core_Model_Mysql4_Collection_Abstract
29
  {
36
  {
37
  $this->_init('paybyfinance/log');
38
  }
39
+ }
app/code/local/HC/PayByFinance/Model/Mysql4/Service.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Hitachi Service Resource model
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFinance_Model_Mysql4_Service
28
  extends Mage_Core_Model_Mysql4_Abstract
29
  {
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Hitachi Service Resource model
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFinance_Model_Mysql4_Service
28
  extends Mage_Core_Model_Mysql4_Abstract
29
  {
app/code/local/HC/PayByFinance/Model/Mysql4/Service/Collection.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Hitachi Services Collection
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFinance_Model_Mysql4_Service_Collection
28
  extends Mage_Core_Model_Mysql4_Collection_Abstract
29
  {
@@ -50,4 +50,4 @@ class HC_PayByFinance_Model_Mysql4_Service_Collection
50
  $this->addFieldToFilter('min_amount', $condition);
51
  return $this;
52
  }
53
- }
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Hitachi Services Collection
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFinance_Model_Mysql4_Service_Collection
28
  extends Mage_Core_Model_Mysql4_Collection_Abstract
29
  {
50
  $this->addFieldToFilter('min_amount', $condition);
51
  return $this;
52
  }
53
+ }
app/code/local/HC/PayByFinance/Model/Observer.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Hitachi Observer Model
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFinance_Model_Observer
28
  {
29
  /**
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Hitachi Observer Model
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFinance_Model_Observer
28
  {
29
  /**
app/code/local/HC/PayByFinance/Model/Paypal/Api/Nvp.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Overrideing Mage_Paypal_Model_Api_Nvp::call()
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFinance_Model_Paypal_Api_Nvp extends Mage_Paypal_Model_Api_Nvp
28
  {
29
  /**
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Overrideing Mage_Paypal_Model_Api_Nvp::call()
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFinance_Model_Paypal_Api_Nvp extends Mage_Paypal_Model_Api_Nvp
28
  {
29
  /**
app/code/local/HC/PayByFinance/Model/Paypal/Hostedpro/Request.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Overrideing Mage_Paypal_Model_Hostedpro_Request::_getOrderData()
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFinance_Model_Paypal_Hostedpro_Request extends Mage_Paypal_Model_Hostedpro_Request
28
  {
29
  /**
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Overrideing Mage_Paypal_Model_Hostedpro_Request::_getOrderData()
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFinance_Model_Paypal_Hostedpro_Request extends Mage_Paypal_Model_Hostedpro_Request
28
  {
29
  /**
app/code/local/HC/PayByFinance/Model/PaypalUk/Api/Nvp.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Overrideing Mage_PaypalUk_Model_Api_Nvp::call()
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFinance_Model_PaypalUk_Api_Nvp extends Mage_PaypalUk_Model_Api_Nvp
28
  {
29
  /**
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Overrideing Mage_PaypalUk_Model_Api_Nvp::call()
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFinance_Model_PaypalUk_Api_Nvp extends Mage_PaypalUk_Model_Api_Nvp
28
  {
29
  /**
app/code/local/HC/PayByFinance/Model/Post.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Hitachi Service Model
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFinance_Model_Post extends Mage_Core_Model_Abstract
28
  {
29
  private $_adapter;
@@ -110,7 +110,7 @@ class HC_PayByFinance_Model_Post extends Mage_Core_Model_Abstract
110
  'paybyfinance/notification', array("_secure" => true)
111
  ),
112
  'address_checked' => $addressChecked == "1" ? 'Y' : 'N',
113
- 'wizard' => $wizard == "1" ? 'Y' : 'N',
114
  );
115
  $data = array_merge($data, $fields);
116
 
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Hitachi Service Model
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFinance_Model_Post extends Mage_Core_Model_Abstract
28
  {
29
  private $_adapter;
110
  'paybyfinance/notification', array("_secure" => true)
111
  ),
112
  'address_checked' => $addressChecked == "1" ? 'Y' : 'N',
113
+ 'wizard' => $wizard == "1" ? 'new' : 'old',
114
  );
115
  $data = array_merge($data, $fields);
116
 
app/code/local/HC/PayByFinance/Model/Post/Abstract.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Hitachi Post Abstract Model
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  abstract class HC_PayByFinance_Model_Post_Abstract extends Mage_Core_Model_Abstract
28
  {
29
  const PROTOCOL_VERSION = '1.0';
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Hitachi Post Abstract Model
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  abstract class HC_PayByFinance_Model_Post_Abstract extends Mage_Core_Model_Abstract
28
  {
29
  const PROTOCOL_VERSION = '1.0';
app/code/local/HC/PayByFinance/Model/Post/Live.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Hitachi Post Live Model
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFinance_Model_Post_Live extends HC_PayByFinance_Model_Post_Abstract
28
  {
29
  const POST_URL = 'https://www.paybyfinance.co.uk/Ecommerce/etailer/createQuote.action';
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Hitachi Post Live Model
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFinance_Model_Post_Live extends HC_PayByFinance_Model_Post_Abstract
28
  {
29
  const POST_URL = 'https://www.paybyfinance.co.uk/Ecommerce/etailer/createQuote.action';
app/code/local/HC/PayByFinance/Model/Post/Simulation.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Hitachi Post Simulation Model
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFinance_Model_Post_Simulation extends HC_PayByFinance_Model_Post_Abstract
28
  {
29
  const POST_URL = 'https://demo.creditmaster2.co.uk/Ecommerce/etailer/createQuote.action';
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Hitachi Post Simulation Model
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFinance_Model_Post_Simulation extends HC_PayByFinance_Model_Post_Abstract
28
  {
29
  const POST_URL = 'https://demo.creditmaster2.co.uk/Ecommerce/etailer/createQuote.action';
app/code/local/HC/PayByFinance/Model/Post/Test.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Hitachi Post TEst Model
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFinance_Model_Post_Test extends HC_PayByFinance_Model_Post_Abstract
28
  {
29
  const POST_URL = 'https://demo.creditmaster2.co.uk/Ecommerce/etailer/createQuote.action';
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Hitachi Post TEst Model
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFinance_Model_Post_Test extends HC_PayByFinance_Model_Post_Abstract
28
  {
29
  const POST_URL = 'https://demo.creditmaster2.co.uk/Ecommerce/etailer/createQuote.action';
app/code/local/HC/PayByFinance/Model/Post/Unittest.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Hitachi Post TEst Model
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFinance_Model_Post_Unittest extends HC_PayByFinance_Model_Post_Abstract
28
  {
29
  const POST_URL = 'https://demo.creditmaster2.co.uk/Ecommerce/etailer/createQuote.action';
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Hitachi Post TEst Model
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFinance_Model_Post_Unittest extends HC_PayByFinance_Model_Post_Abstract
28
  {
29
  const POST_URL = 'https://demo.creditmaster2.co.uk/Ecommerce/etailer/createQuote.action';
app/code/local/HC/PayByFinance/Model/Resource/Setup.php CHANGED
@@ -1,33 +1,33 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Setup resource model
20
- *
21
- * @uses Mage_Core_Model_Resource_Setup
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_Model_Resource_Setup
30
  extends Mage_Core_Model_Resource_Setup
31
  {
32
 
33
- }
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Setup resource model
20
+ *
21
+ * @uses Mage_Core_Model_Resource_Setup
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_Model_Resource_Setup
30
  extends Mage_Core_Model_Resource_Setup
31
  {
32
 
33
+ }
app/code/local/HC/PayByFinance/Model/Sales/Order/Creditmemo/Financeamount.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Totals value on the credit memo
20
- *
21
- * @uses Mage_Sales_Model_Order_Invoice_Total_Abstract
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_Model_Sales_Order_Creditmemo_FInanceamount
30
  extends Mage_Sales_Model_Order_Creditmemo_Total_Abstract
31
  {
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Totals value on the credit memo
20
+ *
21
+ * @uses Mage_Sales_Model_Order_Invoice_Total_Abstract
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_Model_Sales_Order_Creditmemo_FInanceamount
30
  extends Mage_Sales_Model_Order_Creditmemo_Total_Abstract
31
  {
app/code/local/HC/PayByFinance/Model/Sales/Order/Invoice/Financeamount.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Totals value on the cart
20
- *
21
- * @uses Mage_Sales_Model_Order_Invoice_Total_Abstract
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_Model_Sales_Order_Invoice_Financeamount
30
  extends Mage_Sales_Model_Order_Invoice_Total_Abstract
31
  {
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Totals value on the cart
20
+ *
21
+ * @uses Mage_Sales_Model_Order_Invoice_Total_Abstract
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_Model_Sales_Order_Invoice_Financeamount
30
  extends Mage_Sales_Model_Order_Invoice_Total_Abstract
31
  {
app/code/local/HC/PayByFinance/Model/Sales/Quote/Financeamount.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Totals value on the cart
20
- *
21
- * @uses Mage_Sales_Model_Quote_Address_Total_Abstract
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_Model_Sales_Quote_Financeamount
30
  extends Mage_Sales_Model_Quote_Address_Total_Abstract
31
  {
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Totals value on the cart
20
+ *
21
+ * @uses Mage_Sales_Model_Quote_Address_Total_Abstract
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_Model_Sales_Quote_Financeamount
30
  extends Mage_Sales_Model_Quote_Address_Total_Abstract
31
  {
app/code/local/HC/PayByFinance/Model/Sales/Quote/Totalcost.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Total Cost value on the cart
20
- *
21
- * @uses Mage_Sales_Model_Quote_Address_Total_Abstract
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_Model_Sales_Quote_Totalcost
30
  extends Mage_Sales_Model_Quote_Address_Total_Abstract
31
  {
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Total Cost value on the cart
20
+ *
21
+ * @uses Mage_Sales_Model_Quote_Address_Total_Abstract
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_Model_Sales_Quote_Totalcost
30
  extends Mage_Sales_Model_Quote_Address_Total_Abstract
31
  {
app/code/local/HC/PayByFinance/Model/Service.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Hitachi Service Model
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFinance_Model_Service extends Mage_Core_Model_Abstract
28
  {
29
  /**
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Hitachi Service Model
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFinance_Model_Service extends Mage_Core_Model_Abstract
28
  {
29
  /**
app/code/local/HC/PayByFinance/Model/Session.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Session storage
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFinance_Model_Session extends Mage_Core_Model_Session_Abstract
28
  {
29
  /**
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Session storage
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFinance_Model_Session extends Mage_Core_Model_Session_Abstract
28
  {
29
  /**
app/code/local/HC/PayByFinance/Model/Sessionobserver.php CHANGED
@@ -1,29 +1,29 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Hitachi Session Observer
20
- *
21
- * @category HC
22
- * @package PayByFinance
23
- * @author Healthy Websites <support@healthywebsites.co.uk>
24
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
- * @link http://www.healthywebsites.co.uk/
26
- */
27
  class HC_PayByFinance_Model_Sessionobserver
28
  {
29
 
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Hitachi Session Observer
20
+ *
21
+ * @category HC
22
+ * @package PayByFinance
23
+ * @author Healthy Websites <support@healthywebsites.co.uk>
24
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
25
+ * @link http://www.healthywebsites.co.uk/
26
+ */
27
  class HC_PayByFinance_Model_Sessionobserver
28
  {
29
 
app/code/local/HC/PayByFinance/controllers/Adminhtml/Paybyfinance/RedirectController.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Controller for previewing redirect forms
20
- *
21
- * @uses Mage_Adminhtml_Controller_Action
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_Adminhtml_Paybyfinance_RedirectController
30
  extends Mage_Adminhtml_Controller_Action
31
  {
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Controller for previewing redirect forms
20
+ *
21
+ * @uses Mage_Adminhtml_Controller_Action
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_Adminhtml_Paybyfinance_RedirectController
30
  extends Mage_Adminhtml_Controller_Action
31
  {
app/code/local/HC/PayByFinance/controllers/Adminhtml/Paybyfinance/ServiceController.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Controller for services
20
- *
21
- * @uses Mage_Adminhtml_Controller_Action
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_Adminhtml_Paybyfinance_ServiceController
30
  extends Mage_Adminhtml_Controller_Action
31
  {
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Controller for services
20
+ *
21
+ * @uses Mage_Adminhtml_Controller_Action
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_Adminhtml_Paybyfinance_ServiceController
30
  extends Mage_Adminhtml_Controller_Action
31
  {
app/code/local/HC/PayByFinance/controllers/CheckoutController.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Controller for checkout actions
20
- *
21
- * @uses Mage_Adminhtml_Controller_Action
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_CheckoutController extends Mage_Core_Controller_Front_Action
30
  {
31
 
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Controller for checkout actions
20
+ *
21
+ * @uses Mage_Adminhtml_Controller_Action
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_CheckoutController extends Mage_Core_Controller_Front_Action
30
  {
31
 
app/code/local/HC/PayByFinance/controllers/NotificationController.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Controller for PBF pingback notifications
20
- *
21
- * @uses Mage_Adminhtml_Controller_Action
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_NotificationController extends Mage_Core_Controller_Front_Action
30
  {
31
  /**
@@ -44,7 +44,7 @@ class HC_PayByFinance_NotificationController extends Mage_Core_Controller_Front_
44
  || !array_key_exists('applicationNo', $parameters)
45
  ) {
46
  $helper->log(
47
- 'Error in notification parameters: ' . http_build_query($parameters),
48
  'notification'
49
  );
50
  echo "0";
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Controller for PBF pingback notifications
20
+ *
21
+ * @uses Mage_Adminhtml_Controller_Action
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_NotificationController extends Mage_Core_Controller_Front_Action
30
  {
31
  /**
44
  || !array_key_exists('applicationNo', $parameters)
45
  ) {
46
  $helper->log(
47
+ 'Error in notification parameters: ' . $helper->arrayDump($parameters),
48
  'notification'
49
  );
50
  echo "0";
app/code/local/HC/PayByFinance/controllers/SelectorController.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Controller for selector operations
20
- *
21
- * @uses Mage_Adminhtml_Controller_Action
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_SelectorController extends Mage_Core_Controller_Front_Action
30
  {
31
  protected $_services;
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Controller for selector operations
20
+ *
21
+ * @uses Mage_Adminhtml_Controller_Action
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_SelectorController extends Mage_Core_Controller_Front_Action
30
  {
31
  protected $_services;
app/code/local/HC/PayByFinance/controllers/SessionController.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Controller for session storage operations
20
- *
21
- * @uses Mage_Adminhtml_Controller_Action
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_SessionController extends Mage_Core_Controller_Front_Action
30
  {
31
  /**
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Controller for session storage operations
20
+ *
21
+ * @uses Mage_Adminhtml_Controller_Action
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_SessionController extends Mage_Core_Controller_Front_Action
30
  {
31
  /**
app/code/local/HC/PayByFinance/controllers/StatusController.php CHANGED
@@ -1,31 +1,31 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  /**
19
- * Controller for status pages
20
- *
21
- * @uses Mage_Adminhtml_Controller_Action
22
- *
23
- * @category HC
24
- * @package PayByFinance
25
- * @author Healthy Websites <support@healthywebsites.co.uk>
26
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
- * @link http://www.healthywebsites.co.uk/
28
- */
29
  class HC_PayByFinance_StatusController extends Mage_Core_Controller_Front_Action
30
  {
31
  /**
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  /**
19
+ * Controller for status pages
20
+ *
21
+ * @uses Mage_Adminhtml_Controller_Action
22
+ *
23
+ * @category HC
24
+ * @package PayByFinance
25
+ * @author Healthy Websites <support@healthywebsites.co.uk>
26
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
27
+ * @link http://www.healthywebsites.co.uk/
28
+ */
29
  class HC_PayByFinance_StatusController extends Mage_Core_Controller_Front_Action
30
  {
31
  /**
app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-install-1.0.4.php CHANGED
@@ -1,19 +1,19 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  $installer = $this;
19
  $setup = Mage::getModel('eav/entity_setup', 'core_setup');
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  $installer = $this;
19
  $setup = Mage::getModel('eav/entity_setup', 'core_setup');
app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-upgrade-1.0.0-1.0.1.php CHANGED
@@ -1,19 +1,19 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  $updater = $this; // $this is class Mage_Eav_Model_Entity_Setup
19
  $updater->startSetup();
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  $updater = $this; // $this is class Mage_Eav_Model_Entity_Setup
19
  $updater->startSetup();
app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-upgrade-1.0.1-1.0.2.php CHANGED
@@ -1,19 +1,19 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  $updater = $this; // $this is class Mage_Eav_Model_Entity_Setup
19
  $updater->startSetup();
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  $updater = $this; // $this is class Mage_Eav_Model_Entity_Setup
19
  $updater->startSetup();
app/code/local/HC/PayByFinance/sql/paybyfinance_setup/mysql4-upgrade-1.0.3-1.0.4.php CHANGED
@@ -1,19 +1,19 @@
1
  <?php
2
  /**
3
- * Hitachi Capital Pay By Finance
4
- *
5
- * Hitachi Capital Pay By Finance Extension
6
- *
7
- * PHP version >= 5.3.*
8
- *
9
- * @category HC
10
- * @package PayByFinance
11
- * @author Healthy Websites <support@healthywebsites.co.uk>
12
- * @copyright 2014 Hitachi Capital
13
- * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
- * @link http://www.healthywebsites.co.uk/
15
- *
16
- */
17
 
18
  $updater = $this; // $this is class Mage_Eav_Model_Entity_Setup
19
  $updater->startSetup();
1
  <?php
2
  /**
3
+ * Hitachi Capital Pay By Finance
4
+ *
5
+ * Hitachi Capital Pay By Finance Extension
6
+ *
7
+ * PHP version >= 5.3.*
8
+ *
9
+ * @category HC
10
+ * @package PayByFinance
11
+ * @author Healthy Websites <support@healthywebsites.co.uk>
12
+ * @copyright 2014 Hitachi Capital
13
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
14
+ * @link http://www.healthywebsites.co.uk/
15
+ *
16
+ */
17
 
18
  $updater = $this; // $this is class Mage_Eav_Model_Entity_Setup
19
  $updater->startSetup();
app/design/frontend/base/default/template/paybyfinance/selector.phtml CHANGED
@@ -235,7 +235,11 @@ $_secure = $this->getRequest()->isSecure();
235
  if (typewid) {
236
  typeval = typewid.value;
237
  }
238
- var termval = $("pbf-input-term-"+typeval).value;
 
 
 
 
239
  var service_id = pbf_selector_data['subterms'][typeval][termval].service_id;
240
  pbf_selector_user.service = service_id;
241
  if ($$('input[name="service"][value="'+service_id+'"]').length != 0) {
@@ -476,7 +480,7 @@ $_secure = $this->getRequest()->isSecure();
476
 
477
  if (pbf_selector_data.service !== null) {
478
  selector = $$('input[name="service"][value="'+pbf_selector_data.service+'"]');
479
- if (selector.length > 0) {
480
  selector[0].checked = true;
481
  }
482
  }
@@ -488,6 +492,7 @@ $_secure = $this->getRequest()->isSecure();
488
  document.observe('dom:loaded', function() {
489
  $('paybyfinance').addClassName('skip-animation');
490
  pbf_full_reload()
 
491
  $('paybyfinance').removeClassName('skip-animation');
492
  });
493
 
235
  if (typewid) {
236
  typeval = typewid.value;
237
  }
238
+ if ($("pbf-input-term-"+typeval)) {
239
+ var termval = $("pbf-input-term-"+typeval).value;
240
+ } else {
241
+ termval = 0;
242
+ }
243
  var service_id = pbf_selector_data['subterms'][typeval][termval].service_id;
244
  pbf_selector_user.service = service_id;
245
  if ($$('input[name="service"][value="'+service_id+'"]').length != 0) {
480
 
481
  if (pbf_selector_data.service !== null) {
482
  selector = $$('input[name="service"][value="'+pbf_selector_data.service+'"]');
483
+ if (selector && selector.length > 0) {
484
  selector[0].checked = true;
485
  }
486
  }
492
  document.observe('dom:loaded', function() {
493
  $('paybyfinance').addClassName('skip-animation');
494
  pbf_full_reload()
495
+ pbf_term_recalculate();
496
  $('paybyfinance').removeClassName('skip-animation');
497
  });
498
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>HC_PayByFinance</name>
4
- <version>1.0.4.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.healthywebsites.co.uk/license.html">Healthy Websites</license>
7
  <channel>community</channel>
@@ -9,14 +9,13 @@
9
  <summary>Hitachi Capital Pay By Finance</summary>
10
  <description>Hitachi Capital Pay By Finance</description>
11
  <notes>Change Log:&#xD;
12
- * Removed unneded template files&#xD;
13
- * Text changes in version information (CD-&gt;CE)&#xD;
14
- * HC-170 Disabled products on the cart are still financeable&#xD;
15
- * HC-171 Paypal - do not show finance amount when it's 0</notes>
16
  <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>
17
- <date>2015-04-15</date>
18
- <time>11:45:55</time>
19
- <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="e833b66126df043c3c82ddad731b72ee"/><dir name="Service"><dir name="Edit"><file name="Form.php" hash="83c8b9c20619ba8754c4ff589b9a93d8"/><dir name="Tab"><file name="Form.php" hash="b1cc9b35c4504f12d75e5fd05c286ceb"/></dir><file name="Tabs.php" hash="563cd0546a62114f4ce0ad226dcbd284"/></dir><file name="Edit.php" hash="6c27682856959920a054c5e46f9e6202"/><file name="Grid.php" hash="3b1decef1063f3f4dc6220b1d770ac34"/></dir><file name="Service.php" hash="863a6adb6aa194f80ef85eff35b835fc"/></dir><file name="Version.php" hash="aa97be54ab2ad29c30aaed7f8843032a"/></dir><dir name="Checkout"><file name="Redirect.php" hash="d666ffdae5d127c041d72af7a4125222"/></dir><dir name="Sales"><dir name="Order"><file name="Totals.php" hash="32f03e3a7529b91e41ed203b67b1a776"/></dir></dir><file name="Selector.php" hash="e5a43cbc50858ce6ba9e3695c2a53251"/><file name="Status.php" hash="e2cfd097569fdb0dbf4f6f56ce282181"/></dir><dir name="Helper"><file name="Cart.php" hash="02314da8f564f015698ea0c640a2412a"/><file name="Checkout.php" hash="ace804f10a6673cb89d7621cd0f56a3b"/><file name="Data.php" hash="7477d16906caae487d6cbc8325006ce5"/><file name="Notification.php" hash="92e04e043b2eced9f6159f8817d0d7fa"/></dir><dir name="Model"><file name="Calculator.php" hash="7c86b984569f07616005ea3fa5748eb3"/><dir name="Config"><dir name="Source"><dir name="Catalog"><dir name="Product"><file name="Finance.php" hash="ff556af6968a9ddc48313446f117a161"/><file name="Type.php" hash="497f87f6e6f8ff94e6308436e8c23339"/></dir></dir><dir name="Cms"><file name="Block.php" hash="6f27ccfc9ed421b4e329fcb1aa898d7e"/></dir><file name="Connectionmode.php" hash="2b37d9563a3a1721b3aa9e1400866e6c"/><file name="Type.php" hash="3fe934255019556ddc6ed4fe3f485dea"/></dir></dir><file name="Log.php" hash="6565186d165b38aa4513dc15b9f88fc9"/><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="e3886eeb186a92c8ec81fc7fd03b4c38"/></dir><file name="Log.php" hash="7444e07d1d77554ae82e9900fb8a7e4c"/><dir name="Service"><file name="Collection.php" hash="2fdccc0f53a2e038fe46d18c667df818"/></dir><file name="Service.php" hash="846486c8584eab5656a54961cd2da208"/></dir><file name="Observer.php" hash="4f952770c3d379a7352d5b61c6982515"/><dir name="Paypal"><dir name="Api"><file name="Nvp.php" hash="b9716601482ba2f95b092b272b0a719f"/></dir><dir name="Hostedpro"><file name="Request.php" hash="609a2f59d5135c98d65a7bf57e6765ef"/></dir></dir><dir name="PaypalUk"><dir name="Api"><file name="Nvp.php" hash="86649f5e35d9c766055ca9bfc50d74ee"/></dir></dir><dir name="Post"><file name="Abstract.php" hash="8f3130d405916573deecdd4572e74ece"/><file name="Live.php" hash="b0c86feedfee4fa7ad2f0a681f3f8074"/><file name="Simulation.php" hash="27a113919d0e7e121a2d09aa4842acad"/><file name="Test.php" hash="0c6a8e53162c4fc8d267f4151d1a5b97"/><file name="Unittest.php" hash="1cf9d2280c568e5b1bf540c15a796bef"/></dir><file name="Post.php" hash="b5396f260e9fb59ffb001fff2f0858fd"/><dir name="Resource"><file name="Setup.php" hash="c9b783bd9bef1ceeb1cc649e91ef3b9a"/></dir><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Financeamount.php" hash="f6fc2d9bedb7e6748ef06fafb3bd7b10"/></dir><dir name="Invoice"><file name="Financeamount.php" hash="7f652017f58594cb9fa0a3348d49ad15"/></dir></dir><dir name="Quote"><file name="Financeamount.php" hash="87f684a300050432b1b9ad7c265a19f4"/><file name="Totalcost.php" hash="edc6e156abba2c8bd3a3d48671694e95"/></dir></dir><file name="Service.php" hash="2043375b0586e18bcdfe98ed579770a8"/><file name="Session.php" hash="705be3666220145cbbd78fff158ddf71"/><file name="Sessionobserver.php" hash="4ac76db4f11990e1426de6c60abb7639"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Paybyfinance"><file name="RedirectController.php" hash="12a6b1951a07fa5d50fcf38a6fb3d57e"/><file name="ServiceController.php" hash="e0354ea82610cb3821a91fa89c8aeb2b"/></dir></dir><file name="CheckoutController.php" hash="1b26b2b1933471445ccf48bf5977e2c5"/><file name="NotificationController.php" hash="2ae082f6a856187268dd7bea4cd8ddad"/><file name="SelectorController.php" hash="8d55176bbd5787b9981e60f96cf8254a"/><file name="SessionController.php" hash="ea6f58e8a3f024e2d55c8b363c6448fd"/><file name="StatusController.php" hash="f017c622790033a9c928debdd5c94427"/></dir><dir name="etc"><file name="adminhtml.xml" hash="216df222a5f5d9fdcf29c238cfd78bd5"/><file name="config.xml" hash="46692d1909b3c9394bd1552631a986ed"/><file name="system.xml" hash="28c240d36d67c0f8d4df44ad7744b37b"/></dir><dir name="sql"><dir name="paybyfinance_setup"><dir name="html"><file name="abandoned.html" hash="424f900dbddc267f7dac72e67752df25"/><file name="accepted.html" hash="5a12318275410a8bf62d7508422d9503"/><file name="declined.html" hash="bd3e7565c3d98645629d9f6274e4bf24"/><file name="error.html" hash="4a448b052f101b2648dfe84423ad1313"/><file name="information.html" hash="b364458ba3d9ad7579fa4935e3449b46"/><file name="page-finance-options.html" hash="d6786a27e4bf82a73e3134df0f98888b"/><file name="referred.html" hash="5955befddbb2e274f350ba71458b6151"/></dir><file name="mysql4-install-1.0.4.php" hash="94c5a58f3c5055785dcba46aa8143eb1"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="ebbf4e768317754347893a4ed6b624e2"/><file name="mysql4-upgrade-1.0.1-1.0.2.php" hash="6424964cd6c10967ee6eb1f6db558a63"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="a0c089fe5893948802367333dc2d6edf"/></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"><file name="form.phtml" hash="6f583d5629e39fe564d4b86535242c7a"/><dir><dir name="sales"><dir name="order"><file name="totals.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir></dir><file name="selector-no.phtml" hash="b54c570f68254a2e879464a0b761c7db"/><file name="selector.phtml" hash="10f989f65562ded614a268712058f5d5"/><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="7260a6fd47c42aec9bdd1d3acb7d9a26"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="paybyfinance.xml" hash="6dd419ed31a10c3fc409a5a58f89fe01"/></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="21051d8691dd773427d3e761403896ab"/><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="7cbf54af53b5b2fe9047988444fd407c"/></dir></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.4.26</min><max>5.6.7</max></php></required></dependencies>
22
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>HC_PayByFinance</name>
4
+ <version>1.0.4.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.healthywebsites.co.uk/license.html">Healthy Websites</license>
7
  <channel>community</channel>
9
  <summary>Hitachi Capital Pay By Finance</summary>
10
  <description>Hitachi Capital Pay By Finance</description>
11
  <notes>Change Log:&#xD;
12
+ * Wizard type flag: old, new rather than Y, N&#xD;
13
+ * HC-187 Fixed deposit when there's only one service&#xD;
14
+ * Tests against CE 1.9.1.9 and EE 1.14.1.0</notes>
 
15
  <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>
16
+ <date>2015-05-19</date>
17
+ <time>09:39:30</time>
18
+ <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="77316baf7e8d387037007b97067fff8b"/></dir><file name="Tabs.php" hash="5af9151c310841d8dd0b6f7e8f984625"/></dir><file name="Edit.php" hash="d73f958b0abaebff8aff703f650c5a01"/><file name="Grid.php" hash="38f482f561c0be60b8a7ac6f49e74df9"/></dir><file name="Service.php" hash="26112ba2733a9db951addfef4e0152e8"/></dir><file name="Version.php" hash="a5781fa3cd366242d76295b7b62ab43f"/></dir><dir name="Checkout"><file name="Redirect.php" hash="30f1cf1f682abc985e872619b67a86d7"/></dir><dir name="Sales"><dir name="Order"><file name="Totals.php" hash="1fe522dd0d6a4c890374b2602b840d3b"/></dir></dir><file name="Selector.php" hash="cec4b9a148b8b06458bddc03f3a7747d"/><file name="Status.php" hash="338f52aa781e3e7703862e180339a1aa"/></dir><dir name="Helper"><file name="Cart.php" hash="121aa99b2d5ceb953a1e790e244d02eb"/><file name="Checkout.php" hash="2e5c242b333cda10fa0993b036b9cbf4"/><file name="Data.php" hash="bbdcce22dbde9bf9f001fdf4f7ff1c86"/><file name="Notification.php" hash="33ccf56e7edf87f44c5eb55b11408b67"/></dir><dir name="Model"><file name="Calculator.php" hash="8424176b514b955b6414037c6835ceb2"/><dir name="Config"><dir name="Source"><dir name="Catalog"><dir name="Product"><file name="Finance.php" hash="68dfc0233403f61c82aa62009cdd2da7"/><file name="Type.php" hash="4494b3f46eddc7455e363281072df315"/></dir></dir><dir name="Cms"><file name="Block.php" hash="a4302b47926c40f480ea84f81420070f"/></dir><file name="Connectionmode.php" hash="a734e5ae89d3dd72ba80c97b358d3923"/><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="c68147d484d42d4b6b6f4fedc2ac6cc7"/></dir><file name="Service.php" hash="3dac2e956f57c9a1467e52a0f008fefd"/></dir><file name="Observer.php" hash="c6be6a9eea07d67c1a3e936447abf39b"/><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="f6eeda7e77637957a68071f10b9954ce"/><file name="Live.php" hash="dd7b6a145f11ac7e5521541ba9a04111"/><file name="Simulation.php" hash="cb9b14475150e9303cd92831bb1eff6d"/><file name="Test.php" hash="749fb1a3384695e9f24f2fbf5fd82d47"/><file name="Unittest.php" hash="fe5d5590d720d4d2c824bcaf3ca83e55"/></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="d74d023597dbd720e084fb908612c41c"/></dir><dir name="Invoice"><file name="Financeamount.php" hash="26d5a2333800c4850b75e83a852121e5"/></dir></dir><dir name="Quote"><file name="Financeamount.php" hash="6ab0b4a17a0e2b09cc17e4bf58f080e1"/><file name="Totalcost.php" hash="54d35aa594ede6d873b17ef3df180b9b"/></dir></dir><file name="Service.php" hash="5cc3d5959b8e08b11ca754da67776efd"/><file name="Session.php" hash="c2cdc285f6297ad2dc100973022ec6d4"/><file name="Sessionobserver.php" hash="b7ec4aa8a95845dd731522eb7f66196a"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Paybyfinance"><file name="RedirectController.php" hash="8098982cfa01371e3427d0b7a8da6829"/><file name="ServiceController.php" hash="0f394469d41e6b37f9f39d3e666a719f"/></dir></dir><file name="CheckoutController.php" hash="2a505b23cae454ad7ee6a4d6d0c88979"/><file name="NotificationController.php" hash="0ddbe6b181ac9a961340d69263c6a3db"/><file name="SelectorController.php" hash="42a24424f721f425fca70de6dbeff767"/><file name="SessionController.php" hash="b3756993e0d8e6e49434354c824f837e"/><file name="StatusController.php" hash="9e8681654954590f2694780f18ab0675"/></dir><dir name="etc"><file name="adminhtml.xml" hash="216df222a5f5d9fdcf29c238cfd78bd5"/><file name="config.xml" hash="46692d1909b3c9394bd1552631a986ed"/><file name="system.xml" hash="28c240d36d67c0f8d4df44ad7744b37b"/></dir><dir name="sql"><dir name="paybyfinance_setup"><dir name="html"><file name="abandoned.html" hash="424f900dbddc267f7dac72e67752df25"/><file name="accepted.html" hash="5a12318275410a8bf62d7508422d9503"/><file name="declined.html" hash="bd3e7565c3d98645629d9f6274e4bf24"/><file name="error.html" hash="4a448b052f101b2648dfe84423ad1313"/><file name="information.html" hash="b364458ba3d9ad7579fa4935e3449b46"/><file name="page-finance-options.html" hash="d6786a27e4bf82a73e3134df0f98888b"/><file name="referred.html" hash="5955befddbb2e274f350ba71458b6151"/></dir><file name="mysql4-install-1.0.4.php" hash="7e01a596e50329e9a09838df68ba98b1"/><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"/></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"><file name="form.phtml" hash="6f583d5629e39fe564d4b86535242c7a"/><dir><dir name="sales"><dir name="order"><file name="totals.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir></dir><file name="selector-no.phtml" hash="b54c570f68254a2e879464a0b761c7db"/><file name="selector.phtml" hash="c8e62bdb58571e448e44cf81ec630f75"/><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="7260a6fd47c42aec9bdd1d3acb7d9a26"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="paybyfinance.xml" hash="6dd419ed31a10c3fc409a5a58f89fe01"/></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="21051d8691dd773427d3e761403896ab"/><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="7cbf54af53b5b2fe9047988444fd407c"/></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.4.26</min><max>5.6.7</max></php></required></dependencies>
21
  </package>