Version Notes
Changelog:
2.0.7:
- Add debug on redirect action (before 404 return when order can not be loaded).
2.0.6:
- Fixed order state not saved on notification (thanks to @real34)
- Design and skin files moved in base directory (thanks to @fusco)
- Use getNotifyURL instead of Mage::getUrl() to generate the correct url_retour parameter (thanks to @lenybernard)
- Update license
- Update version
2.0.5:
- Fixe bug with complete state order
2.0.4:
- Add cancel status in the configuration
2.0.3:
- Bug fixed with multishipping
2.0.2:
- Some fields in the configuration of the module are now configurable in store view
- The field "empty cart" was added
2.0.1:
- Stable version
2.0.0:
- Magento 1.5 compatibility
- Multishipping compatibility
- Bug fixed with magento 1.4
- Beta version
Release Info
| Developer | Quadra Informatique |
| Extension | Quadra_Cybermut |
| Version | 2.0.7 |
| Comparing to | |
| See all releases | |
Code changes from version 2.0.6 to 2.0.7
|
@@ -21,6 +21,16 @@ class Quadra_Cybermut_PaymentController extends Mage_Core_Controller_Front_Actio
|
|
| 21 |
protected $_realOrderIds;
|
| 22 |
protected $_quote;
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
/**
|
| 25 |
* Get quote model
|
| 26 |
*
|
|
@@ -98,6 +108,10 @@ class Quadra_Cybermut_PaymentController extends Mage_Core_Controller_Front_Actio
|
|
| 98 |
$order->loadByIncrementId($realOrderId);
|
| 99 |
|
| 100 |
if (!$order->getId()) {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 101 |
$this->norouteAction();
|
| 102 |
return;
|
| 103 |
}
|
|
@@ -123,7 +137,7 @@ class Quadra_Cybermut_PaymentController extends Mage_Core_Controller_Front_Actio
|
|
| 123 |
*/
|
| 124 |
public function notifyAction()
|
| 125 |
{
|
| 126 |
-
$model =
|
| 127 |
|
| 128 |
if ($this->getRequest()->isPost()) {
|
| 129 |
$postData = $this->getRequest()->getPost();
|
|
@@ -137,7 +151,7 @@ class Quadra_Cybermut_PaymentController extends Mage_Core_Controller_Front_Actio
|
|
| 137 |
|
| 138 |
$this->setCybermutResponse($postData);
|
| 139 |
|
| 140 |
-
if ($model->
|
| 141 |
Mage::getModel('cybermut/api_debug')
|
| 142 |
->setResponseBody(print_r($postData, 1))
|
| 143 |
->save();
|
|
@@ -319,7 +333,7 @@ class Quadra_Cybermut_PaymentController extends Mage_Core_Controller_Front_Actio
|
|
| 319 |
public function errorAction()
|
| 320 |
{
|
| 321 |
$session = Mage::getSingleton('checkout/session');
|
| 322 |
-
$model =
|
| 323 |
|
| 324 |
$session->setIsMultishipping(false);
|
| 325 |
|
| 21 |
protected $_realOrderIds;
|
| 22 |
protected $_quote;
|
| 23 |
|
| 24 |
+
/**
|
| 25 |
+
* Get current Cybermut Method Instance
|
| 26 |
+
*
|
| 27 |
+
* @return Quadra_Cybermut_Model_Payment
|
| 28 |
+
*/
|
| 29 |
+
public function getMethodInstance()
|
| 30 |
+
{
|
| 31 |
+
return Mage::getSingleton('cybermut/payment');
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
/**
|
| 35 |
* Get quote model
|
| 36 |
*
|
| 108 |
$order->loadByIncrementId($realOrderId);
|
| 109 |
|
| 110 |
if (!$order->getId()) {
|
| 111 |
+
// Debug data when order can not be loaded
|
| 112 |
+
$this->getMethodInstance()->debugData($realOrderIds);
|
| 113 |
+
$this->getMethodInstance()->debugData($session->getData());
|
| 114 |
+
|
| 115 |
$this->norouteAction();
|
| 116 |
return;
|
| 117 |
}
|
| 137 |
*/
|
| 138 |
public function notifyAction()
|
| 139 |
{
|
| 140 |
+
$model = $this->getMethodInstance();
|
| 141 |
|
| 142 |
if ($this->getRequest()->isPost()) {
|
| 143 |
$postData = $this->getRequest()->getPost();
|
| 151 |
|
| 152 |
$this->setCybermutResponse($postData);
|
| 153 |
|
| 154 |
+
if ($model->getDebugFlag()) {
|
| 155 |
Mage::getModel('cybermut/api_debug')
|
| 156 |
->setResponseBody(print_r($postData, 1))
|
| 157 |
->save();
|
| 333 |
public function errorAction()
|
| 334 |
{
|
| 335 |
$session = Mage::getSingleton('checkout/session');
|
| 336 |
+
$model = $this->getMethodInstance();
|
| 337 |
|
| 338 |
$session->setIsMultishipping(false);
|
| 339 |
|
|
@@ -18,7 +18,7 @@
|
|
| 18 |
<config>
|
| 19 |
<modules>
|
| 20 |
<Quadra_Cybermut>
|
| 21 |
-
<version>2.0.
|
| 22 |
</Quadra_Cybermut>
|
| 23 |
</modules>
|
| 24 |
<global>
|
| 18 |
<config>
|
| 19 |
<modules>
|
| 20 |
<Quadra_Cybermut>
|
| 21 |
+
<version>2.0.7</version>
|
| 22 |
</Quadra_Cybermut>
|
| 23 |
</modules>
|
| 24 |
<global>
|
|
@@ -135,7 +135,7 @@
|
|
| 135 |
<show_in_website>1</show_in_website>
|
| 136 |
<show_in_store>0</show_in_store>
|
| 137 |
</test_mode>
|
| 138 |
-
<
|
| 139 |
<label>Debug</label>
|
| 140 |
<frontend_type>select</frontend_type>
|
| 141 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
|
@@ -143,7 +143,7 @@
|
|
| 143 |
<show_in_default>1</show_in_default>
|
| 144 |
<show_in_website>1</show_in_website>
|
| 145 |
<show_in_store>0</show_in_store>
|
| 146 |
-
</
|
| 147 |
<order_status translate="label">
|
| 148 |
<label>New order status</label>
|
| 149 |
<frontend_type>select</frontend_type>
|
| 135 |
<show_in_website>1</show_in_website>
|
| 136 |
<show_in_store>0</show_in_store>
|
| 137 |
</test_mode>
|
| 138 |
+
<debug translate="label">
|
| 139 |
<label>Debug</label>
|
| 140 |
<frontend_type>select</frontend_type>
|
| 141 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 143 |
<show_in_default>1</show_in_default>
|
| 144 |
<show_in_website>1</show_in_website>
|
| 145 |
<show_in_store>0</show_in_store>
|
| 146 |
+
</debug>
|
| 147 |
<order_status translate="label">
|
| 148 |
<label>New order status</label>
|
| 149 |
<frontend_type>select</frontend_type>
|
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Quadra_Cybermut</name>
|
| 4 |
-
<version>2.0.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
| 7 |
<channel>community</channel>
|
|
@@ -12,6 +12,9 @@ CyberMUT Paiement / Paiement CIC integration</summary>
|
|
| 12 |
Compatible with CM-CIC versions 1.2 and 3.0.</description>
|
| 13 |
<notes>Changelog:
|
| 14 |

|
|
|
|
|
|
|
|
|
|
| 15 |
2.0.6:
|
| 16 |
- Fixed order state not saved on notification (thanks to @real34)
|
| 17 |
- Design and skin files moved in base directory (thanks to @fusco)
|
|
@@ -41,9 +44,9 @@ Compatible with CM-CIC versions 1.2 and 3.0.</description>
|
|
| 41 |
- Bug fixed with magento 1.4
|
| 42 |
- Beta version</notes>
|
| 43 |
<authors><author><name>Quadra Informatique</name><user>quadrainfo</user><email>modules@quadra-informatique.fr</email></author></authors>
|
| 44 |
-
<date>2015-
|
| 45 |
-
<time>
|
| 46 |
-
<contents><target name="magecommunity"><dir name="Quadra"><dir name="Cybermut"><dir name="Block"><file name="Error.php" hash="4f04bbc09570fc24cf911e4de8702b2f"/><file name="Form.php" hash="e73df77eeff41a46bfbfb3eb044d3644"/><file name="Redirect.php" hash="d6f2b3f42eabb3877202b45c2bd78cf1"/></dir><dir name="Helper"><file name="Data.php" hash="6a6ffc83695e14e4ae59ed90c98b0d24"/></dir><dir name="Model"><dir name="Api"><file name="Debug.php" hash="6f067180f8810915bfc73e9ebee13e69"/></dir><dir name="Config"><dir name="Data"><file name="Cybermut.php" hash="e502abfbef03c95ff069d8afabbe0447"/></dir></dir><dir name="Mysql4"><dir name="Api"><dir name="Debug"><file name="Collection.php" hash="743f08850b7f8d1d5b299d32afcd6daa"/></dir><file name="Debug.php" hash="2f07d4baffc0c8e9bca36001924c9637"/></dir><file name="Setup.php" hash="2c62bf39e91e0dc1d370ac5718049709"/></dir><file name="Observer.php" hash="7a2a60bc291cb63964dcceeae0af7053"/><file name="Payment.php" hash="342cb4a1d01447d9a63da82e1713f872"/><dir name="Source"><file name="Bank.php" hash="fdac9d195933c558267365d6a00eefe5"/><file name="Language.php" hash="b0c5565387da37f6d0552857c2b3e2b6"/><file name="Terms.php" hash="93acd6725ce244ac222adb0b165223e1"/></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Keyencrypted.php" hash="aea6fcb029ce9f46e3dc6c1426568e9c"/></dir><dir name="Source"><dir name="Order"><dir name="Status"><file name="Accepted.php" hash="04f97cac13ad710e29a183c8f08ff339"/><file name="Canceled.php" hash="cae43f7423ef0624658ed9d54cfe5ab8"/><file name="New.php" hash="22a02b745eb79358c91f5c0d9ac0f10c"/><file name="Refused.php" hash="a9df8dc9410313b853a838a48984e83d"/></dir><file name="Status.php" hash="a4c7398a13bae87ce4793a8a7dc465e5"/></dir><file name="Version.php" hash="c4273bbc92fd8c51feca05c26240cd9a"/></dir></dir></dir></dir><dir name="controllers"><file name="PaymentController.php" hash="
|
| 47 |
<compatible/>
|
| 48 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php><package><name>Quadra_Extensions</name><channel>community</channel><min>1.0.0</min><max></max></package></required></dependencies>
|
| 49 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Quadra_Cybermut</name>
|
| 4 |
+
<version>2.0.7</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
| 7 |
<channel>community</channel>
|
| 12 |
Compatible with CM-CIC versions 1.2 and 3.0.</description>
|
| 13 |
<notes>Changelog:
|
| 14 |

|
| 15 |
+
2.0.7:
|
| 16 |
+
- Add debug on redirect action (before 404 return when order can not be loaded).
|
| 17 |
+

|
| 18 |
2.0.6:
|
| 19 |
- Fixed order state not saved on notification (thanks to @real34)
|
| 20 |
- Design and skin files moved in base directory (thanks to @fusco)
|
| 44 |
- Bug fixed with magento 1.4
|
| 45 |
- Beta version</notes>
|
| 46 |
<authors><author><name>Quadra Informatique</name><user>quadrainfo</user><email>modules@quadra-informatique.fr</email></author></authors>
|
| 47 |
+
<date>2015-06-10</date>
|
| 48 |
+
<time>11:49:20</time>
|
| 49 |
+
<contents><target name="magecommunity"><dir name="Quadra"><dir name="Cybermut"><dir name="Block"><file name="Error.php" hash="4f04bbc09570fc24cf911e4de8702b2f"/><file name="Form.php" hash="e73df77eeff41a46bfbfb3eb044d3644"/><file name="Redirect.php" hash="d6f2b3f42eabb3877202b45c2bd78cf1"/></dir><dir name="Helper"><file name="Data.php" hash="6a6ffc83695e14e4ae59ed90c98b0d24"/></dir><dir name="Model"><dir name="Api"><file name="Debug.php" hash="6f067180f8810915bfc73e9ebee13e69"/></dir><dir name="Config"><dir name="Data"><file name="Cybermut.php" hash="e502abfbef03c95ff069d8afabbe0447"/></dir></dir><dir name="Mysql4"><dir name="Api"><dir name="Debug"><file name="Collection.php" hash="743f08850b7f8d1d5b299d32afcd6daa"/></dir><file name="Debug.php" hash="2f07d4baffc0c8e9bca36001924c9637"/></dir><file name="Setup.php" hash="2c62bf39e91e0dc1d370ac5718049709"/></dir><file name="Observer.php" hash="7a2a60bc291cb63964dcceeae0af7053"/><file name="Payment.php" hash="342cb4a1d01447d9a63da82e1713f872"/><dir name="Source"><file name="Bank.php" hash="fdac9d195933c558267365d6a00eefe5"/><file name="Language.php" hash="b0c5565387da37f6d0552857c2b3e2b6"/><file name="Terms.php" hash="93acd6725ce244ac222adb0b165223e1"/></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Keyencrypted.php" hash="aea6fcb029ce9f46e3dc6c1426568e9c"/></dir><dir name="Source"><dir name="Order"><dir name="Status"><file name="Accepted.php" hash="04f97cac13ad710e29a183c8f08ff339"/><file name="Canceled.php" hash="cae43f7423ef0624658ed9d54cfe5ab8"/><file name="New.php" hash="22a02b745eb79358c91f5c0d9ac0f10c"/><file name="Refused.php" hash="a9df8dc9410313b853a838a48984e83d"/></dir><file name="Status.php" hash="a4c7398a13bae87ce4793a8a7dc465e5"/></dir><file name="Version.php" hash="c4273bbc92fd8c51feca05c26240cd9a"/></dir></dir></dir></dir><dir name="controllers"><file name="PaymentController.php" hash="47a578f97fbed401a4146de0ba16f23a"/></dir><dir name="etc"><file name="config.xml" hash="0fba44d77d3f986c3870011f44322e78"/><file name="system.xml" hash="bc325922258ff81297b641ed970a41aa"/></dir><dir name="sql"><dir name="cybermut_setup"><file name="mysql4-install-0.1.0.php" hash="de0ad6c3d1a8e5d8aa5b553173a74746"/><file name="mysql4-upgrade-1.0.1-1.0.2.php" hash="3c56e3916ab1cc74ad2125aba411ce6e"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Quadra_Cybermut.xml" hash="d116d58bcaea393812e423a5b8cead10"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="cybermut"><file name="error.phtml" hash="63ead134677386abceeb8b863892e608"/><file name="form.phtml" hash="90ce87aef318656543478dc76f7fa10a"/></dir></dir><dir name="layout"><file name="cybermut.xml" hash="341360c0a2fd524d267328391332f523"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Quadra_Cybermut.csv" hash="447ff1cd9ee16019041ba52459de32f8"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="media"><dir name="cybermut"><file name="cb.gif" hash="297387b1588bc880bd9d9abe00db73c5"/><file name="master.gif" hash="1fd622c6300f37711c983074be1fdae5"/><file name="visa.gif" hash="d2b7afda7cfdf78ae63b0c71f99beac8"/></dir></dir></dir></dir></dir></dir></target></contents>
|
| 50 |
<compatible/>
|
| 51 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php><package><name>Quadra_Extensions</name><channel>community</channel><min>1.0.0</min><max></max></package></required></dependencies>
|
| 52 |
</package>
|
