Version Notes
Official commit
Download this release
Release Info
Developer | Magento Core Team |
Extension | Fianet_Sac |
Version | 1.1.3 |
Comparing to | |
See all releases |
Code changes from version 1.1.2 to 1.1.3
- app/code/community/Fianet/Sac/Block/Adminhtml/Payment/Configuration.php +1 -1
- app/code/community/Fianet/Sac/Block/Adminhtml/Payment/Edit/Form.php +1 -1
- app/code/community/Fianet/Sac/Helper/Data.php +1 -1
- app/code/community/Fianet/Sac/Helper/Order.php +2 -2
- app/code/community/Fianet/Sac/Model/Action.php +1 -1
- app/code/community/Fianet/Sac/Model/Fianet/Order/Info/Sac.php +1 -1
- app/code/community/Fianet/Sac/Model/Fianet/Order/Sac.php +21 -8
- app/code/community/Fianet/Sac/Model/Mysql4/Payment/Association.php +1 -1
- app/code/community/Fianet/Sac/Model/Mysql4/Payment/Association/Collection.php +1 -1
- app/code/community/Fianet/Sac/Model/Observer.php +1 -1
- app/code/community/Fianet/Sac/Model/Payment/Association.php +1 -1
- app/code/community/Fianet/Sac/Model/Product.php +1 -1
- app/code/community/Fianet/Sac/Model/Source/Statut.php +1 -1
- app/code/community/Fianet/Sac/Model/Source/Type.php +1 -1
- app/code/community/Fianet/Sac/controllers/Adminhtml/PaymentController.php +1 -1
- app/code/community/Fianet/Sac/etc/adminhtml.xml +1 -1
- app/code/community/Fianet/Sac/etc/config.xml +2 -2
- app/code/community/Fianet/Sac/etc/system.xml +228 -228
- app/code/community/Fianet/Sac/sql/sac_setup/mysql4-install-0.0.1.php +4 -2
- app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.1-0.0.2.php +1 -1
- app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.10-0.0.11.php +1 -1
- app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.11-0.0.12.php +4 -2
- app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.12-0.0.13.php +1 -1
- app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.13-1.0.0.php +1 -1
- app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.2-0.0.3.php +1 -1
- app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.3-0.0.4.php +1 -1
- app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.4-0.0.5.php +1 -1
- app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-1.0.0-1.0.1.php +4 -2
- app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-1.0.3-1.0.4.php +4 -2
- app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-1.0.5-1.1.0.php +4 -2
- app/design/adminhtml/default/default/layout/sac.xml +1 -1
- app/etc/modules/Fianet_Sac.xml +2 -2
- package.xml +4 -4
app/code/community/Fianet/Sac/Block/Adminhtml/Payment/Configuration.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Block_Adminhtml_Payment_Configuration extends Mage_Adminhtml_Block_Widget_Form_Container {
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Block_Adminhtml_Payment_Configuration extends Mage_Adminhtml_Block_Widget_Form_Container {
|
app/code/community/Fianet/Sac/Block/Adminhtml/Payment/Edit/Form.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Block_Adminhtml_Payment_Edit_Form extends Mage_Adminhtml_Block_Widget_Form {
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Block_Adminhtml_Payment_Edit_Form extends Mage_Adminhtml_Block_Widget_Form {
|
app/code/community/Fianet/Sac/Helper/Data.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Helper_Data extends Mage_Core_Helper_Abstract {
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Helper_Data extends Mage_Core_Helper_Abstract {
|
app/code/community/Fianet/Sac/Helper/Order.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Helper_Order extends Mage_Core_Helper_Abstract {
|
@@ -82,7 +82,7 @@ class Fianet_Sac_Helper_Order extends Mage_Core_Helper_Abstract {
|
|
82 |
if (!$order->getId()) {
|
83 |
Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim: invalid order #%s.', $order->getIncrementId()));
|
84 |
return false;
|
85 |
-
}
|
86 |
|
87 |
//Pas d'envoi si le module n'est pas activé et si l'ID FIA-NET n'est pas indiqué
|
88 |
if ($order->getStatus() != '') {
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Helper_Order extends Mage_Core_Helper_Abstract {
|
82 |
if (!$order->getId()) {
|
83 |
Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim: invalid order #%s.', $order->getIncrementId()));
|
84 |
return false;
|
85 |
+
}
|
86 |
|
87 |
//Pas d'envoi si le module n'est pas activé et si l'ID FIA-NET n'est pas indiqué
|
88 |
if ($order->getStatus() != '') {
|
app/code/community/Fianet/Sac/Model/Action.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Model_Action {
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Model_Action {
|
app/code/community/Fianet/Sac/Model/Fianet/Order/Info/Sac.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Model_Fianet_Order_Info_Sac {
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Model_Fianet_Order_Info_Sac {
|
app/code/community/Fianet/Sac/Model/Fianet/Order/Sac.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Model_Fianet_Order_Sac {
|
@@ -358,20 +358,33 @@ class Fianet_Sac_Model_Fianet_Order_Sac {
|
|
358 |
$auth = "";
|
359 |
|
360 |
$paymentType = (Mage::getModel('sac/payment_association')->load($order->getPayment()->getMethod())->getValue())? Mage::getModel('sac/payment_association')->load($order->getPayment()->getMethod())->getValue() : "NC";
|
361 |
-
|
362 |
-
|
363 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
364 |
}
|
365 |
|
366 |
-
$sacOrder->payment->auth = $auth;
|
367 |
-
$sacOrder->payment->type = $paymentType;
|
368 |
-
|
369 |
if ($franfinancePayment) {
|
370 |
if ($order->getPayment()->getMethod() == "atos3s_sprint")
|
371 |
$sacOrder->payment->nom = "SPRINT SECURE";
|
372 |
if ($order->getPayment()->getMethod() == "atos3xweb_web")
|
373 |
$sacOrder->payment->nom = "3xWEB";
|
374 |
-
//$sacOrder->payment->
|
375 |
}
|
376 |
}
|
377 |
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Model_Fianet_Order_Sac {
|
358 |
$auth = "";
|
359 |
|
360 |
$paymentType = (Mage::getModel('sac/payment_association')->load($order->getPayment()->getMethod())->getValue())? Mage::getModel('sac/payment_association')->load($order->getPayment()->getMethod())->getValue() : "NC";
|
361 |
+
switch ($paymentType) {
|
362 |
+
case 'carte + 3DS' :
|
363 |
+
$sacOrder->payment->auth = '3DS';
|
364 |
+
$sacOrder->payment->type = 'carte';
|
365 |
+
break;
|
366 |
+
case 'paypal' :
|
367 |
+
case 'buyster' :
|
368 |
+
case 'buybox' :
|
369 |
+
$sacOrder->payment->type = 'wallet';
|
370 |
+
$sacOrder->payment->nom = $paymentType;
|
371 |
+
break;
|
372 |
+
case 'cb en n fois' :
|
373 |
+
$sacOrder->payment->type = 'carte';
|
374 |
+
$sacOrder->payment->fractions = -1;
|
375 |
+
break;
|
376 |
+
default :
|
377 |
+
$sacOrder->payment->auth = $auth;
|
378 |
+
$sacOrder->payment->type = $paymentType;
|
379 |
+
break;
|
380 |
}
|
381 |
|
|
|
|
|
|
|
382 |
if ($franfinancePayment) {
|
383 |
if ($order->getPayment()->getMethod() == "atos3s_sprint")
|
384 |
$sacOrder->payment->nom = "SPRINT SECURE";
|
385 |
if ($order->getPayment()->getMethod() == "atos3xweb_web")
|
386 |
$sacOrder->payment->nom = "3xWEB";
|
387 |
+
//$sacOrder->payment->fractions = "fractions";
|
388 |
}
|
389 |
}
|
390 |
|
app/code/community/Fianet/Sac/Model/Mysql4/Payment/Association.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Model_Mysql4_Payment_Association extends Fianet_Core_Model_Mysql4_Abstract {
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Model_Mysql4_Payment_Association extends Fianet_Core_Model_Mysql4_Abstract {
|
app/code/community/Fianet/Sac/Model/Mysql4/Payment/Association/Collection.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Model_Mysql4_Payment_Association_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Model_Mysql4_Payment_Association_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
|
app/code/community/Fianet/Sac/Model/Observer.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Model_Observer {
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Model_Observer {
|
app/code/community/Fianet/Sac/Model/Payment/Association.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Model_Payment_Association extends Mage_Core_Model_Abstract {
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Model_Payment_Association extends Mage_Core_Model_Abstract {
|
app/code/community/Fianet/Sac/Model/Product.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Model_Product extends Fianet_Core_Model_Product {
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Model_Product extends Fianet_Core_Model_Product {
|
app/code/community/Fianet/Sac/Model/Source/Statut.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Model_Source_Statut {
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Model_Source_Statut {
|
app/code/community/Fianet/Sac/Model/Source/Type.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Model_Source_Type {
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Model_Source_Type {
|
app/code/community/Fianet/Sac/controllers/Adminhtml/PaymentController.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Adminhtml_PaymentController extends Mage_Adminhtml_Controller_Action {
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
class Fianet_Sac_Adminhtml_PaymentController extends Mage_Adminhtml_Controller_Action {
|
app/code/community/Fianet/Sac/etc/adminhtml.xml
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
-->
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
-->
|
app/code/community/Fianet/Sac/etc/config.xml
CHANGED
@@ -12,14 +12,14 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
-->
|
19 |
<config>
|
20 |
<modules>
|
21 |
<Fianet_Sac>
|
22 |
-
<version>1.1.
|
23 |
</Fianet_Sac>
|
24 |
</modules>
|
25 |
<admin>
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
-->
|
19 |
<config>
|
20 |
<modules>
|
21 |
<Fianet_Sac>
|
22 |
+
<version>1.1.3</version>
|
23 |
</Fianet_Sac>
|
24 |
</modules>
|
25 |
<admin>
|
app/code/community/Fianet/Sac/etc/system.xml
CHANGED
@@ -12,236 +12,236 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
-->
|
19 |
<config>
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
</config>
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
-->
|
19 |
<config>
|
20 |
+
<sections>
|
21 |
+
<sac translate="label">
|
22 |
+
<label>Certissim</label>
|
23 |
+
<tab>fianet</tab>
|
24 |
+
<frontend_type>text</frontend_type>
|
25 |
+
<sort_order>1000</sort_order>
|
26 |
+
<show_in_default>1</show_in_default>
|
27 |
+
<show_in_website>1</show_in_website>
|
28 |
+
<show_in_store>1</show_in_store>
|
29 |
+
<groups>
|
30 |
+
<!-- New groups go here -->
|
31 |
+
<sacconfg translate="label">
|
32 |
+
<label>General configuration</label>
|
33 |
+
<frontend_type>text</frontend_type>
|
34 |
+
<sort_order>1</sort_order>
|
35 |
+
<show_in_default>1</show_in_default>
|
36 |
+
<show_in_website>1</show_in_website>
|
37 |
+
<show_in_store>1</show_in_store>
|
38 |
+
<fields>
|
39 |
+
<!-- New fields go here -->
|
40 |
+
<active translate="label">
|
41 |
+
<label>Activate Certissim</label>
|
42 |
+
<frontend_type>select</frontend_type>
|
43 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
44 |
+
<sort_order>1</sort_order>
|
45 |
+
<show_in_default>1</show_in_default>
|
46 |
+
<show_in_website>1</show_in_website>
|
47 |
+
<show_in_store>0</show_in_store>
|
48 |
+
</active>
|
49 |
+
<siteid translate="label, comment">
|
50 |
+
<label>Site ID</label>
|
51 |
+
<frontend_type>text</frontend_type>
|
52 |
+
<depends>
|
53 |
+
<active>1</active>
|
54 |
+
</depends>
|
55 |
+
<sort_order>2</sort_order>
|
56 |
+
<show_in_default>1</show_in_default>
|
57 |
+
<show_in_website>1</show_in_website>
|
58 |
+
<show_in_store>0</show_in_store>
|
59 |
+
</siteid>
|
60 |
+
<compte translate="label, comment">
|
61 |
+
<label>FIA-NET Login</label>
|
62 |
+
<frontend_type>text</frontend_type>
|
63 |
+
<depends>
|
64 |
+
<active>1</active>
|
65 |
+
</depends>
|
66 |
+
<sort_order>3</sort_order>
|
67 |
+
<show_in_default>1</show_in_default>
|
68 |
+
<show_in_website>1</show_in_website>
|
69 |
+
<show_in_store>0</show_in_store>
|
70 |
+
</compte>
|
71 |
+
<password translate="label, comment">
|
72 |
+
<label>Password</label>
|
73 |
+
<comment><![CDATA[Site ID, Login and Password are provided in your Certissim account]]></comment>
|
74 |
+
<frontend_type>text</frontend_type>
|
75 |
+
<depends>
|
76 |
+
<active>1</active>
|
77 |
+
</depends>
|
78 |
+
<sort_order>4</sort_order>
|
79 |
+
<show_in_default>1</show_in_default>
|
80 |
+
<show_in_website>1</show_in_website>
|
81 |
+
<show_in_store>0</show_in_store>
|
82 |
+
</password>
|
83 |
+
<activefranfinance translate="label">
|
84 |
+
<label>Activate Franfinance</label>
|
85 |
+
<frontend_type>select</frontend_type>
|
86 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
87 |
+
<sort_order>5</sort_order>
|
88 |
+
<show_in_default>1</show_in_default>
|
89 |
+
<show_in_website>1</show_in_website>
|
90 |
+
<show_in_store>0</show_in_store>
|
91 |
+
</activefranfinance>
|
92 |
+
<idfranfinance translate="label, comment">
|
93 |
+
<label>Certissim Franfinance ID</label>
|
94 |
+
<comment><![CDATA[Franfinance ID is provided in your Certissim account]]></comment>
|
95 |
+
<frontend_type>text</frontend_type>
|
96 |
+
<depends>
|
97 |
+
<activefranfinance>1</activefranfinance>
|
98 |
+
</depends>
|
99 |
+
<sort_order>6</sort_order>
|
100 |
+
<show_in_default>1</show_in_default>
|
101 |
+
<show_in_website>1</show_in_website>
|
102 |
+
<show_in_store>0</show_in_store>
|
103 |
+
</idfranfinance>
|
104 |
+
<mode translate="label">
|
105 |
+
<label>Test or production mode</label>
|
106 |
+
<frontend_type>select</frontend_type>
|
107 |
+
<source_model>fianet/source_mode</source_model>
|
108 |
+
<sort_order>9</sort_order>
|
109 |
+
<show_in_default>1</show_in_default>
|
110 |
+
<show_in_website>1</show_in_website>
|
111 |
+
<show_in_store>0</show_in_store>
|
112 |
+
</mode>
|
113 |
+
<encryptmode translate="label">
|
114 |
+
<label>Encryption mode</label>
|
115 |
+
<frontend_type>select</frontend_type>
|
116 |
+
<source_model>fianet/source_crypt</source_model>
|
117 |
+
<sort_order>10</sort_order>
|
118 |
+
<show_in_default>1</show_in_default>
|
119 |
+
<show_in_website>0</show_in_website>
|
120 |
+
<show_in_store>0</show_in_store>
|
121 |
+
</encryptmode>
|
122 |
+
<charset translate="label">
|
123 |
+
<label>Charset</label>
|
124 |
+
<frontend_type>select</frontend_type>
|
125 |
+
<source_model>fianet/source_charset</source_model>
|
126 |
+
<sort_order>11</sort_order>
|
127 |
+
<show_in_default>1</show_in_default>
|
128 |
+
<show_in_website>0</show_in_website>
|
129 |
+
<show_in_store>0</show_in_store>
|
130 |
+
</charset>
|
131 |
+
<defaultproducttype translate="label">
|
132 |
+
<label>Default product type</label>
|
133 |
+
<frontend_type>select</frontend_type>
|
134 |
+
<source_model>fianet/source_productType</source_model>
|
135 |
+
<sort_order>12</sort_order>
|
136 |
+
<show_in_default>1</show_in_default>
|
137 |
+
<show_in_website>1</show_in_website>
|
138 |
+
<show_in_store>0</show_in_store>
|
139 |
+
</defaultproducttype>
|
140 |
+
<timecontrol translate="label, comment">
|
141 |
+
<label>Maximum delay to sending commands (in day)</label>
|
142 |
+
<comment><![CDATA[Orders placed before this time will not be sent to CERTISSIM]]></comment>
|
143 |
+
<frontend_type>text</frontend_type>
|
144 |
+
<sort_order>13</sort_order>
|
145 |
+
<show_in_default>1</show_in_default>
|
146 |
+
<show_in_website>1</show_in_website>
|
147 |
+
<show_in_store>0</show_in_store>
|
148 |
+
</timecontrol>
|
149 |
+
<procasso translate="label, comment">
|
150 |
+
<label>List of Magento's Statuses</label>
|
151 |
+
<comment><![CDATA[Select the status for which the transaction will be sent to CERTISSIM system (multiple selections possible)]]></comment>
|
152 |
+
<frontend_type>multiselect</frontend_type>
|
153 |
+
<source_model>sac/source_statut</source_model>
|
154 |
+
<sort_order>14</sort_order>
|
155 |
+
<show_in_default>1</show_in_default>
|
156 |
+
<show_in_website>1</show_in_website>
|
157 |
+
<show_in_store>0</show_in_store>
|
158 |
+
</procasso>
|
159 |
+
<downloadableproducts translate="label">
|
160 |
+
<label>Activate management of downloadable/virtual products</label>
|
161 |
+
<frontend_type>select</frontend_type>
|
162 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
163 |
+
<sort_order>15</sort_order>
|
164 |
+
<show_in_default>1</show_in_default>
|
165 |
+
<show_in_website>1</show_in_website>
|
166 |
+
<show_in_store>0</show_in_store>
|
167 |
+
</downloadableproducts>
|
168 |
+
</fields>
|
169 |
+
</sacconfg>
|
170 |
+
<saclink translate="label">
|
171 |
+
<label>Links</label>
|
172 |
+
<frontend_type>text</frontend_type>
|
173 |
+
<sort_order>2</sort_order>
|
174 |
+
<show_in_default>1</show_in_default>
|
175 |
+
<show_in_website>1</show_in_website>
|
176 |
+
<show_in_store>1</show_in_store>
|
177 |
+
<fields>
|
178 |
+
<!-- New fields go here -->
|
179 |
+
<produrl translate="label">
|
180 |
+
<label>Production URL</label>
|
181 |
+
<frontend_type>text</frontend_type>
|
182 |
+
<sort_order>1</sort_order>
|
183 |
+
<show_in_default>1</show_in_default>
|
184 |
+
<show_in_website>0</show_in_website>
|
185 |
+
<show_in_store>0</show_in_store>
|
186 |
+
</produrl>
|
187 |
+
<testurl translate="label">
|
188 |
+
<label>Test URL</label>
|
189 |
+
<frontend_type>text</frontend_type>
|
190 |
+
<sort_order>2</sort_order>
|
191 |
+
<show_in_default>1</show_in_default>
|
192 |
+
<show_in_website>0</show_in_website>
|
193 |
+
<show_in_store>0</show_in_store>
|
194 |
+
</testurl>
|
195 |
+
<stacking translate="label">
|
196 |
+
<label>Script for sending orders</label>
|
197 |
+
<frontend_type>text</frontend_type>
|
198 |
+
<sort_order>3</sort_order>
|
199 |
+
<show_in_default>1</show_in_default>
|
200 |
+
<show_in_website>0</show_in_website>
|
201 |
+
<show_in_store>0</show_in_store>
|
202 |
+
</stacking>
|
203 |
+
<copilot translate="label">
|
204 |
+
<label>Script for sending payment authentication</label>
|
205 |
+
<sort_order>4</sort_order>
|
206 |
+
<show_in_default>1</show_in_default>
|
207 |
+
<show_in_website>0</show_in_website>
|
208 |
+
<show_in_store>0</show_in_store>
|
209 |
+
</copilot>
|
210 |
+
<validstack translate="label">
|
211 |
+
<label>Script for recovery evaluations</label>
|
212 |
+
<frontend_type>text</frontend_type>
|
213 |
+
<sort_order>5</sort_order>
|
214 |
+
<show_in_default>1</show_in_default>
|
215 |
+
<show_in_website>0</show_in_website>
|
216 |
+
<show_in_store>0</show_in_store>
|
217 |
+
</validstack>
|
218 |
+
<alert translate="label">
|
219 |
+
<label>Script for recovery reevaluations</label>
|
220 |
+
<frontend_type>text</frontend_type>
|
221 |
+
<sort_order>6</sort_order>
|
222 |
+
<show_in_default>1</show_in_default>
|
223 |
+
<show_in_website>0</show_in_website>
|
224 |
+
<show_in_store>0</show_in_store>
|
225 |
+
</alert>
|
226 |
+
<interface translate="label">
|
227 |
+
<label>CERTISSIM Interface</label>
|
228 |
+
<frontend_type>text</frontend_type>
|
229 |
+
<sort_order>7</sort_order>
|
230 |
+
<show_in_default>1</show_in_default>
|
231 |
+
<show_in_website>0</show_in_website>
|
232 |
+
<show_in_store>0</show_in_store>
|
233 |
+
</interface>
|
234 |
+
<checkxml translate="label">
|
235 |
+
<label>Check XML</label>
|
236 |
+
<frontend_type>text</frontend_type>
|
237 |
+
<sort_order>8</sort_order>
|
238 |
+
<show_in_default>1</show_in_default>
|
239 |
+
<show_in_website>0</show_in_website>
|
240 |
+
<show_in_store>0</show_in_store>
|
241 |
+
</checkxml>
|
242 |
+
</fields>
|
243 |
+
</saclink>
|
244 |
+
</groups>
|
245 |
+
</sac>
|
246 |
+
</sections>
|
247 |
</config>
|
app/code/community/Fianet/Sac/sql/sac_setup/mysql4-install-0.0.1.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
@@ -35,7 +35,9 @@ $installer->addAttribute('order', 'fianet_sac_mode', array('type' => 'varchar',
|
|
35 |
$installer->addAttribute('order', 'fianet_sac_evaluation', array('type' => 'varchar', 'visible' => false, 'required' => false));
|
36 |
$installer->addAttribute('order', 'fianet_sac_reevaluation', array('type' => 'varchar', 'visible' => false, 'required' => false));
|
37 |
|
38 |
-
if ((Mage::getEdition() == "Community" && version_compare(Mage::getVersion(), "1.4.0.1", '>')) ||
|
|
|
|
|
39 |
$installer->getConnection()->addColumn($installer->getTable('sales_flat_order_grid'), 'fianet_sac_evaluation', 'varchar(255) default NULL');
|
40 |
$installer->getConnection()->addColumn($installer->getTable('sales_flat_order_grid'), 'fianet_sac_mode', 'varchar(255) default NULL');
|
41 |
$installer->getConnection()->addColumn($installer->getTable('sales_flat_order_grid'), 'fianet_sac_reevaluation', 'varchar(255) default NULL');
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
35 |
$installer->addAttribute('order', 'fianet_sac_evaluation', array('type' => 'varchar', 'visible' => false, 'required' => false));
|
36 |
$installer->addAttribute('order', 'fianet_sac_reevaluation', array('type' => 'varchar', 'visible' => false, 'required' => false));
|
37 |
|
38 |
+
if ((Mage::getModel('fianet/functions')->getEdition() == "Community" && version_compare(Mage::getVersion(), "1.4.0.1", '>')) ||
|
39 |
+
(Mage::getModel('fianet/functions')->getEdition() == "Enterprise" && version_compare(Mage::getVersion(), "1.8.0.0", '>'))
|
40 |
+
) {
|
41 |
$installer->getConnection()->addColumn($installer->getTable('sales_flat_order_grid'), 'fianet_sac_evaluation', 'varchar(255) default NULL');
|
42 |
$installer->getConnection()->addColumn($installer->getTable('sales_flat_order_grid'), 'fianet_sac_mode', 'varchar(255) default NULL');
|
43 |
$installer->getConnection()->addColumn($installer->getTable('sales_flat_order_grid'), 'fianet_sac_reevaluation', 'varchar(255) default NULL');
|
app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.1-0.0.2.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.10-0.0.11.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.11-0.0.12.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
@@ -28,7 +28,9 @@ $paypalMethods = array(
|
|
28 |
Mage_Paypal_Model_Config::METHOD_WPP_PE_EXPRESS,
|
29 |
Mage_Paypal_Model_Config::METHOD_PAYFLOWPRO);
|
30 |
|
31 |
-
if ((Mage::getEdition() == "Community" && version_compare(Mage::getVersion(), "1.4.0.1", '>')) ||
|
|
|
|
|
32 |
$paypalMethods[] = Mage_Paypal_Model_Config::METHOD_PAYFLOWLINK;
|
33 |
$paypalMethods[] = Mage_Paypal_Model_Config::METHOD_HOSTEDPRO;
|
34 |
}
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
28 |
Mage_Paypal_Model_Config::METHOD_WPP_PE_EXPRESS,
|
29 |
Mage_Paypal_Model_Config::METHOD_PAYFLOWPRO);
|
30 |
|
31 |
+
if ((Mage::getModel('fianet/functions')->getEdition() == "Community" && version_compare(Mage::getVersion(), "1.4.0.1", '>')) ||
|
32 |
+
(Mage::getModel('fianet/functions')->getEdition() == "Enterprise" && version_compare(Mage::getVersion(), "1.8.0.0", '>'))
|
33 |
+
) {
|
34 |
$paypalMethods[] = Mage_Paypal_Model_Config::METHOD_PAYFLOWLINK;
|
35 |
$paypalMethods[] = Mage_Paypal_Model_Config::METHOD_HOSTEDPRO;
|
36 |
}
|
app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.12-0.0.13.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.13-1.0.0.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.2-0.0.3.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.3-0.0.4.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.4-0.0.5.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-1.0.0-1.0.1.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
@@ -21,7 +21,9 @@ $installer = $this;
|
|
21 |
$installer->startSetup();
|
22 |
$installer->addAttribute('order', 'fianet_sac_classement_id', array('type' => 'varchar', 'visible' => false, 'required' => false));
|
23 |
|
24 |
-
if ((Mage::getEdition() == "Community" && version_compare(Mage::getVersion(), "1.4.0.1", '>')) ||
|
|
|
|
|
25 |
$installer->getConnection()->addColumn($installer->getTable('sales_flat_order_grid'), 'fianet_sac_classement_id', 'varchar(255) default NULL');
|
26 |
}
|
27 |
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
21 |
$installer->startSetup();
|
22 |
$installer->addAttribute('order', 'fianet_sac_classement_id', array('type' => 'varchar', 'visible' => false, 'required' => false));
|
23 |
|
24 |
+
if ((Mage::getModel('fianet/functions')->getEdition() == "Community" && version_compare(Mage::getVersion(), "1.4.0.1", '>')) ||
|
25 |
+
(Mage::getModel('fianet/functions')->getEdition() == "Enterprise" && version_compare(Mage::getVersion(), "1.8.0.0", '>'))
|
26 |
+
) {
|
27 |
$installer->getConnection()->addColumn($installer->getTable('sales_flat_order_grid'), 'fianet_sac_classement_id', 'varchar(255) default NULL');
|
28 |
}
|
29 |
|
app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-1.0.3-1.0.4.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
@@ -23,7 +23,9 @@ $installer->startSetup();
|
|
23 |
$installer->removeAttribute('order','fianet_sac_classement_id');
|
24 |
$installer->addAttribute('order', 'fianet_sac_statutcoex', array('type' => 'varchar', 'visible' => false, 'required' => false));
|
25 |
|
26 |
-
if ((Mage::getEdition() == "Community" && version_compare(Mage::getVersion(), "1.4.0.1", '>')) ||
|
|
|
|
|
27 |
$installer->getConnection()->addColumn($installer->getTable('sales_flat_order_grid'), 'fianet_sac_statutcoex', 'varchar(255) default NULL');
|
28 |
$installer->getConnection()->dropColumn($installer->getTable('sales_flat_order_grid'), 'fianet_sac_classement_id');
|
29 |
}
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
23 |
$installer->removeAttribute('order','fianet_sac_classement_id');
|
24 |
$installer->addAttribute('order', 'fianet_sac_statutcoex', array('type' => 'varchar', 'visible' => false, 'required' => false));
|
25 |
|
26 |
+
if ((Mage::getModel('fianet/functions')->getEdition() == "Community" && version_compare(Mage::getVersion(), "1.4.0.1", '>')) ||
|
27 |
+
(Mage::getModel('fianet/functions')->getEdition() == "Enterprise" && version_compare(Mage::getVersion(), "1.8.0.0", '>'))
|
28 |
+
) {
|
29 |
$installer->getConnection()->addColumn($installer->getTable('sales_flat_order_grid'), 'fianet_sac_statutcoex', 'varchar(255) default NULL');
|
30 |
$installer->getConnection()->dropColumn($installer->getTable('sales_flat_order_grid'), 'fianet_sac_classement_id');
|
31 |
}
|
app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-1.0.5-1.1.0.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
@@ -22,7 +22,9 @@ $installer->startSetup();
|
|
22 |
//ajout de la colonne fianet_sac_franfinance suite � l'�volution du produit Certissim
|
23 |
$installer->addAttribute('order', 'fianet_sac_franfinance', array('type' => 'int', 'visible' => false, 'required' => false, 'default_value' => 0));
|
24 |
|
25 |
-
if ((Mage::getEdition() == "Community" && version_compare(Mage::getVersion(), "1.4.0.1", '>')) ||
|
|
|
|
|
26 |
$installer->getConnection()->addColumn($installer->getTable('sales_flat_order_grid'), 'fianet_sac_franfinance', 'int(11) default 0');
|
27 |
}
|
28 |
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
?>
|
22 |
//ajout de la colonne fianet_sac_franfinance suite � l'�volution du produit Certissim
|
23 |
$installer->addAttribute('order', 'fianet_sac_franfinance', array('type' => 'int', 'visible' => false, 'required' => false, 'default_value' => 0));
|
24 |
|
25 |
+
if ((Mage::getModel('fianet/functions')->getEdition() == "Community" && version_compare(Mage::getVersion(), "1.4.0.1", '>')) ||
|
26 |
+
(Mage::getModel('fianet/functions')->getEdition() == "Enterprise" && version_compare(Mage::getVersion(), "1.8.0.0", '>'))
|
27 |
+
) {
|
28 |
$installer->getConnection()->addColumn($installer->getTable('sales_flat_order_grid'), 'fianet_sac_franfinance', 'int(11) default 0');
|
29 |
}
|
30 |
|
app/design/adminhtml/default/default/layout/sac.xml
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
-->
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
-->
|
app/etc/modules/Fianet_Sac.xml
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
-
* @version Release: $Revision: 1.1.
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
-->
|
@@ -24,7 +24,7 @@
|
|
24 |
<depends>
|
25 |
<Fianet_Core />
|
26 |
</depends>
|
27 |
-
<version>1.1.
|
28 |
</Fianet_Sac>
|
29 |
</modules>
|
30 |
</config>
|
12 |
*
|
13 |
* @author FIA-NET <support-boutique@fia-net.com>
|
14 |
* @copyright 2000-2014 FIA-NET
|
15 |
+
* @version Release: $Revision: 1.1.3 $
|
16 |
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
17 |
*/
|
18 |
-->
|
24 |
<depends>
|
25 |
<Fianet_Core />
|
26 |
</depends>
|
27 |
+
<version>1.1.3</version>
|
28 |
</Fianet_Sac>
|
29 |
</modules>
|
30 |
</config>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Fianet_Sac</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/OSL-3.0">Open Software License (OSL 3.0)</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>Anti-Fraud System</description>
|
11 |
<notes>Official commit</notes>
|
12 |
<authors><author><name>FIA-NET</name><user>auto-converted</user><email>support-boutique@fia-net.com</email></author></authors>
|
13 |
-
<date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Fianet"><dir name="Sac"><dir name="Block"><dir name="Adminhtml"><dir name="Payment"><dir name="Edit"><file name="Form.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><package><name>Fianet_Core</name><channel>community</channel><min>1.0.6</min><max></max></package></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Fianet_Sac</name>
|
4 |
+
<version>1.1.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/OSL-3.0">Open Software License (OSL 3.0)</license>
|
7 |
<channel>community</channel>
|
10 |
<description>Anti-Fraud System</description>
|
11 |
<notes>Official commit</notes>
|
12 |
<authors><author><name>FIA-NET</name><user>auto-converted</user><email>support-boutique@fia-net.com</email></author></authors>
|
13 |
+
<date>2015-03-30</date>
|
14 |
+
<time>08:19:44</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Fianet"><dir name="Sac"><dir name="Block"><dir name="Adminhtml"><dir name="Payment"><dir name="Edit"><file name="Form.php" hash="a252a62eea19e6011a9e4d758aec0c0b"/></dir><file name="Configuration.php" hash="9dcfa89bdc04023cf501341ee5cfaecc"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="d3d046ee6a74de61c1166f88387890e2"/><file name="Order.php" hash="d3f57d4ef6301d87be14e54a7727a63a"/></dir><dir name="Model"><dir name="Fianet"><dir name="Order"><dir name="Info"><file name="Sac.php" hash="300e05d9d80167d41f757fbaebc3e891"/></dir><file name="Sac.php" hash="c3191a0d8c2327336e8f7b9b6f4b7dc2"/></dir></dir><dir name="Mysql4"><dir name="Payment"><dir name="Association"><file name="Collection.php" hash="38f9f8aa114996341d1a83b6b19a5b9c"/></dir><file name="Association.php" hash="6a31fdfa336371b5e712dc9d16586113"/></dir></dir><dir name="Payment"><file name="Association.php" hash="8b3a927f47cd8e0b6f0af75c695bf1bf"/></dir><dir name="Source"><file name="Statut.php" hash="1d76e5bba53c8c8911bc42c8cd5a359d"/><file name="Type.php" hash="c9917ec31da4f5ccc043f5da0057e7b2"/></dir><file name="Action.php" hash="fc5486fd75b6a8e1e4dd3756f43adfeb"/><file name="Observer.php" hash="23bfd5a14d428fc4d33fbdce4846d5a8"/><file name="Product.php" hash="2c2225f7304fb8f793aa5bbfe9e47967"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="PaymentController.php" hash="f072209adb0f503d758f17f0e6faf8d9"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="d7d8378752c5d1e6525f717df3b0195e"/><file name="config.xml" hash="8d100114dde26af326c8f5763bd47244"/><file name="system.xml" hash="676373d07323e6410575cd637123578d"/></dir><dir name="sql"><dir name="sac_setup"><file name="mysql4-install-0.0.1.php" hash="7d1fcbf7566fb8026226e5c27d7c64b2"/><file name="mysql4-upgrade-0.0.1-0.0.2.php" hash="55f4d0a4957d8e0be15fdc7de42ef8de"/><file name="mysql4-upgrade-0.0.10-0.0.11.php" hash="5e311597a2c801e2f6d2eb3527cca8d6"/><file name="mysql4-upgrade-0.0.11-0.0.12.php" hash="1bd6b40ce4559cccab1e799d3abe894e"/><file name="mysql4-upgrade-0.0.12-0.0.13.php" hash="89454ad7b2193facd92b33ef222edff0"/><file name="mysql4-upgrade-0.0.13-1.0.0.php" hash="87b49469350e4ff007b3d3494fb287ed"/><file name="mysql4-upgrade-0.0.2-0.0.3.php" hash="1180234715db04cc2ac38b692fc46719"/><file name="mysql4-upgrade-0.0.3-0.0.4.php" hash="751e43a0f493739d791df92c45395822"/><file name="mysql4-upgrade-0.0.4-0.0.5.php" hash="bddc03b0e04b684356f1f89ad3e00432"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="d28a2c35b72c2431a5686fdcee52947e"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="687bc389a31ac07ab0adf173863ecd67"/><file name="mysql4-upgrade-1.0.5-1.1.0.php" hash="d6c4db8c41d1b7d2198b0bd7c8e16425"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="sac.xml" hash="940abb8d39697f08c650faa12547a93b"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Fianet_Sac.xml" hash="5f7693d82fe7fe1a5aaba85868305dfa"/></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Fianet_Sac.csv" hash="8ebf1f8269a1b76cafe842411cd0e795"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="fianet"><file name="attention.gif" hash="d85cab75ed2cba677829db26b1f0a6c2"/><file name="fianet_SAC_icon.gif" hash="be9ce72c9a2bd81611a9e82537a8e15a"/><file name="rond_rouge.gif" hash="c605401e88cd234a31691dc9e4a38b05"/><file name="rond_vert.gif" hash="ce704184ee159f7008f81af51a747e71"/><file name="rond_vertclair.gif" hash="b0310ca593cd539b88463d720df3cd60"/><file name="rond_orange.gif" hash="b97b309b0b0dc155ee07b0198209d21e"/></dir></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><package><name>Fianet_Core</name><channel>community</channel><min>1.0.6</min><max></max></package></required></dependencies>
|
18 |
</package>
|