Fianet_Sac - Version 1.0.3

Version Notes

fourth official commit

Download this release

Release Info

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


Code changes from version 1.0.2 to 1.0.3

Files changed (51) 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 +1 -1
  3. app/code/community/Fianet/Sac/Helper/Data.php +1 -1
  4. app/code/community/Fianet/Sac/Helper/Order.php +19 -19
  5. app/code/community/Fianet/Sac/Model/Action.php +20 -19
  6. app/code/community/Fianet/Sac/Model/Fianet/Order/Info/Sac.php +4 -4
  7. app/code/community/Fianet/Sac/Model/Fianet/Order/Sac.php +3 -3
  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 +5 -5
  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 +1 -1
  14. app/code/community/Fianet/Sac/Model/Source/Type.php +1 -1
  15. app/code/community/Fianet/Sac/controllers/Adminhtml/PaymentController.php +2 -2
  16. app/code/community/Fianet/Sac/etc/adminhtml.xml +1 -1
  17. app/code/community/Fianet/Sac/etc/config.xml +2 -2
  18. app/code/community/Fianet/Sac/etc/system.xml +1 -1
  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/design/adminhtml/default/default/layout/sac.xml +1 -1
  30. app/design/adminhtml/default/default/template/sac/categoriestree.phtml +1 -1
  31. app/design/adminhtml/default/default/template/sac/categorytreeformcontainer.phtml +1 -1
  32. app/design/adminhtml/default/default/template/sac/shipping.phtml +1 -1
  33. app/design/adminhtml/default/default/template/sac/storeswitcher.phtml +1 -1
  34. app/etc/modules/Fianet_Sac.xml +2 -2
  35. app/locale/fr_FR/Fianet_Sac.csv +38 -17
  36. package.xml +5 -5
  37. skin/adminhtml/default/default/images/fianet/CE_picto_orange.gif +0 -0
  38. skin/adminhtml/default/default/images/fianet/CE_picto_rouge.gif +0 -0
  39. skin/adminhtml/default/default/images/fianet/CE_picto_vert.gif +0 -0
  40. skin/adminhtml/default/default/images/{kwixo → fianet}/attention.gif +0 -0
  41. skin/adminhtml/default/default/images/{kwixo → fianet}/fianet_SAC_icon.gif +0 -0
  42. skin/adminhtml/default/default/images/{kwixo → fianet}/rond_rouge.gif +0 -0
  43. skin/adminhtml/default/default/images/{kwixo → fianet}/rond_vert.gif +0 -0
  44. skin/adminhtml/default/default/images/{kwixo → fianet}/rond_vertclair.gif +0 -0
  45. skin/adminhtml/default/default/images/kwixo/RnP.gif +0 -0
  46. skin/adminhtml/default/default/images/kwixo/cb15.gif +0 -0
  47. skin/adminhtml/default/default/images/kwixo/icon_reset.gif +0 -0
  48. skin/adminhtml/default/default/images/kwixo/ko.gif +0 -0
  49. skin/adminhtml/default/default/images/kwixo/ok.gif +0 -0
  50. skin/adminhtml/default/default/images/kwixo/rnp_tag.gif +0 -0
  51. skin/adminhtml/default/default/images/kwixo/sof15.gif +0 -0
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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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 {
@@ -78,13 +78,19 @@ class Fianet_Sac_Helper_Order extends Mage_Core_Helper_Abstract {
78
 
79
  // Aucune commande trouvée
80
  if (!$order->getId()) {
81
- Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim : invalid order id %s', $orderId));
82
  return false;
83
  }
84
-
 
 
 
 
 
 
85
  //Pas d'envoi si le module n'est pas activé
86
  if(Mage::getStoreConfig('sac/sacconfg/active') == 0){
87
- Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim : module disabled, order id %s not sent', $orderId));
88
  return false;
89
  }
90
 
@@ -97,21 +103,21 @@ class Fianet_Sac_Helper_Order extends Mage_Core_Helper_Abstract {
97
  $dateOrder = new DateTime($order->getCreatedAt());
98
 
99
  if($dateOrder < $dateMax){
100
- Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim : order id %s is too old (%s day max)', $orderId, $time));
101
  return false;
102
  }
103
  }
104
 
105
  // Pas d'envoi si la commande a un total égal à zéro
106
  if ($order->getGrandTotal() == 0) {
107
- Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim : order id %s has a total of %s', $orderId, $order->getGrandTotal()));
108
  return false;
109
  }
110
 
111
  // Pas d'envoi si la commande est déjà envoyée sauf 2ème envoie pour transaction absente
112
  if (!$isMissingOrder) {
113
  if ($order->getFianetSacSent()) {
114
- Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim : order #%s already sent', $order->getIncrementId()));
115
  return false;
116
  }
117
  }
@@ -120,25 +126,19 @@ class Fianet_Sac_Helper_Order extends Mage_Core_Helper_Abstract {
120
  if (!in_array($order->getStatus(), $modeArray)) {
121
  // Si la commande ne vient pas d'être passée
122
  if($order->getStatus() != '' && $order->getState()!='new') {
123
- Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim : order #%s not sent - status: %s not selected', $order->getIncrementId(), $order->getStatus()));
124
  } else if($order->getStatus() != '') {
125
- Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim : order #%s not sent - state: %s', $order->getIncrementId(), $order->getState()));
126
  }
127
  return false;
128
  }
129
 
130
- // Pas d'envoi sur les paiements RNP et Kwixo
131
- if (preg_match('/receiveandpay/i', $order->getPayment()->getMethod()) || preg_match('/kwx/i', $order->getPayment()->getMethod())) {
132
- Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim : order #%s not sent - paymentMethod: %s', $order->getIncrementId(), $order->getPayment()->getMethod()));
133
- return false;
134
- }
135
-
136
  $billingAddressCounrty = $order->getBillingAddress()->getCountry();
137
  $shippingAddressCounrty = $order->getShippingAddress()->getCountry();
138
 
139
  // Pas d'envoi sur les paiements ayant pour adresse un pays non géré par Certissim
140
  if (!(in_array($billingAddressCounrty, $this->_allowedCountries) && in_array($shippingAddressCounrty, $this->_allowedCountries))) {
141
- Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim : order #%s not sent - billing country: %s - shipping country: %s', $order->getIncrementId(), $billingAddressCounrty, $shippingAddressCounrty));
142
  return false;
143
  }
144
 
@@ -148,7 +148,7 @@ class Fianet_Sac_Helper_Order extends Mage_Core_Helper_Abstract {
148
  public function processResponse($responses, $orderIds = array()) {
149
  $nb = 0;
150
  $this->_initConnections();
151
-
152
  // On indique que la commande a été envoyée
153
  foreach ($orderIds as $orderId) {
154
  // Plus rapide par requête directe
@@ -182,7 +182,7 @@ class Fianet_Sac_Helper_Order extends Mage_Core_Helper_Abstract {
182
  }
183
  }
184
 
185
- // On traite les réponses
186
  foreach ($responses as $response) {
187
  if ($response['etat'] == 'error' || $response['etat'] == 'encours') {
188
  // Mise à jour par SQL sinon boucle infinie
@@ -194,7 +194,7 @@ class Fianet_Sac_Helper_Order extends Mage_Core_Helper_Abstract {
194
  }
195
 
196
  $nb++;
197
- Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim : order %s sent and is currently in state : %s', $response['refid'], $response['etat']));
198
  } else {
199
  Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__(get_class($this) . '::' . __FUNCTION__ . ' : unknow state %s for order %s', $response['etat'], $response['refid']));
200
  }
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
  * @copyright 2000-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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 {
78
 
79
  // Aucune commande trouvée
80
  if (!$order->getId()) {
81
+ Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim: invalid order #%s.', $orderId));
82
  return false;
83
  }
84
+
85
+ // Pas d'envoi sur les paiements RNP et Kwixo
86
+ if (preg_match('/receiveandpay/i', $order->getPayment()->getMethod()) || preg_match('/kwx/i', $order->getPayment()->getMethod())) {
87
+ //Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim: order #%s not sent - paymentMethod: %s.', $order->getIncrementId(), $order->getPayment()->getMethod()));
88
+ return false;
89
+ }
90
+
91
  //Pas d'envoi si le module n'est pas activé
92
  if(Mage::getStoreConfig('sac/sacconfg/active') == 0){
93
+ Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim: module disabled, order #%s not sent.', $orderId));
94
  return false;
95
  }
96
 
103
  $dateOrder = new DateTime($order->getCreatedAt());
104
 
105
  if($dateOrder < $dateMax){
106
+ Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim: order #%s is too old (%s day max).', $orderId, $time));
107
  return false;
108
  }
109
  }
110
 
111
  // Pas d'envoi si la commande a un total égal à zéro
112
  if ($order->getGrandTotal() == 0) {
113
+ Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim: order #%s has a total of %s.', $orderId, $order->getGrandTotal()));
114
  return false;
115
  }
116
 
117
  // Pas d'envoi si la commande est déjà envoyée sauf 2ème envoie pour transaction absente
118
  if (!$isMissingOrder) {
119
  if ($order->getFianetSacSent()) {
120
+ Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim: order #%s already sent.', $order->getIncrementId()));
121
  return false;
122
  }
123
  }
126
  if (!in_array($order->getStatus(), $modeArray)) {
127
  // Si la commande ne vient pas d'être passée
128
  if($order->getStatus() != '' && $order->getState()!='new') {
129
+ Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim: order #%s not sent - status: %s not selected.', $order->getIncrementId(), $order->getStatus()));
130
  } else if($order->getStatus() != '') {
131
+ Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim: order #%s not sent - state: %s.', $order->getIncrementId(), $order->getState()));
132
  }
133
  return false;
134
  }
135
 
 
 
 
 
 
 
136
  $billingAddressCounrty = $order->getBillingAddress()->getCountry();
137
  $shippingAddressCounrty = $order->getShippingAddress()->getCountry();
138
 
139
  // Pas d'envoi sur les paiements ayant pour adresse un pays non géré par Certissim
140
  if (!(in_array($billingAddressCounrty, $this->_allowedCountries) && in_array($shippingAddressCounrty, $this->_allowedCountries))) {
141
+ Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim: order #%s not sent - billing country: %s - shipping country: %s.', $order->getIncrementId(), $billingAddressCounrty, $shippingAddressCounrty));
142
  return false;
143
  }
144
 
148
  public function processResponse($responses, $orderIds = array()) {
149
  $nb = 0;
150
  $this->_initConnections();
151
+
152
  // On indique que la commande a été envoyée
153
  foreach ($orderIds as $orderId) {
154
  // Plus rapide par requête directe
182
  }
183
  }
184
 
185
+ // On traite les réponses
186
  foreach ($responses as $response) {
187
  if ($response['etat'] == 'error' || $response['etat'] == 'encours') {
188
  // Mise à jour par SQL sinon boucle infinie
194
  }
195
 
196
  $nb++;
197
+ Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim: order %s sent and is currently in state: %s.', $response['refid'], $response['etat']));
198
  } else {
199
  Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__(get_class($this) . '::' . __FUNCTION__ . ' : unknow state %s for order %s', $response['etat'], $response['refid']));
200
  }
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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Sac_Model_Action {
@@ -61,12 +61,12 @@ class Fianet_Sac_Model_Action {
61
  $statut = Mage::getStoreConfig('sac/sacconfg/active', '0');
62
  }
63
 
64
- Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim : New send evaluation request'));
65
 
66
  try {
67
  $payment_type = Mage::getModel('sac/payment_association')->load($order->getPayment()->getMethod())->getValue();
68
- $message = "Certissim : sending missing order #%s, payment type is %s Certissim status is %s";
69
- Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__($message, $order->getIncrementId(), $payment_type, $statut));
70
  $SacOrder = Fianet_Sac_Model_Fianet_Order_Sac::GenerateSacOrder($order);
71
  $sender = Mage::getModel('fianet/fianet_sender');
72
  $sender->addOrder($SacOrder);
@@ -83,13 +83,14 @@ class Fianet_Sac_Model_Action {
83
 
84
  $nb++;
85
  } catch (Exception $e) {
86
- Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim : '.$e->getMessage()));
87
  }
88
  }
 
89
  }
90
 
91
  public static function getEvaluation($orderIds = array()) {
92
- Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim : Attempt to retrieve Evaluation...'));
93
  $nb = 0;
94
 
95
  $collection = Mage::getResourceModel('sales/order_collection')
@@ -181,30 +182,30 @@ class Fianet_Sac_Model_Action {
181
  self::$_writeConnection->query($queryW);
182
  }
183
  catch (Exception $e) {
184
- Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim : '.$e->getMessage()));
185
  }
186
  }
187
  }
188
  if($maj_value == true) { // Si la commande a été mise à jour, alors affichage dans les logs
189
- $textLog = "Certissim : Evaluation of the order ".$evaluation['refid']." has been received ";
190
  if(($eval == 'absente') || ($eval == 'encours')) {
191
- $textLog .= " (status : '".$eval."')";
192
  }
193
  else {
194
- $textLog .= "(score : '".$eval."' - ClassementID : '".$evaluation['classementid']."')";
195
  }
196
- Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__($textLog));
197
  $nb++;
198
  }
199
  }
