666999 - Version 0.3.8

Version Notes

Introducing Custom Error Code management.

Download this release

Release Info

Developer Demac Media
Extension 666999
Version 0.3.8
Comparing to
See all releases


Code changes from version 0.3.7 to 0.3.8

app/code/community/Demac/Optimal/Block/Adminhtml/Errorcode/Grid.php CHANGED
@@ -44,9 +44,18 @@ class Demac_Optimal_Block_Adminhtml_Errorcode_Grid extends Mage_Adminhtml_Block_
44
  'align' => 'left',
45
  'index' => 'active',
46
  'type' => 'options',
47
- 'options' => Mage::getModel('adminhtml/system_config_source_yesno')->toArray()
48
  ));
49
 
50
  return parent::_prepareColumns();
51
  }
 
 
 
 
 
 
 
 
 
52
  }
44
  'align' => 'left',
45
  'index' => 'active',
46
  'type' => 'options',
47
+ 'options' => $this->_yesNoArray()
48
  ));
49
 
50
  return parent::_prepareColumns();
51
  }
52
+
53
+ protected function _yesNoArray()
54
+ {
55
+ return array(
56
+ 0 => Mage::helper('adminhtml')->__('No'),
57
+ 1 => Mage::helper('adminhtml')->__('Yes'),
58
+ );
59
+ }
60
+
61
  }
app/code/community/Demac/Optimal/Model/Hosted/Client.php CHANGED
@@ -201,31 +201,19 @@ class Demac_Optimal_Model_Hosted_Client extends Demac_Optimal_Model_Client_Abstr
201
  {
202
 
203
  $response = json_decode($this->_callApi($url,$method,$data));
204
- $defaultError = 'Something went wrong with your transaction. Please contact support.';
205
 
206
  if (isset($response->error)) {
207
  Mage::helper('optimal')->cleanMerchantCustomerId(Mage::getSingleton('customer/session')->getId());
208
  $message = $this->_getMsgByCode($response->error->code);
209
- if ($message === null) {
210
- if (isset($response->error->message)) {
211
- $message = $response->error->message;
212
- } else {
213
- $message = $defaultError;
214
- }
215
- }
216
 
217
  throw new Demac_Optimal_Model_Hosted_Exception($message);
 
218
  }
219
 
220
  if (isset($response->transaction->errorCode)) {
221
  $message = $this->_getMsgByCode($response->transaction->errorCode);
222
- if ($message === null) {
223
- if (isset($response->transaction->errorMessage)) {
224
- $message = $response->transaction->errorMessage;
225
- } else {
226
- $message = $defaultError;
227
- }
228
- }
229
 
230
  $session = Mage::getSingleton('customer/session');
231
  if (!$session->getCustomerId()) {
@@ -234,6 +222,7 @@ class Demac_Optimal_Model_Hosted_Client extends Demac_Optimal_Model_Client_Abstr
234
  Mage::helper('optimal')->cleanMerchantCustomerId(Mage::getSingleton('customer/session')->getId());
235
 
236
  throw new Demac_Optimal_Model_Hosted_Exception($message);
 
237
  }
238
 
239
  return $response;
@@ -313,7 +302,8 @@ class Demac_Optimal_Model_Hosted_Client extends Demac_Optimal_Model_Client_Abstr
313
  Mage::logException($e);
314
  return false;
315
  }
316
-
 
317
  return $curl_response;
318
  }
319
 
@@ -347,6 +337,8 @@ class Demac_Optimal_Model_Hosted_Client extends Demac_Optimal_Model_Client_Abstr
347
  curl_setopt($curl,CURLOPT_POSTFIELDS, $data_string);
348
  $curl_response = curl_exec($curl);
349
 
 
 
350
  curl_close($curl);
351
  return true;
352
 
