Mage_Centinel - Version 1.6.1.0

Version Notes

1.6.1.0

Download this release

Release Info

Developer Magento Core Team
Extension Mage_Centinel
Version 1.6.1.0
Comparing to
See all releases


Code changes from version 1.6.0.0 to 1.6.1.0

app/code/core/Mage/Centinel/Model/State/Visa.php CHANGED
@@ -95,7 +95,7 @@ class Mage_Centinel_Model_State_Visa extends Mage_Centinel_Model_StateAbstract
95
  }
96
 
97
  //Test case 11
98
- if ($paResStatus == '' && $signatureVerification == '' && $eciFlag == '07' &&
99
  $xid == '' && $cavv == '' && $errorNo == '1050') {
100
  if ($this->getIsModeStrict()) {
101
  return false;
95
  }
96
 
97
  //Test case 11
98
+ if ($paResStatus == 'U' && $signatureVerification == '' && $eciFlag == '07' &&
99
  $xid == '' && $cavv == '' && $errorNo == '1050') {
100
  if ($this->getIsModeStrict()) {
101
  return false;
app/code/core/Mage/Centinel/controllers/Adminhtml/Centinel/IndexController.php CHANGED
@@ -27,6 +27,9 @@
27
  /**
28
  * Centinel Index Controller
29
  *
 
 
 
30
  */
31
  class Mage_Centinel_Adminhtml_Centinel_IndexController extends Mage_Adminhtml_Controller_Action
32
  {
@@ -43,12 +46,9 @@ class Mage_Centinel_Adminhtml_Centinel_IndexController extends Mage_Adminhtml_Co
43
  if (!$validator) {
44
  throw new Exception('This payment method does not have centinel validation.');
45
  }
 
46
  $this->_getPayment()->importData($paymentData);
47
- if ($validator->shouldAuthenticate()) {
48
- $result['authenticationUrl'] = $validator->getAuthenticationStartUrl();
49
- } else {
50
- Mage::throwException(Mage::helper('centinel')->__('This card has failed validation, but it is possible to place the order.'));
51
- }
52
  } catch (Mage_Core_Exception $e) {
53
  $result['message'] = $e->getMessage();
54
  } catch (Exception $e) {
27
  /**
28
  * Centinel Index Controller
29
  *
30
+ * @category Mage
31
+ * @package Mage_Centinel
32
+ * @author Magento Core Team <core@magentocommerce.com>
33
  */
34
  class Mage_Centinel_Adminhtml_Centinel_IndexController extends Mage_Adminhtml_Controller_Action
35
  {
46
  if (!$validator) {
47
  throw new Exception('This payment method does not have centinel validation.');
48
  }
49
+ $validator->reset();
50
  $this->_getPayment()->importData($paymentData);
51
+ $result['authenticationUrl'] = $validator->getAuthenticationStartUrl();
 
 
 
 
52
  } catch (Mage_Core_Exception $e) {
53
  $result['message'] = $e->getMessage();
54
  } catch (Exception $e) {
app/locale/en_US/Mage_Centinel.csv CHANGED
@@ -24,7 +24,6 @@
24
  "There has been wrong payment information submitted or the time limit has expired. Please, try again.","There has been wrong payment information submitted or the time limit has expired. Please, try again."
25
  "There has been wrong payment information submitted or time limit has expired. Please, try again.","There has been wrong payment information submitted or time limit has expired. Please, try again."
26
  "This card has failed validation and cannot be used.","This card has failed validation and cannot be used."
27
- "This card has failed validation, but it is possible to place the order.","This card has failed validation, but it is possible to place the order."
28
  "To ensure the security of your transactions","To ensure the security of your transactions"
29
  "Unable to complete","Unable to complete"
30
  "Validation failed.","Validation failed."
24
  "There has been wrong payment information submitted or the time limit has expired. Please, try again.","There has been wrong payment information submitted or the time limit has expired. Please, try again."
25
  "There has been wrong payment information submitted or time limit has expired. Please, try again.","There has been wrong payment information submitted or time limit has expired. Please, try again."
26
  "This card has failed validation and cannot be used.","This card has failed validation and cannot be used."
 
27
  "To ensure the security of your transactions","To ensure the security of your transactions"
28
  "Unable to complete","Unable to complete"
29
  "Validation failed.","Validation failed."
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mage_Centinel</name>
4
- <version>1.6.0.0</version>
5
  <stability>stable</stability>
6
  <license>mixed</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>3D Secure Card Validation</summary>
10
  <description>An integration with Cardinalcommerce Centinel service. Provides option to validate Visa and Mastercard cards for eliminating possible fraudlent order placement attempts. Adds information about Electronic Commerce Identifier, that designates liability for chargeback.</description>
11
- <notes>1.6.0.0</notes>
12
  <authors><author><name>Magento Core Team</name><user>core</user><email>core@magentocommerce.com</email></author></authors>
13
- <date>2011-08-18</date>
14
- <time>08:29:38</time>
15
- <contents><target name="magecore"><dir name="Mage"><dir name="Centinel"><dir name="Block"><dir name="Adminhtml"><dir name="Validation"><file name="Form.php" hash="5969cfba349777b9253bfecae3370113"/></dir><file name="Validation.php" hash="04e4120589eccbfbb09f5b5023bd8e74"/></dir><dir name="Authentication"><file name="Complete.php" hash="adb566e73f99faf64a44562b0f5e0919"/><file name="Start.php" hash="3364a5dd778b075e39ef12a7cd23ed9e"/></dir><file name="Authentication.php" hash="c81396472a61161c2b0acbcf8ad5a278"/><file name="Logo.php" hash="d768e0dc91ca5c295ffe6eabcf642b6b"/></dir><dir name="Helper"><file name="Data.php" hash="414eef6e6794ac0ceb6670d60358f35e"/></dir><dir name="Model"><file name="Api.php" hash="774ee515cc3096099116e27037810a36"/><file name="Config.php" hash="0473452d844e7aa3daf080eae0dec48a"/><file name="Observer.php" hash="a0a55f4a506585e8c403a20eb80d7241"/><file name="Service.php" hash="0518bf6e10f2d1e301d3834f754a4e31"/><file name="Session.php" hash="5d3f1243bc95cb06ae91d0d83ef62694"/><dir name="State"><file name="Jcb.php" hash="eb0a68d30393c785732bdcb3e0ea33c5"/><file name="Mastercard.php" hash="4593196699a773f59c7822bab66af15c"/><file name="Visa.php" hash="b93afe18519025391136a01c9c3fedd0"/></dir><file name="StateAbstract.php" hash="daf4415d9ede3620d909fcae0bdb0922"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Centinel"><file name="IndexController.php" hash="47c5e51e789b8feca1f25afabd265962"/></dir></dir><file name="IndexController.php" hash="202488d8f1d9dede4ca512e8265ecfd2"/></dir><dir name="etc"><file name="config.xml" hash="12da2b0693ce9163fba8180fd247f036"/><file name="system.xml" hash="6017f211b38e8fed567b22b4c48926a6"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mage_Centinel.xml" hash="22655563fa113c4348a4b67184d32b28"/></dir></target><target name="mageweb"><dir name="js"><dir name="mage"><dir name="adminhtml"><dir name="sales"><file name="centinel.js" hash="daa341d3d631c79d613a31b0802230ff"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="centinel"><dir name="authentication"><file name="complete.phtml" hash="bbb3e0db33b0037cdfba441d6125de10"/><file name="start.phtml" hash="8b4c2412604921d1e2df76ef539b5254"/></dir><dir name="validation"><file name="form.phtml" hash="f88bbe9992f8a73b9736ef68adce1b51"/></dir></dir></dir><dir name="layout"><file name="centinel.xml" hash="f2635bda3aae3dd8ff53dfa7e2eec31f"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="centinel"><dir name="authentication"><file name="complete.phtml" hash="9abcd3882f259af826ad9597c02851ad"/><file name="start.phtml" hash="353971733cab13381cee156335e17fd1"/></dir><file name="authentication.phtml" hash="5533fadcf12d7729a1e20216a99eb276"/><file name="logo.phtml" hash="73595732172cdd045184471bc814bdfe"/></dir></dir><dir name="layout"><file name="centinel.xml" hash="14fa87992f1ee60266125230f75a5c3e"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Mage_Centinel.csv" hash="638d517f5f2f2e5801b07a45fab9130b"/></dir></target><target name="magelib"><dir name="3Dsecure"><file name="CentinelClient.php" hash="e8459bd7d542e38058529e9bbb27ca25"/><file name="CentinelErrors.php" hash="e99aa9e865cc56beb2cf99d616ff0ceb"/><file name="XMLParser.php" hash="d089f3a81ac81378c889eee73a52f413"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="centinel"><file name="sc_learn_62x34.gif" hash="059ec6c3eecea97b3f70a2e2d6ceb911"/><file name="v_activate_steps.gif" hash="005312b14c6aed41e8a47c4acaac7c1a"/><file name="vbv_ltbg_71x57.gif" hash="2b0bcd07251fcaafd46e7ce77ba821a9"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
- <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.6.0.0</min><max>1.6.1.0</max></package></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mage_Centinel</name>
4
+ <version>1.6.1.0</version>
5
  <stability>stable</stability>
6
  <license>mixed</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>3D Secure Card Validation</summary>
10
  <description>An integration with Cardinalcommerce Centinel service. Provides option to validate Visa and Mastercard cards for eliminating possible fraudlent order placement attempts. Adds information about Electronic Commerce Identifier, that designates liability for chargeback.</description>
11
+ <notes>1.6.1.0</notes>
12
  <authors><author><name>Magento Core Team</name><user>core</user><email>core@magentocommerce.com</email></author></authors>
13
+ <date>2011-10-19</date>
14
+ <time>11:50:04</time>
15
+ <contents><target name="magecore"><dir name="Mage"><dir name="Centinel"><dir name="Block"><dir name="Adminhtml"><dir name="Validation"><file name="Form.php" hash="5969cfba349777b9253bfecae3370113"/></dir><file name="Validation.php" hash="04e4120589eccbfbb09f5b5023bd8e74"/></dir><dir name="Authentication"><file name="Complete.php" hash="adb566e73f99faf64a44562b0f5e0919"/><file name="Start.php" hash="3364a5dd778b075e39ef12a7cd23ed9e"/></dir><file name="Authentication.php" hash="c81396472a61161c2b0acbcf8ad5a278"/><file name="Logo.php" hash="d768e0dc91ca5c295ffe6eabcf642b6b"/></dir><dir name="Helper"><file name="Data.php" hash="414eef6e6794ac0ceb6670d60358f35e"/></dir><dir name="Model"><file name="Api.php" hash="774ee515cc3096099116e27037810a36"/><file name="Config.php" hash="0473452d844e7aa3daf080eae0dec48a"/><file name="Observer.php" hash="a0a55f4a506585e8c403a20eb80d7241"/><file name="Service.php" hash="0518bf6e10f2d1e301d3834f754a4e31"/><file name="Session.php" hash="5d3f1243bc95cb06ae91d0d83ef62694"/><dir name="State"><file name="Jcb.php" hash="eb0a68d30393c785732bdcb3e0ea33c5"/><file name="Mastercard.php" hash="4593196699a773f59c7822bab66af15c"/><file name="Visa.php" hash="187006c50ceb40f236f93b61b2f0ff67"/></dir><file name="StateAbstract.php" hash="daf4415d9ede3620d909fcae0bdb0922"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Centinel"><file name="IndexController.php" hash="74ff5c7e98b0c9bf53f0838714eb592a"/></dir></dir><file name="IndexController.php" hash="202488d8f1d9dede4ca512e8265ecfd2"/></dir><dir name="etc"><file name="config.xml" hash="12da2b0693ce9163fba8180fd247f036"/><file name="system.xml" hash="6017f211b38e8fed567b22b4c48926a6"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mage_Centinel.xml" hash="22655563fa113c4348a4b67184d32b28"/></dir></target><target name="mageweb"><dir name="js"><dir name="mage"><dir name="adminhtml"><dir name="sales"><file name="centinel.js" hash="daa341d3d631c79d613a31b0802230ff"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="centinel"><dir name="authentication"><file name="complete.phtml" hash="bbb3e0db33b0037cdfba441d6125de10"/><file name="start.phtml" hash="8b4c2412604921d1e2df76ef539b5254"/></dir><dir name="validation"><file name="form.phtml" hash="f88bbe9992f8a73b9736ef68adce1b51"/></dir></dir></dir><dir name="layout"><file name="centinel.xml" hash="f2635bda3aae3dd8ff53dfa7e2eec31f"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="centinel"><dir name="authentication"><file name="complete.phtml" hash="9abcd3882f259af826ad9597c02851ad"/><file name="start.phtml" hash="353971733cab13381cee156335e17fd1"/></dir><file name="authentication.phtml" hash="5533fadcf12d7729a1e20216a99eb276"/><file name="logo.phtml" hash="73595732172cdd045184471bc814bdfe"/></dir></dir><dir name="layout"><file name="centinel.xml" hash="14fa87992f1ee60266125230f75a5c3e"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Mage_Centinel.csv" hash="20f331c149ccf32faabdd406626805e0"/></dir></target><target name="magelib"><dir name="3Dsecure"><file name="CentinelClient.php" hash="e8459bd7d542e38058529e9bbb27ca25"/><file name="CentinelErrors.php" hash="e99aa9e865cc56beb2cf99d616ff0ceb"/><file name="XMLParser.php" hash="d089f3a81ac81378c889eee73a52f413"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="centinel"><file name="sc_learn_62x34.gif" hash="059ec6c3eecea97b3f70a2e2d6ceb911"/><file name="v_activate_steps.gif" hash="005312b14c6aed41e8a47c4acaac7c1a"/><file name="vbv_ltbg_71x57.gif" hash="2b0bcd07251fcaafd46e7ce77ba821a9"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
+ <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.6.1.0</min><max>1.7.0.0</max></package></required></dependencies>
18
  </package>