200
  }
 
201
  }
202
 
203
  public static function getReevaluation() {
204
  $nb = 0;
205
- Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__('Certissim : Attempt to retrieve Reevaluation...'));
206
  $reevaluations = Mage::getModel('fianet/fianet_sender')->getReevaluation();
207
- Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__('Certissim : %s reevaluation found.', count($reevaluations)));
208
 
209
  self::_initConnections();
210
 
@@ -220,12 +221,12 @@ class Fianet_Sac_Model_Action {
220
 
221
  $order = Mage::getModel('sales/order')->loadByIncrementId($reevaluation['refid']);
222
 
223
- Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__('Certissim : Order %s updated to eval %s', $reevaluation['refid'], $reevaluation['eval']));
224
 
225
  try {
226
  $notification = Mage::getModel('adminnotification/inbox');
227
  $notification->setseverity(Mage_AdminNotification_Model_Inbox::SEVERITY_MINOR);
228
- $notification->setTitle(Mage::helper('fianet')->__('Certissim : Order %s has been reevaluated', $reevaluation['refid']));
229
  $notification->setDate_added(date('Y-m-d H:i:s'));
230
 
231
  switch ($reevaluation['eval']) {
@@ -246,20 +247,20 @@ class Fianet_Sac_Model_Action {
246
  break;
247
  }
248
 
249
- $img = '<img src="' . Mage::getDesign()->getSkinUrl('images/kwixo/' . $icon) . '">';
250
- $message = Mage::helper('fianet')->__('Certissim : The order %s has now evaluation %s', $reevaluation['refid'], $img);
251
 
252
  $notification->setDescription($message);
253
 
254
  $notification->setUrl(self::getUrlBO($order));
255
  $notification->save();
256
  } catch (Exception $e) {
257
- Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__('Certissim : '.$e->getMessage()));
258
  }
