Fianet_Sac - Version 1.1.1

Version Notes

Official commit

Download this release

Release Info

Developer Magento Core Team
Extension Fianet_Sac
Version 1.1.1
Comparing to
See all releases


Code changes from version 1.1.0 to 1.1.1

Files changed (34) hide show
  1. app/code/community/Fianet/Sac/Block/Adminhtml/Payment/Configuration.php +1 -1
  2. app/code/community/Fianet/Sac/Block/Adminhtml/Payment/Edit/Form.php +5 -4
  3. app/code/community/Fianet/Sac/Helper/Data.php +1 -1
  4. app/code/community/Fianet/Sac/Helper/Order.php +1 -1
  5. app/code/community/Fianet/Sac/Model/Action.php +72 -60
  6. app/code/community/Fianet/Sac/Model/Fianet/Order/Info/Sac.php +1 -1
  7. app/code/community/Fianet/Sac/Model/Fianet/Order/Sac.php +95 -44
  8. app/code/community/Fianet/Sac/Model/Mysql4/Payment/Association.php +1 -1
  9. app/code/community/Fianet/Sac/Model/Mysql4/Payment/Association/Collection.php +1 -1
  10. app/code/community/Fianet/Sac/Model/Observer.php +28 -1
  11. app/code/community/Fianet/Sac/Model/Payment/Association.php +1 -1
  12. app/code/community/Fianet/Sac/Model/Product.php +1 -1
  13. app/code/community/Fianet/Sac/Model/Source/Statut.php +2 -2
  14. app/code/community/Fianet/Sac/Model/Source/Type.php +5 -2
  15. app/code/community/Fianet/Sac/controllers/Adminhtml/PaymentController.php +1 -1
  16. app/code/community/Fianet/Sac/etc/adminhtml.xml +1 -1
  17. app/code/community/Fianet/Sac/etc/config.xml +12 -2
  18. app/code/community/Fianet/Sac/etc/system.xml +208 -189
  19. app/code/community/Fianet/Sac/sql/sac_setup/mysql4-install-0.0.1.php +1 -1
  20. app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.1-0.0.2.php +1 -1
  21. app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.10-0.0.11.php +1 -1
  22. app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.11-0.0.12.php +1 -1
  23. app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.12-0.0.13.php +1 -1
  24. app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.13-1.0.0.php +1 -1
  25. app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.2-0.0.3.php +1 -1
  26. app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.3-0.0.4.php +1 -1
  27. app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-0.0.4-0.0.5.php +1 -1
  28. app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-1.0.0-1.0.1.php +1 -1
  29. app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-1.0.3-1.0.4.php +1 -1
  30. app/code/community/Fianet/Sac/sql/sac_setup/mysql4-upgrade-1.0.5-1.1.0.php +1 -1
  31. app/design/adminhtml/default/default/layout/sac.xml +1 -1
  32. app/etc/modules/Fianet_Sac.xml +2 -2
  33. app/locale/fr_FR/Fianet_Sac.csv +6 -3
  34. package.xml +5 -5
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.0 $
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.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 {
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.0 $
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 {
@@ -32,11 +32,12 @@ class Fianet_Sac_Block_Adminhtml_Payment_Edit_Form extends Mage_Adminhtml_Block_
32
33
$payments = Mage::getModel('fianet/mageConfiguration')->getPaymentMethods();
34
$values = Mage::getModel('sac/source_type')->toOptionArray();
35
-
36
- foreach ($payments as $code => $name) {
37
if ((!preg_match('#receiveandpay#', $code))&&(!preg_match('/kwx/i', $code))) {
38
$current_payment_association = Mage::getModel('sac/payment_association')->load($code);
39
-
40
$fieldset->addField($code, 'select', array(
41
'label' => $name,
42
'class' => 'required-entry',
12
*
13
* @author FIA-NET <support-boutique@fia-net.com>
14
* @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.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 {
32
33
$payments = Mage::getModel('fianet/mageConfiguration')->getPaymentMethods();
34
$values = Mage::getModel('sac/source_type')->toOptionArray();
35
+
36
+ foreach ($payments as $code => $name) {
37
+ if ($code == "paypal_group_all_in_one") $name = "PayPal All-in-One Payment Solutions";
38
if ((!preg_match('#receiveandpay#', $code))&&(!preg_match('/kwx/i', $code))) {
39
$current_payment_association = Mage::getModel('sac/payment_association')->load($code);
40
+
41
$fieldset->addField($code, 'select', array(
42
'label' => $name,
43
'class' => 'required-entry',
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.0 $
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.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 {
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.0 $
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 {
12
*
13
* @author FIA-NET <support-boutique@fia-net.com>
14
* @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.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 {
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.0 $
16
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
*/
18
class Fianet_Sac_Model_Action {
@@ -157,7 +157,7 @@ class Fianet_Sac_Model_Action {
157
}
158
159
//Si statutCoEx ou évaluation de l'appel est différent de celui en BDD
160
- if(($statutCoEx != $evaluation['statutcoex']) || ($eval != $evaluationOrder)) {
161
$queryW = "UPDATE `{$table}`";
162
$queryW .= " SET `fianet_sac_evaluation` = '{$eval}', `fianet_sac_statutcoex` = '{$evaluation['statutcoex']}'";
163
@@ -203,64 +203,76 @@ class Fianet_Sac_Model_Action {
203
}
204
205
public static function getReevaluation() {
206
- $nb = 0;
207
- Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__('Certissim: attempt to retrieve reevaluation...'));
208
- $reevaluations = Mage::getModel('fianet/fianet_sender')->getReevaluation();
209
-
210
- self::_initConnections();
211
-
212
- foreach ($reevaluations as $reevaluation) {
213
- if (isset($reevaluation['eval'])) {
214
- // Mise à jour par SQL sinon boucle infinie
215
- foreach (self::$_tables as $table) {
216
- $queryW = "UPDATE `{$table}`";
217
- $queryW .= " SET `fianet_sac_reevaluation` = '{$reevaluation['eval']}'";
218
- $queryW .= " WHERE `increment_id` = '{$reevaluation['refid']}';";
219
- self::$_writeConnection->query($queryW);
220
- }
221
-
222
- $order = Mage::getModel('sales/order')->loadByIncrementId($reevaluation['refid']);
223
-
224
- Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__('Certissim: order %s updated to eval %s.', $reevaluation['refid'], $reevaluation['eval']));
225
-
226
- try {
227
- $notification = Mage::getModel('adminnotification/inbox');
228
- $notification->setseverity(Mage_AdminNotification_Model_Inbox::SEVERITY_MINOR);
229
- $notification->setTitle(Mage::helper('fianet')->__('Certissim: order %s has been reevaluated.', $reevaluation['refid']));
230
- $notification->setDate_added(date('Y-m-d H:i:s'));
231
-
232
- switch ($reevaluation['eval']) {
233
- case('error'):
234
- $icon = 'attention.gif';
235
- break;
236
- case('100'):
237
- $icon = 'rond_vert.gif';
238
- break;
239
- case('-1'):
240
- $icon = 'rond_vertclair.gif';
241
- break;
242
- case('0'):
243
- $icon = 'rond_rouge.gif';
244
- break;
245
- default:
246
- $icon = 'fianet_SAC_icon.gif';
247
- break;
248
- }
249
-
250
- $img = '<img src="' . Mage::getDesign()->getSkinUrl('images/fianet/' . $icon) . '">';
251
- $message = Mage::helper('fianet')->__('Certissim: the order %s has now evaluation %s.', $reevaluation['refid'], $img);
252
-
253
- $notification->setDescription($message);
254
-
255
- $notification->setUrl(self::getUrlBO($order));
256
- $notification->save();
257
- } catch (Exception $e) {
258
- Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__('Certissim: %s.', $e->getMessage()));
259
- }
260
- $nb++;
261
- }
262
- }
263
- Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__('Certissim: retrieving reevaluation ended. %s reevaluation(s) found.', count($reevaluations)));
264
}
265
266
protected static function getUrlBO(Mage_Sales_Model_Order $order) {
12
*
13
* @author FIA-NET <support-boutique@fia-net.com>
14
* @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.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 {
157
}
158
159
//Si statutCoEx ou évaluation de l'appel est différent de celui en BDD
160
+ if (isset($evaluation['statutcoex']) && (($statutCoEx != $evaluation['statutcoex']) || ($eval != $evaluationOrder))) {
161
$queryW = "UPDATE `{$table}`";
162
$queryW .= " SET `fianet_sac_evaluation` = '{$eval}', `fianet_sac_statutcoex` = '{$evaluation['statutcoex']}'";
163
203
}
204
205
public static function getReevaluation() {
206
+ Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__('Certissim: attempt to retrieve reevaluation...'));
207
+
208
+ $nb = 0;
209
+ $websiteCollection = Mage::getModel('core/website')->getResourceCollection();
210
+ foreach ($websiteCollection as $website) {
211
+ $groupCollection = $website->getGroupCollection();
212
+ foreach ($groupCollection as $group) {
213
+ $storeCollection = $group->getStoreCollection();
214
+ foreach ($storeCollection as $store) {
215
+ $storeid = $store->getId();
216
+ $reevaluations = Mage::getModel('fianet/fianet_sender')->getReevaluation($storeid);
217
+
218
+ self::_initConnections();
219
+
220
+ foreach ($reevaluations as $reevaluation) {
221
+ if (isset($reevaluation['eval'])) {
222
+ // Mise à jour par SQL sinon boucle infinie
223
+ foreach (self::$_tables as $table) {
224
+ $queryW = "UPDATE `{$table}`";
225
+ $queryW .= " SET `fianet_sac_reevaluation` = '{$reevaluation['eval']}'";
226
+ $queryW .= " WHERE `increment_id` = '{$reevaluation['refid']}';";
227
+ self::$_writeConnection->query($queryW);
228
+ }
229
+
230
+ $order = Mage::getModel('sales/order')->loadByIncrementId($reevaluation['refid']);
231
+
232
+ Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__('Certissim: order %s updated to eval %s.', $reevaluation['refid'], $reevaluation['eval']));
233
+
234
+ try {
235
+ $notification = Mage::getModel('adminnotification/inbox');
236
+ $notification->setseverity(Mage_AdminNotification_Model_Inbox::SEVERITY_MINOR);
237
+ $notification->setTitle(Mage::helper('fianet')->__('Certissim: order %s has been reevaluated.', $reevaluation['refid']));
238
+ $notification->setDate_added(date('Y-m-d H:i:s'));
239
+
240
+ switch ($reevaluation['eval']) {
241
+ case ('error') :
242
+ $icon = 'attention.gif';
243
+ break;
244
+ case('100'):
245
+ $icon = 'rond_vert.gif';
246
+ break;
247
+ case('-1'):
248
+ $icon = 'rond_vertclair.gif';
249
+ break;
250
+ case('0'):
251
+ $icon = 'rond_rouge.gif';
252
+ break;
253
+ default:
254
+ $icon = 'fianet_SAC_icon.gif';
255
+ break;
256
+ }
257
+
258
+ $img = '<a href="' . self::getUrlBO($order) . '" target="_BLANK"><img src="' . Mage::getDesign()->getSkinUrl('images/fianet/' . $icon) . '"><a>';
259
+ $message = Mage::helper('fianet')->__('Certissim: the order %s has now evaluation %s.', $reevaluation['refid'], $img);
260
+
261
+ $notification->setDescription($message);
262
+ $notification->save();
263
+
264
+ } catch (Exception $e) {
265
+ Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__('Certissim: %s.', $e->getMessage()));
266
+ }
267
+
268
+ $nb++;
269
+ }
270
+ }
271
+ }
272
+ }
273
+ }
274
+
275
+ Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__('Certissim: retrieving reevaluation ended. %s reevaluation(s) found.', $nb));
276
}
277
278
protected static function getUrlBO(Mage_Sales_Model_Order $order) {
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.0 $
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.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 {
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.0 $
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 {
@@ -25,8 +25,10 @@ class Fianet_Sac_Model_Fianet_Order_Sac {
25
public $delivery_address = null;
26
public $scope_field = null;
27
public $scope_id = null;
28
protected $version = null;
29
protected $encoding = null;
30
31
public function __construct() {
32
$this->billing_user = Mage::getModel('fianet/fianet_order_user_billing');
@@ -45,12 +47,15 @@ class Fianet_Sac_Model_Fianet_Order_Sac {
45
$this->delivery_user = null;
46
$this->delivery_address = null;
47
}
48
-
49
public function getXml($display_signature = false) {
50
$xml = '';
51
if ($display_signature) {
52
$xml .= '<?xml version="1.0" encoding="' . $this->encoding . '"?>' . "\n";
53
}
54
$xml .= '<control fianetmodule="Magento_SAC" version="' . $this->version . '">' . "\n";
55
$xml .= $this->billing_user->getXml();
56
$xml .= $this->billing_address->getXml();
@@ -69,26 +74,36 @@ class Fianet_Sac_Model_Fianet_Order_Sac {
69
}
70
}
71
$xml .= $this->info_commande->getXml();
72
- $xml .= $this->payment->getXml();
73
$xml .= '</control>';
74
return ($xml);
75
}
76
-
77
- public static function generateSacOrder(Mage_Sales_Model_Order $order) {
78
$scope_field = "store_id";
79
$id = $order->getStore()->getId();
80
81
- //On v�rifie si le type de paiement est Franfinance
82
- $franfinancePayment = ($order->getPayment()->getMethod() == "atos3xweb_web" || $order->getPayment()->getMethod() == "atos3s_sprint") ? true : false;
83
84
$sacOrder = Mage::getModel('sac/fianet_order_sac');
85
-
86
$sacOrder->scope_field = $scope_field;
87
$sacOrder->scope_id = $id;
88
89
$billing_address = $order->getBillingAddress();
90
$shipping_address = ($order->getShippingAddress()) ? $order->getShippingAddress() : $order->getBillingAddress();
91
92
$sacOrder->billing_user->titre = $billing_address->getPrefix();
93
$sacOrder->billing_user->nom = $billing_address->getLastname();
94
$sacOrder->billing_user->prenom = $billing_address->getFirstname();
@@ -97,6 +112,29 @@ class Fianet_Sac_Model_Fianet_Order_Sac {
97
$sacOrder->billing_user->email = $billing_address->getEmail() == '' ? $order->getCustomer_email() : $billing_address->getEmail();
98
$sacOrder->billing_user->societe = $billing_address->getCompany();
99
100
if (trim($billing_address->getCompany()) != '') {
101
$sacOrder->billing_user->setQualityProfessional();
102
}
@@ -115,36 +153,44 @@ class Fianet_Sac_Model_Fianet_Order_Sac {
115
$sacOrder->delivery_user->prenom = $shipping_address->getFirstname();
116
$sacOrder->delivery_user->telhome = preg_replace("/[^0-9]/", "", $shipping_address->getTelephone());
117
$sacOrder->delivery_user->telfax = preg_replace("/[^0-9]/", "", $shipping_address->getFax());
118
- $sacOrder->delivery_user->email = ($shipping_address->getEmail() != $billing_address->getEmail()) ? $shipping_address->getEmail() : "";
119
$sacOrder->delivery_user->societe = $shipping_address->getCompany();
120
121
- $sacOrder->info_commande->refid = $order->getRealOrderId();
122
$sacOrder->info_commande->devise = $order->getBaseCurrencyCode();
123
- $sacOrder->info_commande->montant = $order->getBaseGrandTotal();
124
- //Si l'IP de l'internaute n'est pas pr�sente dans Magento (en cas de cr�ation de commande depuis le BO) alors on r�cup�re l'IP de la boutique
125
$sacOrder->info_commande->ip = (!$order->getRemoteIp()) ? $_SERVER['REMOTE_ADDR'] : $order->getRemoteIp();
126
- //La fonction $order->created_at de Magento retourne l'heure UTC peu importe la config. Pour obtenir celle de la boutique, il est donc n�cessaire d'appliquer la m�thode ci-dessous
127
- $sacOrder->info_commande->timestamp = Mage::getModel('core/date')->date(null,strtotime($order->created_at));
128
- //R�cup�ration du SiteID. Si le type de paiement est Franfinance, alors on r�cup�re l'ID Franfinance
129
$sacOrder->info_commande->siteid = ($franfinancePayment) ? Mage::getStoreConfig('sac/sacconfg/idfranfinance', $id) : Mage::getStoreConfig('sac/sacconfg/siteid', $id);
130
if ($sacOrder->info_commande->siteid == null && $id != 0)
131
$sacOrder->info_commande->siteid = ($franfinancePayment) ? Mage::getStoreConfig('sac/sacconfg/idfranfinance', '0') : Mage::getStoreConfig('sac/sacconfg/siteid', '0');
132
133
- if ($order->getShippingCarrier()) {
134
$shipping_code = $order->getShippingCarrier()->getCarrierCode();
135
$shipping = Mage::getModel('fianet/shipping_association')->load($shipping_code);
136
- }
137
138
//initialisation du type de transport
139
$type_transporteur = '';
140
$nom_transporteur = '';
141
$rapidite_transporteur = '';
142
143
- //Traitement particulier si la m�thode de livraison est So Colissimo
144
if ($shipping_code == "socolissimo" || $shipping_code == "socolissimosimplicite") {
145
$nom_transporteur = 'So Colissimo';
146
$rapidite_transporteur = '2';
147
- //R�cup�ration du num tel demand� par SoColissimo
148
if ($order->getSocoPhoneNumber())
149
$sacOrder->delivery_user->telmobile = $order->getSocoPhoneNumber();
150
@@ -172,17 +218,17 @@ class Fianet_Sac_Model_Fianet_Order_Sac {
172
$type_transporteur = '4';
173
break;
174
default:
175
- $type_transporteur = '4';
176
//On log l'erreur "So Colissimo mode de livraison inconnu"
177
Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__("Certissim: order #%s. Error with SoColissimo's return. Product Code %s was not recognized.", $order->getRealOrderId(), $order->getSocoProductCode()));
178
break;
179
}
180
- } elseif ($shipping_code == "relaypoint") {//Traitement particulier si la m�thode de livraison est Icirelais
181
$nom_transporteur = $shipping->getConveyorName();
182
$rapidite_transporteur = $shipping->getDeliveryTimes();
183
$type_transporteur = '2';
184
185
- if ($billing_address->getStreet(1) != $shipping_address->getStreet(1)) {//v�rification de s�curit�
186
$transport_adress = Mage::getModel('fianet/fianet_order_address_transport');
187
$transport_adress->rue1 = $shipping_address->getStreet(1);
188
$transport_adress->cpostal = $shipping_address->getPostcode();
@@ -190,7 +236,7 @@ class Fianet_Sac_Model_Fianet_Order_Sac {
190
$transport_adress->pays = (preg_match('/^97/', $shipping_address->getPostcode()))? 'FR' : $shipping_address->getCountry();
191
$sacOrder->info_commande->transport->adresse = $transport_adress;
192
}
193
- } elseif ($shipping_code == "envoimoinscher") {//Traitement particulier si la m�thode de livraison est Envoimoinscher
194
$nom_transporteur = $shipping->getConveyorName();
195
$rapidite_transporteur = $shipping->getDeliveryTimes();
196
@@ -216,7 +262,7 @@ class Fianet_Sac_Model_Fianet_Order_Sac {
216
} else {
217
$type_transporteur = '4';
218
}
219
- } elseif ($shipping_code == "gls") {//Traitement particulier si la m�thode de livraison est GLS
220
$nom_transporteur = $shipping->getConveyorName();
221
$rapidite_transporteur = $shipping->getDeliveryTimes();
222
@@ -239,10 +285,10 @@ class Fianet_Sac_Model_Fianet_Order_Sac {
239
$nom_transporteur = $shipping->getConveyorName();
240
$rapidite_transporteur = $shipping->getDeliveryTimes();
241
242
- if ($type_transporteur == "1") { //si r�cup�ration du colis chez le marchand
243
$sacOrder->info_commande->transport->enseigne = Mage::getStoreConfig('general/store_information/name');
244
245
- //r�cup�ration des informations de la boutique
246
$Collection = Mage::getModel('fianet/store_information')->getCollection()->load();
247
$storeInformation = true;
248
foreach ($Collection as $information) {
@@ -263,12 +309,13 @@ class Fianet_Sac_Model_Fianet_Order_Sac {
263
if ($type_transporteur == "2") { //si transport en point relais
264
//si module de point relais particulier, l'inscrire ici...
265
}
266
- } elseif (Mage::getStoreConfig('sac/sacconfg/downloadableproducts')) {//Produits t�l�chargeables ou produits virtuels
267
$type_transporteur = '5';
268
$nom_transporteur = 'Downloadable product or/and virtual product';
269
$rapidite_transporteur = '1';
270
}
271
}
272
$sacOrder->info_commande->transport->type = $type_transporteur;
273
$sacOrder->info_commande->transport->nom = Mage::helper('fianet')->__($nom_transporteur);
274
$sacOrder->info_commande->transport->rapidite = $rapidite_transporteur;
@@ -298,28 +345,32 @@ class Fianet_Sac_Model_Fianet_Order_Sac {
298
299
$product = Mage::getModel('fianet/fianet_order_info_productlist_product');
300
$product->type = Mage::getModel('sac/product')->load($item->getProductId())->getFianetProductType();
301
- $product->prixunit = $pAmount;
302
$product->name = $pName;
303
- $product->nb = (int) $item->getQtyOrdered();
304
$product->ref = $pSku;
305
$sacOrder->info_commande->list->addProduct($product);
306
}
307
308
- $auth = "";
309
- $paymentType = Mage::getModel('sac/payment_association')->load($order->getPayment()->getMethod())->getValue();
310
- if ($paymentType == "carte + 3DS") {
311
- $auth = "3DS";
312
- $paymentType = "carte";
313
- }
314
- //$sacOrder->payment->auth = $auth;
315
- $sacOrder->payment->type = $paymentType;
316
-
317
- if ($franfinancePayment) {
318
- if ($order->getPayment()->getMethod() == "atos3s_sprint")
319
- $sacOrder->payment->nom = "SPRINT SECURE";
320
- if ($order->getPayment()->getMethod() == "atos3xweb_web")
321
- $sacOrder->payment->nom = "3xWEB";
322
- //$sacOrder->payment->fraction = "fraction";
323
}
324
325
return ($sacOrder);
12
*
13
* @author FIA-NET <support-boutique@fia-net.com>
14
* @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.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 {
25
public $delivery_address = null;
26
public $scope_field = null;
27
public $scope_id = null;
28
+ public $paymentauthrequest_id = null;
29
protected $version = null;
30
protected $encoding = null;
31
+ protected $paymentauthrequest_version = '1.0';
32
33
public function __construct() {
34
$this->billing_user = Mage::getModel('fianet/fianet_order_user_billing');
47
$this->delivery_user = null;
48
$this->delivery_address = null;
49
}
50
+
51
public function getXml($display_signature = false) {
52
$xml = '';
53
if ($display_signature) {
54
$xml .= '<?xml version="1.0" encoding="' . $this->encoding . '"?>' . "\n";
55
}
56
+ if ($this->paymentauthrequest_id != null) {
57
+ $xml .= '<paymentAuthRequest id="' . $this->paymentauthrequest_id . '" version="' . $this->paymentauthrequest_version . '">' . "\n";
58
+ }
59
$xml .= '<control fianetmodule="Magento_SAC" version="' . $this->version . '">' . "\n";
60
$xml .= $this->billing_user->getXml();
61
$xml .= $this->billing_address->getXml();
74
}
75
}
76
$xml .= $this->info_commande->getXml();
77
+ if ($this->payment->type != null) {
78
+ $xml .= $this->payment->getXml();
79
+ }
80
$xml .= '</control>';
81
+ if ($this->paymentauthrequest_id != null) {
82
+ $xml .= "\n" . '</paymentAuthRequest>';
83
+ }
84
return ($xml);
85
}
86
+
87
+ /**
88
+ * @param $order Order Object
89
+ * @param $noPayment Boolean to check if XML is generated before or after Payment
90
+ */
91
+ public static function generateSacOrder(Mage_Sales_Model_Order $order, $noPayment = false) {
92
$scope_field = "store_id";
93
$id = $order->getStore()->getId();
94
95
+ //On vérifie si le type de paiement est Franfinance
96
+ $franfinancePayment = ((!$noPayment) && ($order->getPayment()->getMethod() == "atos3xweb_web" || $order->getPayment()->getMethod() == "atos3s_sprint")) ? true : false;
97
98
$sacOrder = Mage::getModel('sac/fianet_order_sac');
99
$sacOrder->scope_field = $scope_field;
100
$sacOrder->scope_id = $id;
101
+ $sacOrder->paymentauthrequest_id = ($noPayment) ? $order->getId() : null;
102
103
$billing_address = $order->getBillingAddress();
104
$shipping_address = ($order->getShippingAddress()) ? $order->getShippingAddress() : $order->getBillingAddress();
105
106
+ //Utilisateur facturation
107
$sacOrder->billing_user->titre = $billing_address->getPrefix();
108
$sacOrder->billing_user->nom = $billing_address->getLastname();
109
$sacOrder->billing_user->prenom = $billing_address->getFirstname();
112
$sacOrder->billing_user->email = $billing_address->getEmail() == '' ? $order->getCustomer_email() : $billing_address->getEmail();
113
$sacOrder->billing_user->societe = $billing_address->getCompany();
114
115
+ //siteconso
116
+ $orders = Mage::getResourceModel('sales/order_collection')
117
+ ->addAttributeToSelect('*')
118
+ ->addAttributeToFilter('customer_id', $order->getCustomerId())
119
+ ->addAttributeToFilter('state', array('nin' => array(Mage_Sales_Model_Order::STATE_CANCELED, Mage_Sales_Model_Order::STATE_NEW, Mage_Sales_Model_Order::STATE_PENDING_PAYMENT)))
120
+ ->addAttributeToSort('created_at', 'desc');
121
+
122
+ $tab_orders = array();
123
+ $orders_total = 0;$i = 0;
124
+ foreach ($orders as $_order) {
125
+ $tab_orders[$i] = $_order;
126
+ $orders_total = $orders_total + floatval($_order->getTotalInvoiced());
127
+ $i++;
128
+ }
129
+
130
+ $siteconso = Mage::getModel('fianet/fianet_order_user_siteconso');
131
+ $siteconso->nb = count($orders);
132
+ $siteconso->ca = number_format($orders_total, 2, '.', '');
133
+ $siteconso->datepremcmd = $tab_orders[$i-1]->getCreatedAt();
134
+ $siteconso->datederncmd = $tab_orders[0]->getCreatedAt();
135
+ $sacOrder->billing_user->siteconso = $siteconso;
136
+
137
+ //Utilisateur livraison
138
if (trim($billing_address->getCompany()) != '') {
139
$sacOrder->billing_user->setQualityProfessional();
140
}
153
$sacOrder->delivery_user->prenom = $shipping_address->getFirstname();
154
$sacOrder->delivery_user->telhome = preg_replace("/[^0-9]/", "", $shipping_address->getTelephone());
155
$sacOrder->delivery_user->telfax = preg_replace("/[^0-9]/", "", $shipping_address->getFax());
156
+ $sacOrder->delivery_user->email = ($shipping_address->getEmail() != $billing_address->getEmail()) ? $shipping_address->getEmail() : null;
157
$sacOrder->delivery_user->societe = $shipping_address->getCompany();
158
159
+ //Infocommande
160
+ $sacOrder->info_commande->refid = (!$noPayment) ? $order->getRealOrderId() : $order->getId();
161
$sacOrder->info_commande->devise = $order->getBaseCurrencyCode();
162
+ $sacOrder->info_commande->montant = number_format($order->getBaseGrandTotal(), 2, '.', '');
163
+ //Si l'IP de l'internaute n'est pas présente dans Magento (en cas de création de commande depuis le BO) alors on récupère l'IP de la boutique
164
$sacOrder->info_commande->ip = (!$order->getRemoteIp()) ? $_SERVER['REMOTE_ADDR'] : $order->getRemoteIp();
165
+ //La fonction $order->getCreatedAt() de Magento retourne l'heure UTC peu importe la config. Pour obtenir celle de la boutique, il est donc nécessaire d'appliquer la méthode ci-dessous
166
+ $sacOrder->info_commande->timestamp = Mage::getModel('core/date')->date(null,strtotime($order->getCreatedAt()));
167
+ //Récupèration du SiteID. Si le type de paiement est Franfinance, alors on récupère l'ID Franfinance
168
$sacOrder->info_commande->siteid = ($franfinancePayment) ? Mage::getStoreConfig('sac/sacconfg/idfranfinance', $id) : Mage::getStoreConfig('sac/sacconfg/siteid', $id);
169
if ($sacOrder->info_commande->siteid == null && $id != 0)
170
$sacOrder->info_commande->siteid = ($franfinancePayment) ? Mage::getStoreConfig('sac/sacconfg/idfranfinance', '0') : Mage::getStoreConfig('sac/sacconfg/siteid', '0');
171
172
+ //Récupération du code transporteur Magento
173
+ $shipping_code = null;
174
+ if ($noPayment) {
175
+ $data = explode('_', $order->getShippingAddress()->getShippingMethod());
176
+ $shipping_code = $data[0];
177
+ } elseif ($order->getShippingCarrier())
178
$shipping_code = $order->getShippingCarrier()->getCarrierCode();
179
+
180
+ $shipping = null;
181
+ if ($shipping_code)
182
$shipping = Mage::getModel('fianet/shipping_association')->load($shipping_code);
183
184
//initialisation du type de transport
185
$type_transporteur = '';
186
$nom_transporteur = '';
187
$rapidite_transporteur = '';
188
189
+ //Traitement particulier si la méthode de livraison est So Colissimo
190
if ($shipping_code == "socolissimo" || $shipping_code == "socolissimosimplicite") {
191
$nom_transporteur = 'So Colissimo';
192
$rapidite_transporteur = '2';
193
+ //Récupèration du num tel demandé par SoColissimo
194
if ($order->getSocoPhoneNumber())
195
$sacOrder->delivery_user->telmobile = $order->getSocoPhoneNumber();
196
218
$type_transporteur = '4';
219
break;
220
default:
221
+ $type_transporteur = 'NC';
222
//On log l'erreur "So Colissimo mode de livraison inconnu"
223
Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__("Certissim: order #%s. Error with SoColissimo's return. Product Code %s was not recognized.", $order->getRealOrderId(), $order->getSocoProductCode()));
224
break;
225
}
226
+ } elseif ($shipping_code == "relaypoint") {//Traitement particulier si la méthode de livraison est Icirelais
227
$nom_transporteur = $shipping->getConveyorName();
228
$rapidite_transporteur = $shipping->getDeliveryTimes();
229
$type_transporteur = '2';
230
231
+ if ($billing_address->getStreet(1) != $shipping_address->getStreet(1)) {//vérification de sécurité
232
$transport_adress = Mage::getModel('fianet/fianet_order_address_transport');
233
$transport_adress->rue1 = $shipping_address->getStreet(1);
234
$transport_adress->cpostal = $shipping_address->getPostcode();
236
$transport_adress->pays = (preg_match('/^97/', $shipping_address->getPostcode()))? 'FR' : $shipping_address->getCountry();
237
$sacOrder->info_commande->transport->adresse = $transport_adress;
238
}
239
+ } elseif ($shipping_code == "envoimoinscher") {//Traitement particulier si la méthode de livraison est Envoimoinscher
240
$nom_transporteur = $shipping->getConveyorName();
241
$rapidite_transporteur = $shipping->getDeliveryTimes();
242
262
} else {
263
$type_transporteur = '4';
264
}
265
+ } elseif ($shipping_code == "gls") {//Traitement particulier si la méthode de livraison est GLS
266
$nom_transporteur = $shipping->getConveyorName();
267
$rapidite_transporteur = $shipping->getDeliveryTimes();
268
285
$nom_transporteur = $shipping->getConveyorName();
286
$rapidite_transporteur = $shipping->getDeliveryTimes();
287
288
+ if ($type_transporteur == "1") { //si récupération du colis chez le marchand
289
$sacOrder->info_commande->transport->enseigne = Mage::getStoreConfig('general/store_information/name');
290
291
+ //récupération des informations de la boutique
292
$Collection = Mage::getModel('fianet/store_information')->getCollection()->load();
293
$storeInformation = true;
294
foreach ($Collection as $information) {
309
if ($type_transporteur == "2") { //si transport en point relais
310
//si module de point relais particulier, l'inscrire ici...
311
}
312
+ } elseif (Mage::getStoreConfig('sac/sacconfg/downloadableproducts')) {//Produits téléchargeables ou produits virtuels
313
$type_transporteur = '5';
314
$nom_transporteur = 'Downloadable product or/and virtual product';
315
$rapidite_transporteur = '1';
316
}
317
}
318
+
319
$sacOrder->info_commande->transport->type = $type_transporteur;
320
$sacOrder->info_commande->transport->nom = Mage::helper('fianet')->__($nom_transporteur);
321
$sacOrder->info_commande->transport->rapidite = $rapidite_transporteur;
345
346
$product = Mage::getModel('fianet/fianet_order_info_productlist_product');
347
$product->type = Mage::getModel('sac/product')->load($item->getProductId())->getFianetProductType();
348
+ $product->prixunit = number_format($pAmount, 2, '.', '');
349
$product->name = $pName;
350
+ $product->nb = (!$noPayment) ? (int)$item->getQtyOrdered() : (int)$item->getQty();
351
$product->ref = $pSku;
352
$sacOrder->info_commande->list->addProduct($product);
353
}
354
355
+ if (!$noPayment) { // Si le flux n'est pas généré lors du pilotage d'authentification du paiement, la partie Paiement est ajoutée
356
+ $auth = "";
357
+
358
+ $paymentType = (Mage::getModel('sac/payment_association')->load($order->getPayment()->getMethod())->getValue())? Mage::getModel('sac/payment_association')->load($order->getPayment()->getMethod())->getValue() : "NC";
359
+ if ($paymentType == "carte + 3DS") {
360
+ $auth = "3DS";
361
+ $paymentType = "carte";
362
+ }
363
+
364
+ $sacOrder->payment->auth = $auth;
365
+ $sacOrder->payment->type = $paymentType;
366
+
367
+ if ($franfinancePayment) {
368
+ if ($order->getPayment()->getMethod() == "atos3s_sprint")
369
+ $sacOrder->payment->nom = "SPRINT SECURE";
370
+ if ($order->getPayment()->getMethod() == "atos3xweb_web")
371
+ $sacOrder->payment->nom = "3xWEB";
372
+ //$sacOrder->payment->fraction = "fraction";
373
+ }
374
}
375
376
return ($sacOrder);
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.0 $
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.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 {
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.0 $
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.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 {
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.0 $
16
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
*/
18
class Fianet_Sac_Model_Observer {
@@ -51,5 +51,32 @@ class Fianet_Sac_Model_Observer {
51
}
52
return $this;
53
}
54
55
}
12
*
13
* @author FIA-NET <support-boutique@fia-net.com>
14
* @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.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 {
51
}
52
return $this;
53
}
54
+
55
+ public function instancyAuthManager($observer) {
56
+ try {
57
+ // Vérification d'activation de la fonctionnalité
58
+ $isActive = (Mage::getStoreConfig('sac/sacconfg/activeauthmanager', $order->scope_id) === null) ? false : Mage::getStoreConfig('sac/sacconfg/activeauthmanager', $order->scope_id);
59
+ if ($isActive == true) {
60
+ // Récupération des informations de la commande attendues par Certissim
61
+ $cart = Mage::getModel('checkout/cart')->getQuote();
62
+ $SacOrder = Mage::getModel('sac/fianet_order_sac')->generateSacOrder($cart, true);
63
+
64
+ // Si le scoring Certissim n'a pas déjà été recupéré ou que les informations de la commande ont évolué
65
+ if (!Mage::getSingleton('core/session')->getStatusAuthManager() || ($SacOrder != Mage::getSingleton('core/session')->getFianetXML())) {
66
+ $sender = Mage::getModel('fianet/fianet_sender');
67
+ $response = $sender->sendToCopilot($SacOrder);
68
+
69
+ // Stockage du retour Certissim
70
+ Mage::getSingleton('core/session')->setStatusAuthManager($response);
71
+ // Stockage du flux XML en Session
72
+ Mage::getSingleton('core/session')->setFianetXML($SacOrder);
73
+ }
74
+ }
75
+ } catch(Exception $e) {
76
+ Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim: %s.', $e->getMessage()));
77
+ }
78
+
79
+ return $this;
80
+ }
81
82
}
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.0 $
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.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 {
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.0 $
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.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 {
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.0 $
16
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
*/
18
class Fianet_Sac_Model_Source_Statut {
@@ -42,7 +42,7 @@ class Fianet_Sac_Model_Source_Statut {
42
foreach ($statuses as $code => $label) {
43
$options[] = array(
44
'value' => $code,
45
- 'label' => $code
46
);
47
}
48
return $options;
12
*
13
* @author FIA-NET <support-boutique@fia-net.com>
14
* @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.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 {
42
foreach ($statuses as $code => $label) {
43
$options[] = array(
44
'value' => $code,
45
+ 'label' => $label
46
);
47
}
48
return $options;
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.0 $
16
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
*/
18
class Fianet_Sac_Model_Source_Type {
@@ -25,7 +25,10 @@ class Fianet_Sac_Model_Source_Type {
25
array('value' => 'contre-remboursement', 'label' => Mage::helper('fianet')->__('Against repayment')),
26
array('value' => 'virement', 'label' => Mage::helper('fianet')->__('Transfer')),
27
array('value' => 'cb en n fois', 'label' => Mage::helper('fianet')->__('Credit card in x times')),
28
- array('value' => 'paypal', 'label' => Mage::helper('fianet')->__('Paypal'))
29
);
30
}
31
12
*
13
* @author FIA-NET <support-boutique@fia-net.com>
14
* @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.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 {
25
array('value' => 'contre-remboursement', 'label' => Mage::helper('fianet')->__('Against repayment')),
26
array('value' => 'virement', 'label' => Mage::helper('fianet')->__('Transfer')),
27
array('value' => 'cb en n fois', 'label' => Mage::helper('fianet')->__('Credit card in x times')),
28
+ array('value' => 'paypal', 'label' => Mage::helper('fianet')->__('Paypal')),
29
+ array('value' => '1euro.com', 'label' => Mage::helper('fianet')->__('1euro.com')),
30
+ array('value' => 'buyster', 'label' => Mage::helper('fianet')->__('Buyster')),
31
+ array('value' => 'buybox', 'label' => Mage::helper('fianet')->__('Buybox'))
32
);
33
}
34
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.0 $
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.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 {
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.0 $
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.1 $
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.0 $
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.0</version>
23
</Fianet_Sac>
24
</modules>
25
<admin>
@@ -53,6 +53,15 @@
53
</adminhtml>
54
<global>
55
<events>
56
<sales_order_save_after>
57
<observers>
58
<sac_auto_send_order>
@@ -120,6 +129,7 @@
120
<produrl><![CDATA[https://secure.fia-net.com/fscreener/]]></produrl>
121
<testurl><![CDATA[https://secure.fia-net.com/pprod/]]></testurl>
122
<stacking><![CDATA[engine/stacking.cgi]]></stacking>
123
<validstack><![CDATA[engine/get_validstack.cgi]]></validstack>
124
<alert><![CDATA[engine/get_alert.cgi]]></alert>
125
<interface><![CDATA[commun/visucheck_detail.php]]></interface>
12
*
13
* @author FIA-NET <support-boutique@fia-net.com>
14
* @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.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.1</version>
23
</Fianet_Sac>
24
</modules>
25
<admin>
53
</adminhtml>
54
<global>
55
<events>
56
+ <checkout_controller_onepage_save_shipping_method>
57
+ <observers>
58
+ <sac_instancy_authmanager>
59
+ <type>singleton</type>
60
+ <class>sac/observer</class>
61
+ <method>instancyAuthManager</method>
62
+ </sac_instancy_authmanager>
63
+ </observers>
64
+ </checkout_controller_onepage_save_shipping_method>
65
<sales_order_save_after>
66
<observers>
67
<sac_auto_send_order>
129
<produrl><![CDATA[https://secure.fia-net.com/fscreener/]]></produrl>
130
<testurl><![CDATA[https://secure.fia-net.com/pprod/]]></testurl>
131
<stacking><![CDATA[engine/stacking.cgi]]></stacking>
132
+ <copilot><![CDATA[engine/copilot.cgi]]></copilot>
133
<validstack><![CDATA[engine/get_validstack.cgi]]></validstack>
134
<alert><![CDATA[engine/get_alert.cgi]]></alert>
135
<interface><![CDATA[commun/visucheck_detail.php]]></interface>
app/code/community/Fianet/Sac/etc/system.xml CHANGED
@@ -12,217 +12,236 @@
12
*
13
* @author FIA-NET <support-boutique@fia-net.com>
14
* @copyright 2000-2014 FIA-NET
15
- * @version Release: $Revision: 1.1.0 $
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>sales</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
- <sort_order>2</sort_order>
53
- <show_in_default>1</show_in_default>
54
- <show_in_website>1</show_in_website>
55
- <show_in_store>0</show_in_store>
56
- </siteid>
57
- <compte translate="label, comment">
58
- <label>FIA-NET Login</label>
59
- <frontend_type>text</frontend_type>
60
- <sort_order>3</sort_order>
61
- <show_in_default>1</show_in_default>
62
- <show_in_website>1</show_in_website>
63
- <show_in_store>0</show_in_store>
64
- </compte>
65
- <password translate="label, comment">
66
- <label>Password</label>
67
<comment><![CDATA[Site ID, Login and Password are provided in your Certissim account]]></comment>
68
- <frontend_type>text</frontend_type>
69
- <sort_order>4</sort_order>
70
- <show_in_default>1</show_in_default>
71
- <show_in_website>1</show_in_website>
72
- <show_in_store>0</show_in_store>
73
- </password>
74
<activefranfinance translate="label">
75
<label>Activate Franfinance</label>
76
<frontend_type>select</frontend_type>
77
<source_model>adminhtml/system_config_source_yesno</source_model>
78
- <sort_order>5</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
</activefranfinance>
83
<idfranfinance translate="label, comment">
84
<label>Certissim Franfinance ID</label>
85
<comment><![CDATA[Franfinance ID is provided in your Certissim account]]></comment>
86
- <frontend_type>text</frontend_type>
87
- <sort_order>6</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
</idfranfinance>
92
- <mode translate="label">
93
- <label>Test or production mode</label>
94
- <frontend_type>select</frontend_type>
95
- <source_model>fianet/source_mode</source_model>
96
- <sort_order>7</sort_order>
97
- <show_in_default>1</show_in_default>
98
- <show_in_website>1</show_in_website>
99
- <show_in_store>0</show_in_store>
100
- </mode>
101
<encryptmode translate="label">
102
- <label>Encryption mode</label>
103
- <frontend_type>select</frontend_type>
104
- <source_model>fianet/source_crypt</source_model>
105
- <sort_order>8</sort_order>
106
- <show_in_default>1</show_in_default>
107
- <show_in_website>0</show_in_website>
108
- <show_in_store>0</show_in_store>
109
- </encryptmode>
110
- <charset translate="label">
111
- <label>Charset</label>
112
- <frontend_type>select</frontend_type>
113
- <source_model>fianet/source_charset</source_model>
114
- <sort_order>9</sort_order>
115
- <show_in_default>1</show_in_default>
116
- <show_in_website>0</show_in_website>
117
- <show_in_store>0</show_in_store>
118
- </charset>
119
- <defaultproducttype translate="label">
120
- <label>Default product type</label>
121
- <frontend_type>select</frontend_type>
122
- <source_model>fianet/source_productType</source_model>
123
- <sort_order>10</sort_order>
124
- <show_in_default>1</show_in_default>
125
- <show_in_website>1</show_in_website>
126
- <show_in_store>0</show_in_store>
127
- </defaultproducttype>
128
<timecontrol translate="label, comment">
129
<label>Maximum delay to sending commands (in day)</label>
130
<comment><![CDATA[Orders placed before this time will not be sent to CERTISSIM]]></comment>
131
- <frontend_type>text</frontend_type>
132
- <sort_order>11</sort_order>
133
- <show_in_default>1</show_in_default>
134
- <show_in_website>1</show_in_website>
135
- <show_in_store>0</show_in_store>
136
</timecontrol>
137
- <procasso translate="label, comment">
138
- <label>List of Magento's Statuses</label>
139
<comment><![CDATA[Select the status for which the transaction will be sent to CERTISSIM system (multiple selections possible)]]></comment>
140
- <frontend_type>multiselect</frontend_type>
141
- <source_model>sac/source_statut</source_model>
142
- <sort_order>12</sort_order>
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
- </procasso>
147
<downloadableproducts translate="label">
148
- <label>Activate management of downloadable/virtual products</label>
149
- <frontend_type>select</frontend_type>
150
<source_model>adminhtml/system_config_source_yesno</source_model>
151
- <sort_order>13</sort_order>
152
- <show_in_default>1</show_in_default>
153
- <show_in_website>1</show_in_website>
154
- <show_in_store>0</show_in_store>
155
</downloadableproducts>
156
- </fields>
157
- </sacconfg>
158
- <saclink translate="label">
159
- <label>Links</label>
160
- <frontend_type>text</frontend_type>
161
- <sort_order>2</sort_order>
162
- <show_in_default>1</show_in_default>
163
- <show_in_website>1</show_in_website>
164
- <show_in_store>1</show_in_store>
165
- <fields>
166
- <!-- New fields go here -->
167
- <produrl translate="label">
168
- <label>Production URL</label>
169
- <frontend_type>text</frontend_type>
170
- <sort_order>1</sort_order>
171
- <show_in_default>1</show_in_default>
172
- <show_in_website>0</show_in_website>
173
- <show_in_store>0</show_in_store>
174
- </produrl>
175
- <testurl translate="label">
176
- <label>Test URL</label>
177
- <frontend_type>text</frontend_type>
178
- <sort_order>2</sort_order>
179
- <show_in_default>1</show_in_default>
180
- <show_in_website>0</show_in_website>
181
- <show_in_store>0</show_in_store>
182
- </testurl>
183
- <stacking translate="label">
184
- <label>Sending script's orders</label>
185
- <frontend_type>text</frontend_type>
186
- <sort_order>3</sort_order>
187
- <show_in_default>1</show_in_default>
188
- <show_in_website>0</show_in_website>
189
- <show_in_store>0</show_in_store>
190
- </stacking>
191
- <validstack translate="label">
192
- <label>Recovery script's evaluations</label>
193
- <frontend_type>text</frontend_type>
194
- <sort_order>4</sort_order>
195
- <show_in_default>1</show_in_default>
196
- <show_in_website>0</show_in_website>
197
- <show_in_store>0</show_in_store>
198
- </validstack>
199
- <alert translate="label">
200
- <label>Recovery script's reevaluations</label>
201
- <frontend_type>text</frontend_type>
202
- <sort_order>5</sort_order>
203
- <show_in_default>1</show_in_default>
204
- <show_in_website>0</show_in_website>
205
- <show_in_store>0</show_in_store>
206
- </alert>
207
- <interface translate="label">
208
- <label>CERTISSIM Interface</label>
209
- <frontend_type>text</frontend_type>
210
- <sort_order>6</sort_order>
211
- <show_in_default>1</show_in_default>
212
- <show_in_website>0</show_in_website>
213
- <show_in_store>0</show_in_store>
214
- </interface>
215
- <checkxml translate="label">
216
- <label>Check XML</label>
217
- <frontend_type>text</frontend_type>
218
- <sort_order>7</sort_order>
219
- <show_in_default>1</show_in_default>
220
- <show_in_website>0</show_in_website>
221
- <show_in_store>0</show_in_store>
222
- </checkxml>
223
- </fields>
224
- </saclink>
225
- </groups>
226
- </sac>
227
- </sections>
228
</config>
12
*
13
* @author FIA-NET <support-boutique@fia-net.com>
14
* @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.1.1 $
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.0 $
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.1 $
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.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.0 $
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.1 $
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.0 $
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.1 $
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.0 $
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.1 $
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.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.0 $
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.1 $
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.0 $
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.1 $
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.0 $
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.1 $
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.0 $
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.1 $
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.0 $
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.1 $
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.0 $
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.1 $
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.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.0 $
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.1 $
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.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.0 $
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.1 $
16
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
*/
18
?>
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.0 $
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.1 $
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.0 $
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.0</version>
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.1 $
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.1</version>
28
</Fianet_Sac>
29
</modules>
30
</config>
app/locale/fr_FR/Fianet_Sac.csv CHANGED
@@ -11,6 +11,8 @@
11
"Paypal","Paypal"
12
13
"Certissim Franfinance ID","ID Franfinance Certissim"
14
"Site ID, Login and Password are provided in your Certissim account","Le Site ID, Login et Mot de passe sont ceux fournis par Certissim"
15
"Franfinance ID is provided in your Certissim account","L'ID Franfinance est fourni par Certissim"
16
"Maximum delay to sending commands (in day)","Délai maximum d'envoi des commandes (en jours)"
@@ -19,9 +21,10 @@
19
"Select the status for which the transaction will be sent to CERTISSIM system (multiple selections possible)","Selectionnez le statut pour lequel la transaction sera soumise au système Certissim (multisélection possible)"
20
"Production URL","URL de Production"
21
"Test URL","URL de Test"
22
- "Sending script's orders","Script d'envoi des commandes"
23
- "Recovery script's evaluations","Script de récupération des évaluations"
24
- "Recovery script's reevaluations","Script de récupération des réévaluations"
25
"CERTISSIM Interface","URL de visualisation des évaluations"
26
"Check XML","Page de vérification du flux XML"
27
"Activate management of downloadable/virtual products","Activer la gestion des produits téléchargeables/virtuels"
11
"Paypal","Paypal"
12
13
"Certissim Franfinance ID","ID Franfinance Certissim"
14
+ "Authentication key", "Clef d'authentification"
15
+ "Activate authentication manager","Activer le pilotage d'authentification des paiements"
16
"Site ID, Login and Password are provided in your Certissim account","Le Site ID, Login et Mot de passe sont ceux fournis par Certissim"
17
"Franfinance ID is provided in your Certissim account","L'ID Franfinance est fourni par Certissim"
18
"Maximum delay to sending commands (in day)","Délai maximum d'envoi des commandes (en jours)"
21
"Select the status for which the transaction will be sent to CERTISSIM system (multiple selections possible)","Selectionnez le statut pour lequel la transaction sera soumise au système Certissim (multisélection possible)"
22
"Production URL","URL de Production"
23
"Test URL","URL de Test"
24
+ "Script for sending orders","Script d'envoi des commandes"
25
+ "Script for sending payment authentication","Script d'envoi de l'authentification de paiement"
26
+ "Script for recovery evaluations","Script de récupération des évaluations"
27
+ "Script for recovery reevaluations","Script de récupération des réévaluations"
28
"CERTISSIM Interface","URL de visualisation des évaluations"
29
"Check XML","Page de vérification du flux XML"
30
"Activate management of downloadable/virtual products","Activer la gestion des produits téléchargeables/virtuels"
package.xml CHANGED
@@ -1,7 +1,7 @@
1
<?xml version="1.0"?>
2
<package>
3
<name>Fianet_Sac</name>
4
- <version>1.1.0</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,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>2014-05-23</date>
14
- <time>08:04:32</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="54dd0b5c395492d6e7a90130c467a629"/></dir><file name="Configuration.php" hash="3c4ccfb27390b82c1f36aecc1fa76e01"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="4bbb8c61bd318299210b9e0ce6598574"/><file name="Order.php" hash="8d8fc41f6b505a1af17610184e3df15f"/></dir><dir name="Model"><dir name="Fianet"><dir name="Order"><dir name="Info"><file name="Sac.php" hash="0d702c69a6c86955a9e44e3f773b9290"/></dir><file name="Sac.php" hash="8280dcb28293fe60e87495ecd7c44ab5"/></dir></dir><dir name="Mysql4"><dir name="Payment"><dir name="Association"><file name="Collection.php" hash="128da8bd1cf68e4d338f1bb257adf624"/></dir><file name="Association.php" hash="8c30bc30177c60027a7f15f95cc8f336"/></dir></dir><dir name="Payment"><file name="Association.php" hash="7c768edbc23302faec731651e477a06d"/></dir><dir name="Source"><file name="Statut.php" hash="1aefe5e845a67033c6fac4d79503a487"/><file name="Type.php" hash="37d249a74102a564ff3ff3df1db5726f"/></dir><file name="Action.php" hash="d7c4c8c48843bd0a69656b31316046b5"/><file name="Observer.php" hash="5f78f1d5e4caafb518c1f1d851755f17"/><file name="Product.php" hash="dff55ff41969d31807dde8236fb81937"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="PaymentController.php" hash="e6792213021dd08b2a195f63bc0ce138"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="c8c6c65dba4595d82914f921eeeb7844"/><file name="config.xml" hash="92469a0afdba8d96183e7ff98f7e29da"/><file name="system.xml" hash="ba2cdfbed5b8042c731a0690ecdf1a22"/></dir><dir name="sql"><dir name="sac_setup"><file name="mysql4-install-0.0.1.php" hash="ba212dfd644e4878727a8d08d682d43b"/><file name="mysql4-upgrade-0.0.1-0.0.2.php" hash="f1cfb9a405904aa99d3621aaa3078c78"/><file name="mysql4-upgrade-0.0.10-0.0.11.php" hash="b8877da1253732a18989f11549da62b0"/><file name="mysql4-upgrade-0.0.11-0.0.12.php" hash="7f457f73200f377ef2aced914e0513ad"/><file name="mysql4-upgrade-0.0.12-0.0.13.php" hash="285b59efc4cfc933c5d643e49261c83d"/><file name="mysql4-upgrade-0.0.13-1.0.0.php" hash="c9933755523d6b0550f29f38eb1ea09b"/><file name="mysql4-upgrade-0.0.2-0.0.3.php" hash="68453a5d81342634b22adb66361ebd21"/><file name="mysql4-upgrade-0.0.3-0.0.4.php" hash="d2b7fca30faf2e24e1f5e28b4fb49e55"/><file name="mysql4-upgrade-0.0.4-0.0.5.php" hash="edacea4535673cf9997b63f60769b00d"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="2a3d6abab6b49a2bfa416f5008427f9b"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="bdee1585aa86d0815e941e253b6501c9"/><file name="mysql4-upgrade-1.0.5-1.1.0.php" hash="39024d837be1cc1f55f5d361e688ac55"/></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="9bcb1dd4e7ae0fa9d179ff985b11d460"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Fianet_Sac.xml" hash="3a87dd49e5e61a45ce91367e1ae29ad1"/></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Fianet_Sac.csv" hash="c1239405045a4f03b6ef6bf136078e47"/></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></min><max></max></package></required></dependencies>
18
</package>
1
<?xml version="1.0"?>
2
<package>
3
<name>Fianet_Sac</name>
4
+ <version>1.1.1</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>2014-09-02</date>
14
+ <time>09:44:52</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="c6989d43ab3c061f68c1b66b1858f8dd"/></dir><file name="Configuration.php" hash="1440eb6f7fa19ef5f1f571fb32d961f5"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="e01e927527e46a67a0745e3d4bb367d8"/><file name="Order.php" hash="5f95ef2b1833ea387db038f0953c08a8"/></dir><dir name="Model"><dir name="Fianet"><dir name="Order"><dir name="Info"><file name="Sac.php" hash="daa69a25e3ad6134cb84095b7a248a3d"/></dir><file name="Sac.php" hash="99946ab70dff5002670406e4222c25e4"/></dir></dir><dir name="Mysql4"><dir name="Payment"><dir name="Association"><file name="Collection.php" hash="2158884ae5bc8cad1b7ee92525019e80"/></dir><file name="Association.php" hash="fc552275b79b75643c8063bbd0b865a0"/></dir></dir><dir name="Payment"><file name="Association.php" hash="a9b7ea169cf294da95f196454083e8cc"/></dir><dir name="Source"><file name="Statut.php" hash="00cad7afe582cc2752e0e72f47699003"/><file name="Type.php" hash="095de98fd5d6b748a0e6717e4c10f162"/></dir><file name="Action.php" hash="8ff9c411687e60a6488391576fd0a81a"/><file name="Observer.php" hash="9888623502101ca5208af6bec736f9a5"/><file name="Product.php" hash="96832745fba6b92e34a2fe41be251a8f"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="PaymentController.php" hash="c54fc1de116a36b9a45d7b89d7c57a5b"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="ec1257a2cb341c8cd86ad44e0090adbf"/><file name="config.xml" hash="aab018a5bcb65f1b52e5d3fcb1a76333"/><file name="system.xml" hash="5684f5ce644aa85f7c812c0e33124aab"/></dir><dir name="sql"><dir name="sac_setup"><file name="mysql4-install-0.0.1.php" hash="791ed88eb6c607313c94cef9bba25046"/><file name="mysql4-upgrade-0.0.1-0.0.2.php" hash="2f4f7dc6c0af279e88509bd55f6e2355"/><file name="mysql4-upgrade-0.0.10-0.0.11.php" hash="575dd4dc6845b485c402517c648600d8"/><file name="mysql4-upgrade-0.0.11-0.0.12.php" hash="1458a695ff932b03195f10dd1b06990d"/><file name="mysql4-upgrade-0.0.12-0.0.13.php" hash="f251cb227acbf7edfc9d7ea7a09b2839"/><file name="mysql4-upgrade-0.0.13-1.0.0.php" hash="f16da550247e70c0644a42370eae97e8"/><file name="mysql4-upgrade-0.0.2-0.0.3.php" hash="92b57316ccef1abcbba6176e93024ceb"/><file name="mysql4-upgrade-0.0.3-0.0.4.php" hash="59cf8aea0c95c9d3ba3926a6294c9b26"/><file name="mysql4-upgrade-0.0.4-0.0.5.php" hash="3ffd088ccb3cc99148079a23837811f1"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="424feb982b7c15e423d082c0a9c49c30"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="0dd5aa1e60658f3481b3f84ab471eb3f"/><file name="mysql4-upgrade-1.0.5-1.1.0.php" hash="07594f48839bf9108450409c040dfbb7"/></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="6d2fa6e7d5948929cdff66daaffabb20"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Fianet_Sac.xml" hash="a684abcd0d56fa6daaf996da993861ed"/></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>