201
  {
202
 
203
  $response = json_decode($this->_callApi($url,$method,$data));
 
204
 
205
  if (isset($response->error)) {
206
  Mage::helper('optimal')->cleanMerchantCustomerId(Mage::getSingleton('customer/session')->getId());
207
  $message = $this->_getMsgByCode($response->error->code);
208
+ $message = ($message !== null) ? $message : $response->error->message;
 
 
 
 
 
 
209
 
210
  throw new Demac_Optimal_Model_Hosted_Exception($message);
211
+ return false;
212
  }
213
 
214
  if (isset($response->transaction->errorCode)) {
215
  $message = $this->_getMsgByCode($response->transaction->errorCode);
216
+ $message = ($message !== null) ? $message : $response->transaction->errorMessage;
 
 
 
 
 
 
217
 
218
  $session = Mage::getSingleton('customer/session');
219
  if (!$session->getCustomerId()) {
222
  Mage::helper('optimal')->cleanMerchantCustomerId(Mage::getSingleton('customer/session')->getId());
223
 
224
  throw new Demac_Optimal_Model_Hosted_Exception($message);
225
+ return false;
226
  }
227
 
228
  return $response;
302
  Mage::logException($e);
303
  return false;
304
  }
305
+ Mage::log('OPTIMAL RESPONSE (_callApi):');
306
+ Mage::log($curl_response);
307
  return $curl_response;
308
  }
309
 
337
  curl_setopt($curl,CURLOPT_POSTFIELDS, $data_string);
338
  $curl_response = curl_exec($curl);
339
 
340
+ Mage::log('OPTIMAL RESPONSE (submitPayment):');
341
+ Mage::log($curl_response);
342
  curl_close($curl);
343
  return true;
344
 
app/code/community/Demac/Optimal/Model/Hosted/Exception.php CHANGED
@@ -2,7 +2,5 @@
2
 
3
  class Demac_Optimal_Model_Hosted_Exception extends Mage_Core_Exception
4
  {
5
- public function __construct($message) {
6
- //
7
- }
8
  }
2
 
3
  class Demac_Optimal_Model_Hosted_Exception extends Mage_Core_Exception
4
  {
5
+ //
 
 
6
  }
app/code/community/Demac/Optimal/Model/Method/Hosted.php CHANGED
@@ -291,6 +291,7 @@ class Demac_Optimal_Model_Method_Hosted extends Mage_Payment_Model_Method_Cc
291
 
292
  if (!isset($orderStatus->transaction))
293
  {
 
294
  Mage::throwException('Something went wrong with your transaction. Please contact support.');
295
  }
296
 
291
 
292
  if (!isset($orderStatus->transaction))
293
  {
294
+ Mage::log('Transaction Object not present in orderStatus ... ABORT');
295
  Mage::throwException('Something went wrong with your transaction. Please contact support.');
296
  }
297
 