259
  $nb++;
260
  }
261
  }
262
- Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__('Certissim : Retrieving reevaluation ended.'));
263
  }
264
 
265
  protected static function getUrlBO(Mage_Sales_Model_Order $order) {
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
  * @copyright 2000-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.3 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Sac_Model_Action {
61
  $statut = Mage::getStoreConfig('sac/sacconfg/active', '0');
62
  }
63
 
64
+ Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim: new send evaluation request.'));
65
 
66
  try {
67
  $payment_type = Mage::getModel('sac/payment_association')->load($order->getPayment()->getMethod())->getValue();
68
+ $message = "Certissim: sending missing order #%s, payment type is %s.";
69
+ Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__($message, $order->getIncrementId(), $payment_type));
70
  $SacOrder = Fianet_Sac_Model_Fianet_Order_Sac::GenerateSacOrder($order);
71
  $sender = Mage::getModel('fianet/fianet_sender');
72
  $sender->addOrder($SacOrder);
83
 
84
  $nb++;
85
  } catch (Exception $e) {
86
+ Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim: %s.', $e->getMessage()));
87
  }
88
  }
89
+ Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__('Certissim: sending request ended. %s order(s) sent.', $nb));
90
  }
91
 
92
  public static function getEvaluation($orderIds = array()) {
93
+ Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim: attempt to retrieve evaluation...'));
94
  $nb = 0;
95
 
96
  $collection = Mage::getResourceModel('sales/order_collection')
182
  self::$_writeConnection->query($queryW);
183
  }
184
  catch (Exception $e) {
185
+ Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim: %s.', $e->getMessage()));
186
  }
187
  }
188
  }
189
  if($maj_value == true) { // Si la commande a été mise à jour, alors affichage dans les logs
190
+ $textLog = Mage::helper('fianet')->__('Certissim: evaluation of the order #%s has been received ', $evaluation['refid']);
191
  if(($eval == 'absente') || ($eval == 'encours')) {
192
+ $textLog .= Mage::helper('fianet')->__('(status: \'%s\').', $eval);
193
  }
194
  else {
195
+ $textLog .= Mage::helper('fianet')->__('(score: \'%s\' - ClassementID: \'%s\').', $eval, $evaluation['classementid']);
196
  }
197
+ Mage::getModel('fianet/log')->Log($textLog);
198
  $nb++;
199
  }
200
  }
201
  }
