HC_PayByFinance - Version 2.0.3.1

Version Notes

Change Log:
* HC-314 Add Order Number to Accepted Handback page when order has been referred and latter eSigned
* HC-318 PayPal Express totals issue
* HC-327 Text change on declined handback page

Download this release

Release Info

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


Code changes from version 2.0.3.0 to 2.0.3.1

app/code/local/HC/PayByFinance/Block/Adminhtml/Version.php CHANGED
@@ -29,7 +29,7 @@
29
  class HC_PayByFinance_Block_Adminhtml_Version extends Mage_Adminhtml_Block_Template
30
  implements Varien_Data_Form_Element_Renderer_Interface
31
  {
32
- const PATCH_LEVEL = 0;
33
 
34
  protected $_template = "paybyfinance/version.phtml";
35
 
29
  class HC_PayByFinance_Block_Adminhtml_Version extends Mage_Adminhtml_Block_Template
30
  implements Varien_Data_Form_Element_Renderer_Interface
31
  {
32
+ const PATCH_LEVEL = 1;
33
 
34
  protected $_template = "paybyfinance/version.phtml";
35
 
app/code/local/HC/PayByFinance/Block/Status.php CHANGED
@@ -74,9 +74,7 @@ class HC_PayByFinance_Block_Status extends Mage_Core_Block_Template
74
  }
75
 
76
  $block = Mage::getModel('cms/block')->load($id);
77
- $this->_order = Mage::getModel('sales/order')->load(
78
- Mage::getSingleton('paybyfinance/session')->getData('order_id')
79
- );
80
  $helper = Mage::helper('cms');
81
  $processor = $helper->getBlockTemplateProcessor();
82
  $processor->setVariables(
@@ -97,19 +95,23 @@ class HC_PayByFinance_Block_Status extends Mage_Core_Block_Template
97
  */
98
  private function getOrderIdText()
99
  {
100
- if ($this->canPrint()) {
101
- $url = $this->getUrl(
102
- 'sales/order/view/',
103
- array(
104
- 'order_id' => $this->_order->getId(),
105
- '_secure' => true
106
- )
107
- );
 
 
 
 
108
 
109
- return $this->__('<a href="%s">%s</a>', $url, $this->_order->getIncrementId());
110
  }
111
 
112
- return $this->_order->getIncrementId();
113
  }
114
 
115
  /**
@@ -119,9 +121,6 @@ class HC_PayByFinance_Block_Status extends Mage_Core_Block_Template
119
  */
120
  private function canPrint()
121
  {
122
- if (!$this->_order) {
123
- return false;
124
- }
125
  if (in_array(
126
  $this->_order->getState(),
127
  Mage::getSingleton('sales/order_config')->getInvisibleOnFrontStates()
@@ -132,4 +131,20 @@ class HC_PayByFinance_Block_Status extends Mage_Core_Block_Template
132
  return Mage::getSingleton('customer/session')->isLoggedIn();
133
  }
134
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
135
  }
74
  }
75
 
76
  $block = Mage::getModel('cms/block')->load($id);
77
+ $this->_order = $this->getOrder();
 
 
78
  $helper = Mage::helper('cms');
79
  $processor = $helper->getBlockTemplateProcessor();
80
  $processor->setVariables(
95
  */
96
  private function getOrderIdText()
97
  {
98
+ if ($this->_order) {
99
+ if ($this->canPrint()) {
100
+ $url = $this->getUrl(
101
+ 'sales/order/view/',
102
+ array(
103
+ 'order_id' => $this->_order->getId(),
104
+ '_secure' => true
105
+ )
106
+ );
107
+
108
+ return $this->__('<a href="%s">%s</a>', $url, $this->_order->getIncrementId());
109
+ }
110
 
111
+ return $this->_order->getIncrementId();
112
  }
113
 
114
+ return $this->__("Order Id was not provided");
115
  }
116
 
117
  /**
121
  */
122
  private function canPrint()
123
  {
 
 
 
124
  if (in_array(
125
  $this->_order->getState(),
126
  Mage::getSingleton('sales/order_config')->getInvisibleOnFrontStates()
131
  return Mage::getSingleton('customer/session')->isLoggedIn();
132
  }
133
 
134
+ /**
135
+ * Get order from request parameters
136
+ *
137
+ * @return Mage_Sales_Model_Order|null
138
+ *
139
+ * @throws Exception
140
+ */
141
+ private function getOrder()
142
+ {
143
+ $parameters = $this->getRequest()->getParams();
144
+ if (isset($parameters['order_id'])) {
145
+ return Mage::getModel('sales/order')->load($parameters['order_id']);
146
+ }
147
+
148
+ return null;
149
+ }
150
  }
app/code/local/HC/PayByFinance/Helper/Notification.php CHANGED
@@ -215,6 +215,8 @@ class HC_PayByFinance_Helper_Notification extends Mage_Core_Helper_Data
215
  * @param array $parameters request parameters
216
  *
217
  * @return array Array of state and status
 
 
218
  */
219
  protected function getOrderStateAndStatus($parameters)
220
  {
@@ -253,6 +255,10 @@ class HC_PayByFinance_Helper_Notification extends Mage_Core_Helper_Data
253
  case 'FATAL_ERROR':
254
  $orderStatus = Mage::getStoreConfig($helper::XML_PATH_STATUS_ERROR);
255
  break;
 
 
 
 
256
  }
257
 
258
  return array($orderState, $orderStatus);
215
  * @param array $parameters request parameters
216
  *
217
  * @return array Array of state and status
218
+ *
219
+ * @throws Exception
220
  */
221
  protected function getOrderStateAndStatus($parameters)
222
  {
255
  case 'FATAL_ERROR':
256
  $orderStatus = Mage::getStoreConfig($helper::XML_PATH_STATUS_ERROR);
257
  break;
258
+ default:
259
+ $message = "Unknown status value:>" . $status . "<";
260
+ Mage::helper('paybyfinance')->log($message, 'notification');
261
+ throw new Exception($message);
262
  }
263
 
264
  return array($orderState, $orderStatus);
app/code/local/HC/PayByFinance/Model/Observer.php CHANGED
@@ -60,7 +60,6 @@ class HC_PayByFinance_Model_Observer
60
 
61
  $address = $observer->getEvent()->getAddress();
62
  $order = $observer->getEvent()->getOrder();
63
- $financeAmount = $address->getFinanceAmount();
64
  $serviceId = Mage::getSingleton('paybyfinance/session')->getData('service');
65
  $deposit = Mage::getSingleton('paybyfinance/session')->getData('deposit');
66
  $items = $address->getAllItems();
@@ -286,12 +285,15 @@ class HC_PayByFinance_Model_Observer
286
  {
287
  $cart = $observer->getPaypalCart();
288
  $order = $cart->getSalesEntity();
289
- $address = $order->getShippingAddress();
290
- if ($address->getFinanceAmount() != 0) {
 
 
 
291
  $cart->addItem(
292
  Mage::helper('paybyfinance')->__('Financed Amount'),
293
  1,
294
- $address->getFinanceAmount()
295
  );
296
  }
297
  return $this;
60
 
61
  $address = $observer->getEvent()->getAddress();
62
  $order = $observer->getEvent()->getOrder();
 
63
  $serviceId = Mage::getSingleton('paybyfinance/session')->getData('service');
64
  $deposit = Mage::getSingleton('paybyfinance/session')->getData('deposit');
65
  $items = $address->getAllItems();
285
  {
286
  $cart = $observer->getPaypalCart();
287
  $order = $cart->getSalesEntity();
288
+ $financed = $order->getFinanceAmount();
289
+ if (!$financed) {
290
+ $financed = $order->getShippingAddress()->getFinanceAmount();
291
+ }
292
+ if ($financed != 0) {
293
  $cart->addItem(
294
  Mage::helper('paybyfinance')->__('Financed Amount'),
295
  1,
296
+ $financed
297
  );
298
  }
299
  return $this;
app/code/local/HC/PayByFinance/Model/Paypal/Api/Nvp.php CHANGED
@@ -38,17 +38,18 @@ class HC_PayByFinance_Model_Paypal_Api_Nvp extends Mage_Paypal_Model_Api_Nvp
38
  public function call($methodName, array $request)
39
  {
40
  if (isset($request['PAYMENTACTION'])
41
- && $request['PAYMENTACTION'] == 'Authorization'
42
  && isset($request['ITEMAMT'])
43
- && isset($request['TOKEN'])
44
  ) {
45
  $amt = floatval($request['ITEMAMT']);
46
  $order = $this->_cart->getSalesEntity();
47
- $financed = ($order->getFinanceAmount());
 
 
 
48
  $itemamt = $amt + $financed;
49
  $request['ITEMAMT'] = sprintf('%.2F', $itemamt);
50
  }
51
-
52
  return parent::call($methodName, $request);
53
  }
54
  }
38
  public function call($methodName, array $request)
39
  {
40
  if (isset($request['PAYMENTACTION'])
41
+ && in_array($methodName, array('SetExpressCheckoutArray'))
42
  && isset($request['ITEMAMT'])
 
43
  ) {
44
  $amt = floatval($request['ITEMAMT']);
45
  $order = $this->_cart->getSalesEntity();
46
+ $financed = $order->getFinanceAmount();
47
+ if (!$financed) {
48
+ $financed = $order->getShippingAddress()->getFinanceAmount();
49
+ }
50
  $itemamt = $amt + $financed;
51
  $request['ITEMAMT'] = sprintf('%.2F', $itemamt);
52
  }
 
53
  return parent::call($methodName, $request);
54
  }
55
  }
app/code/local/HC/PayByFinance/Model/PaypalUk/Api/Nvp.php CHANGED
@@ -24,31 +24,7 @@
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
- /**
30
- * Do the API call
31
- *
32
- * @param string $methodName Method name
33
- * @param array $request Request array
34
- *
35
- * @return array
36
- * @throws Mage_Core_Exception
37
- */
38
- public function call($methodName, array $request)
39
- {
40
- if (isset($request['PAYMENTACTION'])
41
- && $request['PAYMENTACTION'] == 'Authorization'
42
- && isset($request['ITEMAMT'])
43
- && isset($request['TOKEN'])
44
- ) {
45
- $amt = floatval($request['ITEMAMT']);
46
- $order = $this->_cart->getSalesEntity();
47
- $financed = ($order->getFinanceAmount());
48
- $itemamt = $amt + $financed;
49
- $request['ITEMAMT'] = sprintf('%.2F', $itemamt);
50
- }
51
-
52
- return parent::call($methodName, $request);
53
- }
54
  }
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 HC_PayByFinance_Model_Paypal_Api_Nvp
28
  {
29
+ // Same as HC_PayByFinance_Model_Paypal_Api_Nvp
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  }
app/code/local/HC/PayByFinance/Model/Sales/Order/Invoice/Financeamount.php CHANGED
@@ -29,6 +29,11 @@
29
  class HC_PayByFinance_Model_Sales_Order_Invoice_Financeamount
30
  extends Mage_Sales_Model_Order_Invoice_Total_Abstract
31
  {
 
 
 
 
 
32
  /**
33
  * collect
34
  *
@@ -57,7 +62,11 @@ class HC_PayByFinance_Model_Sales_Order_Invoice_Financeamount
57
  $invoice->setFinanceAmount($amount);
58
  $invoice->setBaseFinanceAmount($order->getBaseFinanceAmount());
59
 
60
- if (Mage::getStoreConfig($helper::XML_PATH_INVOICE_FINANCE)) {
 
 
 
 
61
  $invoice->setGrandTotal(
62
  $invoice->getGrandTotal() - abs($invoice->getFinanceAmount())
63
  );
29
  class HC_PayByFinance_Model_Sales_Order_Invoice_Financeamount
30
  extends Mage_Sales_Model_Order_Invoice_Total_Abstract
31
  {
32
+
33
+ protected $_collectMethods = array(
34
+ 'paypal_express'
35
+ );
36
+
37
  /**
38
  * collect
39
  *
62
  $invoice->setFinanceAmount($amount);
63
  $invoice->setBaseFinanceAmount($order->getBaseFinanceAmount());
64
 
65
+ $paymentMethodCode = $order->getPayment()->getMethodInstance()->getCode();
66
+
67
+ if (Mage::getStoreConfig($helper::XML_PATH_INVOICE_FINANCE)
68
+ || in_array($paymentMethodCode, $this->_collectMethods)
69
+ ) {
70
  $invoice->setGrandTotal(
71
  $invoice->getGrandTotal() - abs($invoice->getFinanceAmount())
72
  );
app/code/local/HC/PayByFinance/controllers/CheckoutController.php CHANGED
@@ -208,7 +208,7 @@ class HC_PayByFinance_CheckoutController extends Mage_Core_Controller_Front_Acti
208
  $redirectUrl = $coHelper->processReturnStatus($order, $parameters);
209
  }
210
 
211
- $this->_redirect($redirectUrl);
212
  }
213
 
214
  }
208
  $redirectUrl = $coHelper->processReturnStatus($order, $parameters);
209
  }
210
 
211
+ $this->_redirect($redirectUrl, array('order_id'=>$order->getId()));
212
  }
213
 
214
  }
app/code/local/HC/PayByFinance/etc/system.xml CHANGED
@@ -118,7 +118,7 @@
118
  </display_in_results>
119
  <invoice_finance>
120
  <label>Add finance amount to grand total in invoice</label>
121
- <comment>If your payment gateway is using capture and you set to yes when the invoice is created the payment gateway will capture the full amount rather than the grand total amount.</comment>
122
  <frontend_type>select</frontend_type>
123
  <source_model>adminhtml/system_config_source_yesno</source_model>
124
  <sort_order>10</sort_order>
118
  </display_in_results>
119
  <invoice_finance>
120
  <label>Add finance amount to grand total in invoice</label>
121
+ <comment>If your payment gateway is using capture and you set to No when the invoice is created the payment gateway will capture the full amount rather than the grand total amount.</comment>
122
  <frontend_type>select</frontend_type>
123
  <source_model>adminhtml/system_config_source_yesno</source_model>
124
  <sort_order>10</sort_order>
app/code/local/HC/PayByFinance/sql/paybyfinance_setup/html/declined.html CHANGED
@@ -7,6 +7,3 @@
7
  <p>
8
  Please contact [Company Name] on {{var phone}} to discuss an alternative payment method.
9
  </p>
10
- <p>
11
- * By asking the customer to contact you if the finance is not approved you are able to try and retain the sale.
12
- </p>
7
  <p>
8
  Please contact [Company Name] on {{var phone}} to discuss an alternative payment method.
9
  </p>
 
 
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>HC_PayByFinance</name>
4
- <version>2.0.3.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 PaybyFinance</summary>
10
  <description>Hitachi Capital PaybyFinance</description>
11
  <notes>Change Log:&#xD;
12
- * HC-131 Additional transactional email templates for Finance Accepted, Referred, Declined, Abandon, Error&#xD;
13
- * HC-280 Add maximum finance limit for service&#xD;
14
- * HC-302 Fix for minimum basket price setting in admin being ignored&#xD;
15
- * HC-310 Fix for shipment notification using &#x201C;Default Config&#x201D; settings for notifying PaybyFinance</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></authors>
17
- <date>2016-03-22</date>
18
- <time>16:33:42</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="46d17d14a08b88ce3984c76cacb0e49b"/><dir name="Service"><dir name="Edit"><file name="Form.php" hash="795e6da10c09c6cdb0eb2b0efd12e411"/><dir name="Tab"><file name="Form.php" hash="0ed11d49291ab6e557e22d89f59cb8fc"/></dir><file name="Tabs.php" hash="6bae46296191ce6117cf451b33845632"/></dir><file name="Edit.php" hash="e2b8f8e008230c1422affde245deeece"/><file name="Grid.php" hash="74fb7091efc51541ba1a2e6c59ab6058"/></dir><file name="Service.php" hash="47c7ad1303dc525e3739e85d79916615"/></dir><file name="Version.php" hash="fb008d66550d44f9a1d7a5b484c43ec7"/></dir><dir name="Checkout"><file name="Redirect.php" hash="3072817fc35701741a607735a258de49"/></dir><dir name="Product"><dir name="List"><file name="Finance.php" hash="d542ae3b6181d0d1fe7643a4466ecd71"/></dir></dir><dir name="Sales"><dir name="Order"><file name="Totals.php" hash="2a21d61db9d09bc92f6c4e3f81e871e6"/></dir></dir><file name="Selector.php" hash="47a94d617091cd464be682b71700219f"/><file name="Status.php" hash="c32779b4fe38284bdd928ff8cbe773bd"/></dir><dir name="Helper"><file name="Cart.php" hash="5239ec52b11e526c2a15f05326a9b37d"/><file name="Checkout.php" hash="49ea2ce9e12044122e83b9b8f43fea4c"/><file name="Data.php" hash="d807ff374018f6068227b907c8c6b5c1"/><file name="Notification.php" hash="3c23790391190ec702692248e9a5ecc6"/><file name="Order.php" hash="2c4ba55568bec241db242b57a1f8b065"/></dir><dir name="Model"><file name="Calculator.php" hash="ae4d4769df38fea763035794cf5b8a40"/><dir name="Config"><dir name="Source"><dir name="Catalog"><dir name="Product"><file name="Finance.php" hash="6f56646346c6121b6aaccc423cfd330a"/><file name="Type.php" hash="bd01a8bb27db5be6121597a2eaaaa0cf"/></dir></dir><dir name="Cms"><file name="Block.php" hash="4d54ff32ae233accceade52ad4005574"/></dir><file name="Connectionmode.php" hash="bc52be78a5078dbfe2938873157cb31e"/><dir name="Notification"><file name="Status.php" hash="4511641cddc47b4db8ed5333304a1439"/></dir><file name="Type.php" hash="becda2eb287dc0bc9c5f969a4e1950b1"/></dir></dir><file name="Log.php" hash="4437d6a3f4952c52e0a67e970e4c8eef"/><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="085a5f4eb72fd3b29fe75a772214cfc2"/></dir><file name="Log.php" hash="a0bfe9246e61ff3aa3e3d6ed1960efc9"/><dir name="Service"><file name="Collection.php" hash="411e207c9d735b6e37c762961cf3bbd0"/></dir><file name="Service.php" hash="8b2e4a231760d07e27d40e4145489f61"/></dir><file name="Observer.php" hash="ce856a8c800f7aa31f60206eabc6f95b"/><dir name="Paypal"><dir name="Api"><file name="Nvp.php" hash="93b2810387631d1cb0802f303174d73b"/></dir><dir name="Hostedpro"><file name="Request.php" hash="07ac676c417b5e4602ae2ebc26427341"/></dir></dir><dir name="PaypalUk"><dir name="Api"><file name="Nvp.php" hash="0f55997489e0fd41a79106bc4026990c"/></dir></dir><dir name="Post"><file name="Abstract.php" hash="7cb555e3a22a1118a02c595b3e01b458"/><file name="Custom.php" hash="998ccd20956707a1d45bc30742226b16"/><file name="Live.php" hash="1ddf37b095e27247f02fdd21dded1e54"/><file name="Simulation.php" hash="2ce0770deb178de4f8961f5ade1ee61b"/><file name="Test.php" hash="840b56e78f0d71093922c0c4f1d2c805"/><file name="Unittest.php" hash="c22d91e13e7d302e006256d6c3248eb4"/></dir><file name="Post.php" hash="6d2af5168eb4ba208f286cadbd1de564"/><dir name="Resource"><file name="Setup.php" hash="154dffaca0a1715a08753b90c4731743"/></dir><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Financeamount.php" hash="068793f1e6aaf92f4da8c86e67a9515a"/></dir><dir name="Invoice"><file name="Financeamount.php" hash="e8b3d7e5a523dd6befba27aa2d67517e"/></dir></dir><dir name="Quote"><file name="Financeamount.php" hash="2c11b5a46af769119d9037b5e76c36a9"/><file name="Totalcost.php" hash="fa08aacf2d0bf2945510aad2f7625758"/></dir></dir><file name="Service.php" hash="e1e0eff256c0c40ac297addf68fd3973"/><file name="Session.php" hash="6f109c5c5de35251c3d6ed68a9f3c0af"/><file name="Sessionobserver.php" hash="344cb8f8c76bc8632b51642e7e966c6b"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Paybyfinance"><file name="RedirectController.php" hash="eb7d2255806e7ecf25c39057a4dee247"/><file name="ServiceController.php" hash="fa635b03cd56a48e1a6e381b452f9a95"/></dir></dir><file name="CheckoutController.php" hash="da2bcdafd88eb1d34e53eb9822c002a8"/><file name="NotificationController.php" hash="33cfa5afd08fd578ed34c3499971ed02"/><file name="SelectorController.php" hash="8c0f18485af6df6dd2743852adcac7cd"/><file name="SessionController.php" hash="2e4f3431884d71ecce27f6a7288e7141"/><file name="StatusController.php" hash="8ab4af6e411f0cbeb010a63d963baffd"/></dir><dir name="etc"><file name="adminhtml.xml" hash="216df222a5f5d9fdcf29c238cfd78bd5"/><file name="config.xml" hash="e0b8d8284127075b618bbc682c1605af"/><file name="system.xml" hash="915ed7cd12b36616a3f253263e11ced9"/></dir><dir name="sql"><dir name="paybyfinance_setup"><dir name="html"><file name="abandoned.html" hash="424f900dbddc267f7dac72e67752df25"/><file name="accepted.html" hash="3cd819649eeb88b108cfbd87d6bb5048"/><file name="declined.html" hash="4cb2e73cbf449ced4596b6d14289a76f"/><file name="error.html" hash="4a448b052f101b2648dfe84423ad1313"/><file name="page-finance-options.html" hash="d9f090c84559caf2311cabced715b668"/><file name="referred.html" hash="1c143c51776357bcad9e27aff6e6b9b8"/></dir><file name="mysql4-install-2.0.3.php" hash="2daf803d3f4314bae8dc29180f0a1d15"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="bdd5aab92d29e9299856d306edaf5db4"/><file name="mysql4-upgrade-1.0.1-1.0.2.php" hash="77716f98afa803990b4799b9982ac1f0"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="212c52fe9f57f61cf523a403af291d40"/><file name="mysql4-upgrade-1.0.4-1.0.5.php" hash="63dd633ac9d5865a11b86a7a0142cb9e"/><file name="mysql4-upgrade-1.0.5-1.0.6.php" hash="b2ea39f14943faf5a9f28d832e5d4163"/><file name="mysql4-upgrade-1.0.6-1.0.7.php" hash="3b06173409d691611fa01bebdfb9f63a"/><file name="mysql4-upgrade-1.0.7-2.0.0.php" hash="8f4d3a81ad0b5270cb74d7bacb92d0a3"/><file name="mysql4-upgrade-2.0.0-2.0.1.php" hash="f67d2f936ac8eafa6844160148dc467b"/><file name="mysql4-upgrade-2.0.1-2.0.2.php" hash="c963e63fad7f14e59fbf8989cfcef88f"/><file name="mysql4-upgrade-2.0.2-2.0.3.php" hash="25f49f06e861e4b8cedbf3256c09c3d8"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="paybyfinance"><dir><dir name="catalog"><dir name="product"><dir name="list"><file name="finance.phtml" hash="fc9c4b43b09338aa33ba034b31508869"/></dir></dir></dir><dir name="sales"><dir name="order"><file name="totals.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir></dir><file name="form.phtml" hash="6f583d5629e39fe564d4b86535242c7a"/><file name="selector-no.phtml" hash="b54c570f68254a2e879464a0b761c7db"/><file name="selector.phtml" hash="7a7107b302cf8eafe1714efb05f09e56"/><file name="status.phtml" hash="9e02cb668c470d72612bccc09e34c51a"/></dir><dir name="checkout"><dir name="cart"><file name="totals-pbf.phtml" hash="f14878e618aa3c8943f3728128aadaa6"/></dir><dir name="onepage"><dir name="review"><file name="info-pbf.phtml" hash="e4c7c70c798f1956ae7aaa5c09114fab"/><file name="totals-pbf.phtml" hash="f26e488359433c3814a1cd416006869a"/></dir></dir><file name="cart-pbf.phtml" hash="9f6b1873ed02e5e2ae1966e3e5a1910d"/></dir></dir><dir name="layout"><file name="paybyfinance.xml" hash="f541883d7e115794fcde3b0a4ac1bb3d"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="paybyfinance.xml" hash="21e409f98bd00b6de93a09610dabdbdd"/></dir><dir name="template"><dir name="paybyfinance"><file name="history.phtml" hash="31fbbbb8477717175da3de1e9fe98f54"/><file name="redirect.phtml" hash="90e7aa306768f5aac337300848c04e6a"/><file name="version.phtml" hash="09a8f416156d853ecc47b24a15744563"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="js"><dir name="paybyfinance"><file name="checkout.js" hash="6930043a719765833f6d64de1216b7ad"/><file name="functions.js" hash="98c27381b3f7eaeaa845271dbe763f05"/><file name="slider.js" hash="16d83f4f0faa449276c926d2afac75fb"/></dir></dir><dir name="css"><file name="paybyfinance.css" hash="25d02dc5cf228662c30d908d7c2f1356"/><file name="paybyfinance-ie8.css" hash="a6be9c7af8b95300bc62e4fe9ef252ac"/></dir><dir name="images"><dir name="paybyfinance"><file name="bullet.png" hash="ea2baab34b2eb7d0aacb7a67d5b080f1"/><file name="pointer-toggle.png" hash="e661d42aed7a5562f75828312c7a635a"/><file name="pointer.png" hash="68c58b28d6ebd77d415f8666c301a199"/><file name="progress.png" hash="6d46a109cc9e38a663678918142d89f2"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="HC_PayByFinance.xml" hash="58a12daf6bb6aeb8b94471bf605514e5"/></dir></dir></target><target name="mageweb"><dir><dir name="js"><dir name="paybyfinance"><file name="config-edit.js" hash="81817d23afdf99d10b01072d2471ff65"/><file name="service.js" hash="7e1fe3ffe2d4b95eeb5b27c8d07b23f1"/></dir></dir></dir></target><target name="magelocale"><dir><dir name="en_US"><dir name="template"><dir name="email"><dir name="paybyfinance"><file name="order_declined.html" hash="9172511234c33a8e4e78b581064ed1b3"/><file name="order_declined_guest.html" hash="081da356703cf09ce13a86dfce1ab00b"/><file name="order_referred.html" hash="91468313c16e7d8b821d90a954ecaedb"/><file name="order_referred_guest.html" hash="b0c08ecba679a99ad23064649fb6e48d"/></dir></dir></dir></dir></dir></target></contents>
20
  <compatible/>
21
- <dependencies><required><php><min>5.4.45</min><max>7.0.4</max></php></required></dependencies>
22
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>HC_PayByFinance</name>
4
+ <version>2.0.3.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 PaybyFinance</summary>
10
  <description>Hitachi Capital PaybyFinance</description>
11
  <notes>Change Log:&#xD;
12
+ * HC-314 Add Order Number to Accepted Handback page when order has been referred and latter eSigned&#xD;
13
+ * HC-318 PayPal Express totals issue&#xD;
14
+ * HC-327 Text change on declined handback page</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></authors>
16
+ <date>2016-04-28</date>
17
+ <time>13:46:25</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="46d17d14a08b88ce3984c76cacb0e49b"/><dir name="Service"><dir name="Edit"><file name="Form.php" hash="795e6da10c09c6cdb0eb2b0efd12e411"/><dir name="Tab"><file name="Form.php" hash="0ed11d49291ab6e557e22d89f59cb8fc"/></dir><file name="Tabs.php" hash="6bae46296191ce6117cf451b33845632"/></dir><file name="Edit.php" hash="e2b8f8e008230c1422affde245deeece"/><file name="Grid.php" hash="74fb7091efc51541ba1a2e6c59ab6058"/></dir><file name="Service.php" hash="47c7ad1303dc525e3739e85d79916615"/></dir><file name="Version.php" hash="aef3da3ef0706887b6859b7752664059"/></dir><dir name="Checkout"><file name="Redirect.php" hash="3072817fc35701741a607735a258de49"/></dir><dir name="Product"><dir name="List"><file name="Finance.php" hash="d542ae3b6181d0d1fe7643a4466ecd71"/></dir></dir><dir name="Sales"><dir name="Order"><file name="Totals.php" hash="2a21d61db9d09bc92f6c4e3f81e871e6"/></dir></dir><file name="Selector.php" hash="47a94d617091cd464be682b71700219f"/><file name="Status.php" hash="ae4550929cb48e2981f7840a345894b6"/></dir><dir name="Helper"><file name="Cart.php" hash="5239ec52b11e526c2a15f05326a9b37d"/><file name="Checkout.php" hash="49ea2ce9e12044122e83b9b8f43fea4c"/><file name="Data.php" hash="d807ff374018f6068227b907c8c6b5c1"/><file name="Notification.php" hash="98fde6b0ea89ba9c7930e3cabc34b38e"/><file name="Order.php" hash="2c4ba55568bec241db242b57a1f8b065"/></dir><dir name="Model"><file name="Calculator.php" hash="ae4d4769df38fea763035794cf5b8a40"/><dir name="Config"><dir name="Source"><dir name="Catalog"><dir name="Product"><file name="Finance.php" hash="6f56646346c6121b6aaccc423cfd330a"/><file name="Type.php" hash="bd01a8bb27db5be6121597a2eaaaa0cf"/></dir></dir><dir name="Cms"><file name="Block.php" hash="4d54ff32ae233accceade52ad4005574"/></dir><file name="Connectionmode.php" hash="bc52be78a5078dbfe2938873157cb31e"/><dir name="Notification"><file name="Status.php" hash="4511641cddc47b4db8ed5333304a1439"/></dir><file name="Type.php" hash="becda2eb287dc0bc9c5f969a4e1950b1"/></dir></dir><file name="Log.php" hash="4437d6a3f4952c52e0a67e970e4c8eef"/><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="085a5f4eb72fd3b29fe75a772214cfc2"/></dir><file name="Log.php" hash="a0bfe9246e61ff3aa3e3d6ed1960efc9"/><dir name="Service"><file name="Collection.php" hash="411e207c9d735b6e37c762961cf3bbd0"/></dir><file name="Service.php" hash="8b2e4a231760d07e27d40e4145489f61"/></dir><file name="Observer.php" hash="ed2d106fe31e744a205196eaa8bb7592"/><dir name="Paypal"><dir name="Api"><file name="Nvp.php" hash="950cb493ce6e1900f5544f508aab197f"/></dir><dir name="Hostedpro"><file name="Request.php" hash="07ac676c417b5e4602ae2ebc26427341"/></dir></dir><dir name="PaypalUk"><dir name="Api"><file name="Nvp.php" hash="c092fa84000a556a82ca6f4760af3846"/></dir></dir><dir name="Post"><file name="Abstract.php" hash="7cb555e3a22a1118a02c595b3e01b458"/><file name="Custom.php" hash="998ccd20956707a1d45bc30742226b16"/><file name="Live.php" hash="1ddf37b095e27247f02fdd21dded1e54"/><file name="Simulation.php" hash="2ce0770deb178de4f8961f5ade1ee61b"/><file name="Test.php" hash="840b56e78f0d71093922c0c4f1d2c805"/><file name="Unittest.php" hash="c22d91e13e7d302e006256d6c3248eb4"/></dir><file name="Post.php" hash="6d2af5168eb4ba208f286cadbd1de564"/><dir name="Resource"><file name="Setup.php" hash="154dffaca0a1715a08753b90c4731743"/></dir><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Financeamount.php" hash="068793f1e6aaf92f4da8c86e67a9515a"/></dir><dir name="Invoice"><file name="Financeamount.php" hash="0da6166c8d1340280f07064098993134"/></dir></dir><dir name="Quote"><file name="Financeamount.php" hash="2c11b5a46af769119d9037b5e76c36a9"/><file name="Totalcost.php" hash="fa08aacf2d0bf2945510aad2f7625758"/></dir></dir><file name="Service.php" hash="e1e0eff256c0c40ac297addf68fd3973"/><file name="Session.php" hash="6f109c5c5de35251c3d6ed68a9f3c0af"/><file name="Sessionobserver.php" hash="344cb8f8c76bc8632b51642e7e966c6b"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Paybyfinance"><file name="RedirectController.php" hash="eb7d2255806e7ecf25c39057a4dee247"/><file name="ServiceController.php" hash="fa635b03cd56a48e1a6e381b452f9a95"/></dir></dir><file name="CheckoutController.php" hash="6417f5a1228ccb5dd63c75a51399491d"/><file name="NotificationController.php" hash="33cfa5afd08fd578ed34c3499971ed02"/><file name="SelectorController.php" hash="8c0f18485af6df6dd2743852adcac7cd"/><file name="SessionController.php" hash="2e4f3431884d71ecce27f6a7288e7141"/><file name="StatusController.php" hash="8ab4af6e411f0cbeb010a63d963baffd"/></dir><dir name="etc"><file name="adminhtml.xml" hash="216df222a5f5d9fdcf29c238cfd78bd5"/><file name="config.xml" hash="e0b8d8284127075b618bbc682c1605af"/><file name="system.xml" hash="ecaac3113b022066daa6ed947097b9d1"/></dir><dir name="sql"><dir name="paybyfinance_setup"><dir name="html"><file name="abandoned.html" hash="424f900dbddc267f7dac72e67752df25"/><file name="accepted.html" hash="3cd819649eeb88b108cfbd87d6bb5048"/><file name="declined.html" hash="ca4beeaacc626209d9884a2ed8adb6d0"/><file name="error.html" hash="4a448b052f101b2648dfe84423ad1313"/><file name="page-finance-options.html" hash="d9f090c84559caf2311cabced715b668"/><file name="referred.html" hash="1c143c51776357bcad9e27aff6e6b9b8"/></dir><file name="mysql4-install-2.0.3.php" hash="2daf803d3f4314bae8dc29180f0a1d15"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="bdd5aab92d29e9299856d306edaf5db4"/><file name="mysql4-upgrade-1.0.1-1.0.2.php" hash="77716f98afa803990b4799b9982ac1f0"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="212c52fe9f57f61cf523a403af291d40"/><file name="mysql4-upgrade-1.0.4-1.0.5.php" hash="63dd633ac9d5865a11b86a7a0142cb9e"/><file name="mysql4-upgrade-1.0.5-1.0.6.php" hash="b2ea39f14943faf5a9f28d832e5d4163"/><file name="mysql4-upgrade-1.0.6-1.0.7.php" hash="3b06173409d691611fa01bebdfb9f63a"/><file name="mysql4-upgrade-1.0.7-2.0.0.php" hash="8f4d3a81ad0b5270cb74d7bacb92d0a3"/><file name="mysql4-upgrade-2.0.0-2.0.1.php" hash="f67d2f936ac8eafa6844160148dc467b"/><file name="mysql4-upgrade-2.0.1-2.0.2.php" hash="c963e63fad7f14e59fbf8989cfcef88f"/><file name="mysql4-upgrade-2.0.2-2.0.3.php" hash="25f49f06e861e4b8cedbf3256c09c3d8"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="paybyfinance"><dir><dir name="catalog"><dir name="product"><dir name="list"><file name="finance.phtml" hash="fc9c4b43b09338aa33ba034b31508869"/></dir></dir></dir><dir name="sales"><dir name="order"><file name="totals.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir></dir><file name="form.phtml" hash="6f583d5629e39fe564d4b86535242c7a"/><file name="selector-no.phtml" hash="b54c570f68254a2e879464a0b761c7db"/><file name="selector.phtml" hash="7a7107b302cf8eafe1714efb05f09e56"/><file name="status.phtml" hash="9e02cb668c470d72612bccc09e34c51a"/></dir><dir name="checkout"><dir name="cart"><file name="totals-pbf.phtml" hash="f14878e618aa3c8943f3728128aadaa6"/></dir><dir name="onepage"><dir name="review"><file name="info-pbf.phtml" hash="e4c7c70c798f1956ae7aaa5c09114fab"/><file name="totals-pbf.phtml" hash="f26e488359433c3814a1cd416006869a"/></dir></dir><file name="cart-pbf.phtml" hash="9f6b1873ed02e5e2ae1966e3e5a1910d"/></dir></dir><dir name="layout"><file name="paybyfinance.xml" hash="f541883d7e115794fcde3b0a4ac1bb3d"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="paybyfinance.xml" hash="21e409f98bd00b6de93a09610dabdbdd"/></dir><dir name="template"><dir name="paybyfinance"><file name="history.phtml" hash="31fbbbb8477717175da3de1e9fe98f54"/><file name="redirect.phtml" hash="90e7aa306768f5aac337300848c04e6a"/><file name="version.phtml" hash="09a8f416156d853ecc47b24a15744563"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="js"><dir name="paybyfinance"><file name="checkout.js" hash="6930043a719765833f6d64de1216b7ad"/><file name="functions.js" hash="98c27381b3f7eaeaa845271dbe763f05"/><file name="slider.js" hash="16d83f4f0faa449276c926d2afac75fb"/></dir></dir><dir name="css"><file name="paybyfinance.css" hash="25d02dc5cf228662c30d908d7c2f1356"/><file name="paybyfinance-ie8.css" hash="a6be9c7af8b95300bc62e4fe9ef252ac"/></dir><dir name="images"><dir name="paybyfinance"><file name="bullet.png" hash="ea2baab34b2eb7d0aacb7a67d5b080f1"/><file name="pointer-toggle.png" hash="e661d42aed7a5562f75828312c7a635a"/><file name="pointer.png" hash="68c58b28d6ebd77d415f8666c301a199"/><file name="progress.png" hash="6d46a109cc9e38a663678918142d89f2"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="HC_PayByFinance.xml" hash="58a12daf6bb6aeb8b94471bf605514e5"/></dir></dir></target><target name="mageweb"><dir><dir name="js"><dir name="paybyfinance"><file name="config-edit.js" hash="81817d23afdf99d10b01072d2471ff65"/><file name="service.js" hash="7e1fe3ffe2d4b95eeb5b27c8d07b23f1"/></dir></dir></dir></target><target name="magelocale"><dir><dir name="en_US"><dir name="template"><dir name="email"><dir name="paybyfinance"><file name="order_declined.html" hash="9172511234c33a8e4e78b581064ed1b3"/><file name="order_declined_guest.html" hash="081da356703cf09ce13a86dfce1ab00b"/><file name="order_referred.html" hash="91468313c16e7d8b821d90a954ecaedb"/><file name="order_referred_guest.html" hash="b0c08ecba679a99ad23064649fb6e48d"/></dir></dir></dir></dir></dir></target></contents>
19
  <compatible/>
20
+ <dependencies><required><php><min>5.4.45</min><max>7.0.5</max></php></required></dependencies>
21
  </package>