app/code/community/Demac/Optimal/Test/Model/Hosted/Client.php DELETED
@@ -1,16 +0,0 @@
1
- <?php
2
-
3
- class Demac_Optimal_Test_Model_Hosted_Client extends EcomDev_PHPUnit_Test_Case
4
- {
5
-
6
-
7
- /**
8
- * Test that the payment method can authorize
9
- *
10
- * @test
11
- */
12
- public function canAuthorize()
13
- {
14
- $this->assertEquals(true, false);
15
- }
16
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Demac/Optimal/Test/Model/Method/Hosted.php DELETED
@@ -1,17 +0,0 @@
1
- <?php
2
-
3
- class Demac_Optimal_Test_Model_Method_Hosted extends EcomDev_PHPUnit_Test_Case
4
- {
5
-
6
- /**
7
- * Test that the payment method can authorize
8
- *
9
- * @test
10
- */
11
- public function canAuthorize()
12
- {
13
- $method = Mage::getModel('optimal/method_hosted');
14
-
15
- $this->assertEquals(true, $method->canAuthorize());
16
- }
17
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Demac/Optimal/Test/Model/Observer.php DELETED
@@ -1,9 +0,0 @@
1
- <?php
2
-
3
- class Demac_Optimal_Test_Model_Observer extends EcomDev_PHPUnit_Test_Case
4
- {
5
- public function prepareOrderData()
6
- {
7
-
8
- }
9
- }
 
 
 
 
 
 
 
 
 
app/code/community/Demac/Optimal/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Demac_Optimal>
5
- <version>0.3.7</version>
6
  </Demac_Optimal>
7
  </modules>
8
 
2
  <config>
3
  <modules>
4
  <Demac_Optimal>
5
+ <version>0.3.8</version>
6
  </Demac_Optimal>
7
  </modules>
8
 
app/code/community/Demac/Optimal/etc/system.xml CHANGED
@@ -219,6 +219,25 @@
219
  </org_id>
220
  </fields>
221
  </threat_metrix>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
222
  </groups>
223
  </payment>
224
  </sections>
219
  </org_id>
220
  </fields>
221
  </threat_metrix>
222
+ <error_codes translate="label" module="optimal">
223
+ <label>Optimal Payments - Error Codes</label>
224
+ <frontend_type>text</frontend_type>
225
+ <sort_order>100</sort_order>
226
+ <show_in_default>0</show_in_default>
227
+ <show_in_website>0</show_in_website>
228
+ <show_in_store>0</show_in_store>
229
+ <fields>
230
+ <code translate="label">
231
+ <label>Error Code</label>
232
+ <frontend_type>text</frontend_type>
233
+ <source_model>adminhtml/system_config_source_yesno</source_model>
234
+ <sort_order>12</sort_order>
235
+ <show_in_default>1</show_in_default>
236
+ <show_in_website>1</show_in_website>
237
+ <show_in_store>0</show_in_store>
238
+ </code>
239
+ </fields>
240
+ </error_codes>
241
  </groups>
242
  </payment>
243
  </sections>
app/code/community/Demac/Optimal/sql/optimal_setup/mysql4-install-0.3.7.php DELETED
@@ -1,21 +0,0 @@
1
- <?php
2
- $installer = $this;
3
-
4
- $installer->startSetup();
5
-
6
- $installer->run("
7
-
8
- DROP TABLE IF EXISTS `{$this->getTable('optimal/errorcode')}`;
9
- CREATE TABLE IF NOT EXISTS `{$this->getTable('optimal/errorcode')}` (
10
- `code` varchar(50) NOT NULL,
11
- `message` varchar(555) NOT NULL,
12
- `custom_message` varchar(555) NULL,
13
- `active` tinyint(1) NOT NULL DEFAULT '0',
14
- `created_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
15
- `updated_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
16
- PRIMARY KEY (`code`)
17
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
18
-
19
- ");
20
-
21
- $installer->endSetup();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Demac/Optimal/sql/optimal_setup/upgrade-0.3.4-0.3.7.php DELETED
@@ -1,21 +0,0 @@
1
- <?php
2
- $installer = $this;
3
-
4
- $installer->startSetup();
5
-
6
- $installer->run("
7
-
8
- DROP TABLE IF EXISTS `{$this->getTable('optimal/errorcode')}`;
9
- CREATE TABLE IF NOT EXISTS `{$this->getTable('optimal/errorcode')}` (
10
- `code` varchar(50) NOT NULL,
11
- `message` varchar(555) NOT NULL,
12
- `custom_message` varchar(555) NULL,
13
- `active` tinyint(1) NOT NULL DEFAULT '0',
14
- `created_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
15
- `updated_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
16
- PRIMARY KEY (`code`)
17
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
18
-
19
- ");
20
-
21
- $installer->endSetup();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Demac/Optimal/sql/optimal_setup/{install-0.3.7.php → upgrade-0.3.7-0.3.8.php} RENAMED
File without changes
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>666999</name>
4
- <version>0.3.7</version>
5
  <stability>beta</stability>
6
  <license uri="http://opensource.org/licenses/gpl-license.php">GPL</license>
7
  <channel>community</channel>
@@ -17,8 +17,8 @@ Through the Optimal integration merchants also have the option to enable Threatm
17
  <notes>Introducing Custom Error Code management.</notes>
18
  <authors><author><name>Demac Media</name><user>demacmedia</user><email>support@demacmedia.com</email></author></authors>
19
  <date>2014-11-27</date>
20
- <time>03:34:33</time>
21
- <contents><target name="magecommunity"><dir name="Demac"><dir name="Optimal"><dir name="Block"><dir name="Adminhtml"><dir name="Errorcode"><dir name="Edit"><file name="Form.php" hash="56618ff0cc5f4c674f750412d0606aab"/></dir><file name="Edit.php" hash="8980988ca1324fac229b40f471d745c8"/><file name="Grid.php" hash="96117974766b2a7a26005154ea2ff0b2"/></dir><file name="Errorcode.php" hash="9f0d3c6b0b51e3bedd239d3b727eff75"/><dir name="Risk"><dir name="Edit"><file name="Form.php" hash="25d4bcb59e33a94799bc9f6cb0509cc3"/><dir name="Tab"><file name="Form.php" hash="3731d284c28ed279eb5e00b41f494810"/></dir><file name="Tabs.php" hash="61a8d2ac9942356db313b423fc3c47c2"/></dir><file name="Edit.php" hash="959e8af1e6aae6d02560c98bcabea5ab"/><file name="Grid.php" hash="e999f01578aac6084520029f86852c09"/></dir><file name="Risk.php" hash="6bf5127ba14f9dd38519c6b62203f1f8"/></dir><dir name="Customer"><dir name="Cards"><file name="Form.php" hash="ce79e221d5caf995a10e47cbb4e51f8b"/><file name="Grid.php" hash="d14eb692082fe1299977e7b3ee75dcf3"/></dir><file name="Cards.php" hash="f99686c2296a850312713f6aadc4d04a"/></dir><dir name="Form"><file name="Creditcard.php" hash="d3642d432409cf55069253680bf9ee34"/></dir><dir name="Info"><file name="Creditcard.php" hash="7ba1df22bade177f4956ce9084fa98c6"/></dir><file name="Threat.php" hash="69605e0b8aacc80f47b5ed91e8631248"/></dir><dir name="Helper"><file name="Data.php" hash="4568216dd1e1e1a987df04e1bbf34d19"/></dir><dir name="Model"><dir name="Client"><file name="Abstract.php" hash="f83275be8d3b248eb145d45c2a926d84"/></dir><dir name="Config"><file name="Mode.php" hash="798d2a9bab2c0fc2749116ac1a3fc926"/><file name="Status.php" hash="767ba25406456aae4a0bd86b11023b45"/><file name="Transaction.php" hash="e83e8427e4b14c4d3cd83058c68f8965"/></dir><dir name="Creditcard"><file name="Client.php" hash="f1014811d23c1cf5efbccf61c3c6c80c"/></dir><file name="Creditcard.php" hash="26e89a35558c0692d5f90afdcad25c12"/><file name="Errorcode.php" hash="dae5fa1abb705961bd9f15abf3d65ec0"/><dir name="Hosted"><file name="Client.php" hash="2500f13ec5224ee14f31f3a0571b5e6d"/><file name="Exception.php" hash="ea95d6f17a11dddb6efc1a802e4eed55"/></dir><dir name="Merchant"><file name="Customer.php" hash="be743a5c7aababb9752bf961570b0c27"/></dir><dir name="Method"><file name="Hosted.php" hash="c098ce59bc97556b761517a315f10ea1"/></dir><dir name="Mysql4"><dir name="Creditcard"><file name="Collection.php" hash="700985c287355082a3966d4b3f74838f"/></dir><file name="Creditcard.php" hash="a4e5ea4090d2f127edd19de9d2feb343"/><dir name="Errorcode"><file name="Collection.php" hash="075c7c98b606573f02aad1b096f13899"/></dir><file name="Errorcode.php" hash="0d19835b405402a5a5a7ae7c24a42c97"/><dir name="Merchant"><dir name="Customer"><file name="Collection.php" hash="aa0fbf9c0cc0a3207565443e35ae3779"/></dir><file name="Customer.php" hash="fe991d98537b7b3a07160d5b9b10802d"/></dir><dir name="Profile"><file name="Collection.php" hash="f5cd814fe62d2af8fbcc2214f94bfeb4"/></dir><file name="Profile.php" hash="6944c811248ef955a51357989ca11dd3"/><dir name="Risk"><file name="Collection.php" hash="558dc26690672dc09ae6fbfa8e780302"/></dir><file name="Risk.php" hash="5c77111382678451da4dde209a43b0fa"/></dir><file name="Observer.php" hash="32ded6b8987067943ac349b6bab4ccea"/><dir name="Profile"><file name="Client.php" hash="4358736ced5bdc7d2a7fbbf53e2ff07d"/></dir><file name="Profile.php" hash="798cef09bbc0556545edf1f00bae9bf0"/><dir name="Resource"><dir name="Mysql4"><file name="Setup.php" hash="e936830d9e4f74badc3b7663f60436dc"/></dir></dir><file name="Risk.php" hash="fab5519b0e257b8ef2f66f5f76d49f2b"/><dir name="Sales"><file name="Order.php" hash="32320888ae209b1ea3208da59312da5c"/></dir><dir name="Source"><file name="Cctype.php" hash="dd21379a29444a4c58e33e90ddeb300e"/></dir><dir name="Web"><file name="Client.php" hash="d565e254fc281e7c246cc9cfe8c2f39d"/></dir></dir><dir name="Test"><dir name="Model"><dir name="Hosted"><file name="Client.php" hash="83e69edc0636294a7e6a93e8cd745b33"/></dir><dir name="Method"><file name="Hosted.php" hash="2acc5b7427dc4bb36b8ec8f75987cd1e"/></dir><file name="Observer.php" hash="581a5f9151aaffad292670af5118926f"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="ErrorcodesController.php" hash="7149f83536e46413ddf5b159ae4ebf91"/><file name="ThreatController.php" hash="5db39713fbd0ae13e943a891940bb22c"/></dir><dir name="Frontend"><file name="OptimalController.php" hash="e38a9e3e12fb7a3fec988e0daba4489f"/></dir></dir><dir name="data"><dir name="optimal_setup"><dir name="csv"><file name="common-codes-0.3.3.csv" hash="e3c9195dbe01cfb5cf341378271b1240"/><file name="webservices-codes-0.3.3.csv" hash="8fc5562ff9bb3e5c3235fa6c7c21c0d5"/></dir><file name="data-upgrade-0.3.4-0.3.5.php" hash="4afe267d997446c46c0a1fcba771d1e1"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="30a4af4a510783219bbee940d185fb19"/><file name="config.xml" hash="53513669df28327a284e53dde4ce8dc6"/><file name="system.xml" hash="cd61f9cdb9b368fca29ab683d5350c93"/></dir><dir name="sql"><dir name="optimal_setup"><file name="install-0.1.1.php" hash="422b6afb2d2320f5d9c59cd5bff0dc3d"/><file name="install-0.2.0.php" hash="71dbb515c55c34f1910463d72f66f9d2"/><file name="install-0.2.1.php" hash="0bd65edba72966cffce19dd3c480863b"/><file name="install-0.2.2.php" hash="33bb51df7561eb747ee07d8e8aa43ce4"/><file name="install-0.2.3.php" hash="abafde589308828b601c306b45f1aa41"/><file name="install-0.2.4.php" hash="abafde589308828b601c306b45f1aa41"/><file name="install-0.2.5.php" hash="9a0bb5235e982cfc1794dd8d0172e26d"/><file name="install-0.2.6.php" hash="0a8eb965fa5af575593d09722b6712b1"/><file name="install-0.2.7.php" hash="0a8eb965fa5af575593d09722b6712b1"/><file name="install-0.2.9.php" hash="0a8eb965fa5af575593d09722b6712b1"/><file name="install-0.3.7.php" hash="5283e3567c7d35e22b4c87bbc89a0eb3"/><file name="mysql4-install-0.1.1.php" hash="422b6afb2d2320f5d9c59cd5bff0dc3d"/><file name="mysql4-install-0.2.0.php" hash="71dbb515c55c34f1910463d72f66f9d2"/><file name="mysql4-install-0.2.1.php" hash="0bd65edba72966cffce19dd3c480863b"/><file name="mysql4-install-0.2.2.php" hash="33bb51df7561eb747ee07d8e8aa43ce4"/><file name="mysql4-install-0.2.3.php" hash="abafde589308828b601c306b45f1aa41"/><file name="mysql4-install-0.2.4.php" hash="abafde589308828b601c306b45f1aa41"/><file name="mysql4-install-0.2.5.php" hash="9a0bb5235e982cfc1794dd8d0172e26d"/><file name="mysql4-install-0.2.6.php" hash="0a8eb965fa5af575593d09722b6712b1"/><file name="mysql4-install-0.2.7.php" hash="0a8eb965fa5af575593d09722b6712b1"/><file name="mysql4-install-0.2.9.php" hash="0a8eb965fa5af575593d09722b6712b1"/><file name="mysql4-install-0.3.7.php" hash="5283e3567c7d35e22b4c87bbc89a0eb3"/><file name="mysql4-upgrade-0.1.1-0.2.7.php" hash="0a8eb965fa5af575593d09722b6712b1"/><file name="upgrade-0.1.1-0.2.7.php" hash="0a8eb965fa5af575593d09722b6712b1"/><file name="upgrade-0.2.9-0.3.0.php" hash="989e6c4043fccfa6cdcba0a09938dd07"/><file name="upgrade-0.3.1-0.3.2.php" hash="aea721b40772c92db786b96fbb9c8bda"/><file name="upgrade-0.3.4-0.3.7.php" hash="5283e3567c7d35e22b4c87bbc89a0eb3"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Demac_Optimal.xml" hash="2ebfc5a3a1c5688639c0cc5eb34fded0"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="optimal.xml" hash="d1154efa9a293770c76b98be4023ff08"/></dir><dir name="template"><dir name="optimal"><dir name="customer"><dir name="cards"><file name="form.phtml" hash="969544827b5e5765b6bb2bea2f62392a"/><file name="grid.phtml" hash="9a160522aa31ed44eb2f5751f40718c8"/></dir><file name="cards.phtml" hash="ed3f6e56b134674e7d8ddcb6a1deac59"/></dir><dir name="form"><file name="creditcard.phtml" hash="be04e0511fc1686ed7ea81c6e61e89ad"/></dir><dir name="info"><file name="creditcard.phtml" hash="d886bd24ae993548a3663b537e2456df"/></dir><file name="threatmeter.phtml" hash="3dd0ea7621038895aa1dd1e322ba7d99"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="optimal"><dir name="form"><file name="creditcard.phtml" hash="550c80a4e0dc4224946de029f4c3ecf6"/></dir><dir name="info"><file name="creditcard.phtml" hash="642dd94f8c1b1e43fe89226b3a0eb02a"/></dir></dir></dir></dir></dir></dir></target></contents>
22
  <compatible/>
23
  <dependencies><required><php><min>5.3.0</min><max>5.6.0</max></php></required></dependencies>
24
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>666999</name>
4
+ <version>0.3.8</version>
5
  <stability>beta</stability>
6
  <license uri="http://opensource.org/licenses/gpl-license.php">GPL</license>
7
  <channel>community</channel>
17
  <notes>Introducing Custom Error Code management.</notes>
18
  <authors><author><name>Demac Media</name><user>demacmedia</user><email>support@demacmedia.com</email></author></authors>
19
  <date>2014-11-27</date>
20
+ <time>22:51:30</time>
21
+ <contents><target name="magecommunity"><dir name="Demac"><dir name="Optimal"><dir name="Block"><dir name="Adminhtml"><dir name="Errorcode"><dir name="Edit"><file name="Form.php" hash="56618ff0cc5f4c674f750412d0606aab"/></dir><file name="Edit.php" hash="8980988ca1324fac229b40f471d745c8"/><file name="Grid.php" hash="2d8ea2f836d380167e9b25a67acefd70"/></dir><file name="Errorcode.php" hash="9f0d3c6b0b51e3bedd239d3b727eff75"/><dir name="Risk"><dir name="Edit"><file name="Form.php" hash="25d4bcb59e33a94799bc9f6cb0509cc3"/><dir name="Tab"><file name="Form.php" hash="3731d284c28ed279eb5e00b41f494810"/></dir><file name="Tabs.php" hash="61a8d2ac9942356db313b423fc3c47c2"/></dir><file name="Edit.php" hash="959e8af1e6aae6d02560c98bcabea5ab"/><file name="Grid.php" hash="e999f01578aac6084520029f86852c09"/></dir><file name="Risk.php" hash="6bf5127ba14f9dd38519c6b62203f1f8"/></dir><dir name="Customer"><dir name="Cards"><file name="Form.php" hash="ce79e221d5caf995a10e47cbb4e51f8b"/><file name="Grid.php" hash="d14eb692082fe1299977e7b3ee75dcf3"/></dir><file name="Cards.php" hash="f99686c2296a850312713f6aadc4d04a"/></dir><dir name="Form"><file name="Creditcard.php" hash="d3642d432409cf55069253680bf9ee34"/></dir><dir name="Info"><file name="Creditcard.php" hash="7ba1df22bade177f4956ce9084fa98c6"/></dir><file name="Threat.php" hash="69605e0b8aacc80f47b5ed91e8631248"/></dir><dir name="Helper"><file name="Data.php" hash="4568216dd1e1e1a987df04e1bbf34d19"/></dir><dir name="Model"><dir name="Client"><file name="Abstract.php" hash="f83275be8d3b248eb145d45c2a926d84"/></dir><dir name="Config"><file name="Mode.php" hash="798d2a9bab2c0fc2749116ac1a3fc926"/><file name="Status.php" hash="767ba25406456aae4a0bd86b11023b45"/><file name="Transaction.php" hash="e83e8427e4b14c4d3cd83058c68f8965"/></dir><dir name="Creditcard"><file name="Client.php" hash="f1014811d23c1cf5efbccf61c3c6c80c"/></dir><file name="Creditcard.php" hash="26e89a35558c0692d5f90afdcad25c12"/><file name="Errorcode.php" hash="dae5fa1abb705961bd9f15abf3d65ec0"/><dir name="Hosted"><file name="Client.php" hash="902a0b5bd7333bb1a75dc7c7a076695c"/><file name="Exception.php" hash="dfca385bc45b1c055bbf2e8e7031230b"/></dir><dir name="Merchant"><file name="Customer.php" hash="be743a5c7aababb9752bf961570b0c27"/></dir><dir name="Method"><file name="Hosted.php" hash="c37cc40403506d4d6f519f4f7dba9787"/></dir><dir name="Mysql4"><dir name="Creditcard"><file name="Collection.php" hash="700985c287355082a3966d4b3f74838f"/></dir><file name="Creditcard.php" hash="a4e5ea4090d2f127edd19de9d2feb343"/><dir name="Errorcode"><file name="Collection.php" hash="075c7c98b606573f02aad1b096f13899"/></dir><file name="Errorcode.php" hash="0d19835b405402a5a5a7ae7c24a42c97"/><dir name="Merchant"><dir name="Customer"><file name="Collection.php" hash="aa0fbf9c0cc0a3207565443e35ae3779"/></dir><file name="Customer.php" hash="fe991d98537b7b3a07160d5b9b10802d"/></dir><dir name="Profile"><file name="Collection.php" hash="f5cd814fe62d2af8fbcc2214f94bfeb4"/></dir><file name="Profile.php" hash="6944c811248ef955a51357989ca11dd3"/><dir name="Risk"><file name="Collection.php" hash="558dc26690672dc09ae6fbfa8e780302"/></dir><file name="Risk.php" hash="5c77111382678451da4dde209a43b0fa"/></dir><file name="Observer.php" hash="32ded6b8987067943ac349b6bab4ccea"/><dir name="Profile"><file name="Client.php" hash="4358736ced5bdc7d2a7fbbf53e2ff07d"/></dir><file name="Profile.php" hash="798cef09bbc0556545edf1f00bae9bf0"/><dir name="Resource"><dir name="Mysql4"><file name="Setup.php" hash="e936830d9e4f74badc3b7663f60436dc"/></dir></dir><file name="Risk.php" hash="fab5519b0e257b8ef2f66f5f76d49f2b"/><dir name="Sales"><file name="Order.php" hash="32320888ae209b1ea3208da59312da5c"/></dir><dir name="Source"><file name="Cctype.php" hash="dd21379a29444a4c58e33e90ddeb300e"/></dir><dir name="Web"><file name="Client.php" hash="d565e254fc281e7c246cc9cfe8c2f39d"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="ErrorcodesController.php" hash="7149f83536e46413ddf5b159ae4ebf91"/><file name="ThreatController.php" hash="5db39713fbd0ae13e943a891940bb22c"/></dir><dir name="Frontend"><file name="OptimalController.php" hash="e38a9e3e12fb7a3fec988e0daba4489f"/></dir></dir><dir name="data"><dir name="optimal_setup"><dir name="csv"><file name="common-codes-0.3.3.csv" hash="e3c9195dbe01cfb5cf341378271b1240"/><file name="webservices-codes-0.3.3.csv" hash="8fc5562ff9bb3e5c3235fa6c7c21c0d5"/></dir><file name="data-upgrade-0.3.4-0.3.5.php" hash="4afe267d997446c46c0a1fcba771d1e1"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="30a4af4a510783219bbee940d185fb19"/><file name="config.xml" hash="3525775f0210314dda82a012803ed4c2"/><file name="system.xml" hash="4e28392139fad2a08d168d0b1381f081"/></dir><dir name="sql"><dir name="optimal_setup"><file name="install-0.1.1.php" hash="422b6afb2d2320f5d9c59cd5bff0dc3d"/><file name="install-0.2.0.php" hash="71dbb515c55c34f1910463d72f66f9d2"/><file name="install-0.2.1.php" hash="0bd65edba72966cffce19dd3c480863b"/><file name="install-0.2.2.php" hash="33bb51df7561eb747ee07d8e8aa43ce4"/><file name="install-0.2.3.php" hash="abafde589308828b601c306b45f1aa41"/><file name="install-0.2.4.php" hash="abafde589308828b601c306b45f1aa41"/><file name="install-0.2.5.php" hash="9a0bb5235e982cfc1794dd8d0172e26d"/><file name="install-0.2.6.php" hash="0a8eb965fa5af575593d09722b6712b1"/><file name="install-0.2.7.php" hash="0a8eb965fa5af575593d09722b6712b1"/><file name="install-0.2.9.php" hash="0a8eb965fa5af575593d09722b6712b1"/><file name="mysql4-install-0.1.1.php" hash="422b6afb2d2320f5d9c59cd5bff0dc3d"/><file name="mysql4-install-0.2.0.php" hash="71dbb515c55c34f1910463d72f66f9d2"/><file name="mysql4-install-0.2.1.php" hash="0bd65edba72966cffce19dd3c480863b"/><file name="mysql4-install-0.2.2.php" hash="33bb51df7561eb747ee07d8e8aa43ce4"/><file name="mysql4-install-0.2.3.php" hash="abafde589308828b601c306b45f1aa41"/><file name="mysql4-install-0.2.4.php" hash="abafde589308828b601c306b45f1aa41"/><file name="mysql4-install-0.2.5.php" hash="9a0bb5235e982cfc1794dd8d0172e26d"/><file name="mysql4-install-0.2.6.php" hash="0a8eb965fa5af575593d09722b6712b1"/><file name="mysql4-install-0.2.7.php" hash="0a8eb965fa5af575593d09722b6712b1"/><file name="mysql4-install-0.2.9.php" hash="0a8eb965fa5af575593d09722b6712b1"/><file name="mysql4-upgrade-0.1.1-0.2.7.php" hash="0a8eb965fa5af575593d09722b6712b1"/><file name="upgrade-0.1.1-0.2.7.php" hash="0a8eb965fa5af575593d09722b6712b1"/><file name="upgrade-0.2.9-0.3.0.php" hash="989e6c4043fccfa6cdcba0a09938dd07"/><file name="upgrade-0.3.1-0.3.2.php" hash="aea721b40772c92db786b96fbb9c8bda"/><file name="upgrade-0.3.7-0.3.8.php" hash="5283e3567c7d35e22b4c87bbc89a0eb3"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Demac_Optimal.xml" hash="2ebfc5a3a1c5688639c0cc5eb34fded0"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="optimal.xml" hash="d1154efa9a293770c76b98be4023ff08"/></dir><dir name="template"><dir name="optimal"><dir name="customer"><dir name="cards"><file name="form.phtml" hash="969544827b5e5765b6bb2bea2f62392a"/><file name="grid.phtml" hash="9a160522aa31ed44eb2f5751f40718c8"/></dir><file name="cards.phtml" hash="ed3f6e56b134674e7d8ddcb6a1deac59"/></dir><dir name="form"><file name="creditcard.phtml" hash="be04e0511fc1686ed7ea81c6e61e89ad"/></dir><dir name="info"><file name="creditcard.phtml" hash="d886bd24ae993548a3663b537e2456df"/></dir><file name="threatmeter.phtml" hash="3dd0ea7621038895aa1dd1e322ba7d99"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="optimal"><dir name="form"><file name="creditcard.phtml" hash="550c80a4e0dc4224946de029f4c3ecf6"/></dir><dir name="info"><file name="creditcard.phtml" hash="642dd94f8c1b1e43fe89226b3a0eb02a"/></dir></dir></dir></dir></dir></dir></target></contents>
22
  <compatible/>
23
  <dependencies><required><php><min>5.3.0</min><max>5.6.0</max></php></required></dependencies>
24
  </package>