202
+ Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__('Certissim: retrieving evaluation ended. %s evaluation(s) found.', $nb));
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
 
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']) {
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) {
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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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 {
@@ -40,13 +40,13 @@ class Fianet_Sac_Model_Fianet_Order_Info_Sac {
40
  public function getXml() {
41
  $xml = '';
42
  if (trim($this->siteid) == "" && trim($this->refid) == "" && ((integer) $this->montant) <= 0 && trim($this->devise) == "") {
43
- Mage::getModel('fianet/log')->Log("Fianet_Sac_Model_Fianet_Order_Info_Sac - getXml() <br />Somes values are undefined\n");
44
  }
45
  if ($this->transport == null) {
46
- Mage::getModel('fianet/log')->Log("Fianet_Sac_Model_Fianet_Order_Info_Sac - getXml() <br />Transport is undefined\n");
47
  }
48
  if ($this->list == null) {
49
- Mage::getModel('fianet/log')->Log("Fianet_Sac_Model_Fianet_Order_Info_Sac - getXml() <br />List products is undefined\n");
50
  }
51
  $xml .= "\t" . '<infocommande>' . "\n";
52
  $xml .= "\t\t" . '<siteid><![CDATA[' . $this->siteid . ']]></siteid>' . "\n";
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
  * @copyright 2000-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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 {
40
  public function getXml() {
41
  $xml = '';
42
  if (trim($this->siteid) == "" && trim($this->refid) == "" && ((integer) $this->montant) <= 0 && trim($this->devise) == "") {
43
+ Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__("Fianet_Sac_Model_Fianet_Order_Info_Sac::getXml() <br />\nSomes values are undefined."));
44
  }
45
  if ($this->transport == null) {
46
+ Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__("Fianet_Sac_Model_Fianet_Order_Info_Sac::getXml() <br />\nTransport is undefined."));
47
  }
48
  if ($this->list == null) {
49
+ Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__("Fianet_Sac_Model_Fianet_Order_Info_Sac::getXml() <br />\nList products is undefined."));
50
  }
51
  $xml .= "\t" . '<infocommande>' . "\n";
52
  $xml .= "\t\t" . '<siteid><![CDATA[' . $this->siteid . ']]></siteid>' . "\n";
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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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 {
@@ -58,14 +58,14 @@ class Fianet_Sac_Model_Fianet_Order_Sac {
58
  if ($this->delivery_user instanceof Fianet_Core_Model_Fianet_Order_User_Delivery) {
59
  $xml .= $this->delivery_user->getXml();
60
  } else {
61
- Mage::getModel('fianet/log')->Log("Mage_Sac_Model_Fianet_Order_Sac - getXml() <br />\nDelivery user is not an object of type Mage_Sac_Order_User_Delivery");
62
  }
63
  }
64
  if ($this->delivery_address != null) {
65
  if ($this->delivery_address instanceof Fianet_Core_Model_Fianet_Order_Address_Delivery) {
66
  $xml .= $this->delivery_address->getXml();
67
  } else {
68
- Mage::getModel('fianet/log')->Log("Mage_Sac_Model_Fianet_Order_Sac - getXml() <br />\nDelivery address is not an object of type Mage_Sac_Order_Address_Delivery");
69
  }
70
  }
71
  $xml .= $this->info_commande->getXml();
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
  * @copyright 2000-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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 {
58
  if ($this->delivery_user instanceof Fianet_Core_Model_Fianet_Order_User_Delivery) {
59
  $xml .= $this->delivery_user->getXml();
60
  } else {
61
+ Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__("Mage_Sac_Model_Fianet_Order_Sac::getXml() <br />\nDelivery user is not an object of type Mage_Sac_Order_User_Delivery."));
62
  }
63
  }
64
  if ($this->delivery_address != null) {
65
  if ($this->delivery_address instanceof Fianet_Core_Model_Fianet_Order_Address_Delivery) {
66
  $xml .= $this->delivery_address->getXml();
67
  } else {
68
+ Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__("Mage_Sac_Model_Fianet_Order_Sac::getXml() <br />\nDelivery address is not an object of type Mage_Sac_Order_Address_Delivery."));
69
  }
70
  }
71
  $xml .= $this->info_commande->getXml();
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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Sac_Model_Observer {
@@ -36,19 +36,19 @@ class Fianet_Sac_Model_Observer {
36
  $statut = Mage::getStoreConfig('sac/sacconfg/active', '0');
37
  }
38
 
39
- Mage::getModel('fianet/log')->log('Certissim : send evaluation request');
40
 
41
  try {
42
  $payment_type = Mage::getModel('sac/payment_association')->load($order->getPayment()->getMethod())->getValue();
43
- $message = "Certissim : automatic sending order #%s, payment type is %s sac status is %s";
44
- Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__($message, $order->getIncrementId(), $payment_type, $statut));
45
  $SacOrder = Fianet_Sac_Model_Fianet_Order_Sac::GenerateSacOrder($order);
46
  $sender = Mage::getModel('fianet/fianet_sender');
47
  $sender->addOrder($SacOrder);
48
  $response = $sender->send();
49
  Mage::helper('sac/order')->processResponse($response, array($order->getId()));
50
  } catch (Exception $e) {
51
- Mage::getModel('fianet/log')->log($e->getMessage());
52
  }
53
  return $this;
54
  }
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
  * @copyright 2000-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.3 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Sac_Model_Observer {
36
  $statut = Mage::getStoreConfig('sac/sacconfg/active', '0');
37
  }
38
 
39
+ Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim: send evaluation request.'));
40
 
41
  try {
42
  $payment_type = Mage::getModel('sac/payment_association')->load($order->getPayment()->getMethod())->getValue();
43
+ $message = "Certissim: automatic sending order #%s, payment type is %s.";
44
+ Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__($message, $order->getIncrementId(), $payment_type));
45
  $SacOrder = Fianet_Sac_Model_Fianet_Order_Sac::GenerateSacOrder($order);
46
  $sender = Mage::getModel('fianet/fianet_sender');
47
  $sender->addOrder($SacOrder);
48
  $response = $sender->send();
49
  Mage::helper('sac/order')->processResponse($response, array($order->getId()));
50
  } catch (Exception $e) {
51
+ Mage::getModel('fianet/log')->log(Mage::helper('fianet')->__('Certissim: %s.', $e->getMessage()));
52
  }
53
  return $this;
54
  }
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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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 {
@@ -27,7 +27,7 @@ class Fianet_Sac_Adminhtml_PaymentController extends Mage_Adminhtml_Controller_A
27
  $post = $this->getRequest()->getPost();
28
  try {
29
  if (empty($post)) {
30
- Mage::throwException($this->__('Invalid form data.'));
31
  }
32
 
33
  if (is_array($post)) {
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
  * @copyright 2000-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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 {
27
  $post = $this->getRequest()->getPost();
28
  try {
29
  if (empty($post)) {
30
+ Mage::throwException('Certissim: invalid form data.');
31
  }
32
 
33
  if (is_array($post)) {
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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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.0.2</version>
23
  </Fianet_Sac>
24
  </modules>
25
  <admin>
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
  * @copyright 2000-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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.0.3</version>
23
  </Fianet_Sac>
24
  </modules>
25
  <admin>
app/code/community/Fianet/Sac/etc/system.xml CHANGED
@@ -12,7 +12,7 @@
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
  * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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-install-0.0.1.php CHANGED
@@ -12,7 +12,7 @@
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
  * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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.1-0.0.2.php CHANGED
@@ -12,7 +12,7 @@
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
  * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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.12-0.0.13.php CHANGED
@@ -12,7 +12,7 @@
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
  * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.3 $
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-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.3 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  -->
app/design/adminhtml/default/default/template/sac/categoriestree.phtml CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @author FIA-NET <support-boutique@fia-net.com>
13
  * @copyright 2000-2012 FIA-NET
14
- * @version Release: $Revision: 1.0.2 $
15
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
16
  */
17
  ?>
11
  *
12
  * @author FIA-NET <support-boutique@fia-net.com>
13
  * @copyright 2000-2012 FIA-NET
14
+ * @version Release: $Revision: 1.0.3 $
15
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
16
  */
17
  ?>
app/design/adminhtml/default/default/template/sac/categorytreeformcontainer.phtml CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @author FIA-NET <support-boutique@fia-net.com>
13
  * @copyright 2000-2012 FIA-NET
14
- * @version Release: $Revision: 1.0.2 $
15
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
16
  */
17
  ?>
11
  *
12
  * @author FIA-NET <support-boutique@fia-net.com>
13
  * @copyright 2000-2012 FIA-NET
14
+ * @version Release: $Revision: 1.0.3 $
15
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
16
  */
17
  ?>
app/design/adminhtml/default/default/template/sac/shipping.phtml CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @author FIA-NET <support-boutique@fia-net.com>
13
  * @copyright 2000-2012 FIA-NET
14
- * @version Release: $Revision: 1.0.2 $
15
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
16
  */
17
  ?>
11
  *
12
  * @author FIA-NET <support-boutique@fia-net.com>
13
  * @copyright 2000-2012 FIA-NET
14
+ * @version Release: $Revision: 1.0.3 $
15
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
16
  */
17
  ?>
app/design/adminhtml/default/default/template/sac/storeswitcher.phtml CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @author FIA-NET <support-boutique@fia-net.com>
13
  * @copyright 2000-2012 FIA-NET
14
- * @version Release: $Revision: 1.0.2 $
15
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
16
  */
17
  ?>
11
  *
12
  * @author FIA-NET <support-boutique@fia-net.com>
13
  * @copyright 2000-2012 FIA-NET
14
+ * @version Release: $Revision: 1.0.3 $
15
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
16
  */
17
  ?>
app/etc/modules/Fianet_Sac.xml CHANGED
@@ -12,7 +12,7 @@
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
  * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.2 $
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.0.1</version>
28
  </Fianet_Sac>
29
  </modules>
30
  </config>
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
  * @copyright 2000-2012 FIA-NET
15
+ * @version Release: $Revision: 1.0.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.0.3</version>
28
  </Fianet_Sac>
29
  </modules>
30
  </config>
app/locale/fr_FR/Fianet_Sac.csv CHANGED
@@ -10,26 +10,47 @@
10
  "The site ID is provided in your Certissim account","Le Site ID est fourni dans votre compte Certissim"
11
  "The Login is provided in your Certissim account","Le Login est fourni dans votre compte Certissim"
12
  "The Password is provided in your Certissim account","Le Mot de passe est fourni dans votre compte Certissim"
13
- "Maximum delay to sending commands (in day)","D&eacute;lai maximum d'envoi des commandes en jour"
14
- "Orders placed before this time will not be sent to CERTISSIM","Les commandes pass&eacute;es il y a plus de X jours ne seront pas soumises au syst&egrave;me Certissim"
15
  "List of Magento's Statuses","Liste des Statuts Magento"
16
- "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&egrave;me Certissim (multis&eacute;lection possible)"
17
  "Production URL","URL de Production"
18
  "Test URL","URL de Test"
19
  "Sending script's orders","Script d'envoi des commandes"
20
- "Recovery script's evaluations","Script de r&eacute;cup&eacute;ration des &eacute;valuations"
21
- "Recovery script's reevaluations","Script de r&eacute;cup&eacute;ration des r&eacute;&eacute;valuations"
22
  "CERTISSIM Interface","Interface CERTISSIM"
23
- "Check XML","Page de v&eacute;rification du flux XML"
24
 
25
- "Certissim : Attempt to retrieve Reevaluation...","Certissim : tentative de récupération des Réevaluations..."
26
- "Certissim : Attempt to retrieve Evaluation...","Certissim : tentative de récupération des Evaluations..."
27
- "Certissim : %s reevaluation found.","Certissim : %s réévaluations trouvées."
28
- "Certissim : New send evaluation request","Certissim : nouvel envoi d'une commande"
29
- "Certissim : sending missing order #%s, payment type is %s Certissim status is %s","Certissim : envoi des commandes absentes #%s, type de paiement %s, statut Certissim %s"
30
- "Certissim : Order %s updated to eval %s","Certissim : la commande %s mise à jour vers évaluation %s"
31
- "Certissim : Order %s has been reevaluated","Certissim : la commande %s a été réévaluée pas le système d'analyse des commande de FIA-NET"
32
- "Certissim : The order %s has now evaluation %s","Certissim : la commande %s a maintenant l'évaluation %s"
33
- "Certissim : Retrieving reevaluation ended.","Certissim : récupération des réévaluations terminées."
34
- "Certissim : order %s sent and is currently in state : %s","Certissim : commande %s envoyée et est actuellement à l'état : %s"
35
- "Certissim : %s order(s) successfully sent to FIA-NET","Certissim : %s commande(s) envoyées avec succès à FIA-NET"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  "The site ID is provided in your Certissim account","Le Site ID est fourni dans votre compte Certissim"
11
  "The Login is provided in your Certissim account","Le Login est fourni dans votre compte Certissim"
12
  "The Password is provided in your Certissim account","Le Mot de passe est fourni dans votre compte Certissim"
13
+ "Maximum delay to sending commands (in day)","Délai maximum d'envoi des commandes en jour"
14
+ "Orders placed before this time will not be sent to CERTISSIM","Les commandes passées il y a plus de X jours ne seront pas soumises au système Certissim"
15
  "List of Magento's Statuses","Liste des Statuts Magento"
16
+ "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)"
17
  "Production URL","URL de Production"
18
  "Test URL","URL de Test"
19
  "Sending script's orders","Script d'envoi des commandes"
20
+ "Recovery script's evaluations","Script de récupération des évaluations"
21
+ "Recovery script's reevaluations","Script de r&écupération des réévaluations"
22
  "CERTISSIM Interface","Interface CERTISSIM"
23
+ "Check XML","Page de vérification du flux XML"
24
 
25
+ "Certissim: invalid form data.","Certissim : données de formulaire invalides."
26
+ "Certissim: invalid order #%s.","Certissim : commande #%s invalide."
27
+ "Certissim: module disabled, order #%s not sent.","Certissim : module désactivé, commande #%s non envoyée."
28
+ "Certissim: order #%s is too old (%s day max).","Certissim : commande #%s trop ancienne (max %s jours d'ancienneté)."
29
+ "Certissim: order #%s has a total of %s.","Certissim : commande #%s a un montant total de %s€."
30
+ "Certissim: order #%s already sent.","Certissim : commande #%s déjà envoyée."
31
+ "Certissim: order #%s not sent - status: %s not selected.","Certissim : commande #%s non envoyée - statut : %s non séléctionné."
32
+ "Certissim: order #%s not sent - state: %s.","Certissim : commande #%s non envoyée - state : %s."
33
+ "Certissim: order #%s not sent - paymentMethod: %s.","Certissim : commande #%s non envoyée - Méthode de paiement : %s."
34
+ "Certissim: order #%s not sent - billing country: %s - shipping country: %s.","Certissim : commande #%s non envoyée - Pays de facturation : %s - Pays de livraison : %s."
35
+ "Certissim: order %s sent and is currently in state: %s.","Certissim : commande #%s envoyée et actuellement dans l'état : %s."
36
+ "Certissim: new send evaluation request.","Certissim : nouvel envoi de commandes."
37
+ "Certissim: sending request ended. %s order(s) sent.","Certissim : demande d'envoi terminé. %s commande(s) envoyée(s)."
38
+ "Certissim: sending missing order #%s, payment type is %s.","Certissim : envoi des commandes absentes #%s, type de paiement %s."
39
+ "Certissim: attempt to retrieve evaluation...","Certissim : tentative de récupération des évaluations..."
40
+ "Certissim: retrieving evaluation ended. %s evaluation(s) found.","Certissim : récupération des évaluations terminées. %s évaluation(s) trouvée(s)."
41
+ "Certissim: attempt to retrieve reevaluation...","Certissim : tentative de récupération des réevaluations..."
42
+ "Certissim: order %s updated to eval %s.","Certissim : la commande %s mise à jour vers évaluation %s."
43
+ "Certissim: order %s has been reevaluated.","Certissim : la commande %s a été réévaluée."
44
+ "Certissim: the order %s has now evaluation %s.","Certissim : la commande %s a maintenant l'évaluation %s."
45
+ "Certissim: retrieving reevaluation ended. %s reevaluation(s) found.","Certissim : récupération des réévaluations terminées. %s réévaluation(s) trouvée(s)."
46
+ "Fianet_Sac_Model_Fianet_Order_Info_Sac::getXml() <br />\nSomes values are undefined.","Fianet_Sac_Model_Fianet_Order_Info_Sac::getXml() <br />\nPlusieurs valeurs indéfinies."
47
+ "Fianet_Sac_Model_Fianet_Order_Info_Sac::getXml() <br />\nTransport is undefined.","Fianet_Sac_Model_Fianet_Order_Info_Sac::getXml() <br />\nTransport indéfini."
48
+ "Fianet_Sac_Model_Fianet_Order_Info_Sac::getXml() <br />\nList products is undefined.","Fianet_Sac_Model_Fianet_Order_Info_Sac::getXml() <br />\nList produits indéfini."
49
+ "Mage_Sac_Model_Fianet_Order_Sac::getXml() <br />\nDelivery user is not an object of type Mage_Sac_Order_User_Delivery.","Mage_Sac_Model_Fianet_Order_Sac::getXml() <br />\nL'utilisateur livraison n'est pas un objet de type Mage_Sac_Order_User_Delivery."
50
+ "Mage_Sac_Model_Fianet_Order_Sac::getXml() <br />\nDelivery address is not an object of type Mage_Sac_Order_Address_Delivery.","Mage_Sac_Model_Fianet_Order_Sac::getXml() <br />\nL'adresse livraison n'est pas un objet de type Mage_Sac_Order_Address_Delivery."
51
+ "Certissim: send evaluation request.","Certissim : tentative d'envoi d'une commande."
52
+ "Certissim: automatic sending order #%s, payment type is %s.","Certissim : envoi automatique de la commande #%s, type de paiement %s."
53
+ "Certissim: evaluation of the order #%s has been received ","Certissim : l'évaluation de la commande #%s a été reçue "
54
+ "(status: \'%s\').","(statut : \'%s\')."
55
+ "(score: \'%s\' - ClassementID: \'%s\').","(score : \'%s\' - ClassementID : \'%s\')."
56
+ "Certissim: %s.","Certissim : %s."
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Fianet_Sac</name>
4
- <version>1.0.2</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>
8
  <extends/>
9
  <summary>FIA-NET Certissim</summary>
10
  <description>Anti-Fraud System</description>
11
- <notes>third 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>2013-06-13</date>
14
- <time>15:39:38</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="9c35760b8520441f96de2e2bb84707a2"/></dir><file name="Configuration.php" hash="1fbbf9ea73b9eaf556a981ddfcaa9514"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="0f61b7ad282a8871467469c6fd4f8a61"/><file name="Order.php" hash="446ee501e0587aa24d26f300cf5ba0ab"/></dir><dir name="Model"><dir name="Fianet"><dir name="Order"><dir name="Info"><file name="Sac.php" hash="cf4ce46e2ff540171d269cf8ee6a2fe3"/></dir><file name="Sac.php" hash="2c317d8072285e725ffbea70ef89d587"/></dir></dir><dir name="Mysql4"><dir name="Payment"><dir name="Association"><file name="Collection.php" hash="fc0be6636e9d52555427eb5f5e7f2c94"/></dir><file name="Association.php" hash="9df56c4d83212d01b667da33b93f96a5"/></dir></dir><dir name="Payment"><file name="Association.php" hash="a5e1be56a0132de53f494b3507be96b6"/></dir><dir name="Source"><file name="Statut.php" hash="2cd31fcff677eabf6cf6e30e91ba3708"/><file name="Type.php" hash="5e26749cfac2f1c9b16e027112444fc9"/></dir><file name="Action.php" hash="ce6abd7a4c1cd94c6fa9947f4f8d46ee"/><file name="Observer.php" hash="6e43889a9aae91ae93d4f479bb482d46"/><file name="Product.php" hash="62e086fff87947098b40e2ad237f2935"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="PaymentController.php" hash="0dace96231602bd12b086b726806b85f"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="ccdd6117536633fab5f69d4593d97ad7"/><file name="config.xml" hash="fffa93f9e793397dd3c86520ab4605ca"/><file name="system.xml" hash="7c1788ea6f63633e15877e212d256379"/></dir><dir name="sql"><dir name="sac_setup"><file name="mysql4-install-0.0.1.php" hash="3501a88e4c3752a42962f20260513121"/><file name="mysql4-upgrade-0.0.1-0.0.2.php" hash="5963d5595f29f7dc652973e06de2e99c"/><file name="mysql4-upgrade-0.0.10-0.0.11.php" hash="8f0ea1c2930ec5a3825598fceb978c91"/><file name="mysql4-upgrade-0.0.11-0.0.12.php" hash="bd9335a550e6a61ba4fbbb6ad086db54"/><file name="mysql4-upgrade-0.0.12-0.0.13.php" hash="ab9d303ebe1bb15a4bfa961f67886ada"/><file name="mysql4-upgrade-0.0.13-1.0.0.php" hash="df220e6cf39e26409469ab3f13fd7d89"/><file name="mysql4-upgrade-0.0.2-0.0.3.php" hash="b2b68161c010941650ab4311e2dfd3d3"/><file name="mysql4-upgrade-0.0.3-0.0.4.php" hash="ec31fad794900662e6f5c98f556dd523"/><file name="mysql4-upgrade-0.0.4-0.0.5.php" hash="77c5316f55dd9f318a133962dcfa770f"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="7ad408f5469fc00746c745371a133497"/></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="fc973642196bbc4f006494bfe21aa520"/></dir><dir name="template"><dir name="sac"><file name="categoriestree.phtml" hash="0777b078b11f3f6508b34cd29d48fc25"/><file name="categorytreeformcontainer.phtml" hash="2655e48c5ddef893a8b415953a081f59"/><file name="shipping.phtml" hash="cc8dbd03838fb2fd5d276821ec342b22"/><file name="storeswitcher.phtml" hash="9c5ba20a65e231909f65fa8d7e47d85c"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Fianet_Sac.xml" hash="6c0537bae7fd3980a819e3b36ae1d114"/></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Fianet_Sac.csv" hash="03be1f3a616838454a5f26ba77c1b37a"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="kwixo"><file name="RnP.gif" hash="d2f0083a5731f301b9a3bdcff327e19c"/><file name="attention.gif" hash="d85cab75ed2cba677829db26b1f0a6c2"/><file name="cb15.gif" hash="c9b308669efc27038043480400ab99e2"/><file name="fianet_SAC_icon.gif" hash="be9ce72c9a2bd81611a9e82537a8e15a"/><file name="icon_reset.gif" hash="1a883459cf1035dbc4fcd21c777af477"/><file name="ko.gif" hash="3d479be5db8b4b2ffa67612eeb5d47e1"/><file name="ok.gif" hash="1f6c46ba51a3f8732f62a65c0533f118"/><file name="rnp_tag.gif" hash="caeb5b7040352e4bcf7c3e09d4b1f085"/><file name="rond_rouge.gif" hash="c605401e88cd234a31691dc9e4a38b05"/><file name="rond_vert.gif" hash="ce704184ee159f7008f81af51a747e71"/><file name="rond_vertclair.gif" hash="b0310ca593cd539b88463d720df3cd60"/><file name="sof15.gif" hash="0f1e01ce195d2fb3da0700813a5ccd35"/></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.0.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>
8
  <extends/>
9
  <summary>FIA-NET Certissim</summary>
10
  <description>Anti-Fraud System</description>
11
+ <notes>fourth 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>2013-08-05</date>
14
+ <time>13:39:22</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="38a614ed3c538fc44ac0d184b9251a6a"/></dir><file name="Configuration.php" hash="6eefe707e06e9d7326c233caf566902a"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="e06001e21c705fd493c9f8d326eec60d"/><file name="Order.php" hash="50f26b0abf717cbdd282051425e2ad12"/></dir><dir name="Model"><dir name="Fianet"><dir name="Order"><dir name="Info"><file name="Sac.php" hash="340eac385dc048412024a4c24f0f1e14"/></dir><file name="Sac.php" hash="c8acd007d1b9d4270d6f7cd4f61b79ef"/></dir></dir><dir name="Mysql4"><dir name="Payment"><dir name="Association"><file name="Collection.php" hash="ec99106bccaa408c14843ed637b387a3"/></dir><file name="Association.php" hash="902064bb1799026a56b8b3c4493ecfa8"/></dir></dir><dir name="Payment"><file name="Association.php" hash="6a297c6dfb06d7b41464d2606b12c540"/></dir><dir name="Source"><file name="Statut.php" hash="e573a44afce483edf0147722b3564dc1"/><file name="Type.php" hash="1cdcfc699eeef7e8dc2c07f246eb6076"/></dir><file name="Action.php" hash="2230f1df5ff9e169001e8028af3d8ddc"/><file name="Observer.php" hash="26e66a31815e3fc7f2cb23669755b08b"/><file name="Product.php" hash="de63f45eb49ad8d4c4249674f92c7c70"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="PaymentController.php" hash="587018396432bb0f424b9fb970f61deb"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="3c02ab9b5bafb581aa4e64f990598897"/><file name="config.xml" hash="47a8c7d1ad5742d6168ff7e4e652fb4a"/><file name="system.xml" hash="457c1673205bfd500b7319bbf6843796"/></dir><dir name="sql"><dir name="sac_setup"><file name="mysql4-install-0.0.1.php" hash="11cea9c591db840d3731cb768eaf532c"/><file name="mysql4-upgrade-0.0.1-0.0.2.php" hash="09ed6674356ae7c88eea38267c301cb1"/><file name="mysql4-upgrade-0.0.10-0.0.11.php" hash="c608d3b33e36988932ad953045d28f96"/><file name="mysql4-upgrade-0.0.11-0.0.12.php" hash="8e70097ac584522e4c7110fdf942734f"/><file name="mysql4-upgrade-0.0.12-0.0.13.php" hash="bcdb7908ebebf187183be88cee6c1829"/><file name="mysql4-upgrade-0.0.13-1.0.0.php" hash="3ca1cab02490d492e589b35fb10c7e76"/><file name="mysql4-upgrade-0.0.2-0.0.3.php" hash="541bbc1c6f9dd4767e3d4f933ab63204"/><file name="mysql4-upgrade-0.0.3-0.0.4.php" hash="e92c5808f8c7258044e623c532f69a75"/><file name="mysql4-upgrade-0.0.4-0.0.5.php" hash="32913cbdd797a5d1ef1f113efaf112a7"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="d2dc6542003443f1c701eb448b5033f1"/></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="7604c1e4e4030a7ce235eed50b86aed3"/></dir><dir name="template"><dir name="sac"><file name="categoriestree.phtml" hash="14c4500510ddeb72857b6227ff21f46e"/><file name="categorytreeformcontainer.phtml" hash="03bfc3f2d8e7597f57d5c76dbbbfa888"/><file name="shipping.phtml" hash="d38ec3340844fb26d388c34941f11fb1"/><file name="storeswitcher.phtml" hash="90d65a84e5d2e46a89f908d87010a7bf"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Fianet_Sac.xml" hash="fe5d24afe7128a3e8cc01cd5b81ca9ee"/></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Fianet_Sac.csv" hash="ec2b838d09b4579366af859a071a528a"/></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="CE_picto_orange.gif" hash="6805aa75f9bb9e85d9b71e525852c515"/><file name="CE_picto_rouge.gif" hash="9d0b3298b2f18db90db27a870bff1c1e"/><file name="CE_picto_vert.gif" hash="335dd69b814bfe155117126b65ddb303"/><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"/></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>
skin/adminhtml/default/default/images/fianet/CE_picto_orange.gif ADDED
Binary file
skin/adminhtml/default/default/images/fianet/CE_picto_rouge.gif ADDED
Binary file
skin/adminhtml/default/default/images/fianet/CE_picto_vert.gif ADDED
Binary file
skin/adminhtml/default/default/images/{kwixo → fianet}/attention.gif RENAMED
File without changes
skin/adminhtml/default/default/images/{kwixo → fianet}/fianet_SAC_icon.gif RENAMED
File without changes
skin/adminhtml/default/default/images/{kwixo → fianet}/rond_rouge.gif RENAMED
File without changes
skin/adminhtml/default/default/images/{kwixo → fianet}/rond_vert.gif RENAMED
File without changes
skin/adminhtml/default/default/images/{kwixo → fianet}/rond_vertclair.gif RENAMED
File without changes
skin/adminhtml/default/default/images/kwixo/RnP.gif DELETED
Binary file
skin/adminhtml/default/default/images/kwixo/cb15.gif DELETED
Binary file
skin/adminhtml/default/default/images/kwixo/icon_reset.gif DELETED
Binary file
skin/adminhtml/default/default/images/kwixo/ko.gif DELETED
Binary file
skin/adminhtml/default/default/images/kwixo/ok.gif DELETED
Binary file
skin/adminhtml/default/default/images/kwixo/rnp_tag.gif DELETED
Binary file
skin/adminhtml/default/default/images/kwixo/sof15.gif DELETED
Binary file