-
-
diff --git a/modules/dejala/dejala_picking_timetable.tpl b/modules/dejala/dejala_picking_timetable.tpl
deleted file mode 100644
index d382a3b0d..000000000
--- a/modules/dejala/dejala_picking_timetable.tpl
+++ /dev/null
@@ -1,31 +0,0 @@
-
{l s='Stock is open' mod='dejala'}
-{foreach from=$weekdayLabels item=weekday name=weekdayLoop}
- {assign var='curWeekdayIdx' value=$smarty.foreach.weekdayLoop.index}
-
-
- {$weekday}: {l s='De' mod='dejala'}
-
- {l s='A' mod='dejala'}
-
-
-
-
-{/foreach}
\ No newline at end of file
diff --git a/modules/dejala/dejala_processes.tpl b/modules/dejala/dejala_processes.tpl
deleted file mode 100644
index f2f451de3..000000000
--- a/modules/dejala/dejala_processes.tpl
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
\ No newline at end of file
diff --git a/modules/dejala/dejala_products.tpl b/modules/dejala/dejala_products.tpl
deleted file mode 100644
index 4f4b9e85a..000000000
--- a/modules/dejala/dejala_products.tpl
+++ /dev/null
@@ -1,40 +0,0 @@
-
\ No newline at end of file
diff --git a/modules/dejala/dejala_technical_options.tpl b/modules/dejala/dejala_technical_options.tpl
deleted file mode 100644
index 320215992..000000000
--- a/modules/dejala/dejala_technical_options.tpl
+++ /dev/null
@@ -1,20 +0,0 @@
-
diff --git a/modules/dejala/dejala_timetable.tpl b/modules/dejala/dejala_timetable.tpl
deleted file mode 100644
index d1269f52d..000000000
--- a/modules/dejala/dejala_timetable.tpl
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
-
-
- {foreach from=$dates item=dateItem name=dateLabelLoop}
- {assign var='curIdxDate' value=$smarty.foreach.dateLabelLoop.index}
-
-
-
-
- {/foreach}
-
-
-
- {section name=hour start=0 loop=24 step=1}
- {assign var='curIdxhour' value=$smarty.section.hour.index}
-
-
-
-
- {/section}
-
-
-
-
-
- |
-
diff --git a/modules/dejala/dejalacarrierutils.php b/modules/dejala/dejalacarrierutils.php
deleted file mode 100644
index 6fcd74c6f..000000000
--- a/modules/dejala/dejalacarrierutils.php
+++ /dev/null
@@ -1,132 +0,0 @@
-country);
- $countryID = Country::getByIso($moduleCountryIsoCode);
- if ((int)($countryID))
- $id_zone = Country::getIdZone($countryID);
-
- //TODO Will have to review this and apply proper code.
- $trg_id = 1 ;
- /*$vatRate = "19.6";
- // MFR091130 - get or create the tax & attach it to our zone if needed
- $id_tax = Tax::getTaxIdByRate((float)$vatRate);
- $trg_id = 0;
- if (!$id_tax)
- {
- $tax = new Tax();
- $tax->rate = $vatRate;
- $defaultLanguage = Configuration::get('PS_LANG_DEFAULT');
- $tax->name[$defaultLanguage] = $tax->rate . '%';
- $tax->add();
- $id_tax = $tax->id;
-
- $trg = new TaxRulesGroup();
- $trg->name = 'Dejala '.$tax->name[$defaultLanguage];
- $trg->active = 1;
- if ($trg->save())
- {
- $trg_id = $trg->id;
-
- $tr = new TaxRule();
- $tr->id_tax_rules_group = $trg_id;
- $tr->id_country = (int) $countryID;
- $tr->id_state = 0;
- $tr->id_tax = (int)$tax->id;
- $tr->state_behavior = 0;
- $tr->save();
- }
- }*/
-
- $carrier = new Carrier();
- $carrier->name = 'dejala';
- $carrier->id_tax_rules_group = (int)$trg_id;
- $carrier->url = 'http://tracking.dejala.' . $dejalaConfig->country . '/tracker/@';
- $carrier->active = true;
- $carrier->deleted = 0;
- $carrier->shipping_handling = false;
- $carrier->range_behavior = 0;
- $carrier->is_module = 1;
- $carrier->external_module_name = 'dejala' ;
- $carrier->shipping_external = 1 ;
- $carrier->need_range = 0 ;
-
- $languages = Language::getLanguages(true);
- foreach ($languages as $language)
- $carrier->delay[$language['id_lang']] = 'Dejala' ;
-
- $carrier->add();
-
- $carrier->addZone((int)$id_zone) ;
-
- $groups = Group::getGroups(true);
- foreach ($groups as $group)
- Db::getInstance()->autoExecute(_DB_PREFIX_.'carrier_group', array('id_carrier' => (int)($carrier->id), 'id_group' => (int)($group['id_group'])), 'INSERT');
-
-
-// $rangeW = new RangeWeight();
-// $rangeW->id_carrier = $carrier->id;
-// $rangeW->delimiter1 = 0;
-// $rangeW->delimiter2 = $dejalaProduct['max_weight'];
-// $rangeW->add();
-// $vat_factor = (1+ ($dejalaProduct['vat'] / 100));
-// $priceTTC = round(($dejalaProduct['price']*$vat_factor) + $dejalaProduct['margin'], 2);
-// $priceHT = round($priceTTC/$vat_factor, 2);
-// $priceList = '(NULL'.','.$rangeW->id.','.$carrier->id.','.$id_zone.','.$priceHT.')';
-// $carrier->addDeliveryPrice($priceList);
-
- return true;
- }
-
- public static function getCarrierByName($name, $includeInactive = false) {
- global $cookie ;
-
- $carriers = Carrier::getCarriers((int)$cookie->id_lang, false, false, false, NULL, ALL_CARRIERS);
- foreach($carriers as $carrier) {
- if ($carrier['deleted']) continue ;
- if ($includeInactive !== true && $carrier['active'] != 1) continue ;
-
- if (self::getCarrierName($carrier) == $name) {
- return new Carrier((int)$carrier['id_carrier']) ;
- }
- }
- return null ;
- }
-
- public static function getFirstActiveCarrierWithNameNotBeing($name) {
- global $cookie ;
-
- $carriers = Carrier::getCarriers((int)$cookie->id_lang, false, false, false, NULL, ALL_CARRIERS);
- foreach($carriers as $carrier) {
- if ($carrier['deleted']) continue ;
-
- if ((self::getCarrierName($carrier) != $name) && $carrier['active'] == 1) {
- return new Carrier((int)$carrier['id_carrier']) ;
- }
- }
- return null ;
- }
-
- public static function getCarrierName($carrier) {
- if (is_object($carrier)) {
- if (!empty($carrier->external_module_name)) return $carrier->external_module_name ;
- return $carrier->name ;
- }
- else {
- if (array_key_exists("external_module_name", $carrier) && !empty($carrier['external_module_name'])) return $carrier['external_module_name'] ;
- return $carrier['name'] ;
- }
- }
-}
-
diff --git a/modules/dejala/dejalacart.php b/modules/dejala/dejalacart.php
deleted file mode 100644
index 2e85fd557..000000000
--- a/modules/dejala/dejalacart.php
+++ /dev/null
@@ -1,76 +0,0 @@
-wanted_cart_id = (int)$id ;
-
- parent::__construct($id, $id_lang) ;
- if (isset($this->id) && $this->id == $this->wanted_cart_id)
- unset($this->wanted_cart_id) ;
- }
-
- public function getFields()
- {
- $this->validateFields();
- $fields['id_dejala_product'] = (int)($this->id_dejala_product);
- $fields['shipping_date'] = pSQL($this->shipping_date);
- $fields['id_delivery'] = (int)($this->id_delivery);
- $fields['mode'] = pSQL($this->mode);
- $fields['cart_date_upd'] = pSQL($this->cart_date_upd);
- $fields['delivery_price'] = pSQL($this->delivery_price);
- if (!isset($id_cart) && isset($original_cart_id)) $id_cart = $original_cart_id ;
- return $fields;
- }
-
- public function save($nullValues = false, $autodate = true)
- {
- parent::save($nullValues, $autodate) ;
- if (isset($this->wanted_cart_id))
- {
- Db::getInstance()->execute('UPDATE ' . _DB_PREFIX_ . $this->table . ' SET ' . $this->identifier . ' = ' . (int)$this->wanted_cart_id . ' WHERE ' . $this->identifier . ' = ' . (int)$this->id);
- $this->id = (int)$this->wanted_cart_id ;
- unset($this->wanted_cart_id) ;
- }
- }
-
-}
-
-
diff --git a/modules/dejala/dejalaconfig.php b/modules/dejala/dejalaconfig.php
deleted file mode 100644
index e8b7718df..000000000
--- a/modules/dejala/dejalaconfig.php
+++ /dev/null
@@ -1,118 +0,0 @@
-serviceURL) == false
- OR Configuration::updateValue('DJL_SANDBOX_SERVICE_URL', $this->sandboxServiceURL) == false
- OR Configuration::updateValue('DJL_USE_SSL', $this->useSSL) == false
- OR Configuration::updateValue('DJL_MODE', $this->mode) == false
- OR Configuration::updateValue('DJL_LOGIN', $this->login) == false
- OR Configuration::updateValue('DJL_PASSWORD', $this->password) == false
- OR Configuration::updateValue('DJL_INSTALLED', $this->installed) == false
- OR Configuration::updateValue('DJL_TRIGERRING_STATUSES', $this->trigerringStatuses) == false
- OR Configuration::updateValue('DJL_COUNTRY', $this->country) == false
- OR Configuration::updateValue('DJL_VISIBILITY_STATUS', $this->visibility_status) == false
- OR Configuration::updateValue('DJL_VISIBLE_USERS_LIST', $this->visible_users_list) == false
- OR Configuration::updateValue('DJL_VERSION', $this->internal_version) == false
- ) {
- return (false);
- }
-
- // Backward compatibility. Garbage collect
- Configuration::deleteByName('DJL_ACTIVE');
- return (true);
- }
-
- public function uninstall() {
- Configuration::deleteByName('DJL_SERVICE_URL');
- Configuration::deleteByName('DJL_SANDBOX_SERVICE_URL');
- Configuration::deleteByName('DJL_USE_SSL');
- Configuration::deleteByName('DJL_MODE');
- Configuration::deleteByName('DJL_LOGIN');
- Configuration::deleteByName('DJL_PASSWORD');
- Configuration::deleteByName('DJL_INSTALLED');
- Configuration::deleteByName('DJL_TRIGERRING_STATUSES');
- Configuration::deleteByName('DJL_COUNTRY');
- Configuration::deleteByName('DJL_ACTIVE');
- Configuration::deleteByName('DJL_VISIBILITY_STATUS');
- Configuration::deleteByName('DJL_VISIBLE_USERS_LIST');
- // DO NOT DELETE DJL_VERSION AS WE LEAVE THE TABLE IN THE DB.
- }
-
- // load configuration
- public function loadConfig()
- {
- $this->installed = html_entity_decode(Configuration::get('DJL_INSTALLED'), ENT_COMPAT, 'UTF-8');
- $this->useSSL = (int)(html_entity_decode(Configuration::get('DJL_USE_SSL'), ENT_COMPAT, 'UTF-8'));
- $this->serviceURL = html_entity_decode(Configuration::get('DJL_SERVICE_URL'), ENT_COMPAT, 'UTF-8');
- $this->sandboxServiceURL = html_entity_decode(Configuration::get('DJL_SANDBOX_SERVICE_URL'), ENT_COMPAT, 'UTF-8');
- $this->mode = html_entity_decode(Configuration::get('DJL_MODE'), ENT_COMPAT, 'UTF-8');
- $this->login = html_entity_decode(Configuration::get('DJL_LOGIN'), ENT_COMPAT, 'UTF-8');
- $this->password = html_entity_decode(Configuration::get('DJL_PASSWORD'), ENT_COMPAT, 'UTF-8');
- $this->trigerringStatuses = html_entity_decode(Configuration::get('DJL_TRIGERRING_STATUSES'), ENT_COMPAT, 'UTF-8');
-
- $this->shippingPrefix = html_entity_decode(Configuration::get('DJL_SHIPPING_PREFIX'), ENT_COMPAT, 'UTF-8');
- $this->country = html_entity_decode(Configuration::get('DJL_COUNTRY'), ENT_COMPAT, 'UTF-8');
- if (strlen($this->country) == 0)
- $this->country = 'fr';
- $this->visibility_status = html_entity_decode(Configuration::get('DJL_VISIBILITY_STATUS'), ENT_COMPAT, 'UTF-8');
- $this->visible_users_list = html_entity_decode(Configuration::get('DJL_VISIBLE_USERS_LIST'), ENT_COMPAT, 'UTF-8');
- $this->internal_version = Configuration::get('DJL_VERSION') ;
-
- // Backward compatibility
- $activeVal = html_entity_decode(Configuration::get('DJL_ACTIVE'), ENT_COMPAT, 'UTF-8') ;
- if ($activeVal != "")
- {
- $this->active = (int)($activeVal);
- $this->visibility_status = ($this->active == 0 ? "invisible" : "visible") ;
- }
-
- if ($this->visibility_status == "")
- $this->visibility_status = "invisible" ;
- }
-
- /**
- * Renvoie l'URI de base à utiliser
- * $forceMode TEST/PROD pour forcer l'utilisation d'une des 2 plateformes
- **/
- public function getRootServiceURI($forceMode = NULL)
- {
- $l_serviceURL = NULL;
- $useMode = $this->mode;
- // mode forcé ?
- if ($forceMode && ($forceMode == 'PROD'))
- $useMode = 'PROD';
- else if ($forceMode)
- $useMode = 'TEST';
-
- if ($useMode === 'PROD')
- $l_serviceURL = $this->serviceURL;
- else
- $l_serviceURL = $this->sandboxServiceURL;
- if ($this->useSSL !== 0)
- if (0 === strpos($l_serviceURL, 'http:'))
- $l_serviceURL = 'https'.substr($l_serviceURL, 4);
- return ($l_serviceURL);
- }
-}
diff --git a/modules/dejala/dejalatest.php b/modules/dejala/dejalatest.php
deleted file mode 100644
index 34cfc3792..000000000
--- a/modules/dejala/dejalatest.php
+++ /dev/null
@@ -1,19 +0,0 @@
-
\ No newline at end of file
diff --git a/modules/dejala/dejalautils.php b/modules/dejala/dejalautils.php
deleted file mode 100644
index db0221540..000000000
--- a/modules/dejala/dejalautils.php
+++ /dev/null
@@ -1,509 +0,0 @@
-getRootServiceURI('TEST') . '/mystore/delivery';
- else
- $serviceURL = $dejalaConfig->getRootServiceURI('PROD') . '/mystore/delivery';
- $responseArray = $this->makeRequest($dejalaConfig, $serviceURL, $delivery, 'POST', TRUE);
- if (!($xml = strstr($responseArray['response'], 'loadXML($xml);
- $nodeList = $doc->getElementsByTagName('delivery');
- if ($nodeList->length > 0)
- $this->getNodeValue($nodeList->item(0), $delivery);
- }
- return ($responseArray);
- }
-
- /**
- * Quick creates a store account at dejala.fr
- * only works on Dejala test platform
- * @returns the HTTP status code of the request
- **/
- public function createInstantStore($dejalaConfig, $storeName)
- {
- $serviceURL = $dejalaConfig->getRootServiceURI('TEST') . '/instantstore';
- $postargs['login']=$dejalaConfig->login;
- $postargs['password']=$dejalaConfig->password;
- $postargs['store_url']=$dejalaConfig->storeUrl;
- $postargs['store_name'] = $storeName;
- $postargs['platform'] = 'prestashop';
- $responseArray = $this->makeRequest($dejalaConfig, $serviceURL, $postargs, 'POST', FALSE);
- return ($responseArray);
- }
- public static function wtf($var, $arrayOfObjectsToHide=null, $fontSize=11)
- {
- $text = print_r($var, true);
-
- if (is_array($arrayOfObjectsToHide))
- foreach ($arrayOfObjectsToHide as $objectName)
- {
-
- $searchPattern = '#('.$objectName.' Object\n(\s+)\().*?\n\2\)\n#s';
- $replace = "$1
--> HIDDEN - courtesy of wtf() <--)";
- $text = preg_replace($searchPattern, $replace, $text);
- }
-
- // color code objects
- $text = preg_replace('#(\w+)(\s+Object\s+\()#s', '
$1$2', $text);
- // color code object properties
- $text = preg_replace('#\[(\w+)\:(public|private|protected)\]#', '[
$1:
$2]', $text);
-
- echo '
'.$text.'
';
- }
-
- public function getStoreLocation($dejalaConfig, &$location)
- {
- $serviceURL = $dejalaConfig->getRootServiceURI() . '/mystore';
- $postargs = array();
- $responseArray = $this->makeRequest($dejalaConfig, $serviceURL, $postargs, 'GET', TRUE);
- if (!($xml = strstr($responseArray['response'], 'loadXML($xml);
- $locationNodes=$doc->getElementsByTagName('location');
- if ($locationNodes->length > 0)
- {
- $locationNode = $locationNodes->item(0);
- $nodeList = $locationNode->childNodes;
- foreach ($nodeList as $element)
- $location[$element->nodeName] = $element->textContent;
- }
- }
- return ($responseArray);
- }
-
- public function getStoreCalendar($dejalaConfig, &$calendar)
- {
- $serviceURL = $dejalaConfig->getRootServiceURI() . '/mystore/calendar/';
- $responseArray = $this->makeRequest($dejalaConfig, $serviceURL, array(), 'GET', TRUE);
- if (!($xml = strstr($responseArray['response'], 'loadXML($xml);
- $nodeList = $doc->getElementsByTagName('entry');
- if ($nodeList->length > 0)
- {
- foreach ($nodeList as $element)
- {
- $calendarNode = $this->getNodeValue($element);
- $calendar['entries'][(int)($calendarNode['weekday'])] = $calendarNode;
- }
- }
- $nodeList = $doc->getElementsByTagName('exception');
- $calendar['exceptions'] = array();
- if ($nodeList->length > 0)
- foreach ($nodeList as $element)
- $calendar['exceptions'][] = $this->getNodeValue($element);
- }
- return ($responseArray);
- }
-
- public function getStoreContacts($dejalaConfig, &$contacts)
- {
- $serviceURL = $dejalaConfig->getRootServiceURI() . '/mystore';
- $postargs = array();
- $responseArray = $this->makeRequest($dejalaConfig, $serviceURL, $postargs, 'GET', TRUE);
- if (!($xml = strstr($responseArray['response'], 'loadXML($xml);
- $contactsNodeList = $doc->getElementsByTagName('contacts');
- if ($contactsNodeList->length > 0)
- {
- $contactNodes = $contactsNodeList->item(0)->childNodes;
- if ($contactNodes)
- foreach ($contactNodes as $contactNode)
- {
- $name = $contactNode->nodeName;
- $nodeList = $contactNode->childNodes;
- $currentContactNode = array();
- if ($nodeList)
- foreach ($nodeList as $element)
- $currentContactNode[$element->nodeName] = $element->textContent;
- $contacts[$name] = $currentContactNode;
- }
- }
- }
- return ($responseArray);
- }
-
- public function getStoreProducts($dejalaConfig, &$products)
- {
- $serviceURL = $dejalaConfig->getRootServiceURI() . '/mystore/products';
- $postargs = array();
- $responseArray = $this->makeRequest($dejalaConfig, $serviceURL, $postargs, 'GET', TRUE);
- if (!($xml = strstr($responseArray['response'], 'loadXML($xml);
- $productsNodeList = $doc->getElementsByTagName('product');
- foreach ($productsNodeList as $productNode)
- {
- $currentProduct = array();
- $nodeList = $productNode->childNodes;
- foreach ($nodeList as $element)
- $currentProduct[$element->nodeName] = $element->textContent;
- if (count($currentProduct))
- $products[] = $currentProduct;
- }
- }
-
- usort($products, array("DejalaUtils", "cmpProducts"));
- return ($responseArray);
- }
-
- private static function cmpProducts($a, $b)
- {
- if ($a['priority'] == $b['priority'])
- {
- if (($a['price'] == $b['price']))
- return ($a['id'] < $b['id']) ? -1 : 1 ;
- return ($a['price'] < $b['price']) ? -1 : 1 ;
- }
- return ($a['priority'] < $b['priority']) ? -1 : 1;
- }
-
- public function getStoreQuotation($dejalaConfig, $quotationElements, &$products, &$storeAttributes)
- {
- $serviceURL = $dejalaConfig->getRootServiceURI() . '/mystore/quotationV2';
- $postargs = $quotationElements;
- $responseArray = $this->makeRequest($dejalaConfig, $serviceURL, $postargs, 'GET', TRUE);
- if (!($xml = strstr($responseArray['response'], 'loadXML($xml);
- $productsNodeList = $doc->getElementsByTagName('product');
- foreach ($productsNodeList as $productNode)
- {
- $currentProduct = $this->getNodeValue($productNode);
- unset($currentProduct['calendar']['entries']['entry']);
- unset($currentProduct['computed_calendar']['entries']['entry']);
- $productCalendars = $productNode->getElementsByTagName('calendar');
- $calendarNodeList = $productCalendars->item(0)->getElementsByTagName('entry');
- foreach ($calendarNodeList as $calendarNode) {
- $calendarEntry = $this->getNodeValue($calendarNode);
- $currentProduct['calendar']['entries'][$calendarEntry['weekday']] = $calendarEntry;
- }
- $exceptionNodeList = $doc->getElementsByTagName('exception');
- $currentProduct['calendar']['exceptions'] = array();
- foreach ($exceptionNodeList as $exceptionNode) {
- $currentProduct['calendar']['exceptions'][] = $this->getNodeValue($exceptionNode);
- }
-
- $productComputedCalendars = $productNode->getElementsByTagName('computed_calendar');
- if ($productComputedCalendars->length > 0) {
- $calendarNodeList = $productComputedCalendars->item(0)->getElementsByTagName('computed_entry');
- foreach ($calendarNodeList as $calendarNode) {
- $calendarEntry = $this->getNodeValue($calendarNode);
- $currentProduct['computed_calendar']['entries'][] = $calendarEntry;
- }
- }
- /*$currentProduct = array();
- $nodeList = $productNode->childNodes;
- foreach ($nodeList as $element) {
- $currentProduct[$element->nodeName] = $element->textContent;
- }
- */
- if (count($currentProduct))
- $products[] = $currentProduct;
- }
-
- $nodeList = $doc->getElementsByTagName('store');
- if ($nodeList->length > 0) {
- $nodeList = $nodeList->item(0)->getElementsByTagName('attributes');
- if ($nodeList->length > 0) {
- $storeAttributes = $this->getNodeValue($nodeList->item(0));
- }
- }
- }
- usort($products, array("DejalaUtils", "cmpProducts"));
-
- return ($responseArray);
- }
-
- public function getStoreAttributes($dejalaConfig, &$store)
- {
- $serviceURL = $dejalaConfig->getRootServiceURI() . '/mystore';
- $postargs = array();
- $responseArray = $this->makeRequest($dejalaConfig, $serviceURL, $postargs, 'GET', TRUE);
- if (!($xml = strstr($responseArray['response'], 'loadXML($xml);
- $fatherNodeList = $doc->getElementsByTagName('store');
- if ($fatherNodeList->length > 0)
- {
- $childNodes = $fatherNodeList->item(0)->childNodes;
- foreach ($childNodes as $childNode)
- $store[$childNode->nodeName] = $childNode->textContent;
- }
- $nodeList = $doc->getElementsByTagName('attributes');
- $store['attributes'] = array();
- if ($nodeList->length > 0)
- $store['attributes'] = $this->getNodeValue($nodeList->item(0));
- }
- return ($responseArray);
- }
-
- public function getStoreProcesses($dejalaConfig, &$processes)
- {
- $serviceURL = $dejalaConfig->getRootServiceURI() . '/mystore';
- $postargs = array();
- $responseArray = $this->makeRequest($dejalaConfig, $serviceURL, $postargs, 'GET', TRUE);
- if (!($xml = strstr($responseArray['response'], 'loadXML($xml);
- $fatherNodeList = $doc->getElementsByTagName('processes');
- if ($fatherNodeList->length > 0)
- {
- $childNodes = $fatherNodeList->item(0)->childNodes;
- foreach ($childNodes as $childNode)
- $processes[$childNode->nodeName] = $childNode->textContent;
- }
- }
- return ($responseArray);
- }
-
- public function getStoreProductByID($dejalaConfig, $productID, &$product)
- {
- $serviceURL = $dejalaConfig->getRootServiceURI() . '/mystore/products/' . $productID;
- $postargs = array();
- $responseArray = $this->makeRequest($dejalaConfig, $serviceURL, $postargs, 'GET', TRUE);
- if (!($xml = strstr($responseArray['response'], 'loadXML($xml);
- $productsNodeList = $doc->getElementsByTagName('product');
- if ($productsNodeList->length > 0)
- {
- $nodeList = $productsNodeList->item(0)->childNodes;
- foreach ($nodeList as $element)
- $product[$element->nodeName] = $element->textContent;
- }
- }
- return ($responseArray);
- }
-
- public function getDelivery($dejalaConfig, &$delivery, $mode)
- {
- if ($mode !== 'PROD')
- $serviceURL = $dejalaConfig->getRootServiceURI('TEST') . '/mystore/delivery/' . $delivery['id'];
- else
- $serviceURL = $dejalaConfig->getRootServiceURI('PROD') . '/mystore/delivery/' . $delivery['id'];
- $responseArray = $this->makeRequest($dejalaConfig, $serviceURL, array(), 'GET', TRUE);
-
- if (!($xml = strstr($responseArray['response'], 'loadXML($xml);
- $nodeList = $doc->getElementsByTagName('delivery');
- if ($nodeList->length > 0)
- $this->getNodeValue($nodeList->item(0), $delivery);
- }
- return ($responseArray);
- }
-
- /**
- * Transforms and returns node into tree structure, use $value array if not null
- **/
- function getNodeValue($node, &$value=NULL)
- {
- if ($node instanceof DOMElement)
- {
- $childNodes = $node->childNodes;
- $onlyText = TRUE;
- $text = '';
- foreach ($childNodes as $childNode)
- {
- if ($childNode instanceof DOMElement)
- {
- $onlyText = FALSE;
- $value[$childNode->nodeName] = $this->getNodeValue($childNode);
- }
- }
-
- if ($onlyText)
- return ($value=$node->textContent);
- }
- return ($value);
- }
-
- public function getStoreDeliveries($dejalaConfig, &$deliveries, $args = array())
- {
- $serviceURL = $dejalaConfig->getRootServiceURI() . '/mystore/deliveries';
- $responseArray = $this->makeRequest($dejalaConfig, $serviceURL, $args, 'GET', TRUE);
- if (!($xml = strstr($responseArray['response'], 'loadXML($xml);
- $childNodes = $doc->getElementsByTagName('delivery');
- foreach ($childNodes as $childNode)
- $deliveries[] = $this->getNodeValue($childNode);
- }
- return ($responseArray);
- }
-
- public function setStoreContacts($dejalaConfig, &$contacts)
- {
- $serviceURL = $dejalaConfig->getRootServiceURI() . '/mystore/contacts';
- $responseArray = $this->makeRequest($dejalaConfig, $serviceURL, $contacts, 'PUT', TRUE);
- return ($responseArray);
- }
- public function setStoreLocation($dejalaConfig, &$location)
- {
- $serviceURL = $dejalaConfig->getRootServiceURI('TEST') . '/mystore/location';
- $responseArray = $this->makeRequest($dejalaConfig, $serviceURL, $location, 'PUT', TRUE);
- return ($responseArray);
- }
- public function setStoreProcesses($dejalaConfig, &$processes)
- {
- $serviceURL = $dejalaConfig->getRootServiceURI() . '/mystore/processes';
- $responseArray = $this->makeRequest($dejalaConfig, $serviceURL, $processes, 'PUT', TRUE);
- return ($responseArray);
- }
- public function setStoreProducts($dejalaConfig, &$products)
- {
- $serviceURL = $dejalaConfig->getRootServiceURI() . '/mystore/products';
- $responseArray = $this->makeRequest($dejalaConfig, $serviceURL, $products, 'PUT', TRUE);
- return ($responseArray);
- }
- public function setStoreCalendar($dejalaConfig, &$calendar)
- {
- $serviceURL = $dejalaConfig->getRootServiceURI() . '/mystore/calendar';
- $responseArray = $this->makeRequest($dejalaConfig, $serviceURL, $calendar, 'POST', TRUE);
- return ($responseArray);
- }
-
- public function setStoreAttributes($dejalaConfig, &$attributes)
- {
- $serviceURL = $dejalaConfig->getRootServiceURI() . '/mystore/attributes';
- $responseArray = $this->makeRequest($dejalaConfig, $serviceURL, $attributes, 'PUT', TRUE);
- return ($responseArray);
- }
-
- /**
- * Ask Dejala.fr to create an account for the store on the production platform
- **/
- public function goLive($dejalaConfig)
- {
- $serviceURL = $dejalaConfig->getRootServiceURI('TEST') . '/mystore/golive';
- $responseArray = $this->makeRequest($dejalaConfig, $serviceURL, array(), 'PUT', TRUE);
- return ($responseArray);
- }
- /**
- * teste la connexion sur le service Dejala dans le mode (TEST/PROD)
- * */
- public function ping($dejalaConfig, $mode)
- {
- if ($mode !== 'PROD')
- $serviceURL = $dejalaConfig->getRootServiceURI('TEST') . '/ping';
- else
- $serviceURL = $dejalaConfig->getRootServiceURI('PROD') . '/ping';
- $responseArray = $this->makeRequest($dejalaConfig, $serviceURL, array(), 'GET', TRUE);
- return ($responseArray);
- }
-
- public function makeRequest($dejalaConfig, $serviceURL, $args, $method='POST', $needAuth=TRUE)
- {
- $session = curl_init($serviceURL);
- $requestArgs = "";
- foreach ($args as $key => $value)
- $requestArgs = $requestArgs . '&' . $key . '=' . urlencode($value);
-
- if ($method == 'GET')
- {
- if (strlen($requestArgs) > 0)
- $requestArgs = '?' . $requestArgs;
- $session = curl_init($serviceURL . $requestArgs);
- }
- else if ($method == 'POST')
- {
- $session = curl_init($serviceURL);
- curl_setopt($session, CURLOPT_POST, true);
- curl_setopt($session, CURLOPT_POSTFIELDS, $requestArgs);
- }
- else if ($method == 'PUT')
- {
- curl_setopt($session, CURLOPT_CUSTOMREQUEST, 'PUT');
- curl_setopt($session, CURLOPT_POSTFIELDS, $requestArgs);
- }
- // manage authenth
- if ($needAuth)
- {
- curl_setopt($session, CURLOPT_USERPWD, $dejalaConfig->login.':'.$dejalaConfig->password);
- curl_setopt($session, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
- }
- // SSL option
- if ($dejalaConfig->useSSL === 1) {
- curl_setopt($session, CURLOPT_SSL_VERIFYHOST, 0);
- curl_setopt($session, CURLOPT_SSL_VERIFYPEER, 0);
- curl_setopt($session, CURLOPT_PORT, 443);
- }
- curl_setopt($session, CURLOPT_HEADER, true);
- curl_setopt($session, CURLOPT_RETURNTRANSFER, true);
- // Do the POST and then close the session
- $response = curl_exec($session);
- curl_close($session);
- // Get HTTP Status code from the response
- $status_code = array();
- preg_match('/\d\d\d/', $response, $status_code);
- $responseArray['status']=$status_code[0];
- $responseArray['response']=$response;
- return ($responseArray);
- }
-
-
- public function mylog($msg)
- {
- require_once(dirname(__FILE__) . "/MyLogUtils.php");
- $myFile = dirname(__FILE__) . "/logFile.txt";
- MyLogUtils::myLog($myFile, $msg);
- }
-
- // get a string of a value for Log purposes
- public function logValue($mvalue, $lvl=0)
- {
- require_once(dirname(__FILE__) . "/MyLogUtils.php");
- return (MyLogUtils::logValue($mvalue, $lvl));
- }
-
-
-}
-
diff --git a/modules/dejala/deliveries_csv.php b/modules/dejala/deliveries_csv.php
deleted file mode 100644
index 2d324bf34..000000000
--- a/modules/dejala/deliveries_csv.php
+++ /dev/null
@@ -1,71 +0,0 @@
-$val)
- if (is_array($val))
- $l_array[$key] = doubleQuoteArray($val);
- else
- $l_array[$key] = ereg_replace('"', '""', $val);
-
- return ($l_array);
- }
-
- $dejalaConfig = new DejalaConfig();
- $dejalaConfig->loadConfig();
-
- $from = Tools::getValue('datepickerFrom');
- $to = Tools::getValue('datepickerTo');
- if (!is_null($from) && !is_null($to) && (strlen($from) == 10) && (strlen($to) == 10) )
- {
- $dateFrom = mktime(0, 0, 1, (int)(substr($from, 3, 2)), (int)(substr($from, 0, 2)), (int)(substr($from, 6, 4)));
- $dateTo = mktime(23, 59, 59, (int)(substr($to, 3, 2)), (int)(substr($to, 0, 2)), (int)(substr($to, 6, 4)));
- if ($dateFrom > $dateTo)
- {
- $tmp = $dateTo;
- $dateTo = $dateFrom;
- $dateFrom = $tmp;
- }
-
- $djlUtil = new DejalaUtils();
- $deliveries = array();
- $responseArray = $djlUtil->getStoreDeliveries($dejalaConfig, $deliveries, array('from_utc'=>$dateFrom, 'to_utc'=>$dateTo));
- if ($responseArray['status']='200')
- {
- $l_deliveries = array();
- header("Content-type: text/csv");
- header("Content-disposition: attachment; filename=\"deliveries.csv\"");
-
- foreach ($deliveries as $key=>$delivery)
- {
- $l_delivery = doubleQuoteArray($delivery);
- $l_delivery['price']=ereg_replace('\.', ',', $l_delivery['price']);
- $l_delivery['creation_date'] = date('d/m/Y', $delivery['creation_utc']);
- $l_delivery['creation_time'] = date('H\hi', $delivery['creation_utc']);
- if (isset($delivery['shipping_start_utc']))
- {
- $l_delivery['shipping_date'] = date('d/m/Y', $delivery['shipping_start_utc']);
- $l_delivery['shipping_start'] = date('H\hi', $delivery['shipping_start_utc']);
- $l_delivery['shipping_stop'] = date('H\hi', (int)($delivery['shipping_start_utc']) + 3600*(int)($delivery['timelimit']) );
- }
- else
- {
- $delivery['shipping_date'] = '';
- $delivery['shipping_start'] = '';
- $delivery['shipping_stop'] = '';
- }
- if (isset($l_delivery['delivery_utc']))
- {
- $l_delivery['delivery_date'] = date('d/m/Y', $delivery['delivery_utc']);
- $l_delivery['delivery_time'] = date('H\hi', $delivery['delivery_utc']);
- }
- $l_deliveries[$key] = $l_delivery;
- }
- Context::getContext()->smarty->assign('deliveries', $l_deliveries);
- Context::getContext()->smarty->display(dirname(__FILE__).'/dejala_deliveries_csv.tpl');
- }
- }
diff --git a/modules/dejala/es.php b/modules/dejala/es.php
deleted file mode 100644
index 5d7672cf7..000000000
--- a/modules/dejala/es.php
+++ /dev/null
@@ -1,187 +0,0 @@
-dejala_9d1a0949c39e66a0cd65240bc0ac9177'] = 'Domingo';
-$_MODULE['<{dejala}prestashop>dejala_6f8522e0610541f1ef215a22ffa66ff6'] = 'Lunes';
-$_MODULE['<{dejala}prestashop>dejala_5792315f09a5d54fb7e3d066672b507f'] = 'Martes';
-$_MODULE['<{dejala}prestashop>dejala_796c163589f295373e171842f37265d5'] = 'Miércoles';
-$_MODULE['<{dejala}prestashop>dejala_78ae6f0cd191d25147e252dc54768238'] = 'Jueves';
-$_MODULE['<{dejala}prestashop>dejala_c33b138a163847cdb6caeeb7c9a126b4'] = 'Viernes';
-$_MODULE['<{dejala}prestashop>dejala_8b7051187b9191cdcdae6ed5a10e5adc'] = 'Sábado';
-$_MODULE['<{dejala}prestashop>dejala_9902522831a16af239ba868918f984c6'] = 'Dejala.com: transporte por mensajero';
-$_MODULE['<{dejala}prestashop>dejala_69a226fe54256a93edb693bc97a7bcb5'] = 'Envia los pedidos de entrega a dejala.fr';
-$_MODULE['<{dejala}prestashop>dejala_f66e08578735b3cde28a2d8215b68a52'] = 'El módulo necesita la extensión php Dejala cURL para funcionar';
-$_MODULE['<{dejala}prestashop>dejala_0e334c81db8c621e16d82618aaf746ab'] = 'login requerido.';
-$_MODULE['<{dejala}prestashop>dejala_2a04cf556c49e32d4b4c46fd9b8bade5'] = 'contraseña requerida.';
-$_MODULE['<{dejala}prestashop>dejala_483cf1f6e275faa3c29ff20ba6e4407f'] = 'país requerido.';
-$_MODULE['<{dejala}prestashop>dejala_2485b5c3212614c367f862a8e46f4d11'] = 'el login debe ser una dirección de correo electrónico válida.';
-$_MODULE['<{dejala}prestashop>dejala_dd189cdaa73e88a19f495a0d6c49a61b'] = 'Nombre de tienda requerido.';
-$_MODULE['<{dejala}prestashop>dejala_4876f72a0b3d7f46de2b201ab02cd0a7'] = 'no es un margen valido.';
-$_MODULE['<{dejala}prestashop>dejala_ad5ee5e5c2989c1e72c586a9f8121716'] = 'Se ha producido un error durante la autentificación de su cuenta en Dejala.com. Sus datos de autentificacón no se han reconocido.';
-$_MODULE['<{dejala}prestashop>dejala_23e0f5b7cc6e26112230c098b893944a'] = 'Imposible procesar la acción';
-$_MODULE['<{dejala}prestashop>dejala_6bd82dd0c6115429b03dd84828d6ccb2'] = 'Por favor escoja otro login';
-$_MODULE['<{dejala}prestashop>dejala_0aec12d0e7c8784012ee74606648d625'] = 'El servidor Dejala es inaccesible desde su servidor prestashop. Esto se debe posiblemente a un límite impuesto por su hosting. Contacte con el soporte técnico para preguntarle si su servidor se encuentra en medida de efectuar conexxiones HTTP de salida.';
-$_MODULE['<{dejala}prestashop>dejala_f46fe05842135a72df96c3409cf00683'] = 'Se ha producido un error al actualizar la localización';
-$_MODULE['<{dejala}prestashop>dejala_2f63af6e20f182573774b785515ccb95'] = 'Se ha producido un error al actualizar los contactos';
-$_MODULE['<{dejala}prestashop>dejala_3a29c6eb6abefd3d629290756168d892'] = 'Se ha producido un error al actualizar los procesos';
-$_MODULE['<{dejala}prestashop>dejala_5f010efe1c8e6cb195205cbf864044aa'] = 'Se ha producido un error al actualizar los productos';
-$_MODULE['<{dejala}prestashop>dejala_004ac360e91b3dcf50a19a0fd09e3826'] = 'Debe dar al menos una dirección email válida para restringir la visivilidad del módulo Dejala en su tienda';
-$_MODULE['<{dejala}prestashop>dejala_c888438d14855d7d96a2724ee9c306bd'] = 'Parámetros actualizados';
-$_MODULE['<{dejala}prestashop>dejala_dfa53d8241c9f6908e669371b50e95f3'] = 'Este módulo requiere la extensión php cURL para funcionar corectamente. Por favor instale antes la extensión php \"cURL\".';
-$_MODULE['<{dejala}prestashop>dejala_4c7d16a1e83bcbfd9b33e95f8e90a625'] = 'Se ha producido un error durante la autentificación de su cuenta en Dejala.com. Esto puede ser debido a un error de red o a un problema de plataforma. Inténtelo más tarde o contacte con Dejala.com.';
-$_MODULE['<{dejala}prestashop>dejala_94939d114a8c65173b70b6e01aad11c0'] = 'Se ha producido un error al recuperar los datos. Inténtelo más tarde o contacte con Dejala.com.';
-$_MODULE['<{dejala}prestashop>dejala_41d211dd68bf0f87cf3181b0c8dac6e7'] = 'Dejala.com';
-$_MODULE['<{dejala}prestashop>dejala_627db4c965627fb7f03682dbbc43a4a1'] = 'Elegiré la hora de entrega cuando mi pedido esté listo.';
-$_MODULE['<{dejala}prestashop>dejala_3d8764621d6076807b0d60cfcadb7213'] = 'Cuando quiera... Por mensajero';
-$_MODULE['<{dejala}prestashop>dejala_07e9ea0147aee652244a280da00efb5a'] = 'Entrega preferible el';
-$_MODULE['<{dejala}prestashop>dejala_47a4dfe5ab79feb7884fa57786ea587c'] = 'a partir de ';
-$_MODULE['<{dejala}prestashop>dejala_ba93cc89ba75ee6e74699a49a69c0600'] = 'Entrega cuya fecha debe establecerse con el cliente.';
-$_MODULE['<{dejala}prestashop>dejala_a240fa27925a635b08dc28c9e4f9216d'] = 'Pedido';
-$_MODULE['<{dejala}prestashop>dejala_296a91ebe13e861efa9bd0f74a927353'] = 'Pedido enviado a Dejala';
-$_MODULE['<{dejala}prestashop>dejala_carrier_21034ae6d01a83e702839a72ba8a77b0'] = '(sin IVA)';
-$_MODULE['<{dejala}prestashop>dejala_carrier_1f87346a16cf80c372065de3c54c86d9'] = '(IVA inc.)';
-$_MODULE['<{dejala}prestashop>dejala_carrier_e7a6ca4e744870d455a57b644f696457'] = '¡ Gratis !';
-$_MODULE['<{dejala}prestashop>dejala_carrier_nostock_21034ae6d01a83e702839a72ba8a77b0'] = '(sin IVA)';
-$_MODULE['<{dejala}prestashop>dejala_carrier_nostock_1f87346a16cf80c372065de3c54c86d9'] = '(IVA inc.)';
-$_MODULE['<{dejala}prestashop>dejala_carrier_nostock_e7a6ca4e744870d455a57b644f696457'] = '¡ Gratis !';
-$_MODULE['<{dejala}prestashop>dejala_contacts_a766dcf63862aaaa1625a45169aeb37a'] = 'Dueño de la tienda';
-$_MODULE['<{dejala}prestashop>dejala_contacts_4e140ba723a03baa6948340bf90e2ef6'] = 'Apellido:';
-$_MODULE['<{dejala}prestashop>dejala_contacts_d2cacc542d8dd31bd89f8defed1b55ad'] = 'Nombre:';
-$_MODULE['<{dejala}prestashop>dejala_contacts_673ae02fffb72f0fe68a66f096a01347'] = 'Teléfono:';
-$_MODULE['<{dejala}prestashop>dejala_contacts_7a31464d87d555a1d5a7d2afdeb64d4e'] = 'Teléfono móvil:';
-$_MODULE['<{dejala}prestashop>dejala_contacts_01401fe9a93df81d28637e5218597b76'] = 'E-Mail:';
-$_MODULE['<{dejala}prestashop>dejala_contacts_7e2121a0b71ccc33c5eeaf11999fdbcd'] = 'Contacto de control de stock';
-$_MODULE['<{dejala}prestashop>dejala_contacts_23e44d356bfc0d17f904cb743b4d247c'] = 'Contacto con la Administración';
-$_MODULE['<{dejala}prestashop>dejala_contacts_527a0a71d5684695421ec3375ec6dba8'] = 'Contacto con Mantenimiento del Sitio web ';
-$_MODULE['<{dejala}prestashop>dejala_contacts_c9cc8cce247e49bae79f15173ce97354'] = 'Guardar';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_9c8a7900448628ee2978be9a3945d148'] = 'Su crédito';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_b0ee4c529eda15bdecda8bf189a3c813'] = 'Su crédito virtual (para simulación)';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_defcb35db6f9bdac29b888bfc07e6386'] = 'euros';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_c2b55c1a6a9880bf1d7cba1914a6da56'] = 'Acreditar su cuenta';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_642c4a47922246182590d4f3c8304f35'] = 'Lista de las ultimas entregas ';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_01abfc750a0c942167651c40d088531d'] = '#';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_67d5168b4f2b5424a3d118ea9ef99372'] = 'Creación';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_d79cf3f429596f77db95c65074663a54'] = 'ID de Pedido';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_2a033d36697bb24bfc7ece05545d268e'] = 'N° de Tracking';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_b021df6aac4654c454f46c77646e745f'] = 'Etiqueta';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_3601146c4e948c32b6424d2c0a7f0118'] = 'Precio pagado (sin IVA)';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_ec53a8c4f07baed5d8825072c89799be'] = 'Estado';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_ea9cf7e47ff33b2be14e6dd07cbcefc6'] = 'Fecha de toma en cargo';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Descripción';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_2ca8d70baf21b18878843c02a086e46c'] = 'En ';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_2510c39011c5be704182423e3a695e91'] = 'h';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_d98a07f84921b24ee30f86fd8cd85c3c'] = 'de';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_01b6e20344b68835c5ed1ddedf20d531'] = 'a';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_427c7fb2385f610d26ea90fff86f9a84'] = 'Exportación Csv ';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_5da618e8e4b89c66fe86e32cdafde142'] = 'De';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_e12167aa0a7698e6ebc92b4ce3909b53'] = 'a';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_a60852f204ed8028c1c58808b746d115'] = 'Ok';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_8424d087ffe39bb2ee8db173c7e07ba5'] = 'Fecha de creación';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_d79cf3f429596f77db95c65074663a54'] = 'N° de Pedido';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_2a033d36697bb24bfc7ece05545d268e'] = 'N° de Tracking';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_ac27812104f966f43d3a60f37a869338'] = 'Descripción rapida';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_78a5eb43deef9a7b5b9ce157b9d52ac4'] = 'Pecio pagado';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_9acb44549b41563697bb490144ec6258'] = 'Estado';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_1e6e6626b6e59276b14112ebc34c5d49'] = 'Fecha de Salida';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_c20456384feb648b4692b700ec570d42'] = 'Plazo';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_5c5c8fc67b523e638e0a904d61651f2d'] = 'Hora de Inicio';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_8e659923776b8706dbf4636c408e987c'] = 'Hora máxima de Entrega';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_ba402b48292a61e4d82f85eeaa0904dc'] = 'Fecha de Entrega';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_7c7f9f48d29519e8cb47ac606a431a65'] = 'Hora de Entrega';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_617283f39e91b6ead659cef3c722cabc'] = 'Preferencias de envío';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_11d783488db0c358bd9077a2e1a250e7'] = 'Su plazo de preparación de pedidos ';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_ffe181130430aff6386df37df36347f8'] = 'inmediato ( < 20 mn )';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_a3cb1f2ebeda6fa36b27598f1d096f60'] = 'medio dia';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_849490640e65410418220e5c179a1477'] = 'un dia';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_44fdec47036f482b68b748f9d786801b'] = 'dias';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_6749e3e07aeb12081dc32e581ffcf463'] = 'DEJALA propondrá la entrega al cabo del plazo de preparación';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_48b4a9d141bcbb3911caa5caf4b750b2'] = 'Proponer a sus clientes franjas horarias sobre ';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_7877adcb96eb8221c075f0008093bbf7'] = 'dias';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_b4f86cbc11cb9565374c08c61372f3ad'] = 'Franja en dias dentro de la cual su cliente podrá elejir ser entregado. De forma general, DEJALA vendrá recojer el pedido el dia de la entrega.';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_44a33a70398318da91b789b33152dafa'] = 'Activar si fuera de stock';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_767cd99c2f2b9fb9e5aa531c37b45f87'] = 'Permite a los clientes elegir Dejala, incluso si un producto está agotadok (El cliente elegirá la fecha de la entrega cuando su pedido esté listo)';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_c9cc8cce247e49bae79f15173ce97354'] = 'Guardar';
-$_MODULE['<{dejala}prestashop>dejala_header_c45abd6f2b5f3b3a954c97f008ccb52c'] = 'Entregue sus pedidos por mensajero con ';
-$_MODULE['<{dejala}prestashop>dejala_header_20e846b603a0b7f1c00b1fc457308fb7'] = 'DEJALA';
-$_MODULE['<{dejala}prestashop>dejala_home_21e71170be5450c6380d7a9fc0ba51c3'] = '¿ Nuevo ?';
-$_MODULE['<{dejala}prestashop>dejala_home_07965cce4ec6247bd57783dff0af1657'] = 'Su nombre de tienda :';
-$_MODULE['<{dejala}prestashop>dejala_home_558f162b01a3d6d31865a1ca91a03d57'] = 'Escoja su País :';
-$_MODULE['<{dejala}prestashop>dejala_home_0309a6c666a7a803fdb9db95de71cf01'] = 'Francia';
-$_MODULE['<{dejala}prestashop>dejala_home_907eba32d950bfab68227fd7ea22999b'] = 'España';
-$_MODULE['<{dejala}prestashop>dejala_home_a999205c014634072764fe3fadc4f4ca'] = 'Elija su login :';
-$_MODULE['<{dejala}prestashop>dejala_home_a7e4228de9b12575b0cd88c4cf0f54f9'] = 'Elija su contraseña :';
-$_MODULE['<{dejala}prestashop>dejala_home_0ba7583639a274c434bbe6ef797115a4'] = 'Registrarse';
-$_MODULE['<{dejala}prestashop>dejala_home_72429bbc9acf8e6fcf6132ac1fa20d57'] = 'Ya dispongo de una cuenta para mi tienda :';
-$_MODULE['<{dejala}prestashop>dejala_home_051672911a3f1f05efba78a553ef6fe2'] = 'Login :';
-$_MODULE['<{dejala}prestashop>dejala_home_b341a59d5636ed3d6a819137495b08a0'] = 'Contraseña :';
-$_MODULE['<{dejala}prestashop>dejala_home_e5b47edd743751a81819b7f421639303'] = 'Apúntarse';
-$_MODULE['<{dejala}prestashop>dejala_home_853fe2c3719fab6d1dde555eb536f649'] = 'DEJALA';
-$_MODULE['<{dejala}prestashop>dejala_home_02d222897fd57cbc8154be7b2c41e2ff'] = 'Para recordar';
-$_MODULE['<{dejala}prestashop>dejala_home_3a40880c274dd353056ce584940d1ca8'] = 'El nombre de su tienda en';
-$_MODULE['<{dejala}prestashop>dejala_home_55724d105b50b04063a21fba83236de6'] = 'Su login es';
-$_MODULE['<{dejala}prestashop>dejala_home_bbb658f348426b60b3395d5357225112'] = 'Está en modo';
-$_MODULE['<{dejala}prestashop>dejala_home_c8ab370eeab3cf4011e25fa953031e77'] = 'SIMULACIÓN en la plataforma de Test';
-$_MODULE['<{dejala}prestashop>dejala_home_68279960d4eaab19115d276486e1e1d7'] = 'PRODUCCIÓN en la plataforma real';
-$_MODULE['<{dejala}prestashop>dejala_home_64baa4dba37ddc4207a777ac53565f06'] = 'Bascular al modo SIMULACIÓN';
-$_MODULE['<{dejala}prestashop>dejala_home_a0802ed7a4e243cc01699e44e0b0b33b'] = 'Bascular al modo PRODUCCIÓN';
-$_MODULE['<{dejala}prestashop>dejala_home_104cdbe9fcaa62064ecc718b647c2929'] = 'Su péticion para bascular al modo real se está procesando: DEJALA entrará en contacto con usted para finalizar el trámite.';
-$_MODULE['<{dejala}prestashop>dejala_home_1ccd621bb658777957a0c0ae95b97fc6'] = 'Solicitar DEJALA para crear mi cuenta en producción';
-$_MODULE['<{dejala}prestashop>dejala_home_9c8a7900448628ee2978be9a3945d148'] = 'Su crédito';
-$_MODULE['<{dejala}prestashop>dejala_home_b0ee4c529eda15bdecda8bf189a3c813'] = 'Su crédito virtual (para pruebas en modo simulación)';
-$_MODULE['<{dejala}prestashop>dejala_home_defcb35db6f9bdac29b888bfc07e6386'] = 'euros';
-$_MODULE['<{dejala}prestashop>dejala_home_c2b55c1a6a9880bf1d7cba1914a6da56'] = 'Acreditar su cuenta';
-$_MODULE['<{dejala}prestashop>dejala_home_d33b3ef83df48e14035b6927a27a6824'] = 'Dejala NO es visible por los usuarios';
-$_MODULE['<{dejala}prestashop>dejala_home_8ce5717d0efdee714d5c44eb72559943'] = 'Dejala NO es visible por todos los usuarios';
-$_MODULE['<{dejala}prestashop>dejala_home_97f9bae265c399ce4781878d46a5a733'] = 'Dejala es visible únicamente por los sigueintes usuarios:';
-$_MODULE['<{dejala}prestashop>dejala_home_66495952bdab30f6bdc92e318d4f36a6'] = 'Por ej: a@foof.com, b@bar.com';
-$_MODULE['<{dejala}prestashop>dejala_home_e49df857f0f92d5dd2f73b9fa54d7308'] = 'Actualizar la visibilidad';
-$_MODULE['<{dejala}prestashop>dejala_location_ce9142ea2df85cf8ea4dfda7164e7dcf'] = 'Indique la dirección del PUNTO DE SALIDA de las mercancias';
-$_MODULE['<{dejala}prestashop>dejala_location_c58b3ccfae7d8991a1bdf33f275d6007'] = '(sólo lectura en producción)';
-$_MODULE['<{dejala}prestashop>dejala_location_20dfc4f904ba3c650a578c41f87e7053'] = 'Localizar';
-$_MODULE['<{dejala}prestashop>dejala_location_1c76cbfe21c6f44c1d1e59d54f3e4420'] = 'Empresa';
-$_MODULE['<{dejala}prestashop>dejala_location_dd7bf230fde8d4836917806aff6a6b27'] = 'Dirección (1)';
-$_MODULE['<{dejala}prestashop>dejala_location_783cb853aae6984e51583b3bb80c09d2'] = 'Dirección (2)';
-$_MODULE['<{dejala}prestashop>dejala_location_9b514b51d03075005814a33edc74c958'] = 'Código postal';
-$_MODULE['<{dejala}prestashop>dejala_location_57d056ed0984166336b7879c2af3657f'] = 'Ciudad';
-$_MODULE['<{dejala}prestashop>dejala_location_bcc254b55c4a1babdf1dcb82c207506b'] = 'Teléfono';
-$_MODULE['<{dejala}prestashop>dejala_location_4e186c431f7c016c761c722debb9768e'] = 'Teléfono móvil';
-$_MODULE['<{dejala}prestashop>dejala_location_8413c683b4b27cc3f4dbd4c90329d8ba'] = 'Comentarios';
-$_MODULE['<{dejala}prestashop>dejala_location_b17f3f4dcf653a5776792498a9b44d6a'] = 'Guardar';
-$_MODULE['<{dejala}prestashop>dejala_menu_8cf04a9734132302f96da8e113e80ce5'] = 'Inicio';
-$_MODULE['<{dejala}prestashop>dejala_menu_ce5bf551379459c1c61d2a204061c455'] = 'Stock';
-$_MODULE['<{dejala}prestashop>dejala_menu_9aa698f602b1e5694855cee73a683488'] = 'Contactos';
-$_MODULE['<{dejala}prestashop>dejala_menu_77ea79b4b2638f146bf02ea6dc076006'] = 'Casos de entrega';
-$_MODULE['<{dejala}prestashop>dejala_menu_3eb0f1d14d6ec438d91fcfdab94fc1ca'] = 'Opciones de entrega';
-$_MODULE['<{dejala}prestashop>dejala_menu_e16dd6e118732c5d1586d6aba0b62f3a'] = 'Precios';
-$_MODULE['<{dejala}prestashop>dejala_menu_9bbd45bad55cfc620803907f2d8a0217'] = 'Historial de entregas';
-$_MODULE['<{dejala}prestashop>dejala_menu_36d5423bb12a6d74d1d0f0ba09ef47cb'] = 'Parámetros técnicos';
-$_MODULE['<{dejala}prestashop>dejala_menu_35cf95ca41b6d074cfaeac16b0e0906c'] = 'DEJALA PRO';
-$_MODULE['<{dejala}prestashop>dejala_picking_timetable_845398bc903ec28114a5f9874d83936b'] = 'El stock está abierto :';
-$_MODULE['<{dejala}prestashop>dejala_picking_timetable_2084c04f7a380a68b653e5fc82d352f0'] = 'De';
-$_MODULE['<{dejala}prestashop>dejala_picking_timetable_7fc56270e7a70fa81a5935b72eacbe29'] = 'A';
-$_MODULE['<{dejala}prestashop>dejala_processes_237527ad3e0c9d87f072f2ac3a873dc8'] = 'Cómo actuar y con quien contactar en los casos siguientes ';
-$_MODULE['<{dejala}prestashop>dejala_processes_0f516eb68a85aae932001976c51dee2f'] = 'No dude en modificar los procedimientos siguientes según sus imperativos comerciales y/o logísticos !';
-$_MODULE['<{dejala}prestashop>dejala_processes_dbfdb39c2251ff72f42f7078ab347611'] = 'Dirección del cliente erronea o no encontrada';
-$_MODULE['<{dejala}prestashop>dejala_processes_b1da17cfc7c9a051fe4ce45bf1dd1ace'] = 'Cliente ausente al momento de la entrega';
-$_MODULE['<{dejala}prestashop>dejala_processes_3ab0370c6e7c3d0ea1cd540e7afacc9a'] = 'Entrega denegada por el cliente';
-$_MODULE['<{dejala}prestashop>dejala_processes_138a10902b1fec08bcf2d9f5a6f4b02b'] = 'Precauciones especiales con sus paquetes (fragilidad, embalaje, etc)';
-$_MODULE['<{dejala}prestashop>dejala_processes_b17f3f4dcf653a5776792498a9b44d6a'] = 'Guardar';
-$_MODULE['<{dejala}prestashop>dejala_products_aa83582f6ce84345c97815de714e6ebd'] = 'Puede ajustar sur margen (ganar sobre el envio o tomar en cargo todo o parte del costo de envio) ';
-$_MODULE['<{dejala}prestashop>dejala_products_49ee3087348e8d44e1feda1917443987'] = 'Destino del envio';
-$_MODULE['<{dejala}prestashop>dejala_products_26160d42b371fb091c142cb8cfa09c34'] = 'Precio que DEJALA le factura por el envio';
-$_MODULE['<{dejala}prestashop>dejala_products_f8ca05a1d72f37501747657deecdd15c'] = 'Su margen sobre el envio (IVA_incluido)';
-$_MODULE['<{dejala}prestashop>dejala_products_e6f254c2f6e55725e99e1e6dfd6d9caa'] = 'Costo final del envio (añadido a la carrito)';
-$_MODULE['<{dejala}prestashop>dejala_products_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Descripción de la prestación';
-$_MODULE['<{dejala}prestashop>dejala_products_1cdad1a5f8e5d09be270415e44c0f039'] = 'Compra sin IVA';
-$_MODULE['<{dejala}prestashop>dejala_products_ecef91ba37ffc5f5294ea50efee7c6a2'] = 'Compra IVA inc.';
-$_MODULE['<{dejala}prestashop>dejala_products_765a24c102d9a0b03eb03c77e90a9144'] = 'Venta sin IVA';
-$_MODULE['<{dejala}prestashop>dejala_products_8588719c33b27bd80ae45cc533117c00'] = 'Venta IVA inc.';
-$_MODULE['<{dejala}prestashop>dejala_products_efeb369cccbd560588a756610865664c'] = 'En';
-$_MODULE['<{dejala}prestashop>dejala_products_2510c39011c5be704182423e3a695e91'] = 'h';
-$_MODULE['<{dejala}prestashop>dejala_products_b17f3f4dcf653a5776792498a9b44d6a'] = 'Guardar';
-$_MODULE['<{dejala}prestashop>dejala_technical_options_b44c4d973c20b84bad66d243b215ef37'] = 'Estados que generan automaticamente un pedido de entrega por DEJALA ';
-$_MODULE['<{dejala}prestashop>dejala_technical_options_a296002220093a4833752a3cf94f07d0'] = 'Cuando un pedido de entrega se valida, se le carga el coste a su cuenta DEJALA.';
-$_MODULE['<{dejala}prestashop>dejala_technical_options_b17f3f4dcf653a5776792498a9b44d6a'] = 'Guardar';
-$_MODULE['<{dejala}prestashop>dejala_timetable_193993f964d2d4df4b1484227c1626b6'] = 'Elegir el día de entrega';
-$_MODULE['<{dejala}prestashop>dejala_timetable_26903e0f192163f4a0957c0b185edf71'] = 'Elegir la hora de entrega';
diff --git a/modules/dejala/fr.php b/modules/dejala/fr.php
deleted file mode 100644
index c5df19122..000000000
--- a/modules/dejala/fr.php
+++ /dev/null
@@ -1,187 +0,0 @@
-dejala_9d1a0949c39e66a0cd65240bc0ac9177'] = 'Dimanche';
-$_MODULE['<{dejala}prestashop>dejala_6f8522e0610541f1ef215a22ffa66ff6'] = 'Lundi';
-$_MODULE['<{dejala}prestashop>dejala_5792315f09a5d54fb7e3d066672b507f'] = 'Mardi';
-$_MODULE['<{dejala}prestashop>dejala_796c163589f295373e171842f37265d5'] = 'Mercredi';
-$_MODULE['<{dejala}prestashop>dejala_78ae6f0cd191d25147e252dc54768238'] = 'Jeudi';
-$_MODULE['<{dejala}prestashop>dejala_c33b138a163847cdb6caeeb7c9a126b4'] = 'Vendredi';
-$_MODULE['<{dejala}prestashop>dejala_8b7051187b9191cdcdae6ed5a10e5adc'] = 'Samedi';
-$_MODULE['<{dejala}prestashop>dejala_9902522831a16af239ba868918f984c6'] = 'Dejala.com : le transport par coursier';
-$_MODULE['<{dejala}prestashop>dejala_69a226fe54256a93edb693bc97a7bcb5'] = 'Envoie les demandes de livraisons vers dejala.com';
-$_MODULE['<{dejala}prestashop>dejala_f66e08578735b3cde28a2d8215b68a52'] = 'Le module nécessite l\'extension php Dejala cURL pour fonctionner correctement. Merci d\'installer l\'extension php \"curl \"';
-$_MODULE['<{dejala}prestashop>dejala_0e334c81db8c621e16d82618aaf746ab'] = 'Entrez votre nom d\'utilisateur';
-$_MODULE['<{dejala}prestashop>dejala_2a04cf556c49e32d4b4c46fd9b8bade5'] = 'Entrez votre mot de passe';
-$_MODULE['<{dejala}prestashop>dejala_483cf1f6e275faa3c29ff20ba6e4407f'] = 'Merci de bien vouloir sélectionner un pays';
-$_MODULE['<{dejala}prestashop>dejala_2485b5c3212614c367f862a8e46f4d11'] = 'Le nom d\'utilisateur doit être une adresse email valide';
-$_MODULE['<{dejala}prestashop>dejala_dd189cdaa73e88a19f495a0d6c49a61b'] = 'Entrez le nom de votre boutique';
-$_MODULE['<{dejala}prestashop>dejala_4876f72a0b3d7f46de2b201ab02cd0a7'] = 'n\'est pas une marge acceptée';
-$_MODULE['<{dejala}prestashop>dejala_ad5ee5e5c2989c1e72c586a9f8121716'] = 'Une erreur est survenue lors de l\'authentification de votre compte sur Dejala.com. Vos informations d\'authentification n\'ont pas été reconnues.';
-$_MODULE['<{dejala}prestashop>dejala_23e0f5b7cc6e26112230c098b893944a'] = 'Impossible de réaliser cette action';
-$_MODULE['<{dejala}prestashop>dejala_6bd82dd0c6115429b03dd84828d6ccb2'] = 'Ce login n\'est pas disponible. Merci de choisir un autre login.';
-$_MODULE['<{dejala}prestashop>dejala_0aec12d0e7c8784012ee74606648d625'] = 'Serveur Dejala inaccessible depuis votre serveur Prestashop. Ceci est certainement dû à une limite imposée par votre hébergeur. Contactez le support technique de ce dernier pour lui demander si votre serveur est autorisé à effectuer des connexions HTTP sortantes.';
-$_MODULE['<{dejala}prestashop>dejala_f46fe05842135a72df96c3409cf00683'] = 'Une erreur est survenue lors de la mise à jour de l\'adresse';
-$_MODULE['<{dejala}prestashop>dejala_2f63af6e20f182573774b785515ccb95'] = 'Une erreur est survenue lors de la mise à jour des contacts';
-$_MODULE['<{dejala}prestashop>dejala_3a29c6eb6abefd3d629290756168d892'] = 'Une erreur est survenue lors de la mise à jour des imprévus';
-$_MODULE['<{dejala}prestashop>dejala_5f010efe1c8e6cb195205cbf864044aa'] = 'Une erreur est survenue lors de la mise à jour des produits';
-$_MODULE['<{dejala}prestashop>dejala_004ac360e91b3dcf50a19a0fd09e3826'] = 'Vous devez fournir au moins une adresse email pour restreindre la visibilité du module Dejala sur votre boutique';
-$_MODULE['<{dejala}prestashop>dejala_c888438d14855d7d96a2724ee9c306bd'] = 'Modifications prises en compte';
-$_MODULE['<{dejala}prestashop>dejala_dfa53d8241c9f6908e669371b50e95f3'] = 'Ce module a besoin de l\'extension php \"cURL\" pour fonctionner correctement. Merci de bien vouloir installer l\'extension php \"cURL\"';
-$_MODULE['<{dejala}prestashop>dejala_4c7d16a1e83bcbfd9b33e95f8e90a625'] = 'Une erreur est survenue lors de l\'authentification de votre compte sur Dejala.com. Ceci peut être du à une erreur réseau ou à un problème de plate-forme. Réessayez plus tard ou contactez Dejala.com.';
-$_MODULE['<{dejala}prestashop>dejala_94939d114a8c65173b70b6e01aad11c0'] = 'Une erreur est survenue lors de la récupération des informations. Réessayez plus tard ou contactez Dejala.com.';
-$_MODULE['<{dejala}prestashop>dejala_41d211dd68bf0f87cf3181b0c8dac6e7'] = 'Dejala.com';
-$_MODULE['<{dejala}prestashop>dejala_627db4c965627fb7f03682dbbc43a4a1'] = 'Je choisirai mon heure de livraison quand mon colis sera prêt.';
-$_MODULE['<{dejala}prestashop>dejala_3d8764621d6076807b0d60cfcadb7213'] = 'Quand vous voulez... Par coursier';
-$_MODULE['<{dejala}prestashop>dejala_07e9ea0147aee652244a280da00efb5a'] = 'Livraison souhaitée le';
-$_MODULE['<{dejala}prestashop>dejala_47a4dfe5ab79feb7884fa57786ea587c'] = 'à partir de';
-$_MODULE['<{dejala}prestashop>dejala_ba93cc89ba75ee6e74699a49a69c0600'] = 'Livraison dont la date doit être fixée avec le client.';
-$_MODULE['<{dejala}prestashop>dejala_a240fa27925a635b08dc28c9e4f9216d'] = 'Commande';
-$_MODULE['<{dejala}prestashop>dejala_296a91ebe13e861efa9bd0f74a927353'] = 'Commande envoyée à Dejala';
-$_MODULE['<{dejala}prestashop>dejala_carrier_21034ae6d01a83e702839a72ba8a77b0'] = 'HT';
-$_MODULE['<{dejala}prestashop>dejala_carrier_1f87346a16cf80c372065de3c54c86d9'] = 'TTC';
-$_MODULE['<{dejala}prestashop>dejala_carrier_e7a6ca4e744870d455a57b644f696457'] = 'Gratuit !';
-$_MODULE['<{dejala}prestashop>dejala_carrier_nostock_21034ae6d01a83e702839a72ba8a77b0'] = 'HT';
-$_MODULE['<{dejala}prestashop>dejala_carrier_nostock_1f87346a16cf80c372065de3c54c86d9'] = 'TTC';
-$_MODULE['<{dejala}prestashop>dejala_carrier_nostock_e7a6ca4e744870d455a57b644f696457'] = 'Gratuit !';
-$_MODULE['<{dejala}prestashop>dejala_contacts_a766dcf63862aaaa1625a45169aeb37a'] = 'Gérant de la Boutique (signataire)';
-$_MODULE['<{dejala}prestashop>dejala_contacts_4e140ba723a03baa6948340bf90e2ef6'] = 'Nom';
-$_MODULE['<{dejala}prestashop>dejala_contacts_d2cacc542d8dd31bd89f8defed1b55ad'] = 'Prénom';
-$_MODULE['<{dejala}prestashop>dejala_contacts_673ae02fffb72f0fe68a66f096a01347'] = 'Tél';
-$_MODULE['<{dejala}prestashop>dejala_contacts_7a31464d87d555a1d5a7d2afdeb64d4e'] = 'Mobile';
-$_MODULE['<{dejala}prestashop>dejala_contacts_01401fe9a93df81d28637e5218597b76'] = 'E-Mail';
-$_MODULE['<{dejala}prestashop>dejala_contacts_7e2121a0b71ccc33c5eeaf11999fdbcd'] = 'Contact du Stock (point de départ)';
-$_MODULE['<{dejala}prestashop>dejala_contacts_23e44d356bfc0d17f904cb743b4d247c'] = 'Contact Administratif et Financier';
-$_MODULE['<{dejala}prestashop>dejala_contacts_527a0a71d5684695421ec3375ec6dba8'] = 'Contact Expédition (suivi des livraisons)';
-$_MODULE['<{dejala}prestashop>dejala_contacts_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_9c8a7900448628ee2978be9a3945d148'] = 'Votre solde';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_b0ee4c529eda15bdecda8bf189a3c813'] = 'Votre solde fictif (pour la simulation)';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_defcb35db6f9bdac29b888bfc07e6386'] = 'Euros (€)';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_c2b55c1a6a9880bf1d7cba1914a6da56'] = 'Rechargez votre compte';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_642c4a47922246182590d4f3c8304f35'] = 'Liste des dernières commandes';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_01abfc750a0c942167651c40d088531d'] = '#';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_67d5168b4f2b5424a3d118ea9ef99372'] = 'Date de la commande';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_d79cf3f429596f77db95c65074663a54'] = 'ID de la commande';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_2a033d36697bb24bfc7ece05545d268e'] = 'N° de suivi Dejala';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_b021df6aac4654c454f46c77646e745f'] = 'Libellé';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_3601146c4e948c32b6424d2c0a7f0118'] = 'Prix payé HT';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_ec53a8c4f07baed5d8825072c89799be'] = 'Etat ';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_ea9cf7e47ff33b2be14e6dd07cbcefc6'] = 'Date prise en charge';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Description';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_2ca8d70baf21b18878843c02a086e46c'] = 'En ';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_2510c39011c5be704182423e3a695e91'] = 'h';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_d98a07f84921b24ee30f86fd8cd85c3c'] = 'de';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_01b6e20344b68835c5ed1ddedf20d531'] = 'à';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_427c7fb2385f610d26ea90fff86f9a84'] = 'Exportation en CSV';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_5da618e8e4b89c66fe86e32cdafde142'] = 'De';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_e12167aa0a7698e6ebc92b4ce3909b53'] = 'A ';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_a60852f204ed8028c1c58808b746d115'] = 'OK';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_8424d087ffe39bb2ee8db173c7e07ba5'] = 'Date de création';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_d79cf3f429596f77db95c65074663a54'] = 'ID commande';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_2a033d36697bb24bfc7ece05545d268e'] = 'N° de suivi Dejala';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_ac27812104f966f43d3a60f37a869338'] = 'description courte';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_78a5eb43deef9a7b5b9ce157b9d52ac4'] = 'Prix payé';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_9acb44549b41563697bb490144ec6258'] = 'Etat';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_1e6e6626b6e59276b14112ebc34c5d49'] = 'Date de départ';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_c20456384feb648b4692b700ec570d42'] = 'Délai';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_5c5c8fc67b523e638e0a904d61651f2d'] = 'Heure Début';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_8e659923776b8706dbf4636c408e987c'] = 'heure max de Livraison';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_ba402b48292a61e4d82f85eeaa0904dc'] = 'Date de Livraison';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_7c7f9f48d29519e8cb47ac606a431a65'] = 'Heure de Livraison';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_617283f39e91b6ead659cef3c722cabc'] = 'Préférences de livraison';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_11d783488db0c358bd9077a2e1a250e7'] = 'Votre temps de préparation de commande';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_ffe181130430aff6386df37df36347f8'] = 'immédiat (< 20 mn)';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_a3cb1f2ebeda6fa36b27598f1d096f60'] = 'une demi-journée';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_849490640e65410418220e5c179a1477'] = 'une journée';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_44fdec47036f482b68b748f9d786801b'] = 'journées';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_6749e3e07aeb12081dc32e581ffcf463'] = 'Dejala proposera une livraison à l\'issue du temps de préparation';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_48b4a9d141bcbb3911caa5caf4b750b2'] = 'Proposer à votre client des créneaux sur ';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_7877adcb96eb8221c075f0008093bbf7'] = 'jours';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_b4f86cbc11cb9565374c08c61372f3ad'] = 'C\'est le nombre de jours parmi lesquels votre client pourra choisir d\'être livré. D\'une manière générale, Dejala viendra chercher la commande le jour de la livraison.';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_44a33a70398318da91b789b33152dafa'] = 'Actif en hors stock';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_767cd99c2f2b9fb9e5aa531c37b45f87'] = 'Ceci permettra à vos clients de commander un coursier quand un produit est hors stock. Votre client choisira son créneau de livraison quand sa commande sera prête.';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer';
-$_MODULE['<{dejala}prestashop>dejala_header_c45abd6f2b5f3b3a954c97f008ccb52c'] = 'Livrez vos clients par coursier avec ';
-$_MODULE['<{dejala}prestashop>dejala_header_20e846b603a0b7f1c00b1fc457308fb7'] = 'DEJALA';
-$_MODULE['<{dejala}prestashop>dejala_home_21e71170be5450c6380d7a9fc0ba51c3'] = 'Nouveau ? ';
-$_MODULE['<{dejala}prestashop>dejala_home_07965cce4ec6247bd57783dff0af1657'] = 'Nom de votre site';
-$_MODULE['<{dejala}prestashop>dejala_home_558f162b01a3d6d31865a1ca91a03d57'] = 'Dans quel pays est votre entrepôt';
-$_MODULE['<{dejala}prestashop>dejala_home_0309a6c666a7a803fdb9db95de71cf01'] = 'France';
-$_MODULE['<{dejala}prestashop>dejala_home_907eba32d950bfab68227fd7ea22999b'] = 'Espagne';
-$_MODULE['<{dejala}prestashop>dejala_home_a999205c014634072764fe3fadc4f4ca'] = 'votre login (votre E-Mail)';
-$_MODULE['<{dejala}prestashop>dejala_home_a7e4228de9b12575b0cd88c4cf0f54f9'] = 'Choisissez un mot de passe sur Dejala';
-$_MODULE['<{dejala}prestashop>dejala_home_0ba7583639a274c434bbe6ef797115a4'] = 's\'inscrire';
-$_MODULE['<{dejala}prestashop>dejala_home_72429bbc9acf8e6fcf6132ac1fa20d57'] = 'je suis déjà inscrit sur DEJALA';
-$_MODULE['<{dejala}prestashop>dejala_home_051672911a3f1f05efba78a553ef6fe2'] = 'login';
-$_MODULE['<{dejala}prestashop>dejala_home_b341a59d5636ed3d6a819137495b08a0'] = 'mot de passe Dejala';
-$_MODULE['<{dejala}prestashop>dejala_home_e5b47edd743751a81819b7f421639303'] = 's\'identifier';
-$_MODULE['<{dejala}prestashop>dejala_home_853fe2c3719fab6d1dde555eb536f649'] = 'DEJALA';
-$_MODULE['<{dejala}prestashop>dejala_home_02d222897fd57cbc8154be7b2c41e2ff'] = 'Pour mémoire';
-$_MODULE['<{dejala}prestashop>dejala_home_3a40880c274dd353056ce584940d1ca8'] = 'Le nom de votre magasin est';
-$_MODULE['<{dejala}prestashop>dejala_home_55724d105b50b04063a21fba83236de6'] = 'Votre login (E-Mail) est';
-$_MODULE['<{dejala}prestashop>dejala_home_bbb658f348426b60b3395d5357225112'] = 'Vous êtes en mode';
-$_MODULE['<{dejala}prestashop>dejala_home_c8ab370eeab3cf4011e25fa953031e77'] = 'SIMULATION sur la plateforme de TEST';
-$_MODULE['<{dejala}prestashop>dejala_home_68279960d4eaab19115d276486e1e1d7'] = 'PRODUCTION';
-$_MODULE['<{dejala}prestashop>dejala_home_64baa4dba37ddc4207a777ac53565f06'] = 'passer en mode SIMULATION';
-$_MODULE['<{dejala}prestashop>dejala_home_a0802ed7a4e243cc01699e44e0b0b33b'] = 'passer en mode PRODUCTION';
-$_MODULE['<{dejala}prestashop>dejala_home_104cdbe9fcaa62064ecc718b647c2929'] = 'Votre demande de passage en production est en cours de traitement. DEJALA va vous contacter prochainement pour valider votre activation.';
-$_MODULE['<{dejala}prestashop>dejala_home_1ccd621bb658777957a0c0ae95b97fc6'] = 'je souhaite passer en PRODUCTION';
-$_MODULE['<{dejala}prestashop>dejala_home_9c8a7900448628ee2978be9a3945d148'] = 'Votre solde';
-$_MODULE['<{dejala}prestashop>dejala_home_b0ee4c529eda15bdecda8bf189a3c813'] = 'Votre solde fictif (pour la simulation)';
-$_MODULE['<{dejala}prestashop>dejala_home_defcb35db6f9bdac29b888bfc07e6386'] = 'Euros (€)';
-$_MODULE['<{dejala}prestashop>dejala_home_c2b55c1a6a9880bf1d7cba1914a6da56'] = 'Rechargez votre compte';
-$_MODULE['<{dejala}prestashop>dejala_home_d33b3ef83df48e14035b6927a27a6824'] = 'Dejala n\'est PAS visible par vos utilisateurs';
-$_MODULE['<{dejala}prestashop>dejala_home_8ce5717d0efdee714d5c44eb72559943'] = 'Dejala EST visible par tous vos utilisateurs';
-$_MODULE['<{dejala}prestashop>dejala_home_97f9bae265c399ce4781878d46a5a733'] = 'Dejala EST visible UNIQUEMENT par les utilisateurs suivants :';
-$_MODULE['<{dejala}prestashop>dejala_home_66495952bdab30f6bdc92e318d4f36a6'] = '(Par ex: a@foo.com, b@bar.com)';
-$_MODULE['<{dejala}prestashop>dejala_home_e49df857f0f92d5dd2f73b9fa54d7308'] = 'Mettre à jour la visibilité';
-$_MODULE['<{dejala}prestashop>dejala_location_ce9142ea2df85cf8ea4dfda7164e7dcf'] = 'Informations relatives au POINT DE DÉPART des marchandises';
-$_MODULE['<{dejala}prestashop>dejala_location_c58b3ccfae7d8991a1bdf33f275d6007'] = '(lecture seule)';
-$_MODULE['<{dejala}prestashop>dejala_location_20dfc4f904ba3c650a578c41f87e7053'] = 'Localiser';
-$_MODULE['<{dejala}prestashop>dejala_location_1c76cbfe21c6f44c1d1e59d54f3e4420'] = 'Enseigne';
-$_MODULE['<{dejala}prestashop>dejala_location_dd7bf230fde8d4836917806aff6a6b27'] = 'Adresse';
-$_MODULE['<{dejala}prestashop>dejala_location_783cb853aae6984e51583b3bb80c09d2'] = 'Adresse (suite)';
-$_MODULE['<{dejala}prestashop>dejala_location_9b514b51d03075005814a33edc74c958'] = 'Code Postal';
-$_MODULE['<{dejala}prestashop>dejala_location_57d056ed0984166336b7879c2af3657f'] = 'Ville';
-$_MODULE['<{dejala}prestashop>dejala_location_bcc254b55c4a1babdf1dcb82c207506b'] = 'Tél';
-$_MODULE['<{dejala}prestashop>dejala_location_4e186c431f7c016c761c722debb9768e'] = 'Mobile';
-$_MODULE['<{dejala}prestashop>dejala_location_8413c683b4b27cc3f4dbd4c90329d8ba'] = 'Commentaire ';
-$_MODULE['<{dejala}prestashop>dejala_location_b17f3f4dcf653a5776792498a9b44d6a'] = 'Enregistrer les modifications';
-$_MODULE['<{dejala}prestashop>dejala_menu_8cf04a9734132302f96da8e113e80ce5'] = 'Accueil';
-$_MODULE['<{dejala}prestashop>dejala_menu_ce5bf551379459c1c61d2a204061c455'] = 'Stock';
-$_MODULE['<{dejala}prestashop>dejala_menu_9aa698f602b1e5694855cee73a683488'] = 'Contacts';
-$_MODULE['<{dejala}prestashop>dejala_menu_77ea79b4b2638f146bf02ea6dc076006'] = 'Gestion des imprévus';
-$_MODULE['<{dejala}prestashop>dejala_menu_3eb0f1d14d6ec438d91fcfdab94fc1ca'] = 'Options de livraison';
-$_MODULE['<{dejala}prestashop>dejala_menu_e16dd6e118732c5d1586d6aba0b62f3a'] = 'Tarifs';
-$_MODULE['<{dejala}prestashop>dejala_menu_9bbd45bad55cfc620803907f2d8a0217'] = 'Historique de livraison';
-$_MODULE['<{dejala}prestashop>dejala_menu_36d5423bb12a6d74d1d0f0ba09ef47cb'] = 'Paramètres techniques';
-$_MODULE['<{dejala}prestashop>dejala_menu_35cf95ca41b6d074cfaeac16b0e0906c'] = 'DEJALA PRO';
-$_MODULE['<{dejala}prestashop>dejala_picking_timetable_845398bc903ec28114a5f9874d83936b'] = 'Le stock est ouvert :';
-$_MODULE['<{dejala}prestashop>dejala_picking_timetable_2084c04f7a380a68b653e5fc82d352f0'] = 'De';
-$_MODULE['<{dejala}prestashop>dejala_picking_timetable_7fc56270e7a70fa81a5935b72eacbe29'] = 'A';
-$_MODULE['<{dejala}prestashop>dejala_processes_237527ad3e0c9d87f072f2ac3a873dc8'] = 'Conduite à tenir et personnes à prévenir dans les cas suivants ';
-$_MODULE['<{dejala}prestashop>dejala_processes_0f516eb68a85aae932001976c51dee2f'] = 'N\'hésitez pas à modifier les procédures ci-dessous en fonction de vos impératifs commerciaux ou logistiques.';
-$_MODULE['<{dejala}prestashop>dejala_processes_dbfdb39c2251ff72f42f7078ab347611'] = 'L\'adresse de votre client est erronnée ou introuvable';
-$_MODULE['<{dejala}prestashop>dejala_processes_b1da17cfc7c9a051fe4ce45bf1dd1ace'] = 'Votre client est absent au moment de la livraison';
-$_MODULE['<{dejala}prestashop>dejala_processes_3ab0370c6e7c3d0ea1cd540e7afacc9a'] = 'Votre client refuse la livraison';
-$_MODULE['<{dejala}prestashop>dejala_processes_138a10902b1fec08bcf2d9f5a6f4b02b'] = 'Précautions particulières à prendre avec vos colis (fragilité, packaging, etc)';
-$_MODULE['<{dejala}prestashop>dejala_processes_b17f3f4dcf653a5776792498a9b44d6a'] = 'Enregistrer ces modifications';
-$_MODULE['<{dejala}prestashop>dejala_products_aa83582f6ce84345c97815de714e6ebd'] = 'Vous pouvez ajuster votre marge (gagner sur la livraison ou prendre en charge tout ou partie du coût de livraison) ';
-$_MODULE['<{dejala}prestashop>dejala_products_49ee3087348e8d44e1feda1917443987'] = 'Destination de la livraison';
-$_MODULE['<{dejala}prestashop>dejala_products_26160d42b371fb091c142cb8cfa09c34'] = 'Prix d\'achat de la livraison à DEJALA';
-$_MODULE['<{dejala}prestashop>dejala_products_f8ca05a1d72f37501747657deecdd15c'] = 'Votre marge TTC sur la livraison';
-$_MODULE['<{dejala}prestashop>dejala_products_e6f254c2f6e55725e99e1e6dfd6d9caa'] = 'Frais d\'expédition (ajoutés au panier)';
-$_MODULE['<{dejala}prestashop>dejala_products_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Description de la prestation';
-$_MODULE['<{dejala}prestashop>dejala_products_1cdad1a5f8e5d09be270415e44c0f039'] = 'achat HT';
-$_MODULE['<{dejala}prestashop>dejala_products_ecef91ba37ffc5f5294ea50efee7c6a2'] = 'achat TTC';
-$_MODULE['<{dejala}prestashop>dejala_products_765a24c102d9a0b03eb03c77e90a9144'] = 'vente HT';
-$_MODULE['<{dejala}prestashop>dejala_products_8588719c33b27bd80ae45cc533117c00'] = 'vente TTC';
-$_MODULE['<{dejala}prestashop>dejala_products_efeb369cccbd560588a756610865664c'] = 'Créneau de ';
-$_MODULE['<{dejala}prestashop>dejala_products_2510c39011c5be704182423e3a695e91'] = 'h';
-$_MODULE['<{dejala}prestashop>dejala_products_b17f3f4dcf653a5776792498a9b44d6a'] = 'Enregistrer les modifications';
-$_MODULE['<{dejala}prestashop>dejala_technical_options_b44c4d973c20b84bad66d243b215ef37'] = 'Liste des statuts qui valident automatiquement la commande de la course à DEJALA';
-$_MODULE['<{dejala}prestashop>dejala_technical_options_a296002220093a4833752a3cf94f07d0'] = 'Lorsqu\'une commande de course est validée, votre compte DEJALA est débité du montant de la course.';
-$_MODULE['<{dejala}prestashop>dejala_technical_options_b17f3f4dcf653a5776792498a9b44d6a'] = 'Mise à jour des statuts';
-$_MODULE['<{dejala}prestashop>dejala_timetable_193993f964d2d4df4b1484227c1626b6'] = 'Choisissez le jour de la livraison';
-$_MODULE['<{dejala}prestashop>dejala_timetable_26903e0f192163f4a0957c0b185edf71'] = 'Choisissez l\'heure de la livraison';
diff --git a/modules/dejala/google.gif b/modules/dejala/google.gif
deleted file mode 100644
index d24a14a90..000000000
Binary files a/modules/dejala/google.gif and /dev/null differ
diff --git a/modules/dejala/index.php b/modules/dejala/index.php
deleted file mode 100644
index 4e2611d37..000000000
--- a/modules/dejala/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision$
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
\ No newline at end of file
diff --git a/modules/dejala/install.sql b/modules/dejala/install.sql
deleted file mode 100644
index a8241a497..000000000
--- a/modules/dejala/install.sql
+++ /dev/null
@@ -1,10 +0,0 @@
-CREATE TABLE IF NOT EXISTS `PREFIX_dejala_cart` (
- `id_cart` int(10) unsigned NOT NULL,
- `id_dejala_product` int(10) unsigned NOT NULL,
- `shipping_date` int(11) NULL DEFAULT NULL,
- `id_delivery` int(11) NULL DEFAULT NULL,
- `mode` varchar(5) NULL DEFAULT 'TEST',
- `cart_date_upd` datetime DEFAULT '0000-00-00 00:00:00',
- `delivery_price` float DEFAULT NULL,
- PRIMARY KEY (`id_cart`)
-) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;
diff --git a/modules/dejala/it.php b/modules/dejala/it.php
deleted file mode 100644
index 418317b86..000000000
--- a/modules/dejala/it.php
+++ /dev/null
@@ -1,187 +0,0 @@
-dejala_9d1a0949c39e66a0cd65240bc0ac9177'] = 'Domenica';
-$_MODULE['<{dejala}prestashop>dejala_6f8522e0610541f1ef215a22ffa66ff6'] = 'Lunedi';
-$_MODULE['<{dejala}prestashop>dejala_5792315f09a5d54fb7e3d066672b507f'] = 'Martedì';
-$_MODULE['<{dejala}prestashop>dejala_796c163589f295373e171842f37265d5'] = 'Mercoledì';
-$_MODULE['<{dejala}prestashop>dejala_78ae6f0cd191d25147e252dc54768238'] = 'Giovedi';
-$_MODULE['<{dejala}prestashop>dejala_c33b138a163847cdb6caeeb7c9a126b4'] = 'Venerdì';
-$_MODULE['<{dejala}prestashop>dejala_8b7051187b9191cdcdae6ed5a10e5adc'] = 'Sabato';
-$_MODULE['<{dejala}prestashop>dejala_9902522831a16af239ba868918f984c6'] = 'Dejala.com: consegna del corriere';
-$_MODULE['<{dejala}prestashop>dejala_69a226fe54256a93edb693bc97a7bcb5'] = 'Consente di gestire le consegne Dejala.com tramite corriere';
-$_MODULE['<{dejala}prestashop>dejala_f66e08578735b3cde28a2d8215b68a52'] = 'Il modulo Dejala richiede l\'estensione php cURL per funzionare correttamente. Si prega di installare l\'estensione php \"cURL\"';
-$_MODULE['<{dejala}prestashop>dejala_0e334c81db8c621e16d82618aaf746ab'] = 'login richiesto.';
-$_MODULE['<{dejala}prestashop>dejala_2a04cf556c49e32d4b4c46fd9b8bade5'] = 'è richiesta la password.';
-$_MODULE['<{dejala}prestashop>dejala_483cf1f6e275faa3c29ff20ba6e4407f'] = 'nazione richiesta.';
-$_MODULE['<{dejala}prestashop>dejala_2485b5c3212614c367f862a8e46f4d11'] = 'login deve essere un indirizzo e-mail valido.';
-$_MODULE['<{dejala}prestashop>dejala_dd189cdaa73e88a19f495a0d6c49a61b'] = 'Nome del negozio è obbligatorio.';
-$_MODULE['<{dejala}prestashop>dejala_4876f72a0b3d7f46de2b201ab02cd0a7'] = 'non è un margine valido.';
-$_MODULE['<{dejala}prestashop>dejala_ad5ee5e5c2989c1e72c586a9f8121716'] = 'Errore durante l\'autenticazione del tuo account su Dejala.com. Le tue credenziali non sono state riconosciute';
-$_MODULE['<{dejala}prestashop>dejala_23e0f5b7cc6e26112230c098b893944a'] = 'Impossibile elaborare l\'azione';
-$_MODULE['<{dejala}prestashop>dejala_6bd82dd0c6115429b03dd84828d6ccb2'] = 'Scegli un altro login';
-$_MODULE['<{dejala}prestashop>dejala_0aec12d0e7c8784012ee74606648d625'] = 'Dejala Server non raggiungibile dal tuo server Prestashop. Questo è certamente dovuto ad un limite impostato dal tuo hosting. Contatta il loro supporto tecnico e chiedi se il tuo server è autorizzato ad avviare le connessioni HTTP in uscita';
-$_MODULE['<{dejala}prestashop>dejala_f46fe05842135a72df96c3409cf00683'] = 'Errore durante l\'aggiornamento posizione';
-$_MODULE['<{dejala}prestashop>dejala_2f63af6e20f182573774b785515ccb95'] = 'Errore durante l\'aggiornamento dei contatti';
-$_MODULE['<{dejala}prestashop>dejala_3a29c6eb6abefd3d629290756168d892'] = 'Errore durante l\'aggiornamento dei processi';
-$_MODULE['<{dejala}prestashop>dejala_5f010efe1c8e6cb195205cbf864044aa'] = 'Errore durante l\'aggiornamento dei prodotti';
-$_MODULE['<{dejala}prestashop>dejala_004ac360e91b3dcf50a19a0fd09e3826'] = 'Devi fornire almeno un indirizzo email per limitare la visibilità di Dejala';
-$_MODULE['<{dejala}prestashop>dejala_c888438d14855d7d96a2724ee9c306bd'] = 'Impostazioni aggiornate';
-$_MODULE['<{dejala}prestashop>dejala_dfa53d8241c9f6908e669371b50e95f3'] = 'Questo modulo richiede l\'estensione PHP cURL per funzionare correttamente. Si prega di installare l\'estensione PHP \"cURL\" prima';
-$_MODULE['<{dejala}prestashop>dejala_4c7d16a1e83bcbfd9b33e95f8e90a625'] = 'Errore durante l\'autenticazione del tuo account su Dejala.com. Questo può essere dovuto a un problema temporaneo della rete o di piattaforma. Riprova più tardi o contatta Dejala.com';
-$_MODULE['<{dejala}prestashop>dejala_94939d114a8c65173b70b6e01aad11c0'] = 'Errore durante il recupero negozio, riprova più tardi o contatta Dejala.com';
-$_MODULE['<{dejala}prestashop>dejala_41d211dd68bf0f87cf3181b0c8dac6e7'] = 'Dejala.com';
-$_MODULE['<{dejala}prestashop>dejala_627db4c965627fb7f03682dbbc43a4a1'] = 'Seleziono la mia data di spedizione quando il mio prodotto è disponibile';
-$_MODULE['<{dejala}prestashop>dejala_3d8764621d6076807b0d60cfcadb7213'] = 'Quando vuoi.... corriere';
-$_MODULE['<{dejala}prestashop>dejala_07e9ea0147aee652244a280da00efb5a'] = 'Data di spedizione selezionata';
-$_MODULE['<{dejala}prestashop>dejala_47a4dfe5ab79feb7884fa57786ea587c'] = 'a partire da';
-$_MODULE['<{dejala}prestashop>dejala_ba93cc89ba75ee6e74699a49a69c0600'] = 'Data di spedizione non ancora selezionata dal cliente';
-$_MODULE['<{dejala}prestashop>dejala_a240fa27925a635b08dc28c9e4f9216d'] = 'Ordine';
-$_MODULE['<{dejala}prestashop>dejala_296a91ebe13e861efa9bd0f74a927353'] = 'Ordine inviato a Dejala';
-$_MODULE['<{dejala}prestashop>dejala_carrier_21034ae6d01a83e702839a72ba8a77b0'] = '(tasse escl.)';
-$_MODULE['<{dejala}prestashop>dejala_carrier_1f87346a16cf80c372065de3c54c86d9'] = '(tasse incl.)';
-$_MODULE['<{dejala}prestashop>dejala_carrier_e7a6ca4e744870d455a57b644f696457'] = 'Gratis!';
-$_MODULE['<{dejala}prestashop>dejala_carrier_nostock_21034ae6d01a83e702839a72ba8a77b0'] = '(tasse escl.)';
-$_MODULE['<{dejala}prestashop>dejala_carrier_nostock_1f87346a16cf80c372065de3c54c86d9'] = '(tasse incl.)';
-$_MODULE['<{dejala}prestashop>dejala_carrier_nostock_e7a6ca4e744870d455a57b644f696457'] = 'Gratis!';
-$_MODULE['<{dejala}prestashop>dejala_contacts_a766dcf63862aaaa1625a45169aeb37a'] = 'Proprietario negozio';
-$_MODULE['<{dejala}prestashop>dejala_contacts_4e140ba723a03baa6948340bf90e2ef6'] = 'Nome:';
-$_MODULE['<{dejala}prestashop>dejala_contacts_d2cacc542d8dd31bd89f8defed1b55ad'] = 'Nome:';
-$_MODULE['<{dejala}prestashop>dejala_contacts_673ae02fffb72f0fe68a66f096a01347'] = 'Telefono:';
-$_MODULE['<{dejala}prestashop>dejala_contacts_7a31464d87d555a1d5a7d2afdeb64d4e'] = 'Cellulare:';
-$_MODULE['<{dejala}prestashop>dejala_contacts_01401fe9a93df81d28637e5218597b76'] = 'E-Mail:';
-$_MODULE['<{dejala}prestashop>dejala_contacts_7e2121a0b71ccc33c5eeaf11999fdbcd'] = 'Contatto controllo magazzino';
-$_MODULE['<{dejala}prestashop>dejala_contacts_23e44d356bfc0d17f904cb743b4d247c'] = 'Contatto Amministrazione ';
-$_MODULE['<{dejala}prestashop>dejala_contacts_527a0a71d5684695421ec3375ec6dba8'] = 'Contatto Manutenzione del sito web ';
-$_MODULE['<{dejala}prestashop>dejala_contacts_c9cc8cce247e49bae79f15173ce97354'] = 'Salva';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_9c8a7900448628ee2978be9a3945d148'] = 'Il tuo credito';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_b0ee4c529eda15bdecda8bf189a3c813'] = 'Il tuo credito virtuale (come test)';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_defcb35db6f9bdac29b888bfc07e6386'] = 'euro';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_c2b55c1a6a9880bf1d7cba1914a6da56'] = 'Accredita il tuo account';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_642c4a47922246182590d4f3c8304f35'] = 'Elenco delle ultime consegne';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_01abfc750a0c942167651c40d088531d'] = 'n.';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_67d5168b4f2b5424a3d118ea9ef99372'] = 'Creazione';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_d79cf3f429596f77db95c65074663a54'] = 'ID ordine';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_2a033d36697bb24bfc7ece05545d268e'] = 'n. controllo ordine';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_b021df6aac4654c454f46c77646e745f'] = 'Etichetta';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_3601146c4e948c32b6424d2c0a7f0118'] = 'Prezzo';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_ec53a8c4f07baed5d8825072c89799be'] = 'Status';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_ea9cf7e47ff33b2be14e6dd07cbcefc6'] = 'Spedizione';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Descrizione';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_2ca8d70baf21b18878843c02a086e46c'] = 'In';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_2510c39011c5be704182423e3a695e91'] = 'h';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_d98a07f84921b24ee30f86fd8cd85c3c'] = 'da';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_01b6e20344b68835c5ed1ddedf20d531'] = 'a';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_427c7fb2385f610d26ea90fff86f9a84'] = 'Esportazione in Csv ';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_5da618e8e4b89c66fe86e32cdafde142'] = 'Da';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_e12167aa0a7698e6ebc92b4ce3909b53'] = 'Per';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_a60852f204ed8028c1c58808b746d115'] = 'Ok';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_8424d087ffe39bb2ee8db173c7e07ba5'] = 'data creazione';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_d79cf3f429596f77db95c65074663a54'] = 'ID ordine';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_2a033d36697bb24bfc7ece05545d268e'] = 'n. controllo ordine';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_ac27812104f966f43d3a60f37a869338'] = 'descrizione breve';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_78a5eb43deef9a7b5b9ce157b9d52ac4'] = 'prezzo';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_9acb44549b41563697bb490144ec6258'] = 'stato';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_1e6e6626b6e59276b14112ebc34c5d49'] = 'data consegna';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_c20456384feb648b4692b700ec570d42'] = 'limite tempo';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_5c5c8fc67b523e638e0a904d61651f2d'] = 'inizio spedizione';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_8e659923776b8706dbf4636c408e987c'] = 'fine spedizione';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_ba402b48292a61e4d82f85eeaa0904dc'] = 'data consegna';
-$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_7c7f9f48d29519e8cb47ac606a431a65'] = 'ora consegna';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_617283f39e91b6ead659cef3c722cabc'] = 'Preferenze spedizione';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_11d783488db0c358bd9077a2e1a250e7'] = 'Proponi spedizione';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_ffe181130430aff6386df37df36347f8'] = 'immediatamente';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_a3cb1f2ebeda6fa36b27598f1d096f60'] = 'mezza giornata';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_849490640e65410418220e5c179a1477'] = 'un giorno';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_44fdec47036f482b68b748f9d786801b'] = 'giorni';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_6749e3e07aeb12081dc32e581ffcf463'] = 'dopo l\'ordinazione';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_48b4a9d141bcbb3911caa5caf4b750b2'] = 'Visualizza';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_7877adcb96eb8221c075f0008093bbf7'] = 'date';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_b4f86cbc11cb9565374c08c61372f3ad'] = 'giorni nell\'interfaccia di selezione della fascia oraria';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_44a33a70398318da91b789b33152dafa'] = 'Mantenere Dejala attivo quando il carrello è non disponibile';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_767cd99c2f2b9fb9e5aa531c37b45f87'] = 'Abilitare i clienti a scegliere Dejala anche se un prodotto è esaurito (il cliente sceglierà la data della consegna quando l\'ordine sarà pronto)';
-$_MODULE['<{dejala}prestashop>dejala_delivery_options_c9cc8cce247e49bae79f15173ce97354'] = 'Salva';
-$_MODULE['<{dejala}prestashop>dejala_header_c45abd6f2b5f3b3a954c97f008ccb52c'] = 'Spedisci i tuoi ordini tramite corriere con';
-$_MODULE['<{dejala}prestashop>dejala_header_20e846b603a0b7f1c00b1fc457308fb7'] = 'DEJALA';
-$_MODULE['<{dejala}prestashop>dejala_home_21e71170be5450c6380d7a9fc0ba51c3'] = 'Sei nuovo su Dejala.fr?';
-$_MODULE['<{dejala}prestashop>dejala_home_07965cce4ec6247bd57783dff0af1657'] = 'Il nome del tuo negozio:';
-$_MODULE['<{dejala}prestashop>dejala_home_558f162b01a3d6d31865a1ca91a03d57'] = 'Seleziona il tuo paese:';
-$_MODULE['<{dejala}prestashop>dejala_home_0309a6c666a7a803fdb9db95de71cf01'] = 'Francia';
-$_MODULE['<{dejala}prestashop>dejala_home_907eba32d950bfab68227fd7ea22999b'] = 'Spagna';
-$_MODULE['<{dejala}prestashop>dejala_home_a999205c014634072764fe3fadc4f4ca'] = 'Scegli il tuo login:';
-$_MODULE['<{dejala}prestashop>dejala_home_a7e4228de9b12575b0cd88c4cf0f54f9'] = 'Scegli la tua password:';
-$_MODULE['<{dejala}prestashop>dejala_home_0ba7583639a274c434bbe6ef797115a4'] = 'Registrati';
-$_MODULE['<{dejala}prestashop>dejala_home_72429bbc9acf8e6fcf6132ac1fa20d57'] = 'Ho già un account per il mio negozio:';
-$_MODULE['<{dejala}prestashop>dejala_home_051672911a3f1f05efba78a553ef6fe2'] = 'Login:';
-$_MODULE['<{dejala}prestashop>dejala_home_b341a59d5636ed3d6a819137495b08a0'] = 'Password:';
-$_MODULE['<{dejala}prestashop>dejala_home_e5b47edd743751a81819b7f421639303'] = 'Identificati';
-$_MODULE['<{dejala}prestashop>dejala_home_853fe2c3719fab6d1dde555eb536f649'] = 'Dejala.fr';
-$_MODULE['<{dejala}prestashop>dejala_home_02d222897fd57cbc8154be7b2c41e2ff'] = 'Come promemoria';
-$_MODULE['<{dejala}prestashop>dejala_home_3a40880c274dd353056ce584940d1ca8'] = 'Il tuo nome negozio è';
-$_MODULE['<{dejala}prestashop>dejala_home_55724d105b50b04063a21fba83236de6'] = 'Il tuo login è';
-$_MODULE['<{dejala}prestashop>dejala_home_bbb658f348426b60b3395d5357225112'] = 'Sei nella modalità';
-$_MODULE['<{dejala}prestashop>dejala_home_c8ab370eeab3cf4011e25fa953031e77'] = 'piattaforma di test';
-$_MODULE['<{dejala}prestashop>dejala_home_68279960d4eaab19115d276486e1e1d7'] = 'piattaforma di produzione';
-$_MODULE['<{dejala}prestashop>dejala_home_64baa4dba37ddc4207a777ac53565f06'] = 'Passa alla modalità di test';
-$_MODULE['<{dejala}prestashop>dejala_home_a0802ed7a4e243cc01699e44e0b0b33b'] = 'Passa alla modalità di produzione';
-$_MODULE['<{dejala}prestashop>dejala_home_104cdbe9fcaa62064ecc718b647c2929'] = 'La tua richiesta di modalità live è in fase di elaborazione: Dejala.fr ti contatterà per completare la registrazione.';
-$_MODULE['<{dejala}prestashop>dejala_home_1ccd621bb658777957a0c0ae95b97fc6'] = 'Andare live: chiedi a Dejala.fr di creare account in produzione.';
-$_MODULE['<{dejala}prestashop>dejala_home_9c8a7900448628ee2978be9a3945d148'] = 'Il tuo credito';
-$_MODULE['<{dejala}prestashop>dejala_home_b0ee4c529eda15bdecda8bf189a3c813'] = 'Il tuo credito virtuale (come test)';
-$_MODULE['<{dejala}prestashop>dejala_home_defcb35db6f9bdac29b888bfc07e6386'] = 'euro';
-$_MODULE['<{dejala}prestashop>dejala_home_c2b55c1a6a9880bf1d7cba1914a6da56'] = 'Accredita il tuo account';
-$_MODULE['<{dejala}prestashop>dejala_home_d33b3ef83df48e14035b6927a27a6824'] = 'Dejala NON è visibile a nessun utente';
-$_MODULE['<{dejala}prestashop>dejala_home_8ce5717d0efdee714d5c44eb72559943'] = 'Dejala E\' visibile a tutti gli utenti';
-$_MODULE['<{dejala}prestashop>dejala_home_97f9bae265c399ce4781878d46a5a733'] = 'Dejala E\' visibile SOLO per i seguenti utenti ';
-$_MODULE['<{dejala}prestashop>dejala_home_66495952bdab30f6bdc92e318d4f36a6'] = '(Es: a@foo.com, b@bar.com)';
-$_MODULE['<{dejala}prestashop>dejala_home_e49df857f0f92d5dd2f73b9fa54d7308'] = 'Aggiorna la visibilità di Dejala ';
-$_MODULE['<{dejala}prestashop>dejala_location_ce9142ea2df85cf8ea4dfda7164e7dcf'] = 'Si prega di specificare l\'indirizzo del tuo magazzino';
-$_MODULE['<{dejala}prestashop>dejala_location_c58b3ccfae7d8991a1bdf33f275d6007'] = '(solo lettura)';
-$_MODULE['<{dejala}prestashop>dejala_location_20dfc4f904ba3c650a578c41f87e7053'] = 'Individua';
-$_MODULE['<{dejala}prestashop>dejala_location_1c76cbfe21c6f44c1d1e59d54f3e4420'] = 'Società';
-$_MODULE['<{dejala}prestashop>dejala_location_dd7bf230fde8d4836917806aff6a6b27'] = 'Indirizzo';
-$_MODULE['<{dejala}prestashop>dejala_location_783cb853aae6984e51583b3bb80c09d2'] = 'Indirizzo (2)';
-$_MODULE['<{dejala}prestashop>dejala_location_9b514b51d03075005814a33edc74c958'] = 'CAP ';
-$_MODULE['<{dejala}prestashop>dejala_location_57d056ed0984166336b7879c2af3657f'] = 'Città';
-$_MODULE['<{dejala}prestashop>dejala_location_bcc254b55c4a1babdf1dcb82c207506b'] = 'Telefono';
-$_MODULE['<{dejala}prestashop>dejala_location_4e186c431f7c016c761c722debb9768e'] = 'Cellulare';
-$_MODULE['<{dejala}prestashop>dejala_location_8413c683b4b27cc3f4dbd4c90329d8ba'] = 'Commenti';
-$_MODULE['<{dejala}prestashop>dejala_location_b17f3f4dcf653a5776792498a9b44d6a'] = 'Aggiornare le impostazioni';
-$_MODULE['<{dejala}prestashop>dejala_menu_8cf04a9734132302f96da8e113e80ce5'] = 'Home';
-$_MODULE['<{dejala}prestashop>dejala_menu_ce5bf551379459c1c61d2a204061c455'] = 'Posizione';
-$_MODULE['<{dejala}prestashop>dejala_menu_9aa698f602b1e5694855cee73a683488'] = 'Contatti';
-$_MODULE['<{dejala}prestashop>dejala_menu_77ea79b4b2638f146bf02ea6dc076006'] = 'Processi';
-$_MODULE['<{dejala}prestashop>dejala_menu_3eb0f1d14d6ec438d91fcfdab94fc1ca'] = 'Opzioni di consegna';
-$_MODULE['<{dejala}prestashop>dejala_menu_e16dd6e118732c5d1586d6aba0b62f3a'] = 'Prezzi';
-$_MODULE['<{dejala}prestashop>dejala_menu_9bbd45bad55cfc620803907f2d8a0217'] = 'Contabilità';
-$_MODULE['<{dejala}prestashop>dejala_menu_36d5423bb12a6d74d1d0f0ba09ef47cb'] = 'Opzioni tecniche';
-$_MODULE['<{dejala}prestashop>dejala_menu_35cf95ca41b6d074cfaeac16b0e0906c'] = 'DEJALA PRO';
-$_MODULE['<{dejala}prestashop>dejala_picking_timetable_845398bc903ec28114a5f9874d83936b'] = 'Magazzino aperto';
-$_MODULE['<{dejala}prestashop>dejala_picking_timetable_2084c04f7a380a68b653e5fc82d352f0'] = 'De';
-$_MODULE['<{dejala}prestashop>dejala_picking_timetable_7fc56270e7a70fa81a5935b72eacbe29'] = 'A';
-$_MODULE['<{dejala}prestashop>dejala_processes_237527ad3e0c9d87f072f2ac3a873dc8'] = 'Specifica le procedure per gestire correttamente le consegne';
-$_MODULE['<{dejala}prestashop>dejala_processes_0f516eb68a85aae932001976c51dee2f'] = 'Sentiti libero di adattare le procedure di default per le procedure dei tuoi affari';
-$_MODULE['<{dejala}prestashop>dejala_processes_dbfdb39c2251ff72f42f7078ab347611'] = 'Indirizzo errato';
-$_MODULE['<{dejala}prestashop>dejala_processes_b1da17cfc7c9a051fe4ce45bf1dd1ace'] = 'Destinatario assente';
-$_MODULE['<{dejala}prestashop>dejala_processes_3ab0370c6e7c3d0ea1cd540e7afacc9a'] = 'Consegna respinta';
-$_MODULE['<{dejala}prestashop>dejala_processes_138a10902b1fec08bcf2d9f5a6f4b02b'] = 'Precauzioni per la consegna ';
-$_MODULE['<{dejala}prestashop>dejala_processes_b17f3f4dcf653a5776792498a9b44d6a'] = 'Aggiorna le impostazioni';
-$_MODULE['<{dejala}prestashop>dejala_products_aa83582f6ce84345c97815de714e6ebd'] = 'Imposta i margini per le consegne';
-$_MODULE['<{dejala}prestashop>dejala_products_49ee3087348e8d44e1feda1917443987'] = 'Nome';
-$_MODULE['<{dejala}prestashop>dejala_products_26160d42b371fb091c142cb8cfa09c34'] = 'Prezzo di acquisto';
-$_MODULE['<{dejala}prestashop>dejala_products_f8ca05a1d72f37501747657deecdd15c'] = 'Margine tasse incluse';
-$_MODULE['<{dejala}prestashop>dejala_products_e6f254c2f6e55725e99e1e6dfd6d9caa'] = 'Prezzo cliente';
-$_MODULE['<{dejala}prestashop>dejala_products_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Descrizione';
-$_MODULE['<{dejala}prestashop>dejala_products_1cdad1a5f8e5d09be270415e44c0f039'] = 'Acquista tasse escl.';
-$_MODULE['<{dejala}prestashop>dejala_products_ecef91ba37ffc5f5294ea50efee7c6a2'] = 'Acquista tasse incl.';
-$_MODULE['<{dejala}prestashop>dejala_products_765a24c102d9a0b03eb03c77e90a9144'] = 'Vendi tasse escl.';
-$_MODULE['<{dejala}prestashop>dejala_products_8588719c33b27bd80ae45cc533117c00'] = 'Vendi tasse incl.';
-$_MODULE['<{dejala}prestashop>dejala_products_efeb369cccbd560588a756610865664c'] = 'tra';
-$_MODULE['<{dejala}prestashop>dejala_products_2510c39011c5be704182423e3a695e91'] = 'h';
-$_MODULE['<{dejala}prestashop>dejala_products_b17f3f4dcf653a5776792498a9b44d6a'] = 'Aggiorna le impostazioni';
-$_MODULE['<{dejala}prestashop>dejala_technical_options_b44c4d973c20b84bad66d243b215ef37'] = 'Elenco di status che convalidano l\'ordine';
-$_MODULE['<{dejala}prestashop>dejala_technical_options_a296002220093a4833752a3cf94f07d0'] = 'Elenco di status che attivano dejala.fr';
-$_MODULE['<{dejala}prestashop>dejala_technical_options_b17f3f4dcf653a5776792498a9b44d6a'] = 'Aggiorna le impostazioni';
-$_MODULE['<{dejala}prestashop>dejala_timetable_193993f964d2d4df4b1484227c1626b6'] = 'Scegli il tuo giorno di consegna';
-$_MODULE['<{dejala}prestashop>dejala_timetable_26903e0f192163f4a0957c0b185edf71'] = 'Scegli lai fascia oraria di consegna';
diff --git a/modules/dejala/logo.gif b/modules/dejala/logo.gif
deleted file mode 100644
index 72db5e1a5..000000000
Binary files a/modules/dejala/logo.gif and /dev/null differ
diff --git a/modules/dejala/logo.png b/modules/dejala/logo.png
deleted file mode 100644
index 22fc32bd4..000000000
Binary files a/modules/dejala/logo.png and /dev/null differ
diff --git a/modules/dejala/picto_0.gif b/modules/dejala/picto_0.gif
deleted file mode 100644
index 47feaa28f..000000000
Binary files a/modules/dejala/picto_0.gif and /dev/null differ
diff --git a/modules/dejala/picto_1.gif b/modules/dejala/picto_1.gif
deleted file mode 100644
index 41827736c..000000000
Binary files a/modules/dejala/picto_1.gif and /dev/null differ
diff --git a/modules/dejala/picto_2.gif b/modules/dejala/picto_2.gif
deleted file mode 100644
index b018d159d..000000000
Binary files a/modules/dejala/picto_2.gif and /dev/null differ
diff --git a/modules/dejala/picto_3.gif b/modules/dejala/picto_3.gif
deleted file mode 100644
index 2df2d0fd0..000000000
Binary files a/modules/dejala/picto_3.gif and /dev/null differ
diff --git a/modules/dejala/picto_4.gif b/modules/dejala/picto_4.gif
deleted file mode 100644
index 3853644d2..000000000
Binary files a/modules/dejala/picto_4.gif and /dev/null differ
diff --git a/modules/dejala/picto_5.gif b/modules/dejala/picto_5.gif
deleted file mode 100644
index 6eb0ee74b..000000000
Binary files a/modules/dejala/picto_5.gif and /dev/null differ
diff --git a/modules/dejala/picto_6.gif b/modules/dejala/picto_6.gif
deleted file mode 100644
index e3fdc0a08..000000000
Binary files a/modules/dejala/picto_6.gif and /dev/null differ
diff --git a/modules/dejala/picto_7.gif b/modules/dejala/picto_7.gif
deleted file mode 100644
index 932628548..000000000
Binary files a/modules/dejala/picto_7.gif and /dev/null differ
diff --git a/modules/dejala/picto_8.gif b/modules/dejala/picto_8.gif
deleted file mode 100644
index f75ea966e..000000000
Binary files a/modules/dejala/picto_8.gif and /dev/null differ
diff --git a/modules/dejala/submenu-bg.gif b/modules/dejala/submenu-bg.gif
deleted file mode 100644
index c3de2cfc5..000000000
Binary files a/modules/dejala/submenu-bg.gif and /dev/null differ
diff --git a/modules/dejala/timetable.css b/modules/dejala/timetable.css
deleted file mode 100644
index f691b6fca..000000000
--- a/modules/dejala/timetable.css
+++ /dev/null
@@ -1,55 +0,0 @@
-
-#djl_shipping_pref #shipping_div {
- width:100%;
-}
-
-#djl_shipping_pref #shipping_dates {
- width:100%;
- float:left;
- border:1px solid lightgrey;
-}
-
-#djl_shipping_pref #shipping_dates div {
- height:25px;
- width:24.9%;
- margin-top:5px;
- float:left;
- padding-top:10px;
-}
-
-#djl_shipping_pref #shipping_hours {
- float:left;
- width:100%;
- border:1px solid lightgrey;
- margin-top:5px;
-}
-
-#djl_shipping_pref #shipping_hours div {
- height:31px;
- width:19.9%;
- float:left;
- padding-top:10px;
-}
-
-#djl_shipping_pref .title {
- margin:5px;
- font-size:1.1em;
- font-weight:bold;
- color:#993300;
-}
-
-#djl_shipping_pref input {border:none;}
-
-#djl_shipping_pref #shipping_hours div[class=djl_active], #djl_shipping_pref #shipping_dates div[class=djl_active] {
- font-weight: bold;
- color: rgb(153, 51, 0);
-}
-
-#djl_shipping_pref .disabled {
- zoom: 1;
- -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
- filter: alpha(opacity=50);
- -moz-opacity:0.5;
- -khtml-opacity: 0.5;
- opacity: 0.5;
-}
diff --git a/modules/dejala/timetable.js b/modules/dejala/timetable.js
deleted file mode 100644
index 587f6a1a0..000000000
--- a/modules/dejala/timetable.js
+++ /dev/null
@@ -1,104 +0,0 @@
-/* Cache les heures non dispo pour le jour dayIndex */
-function hideUnusedHours(dayIndex){
- var i = 0;
- var t_obj = document.getElementById('divhr0');
-
- while (t_obj)
- {
- var cal = djl_calendar[dayIndex];
- var calStart = 0;
- var calStop = 0;
- if (cal) {
- if (cal[2])
- calStart = djl_calendar[dayIndex][2];
- if (cal[3])
- calStop = djl_calendar[dayIndex][3];
- }
-
- if ( (i >= calStart) && (i <= calStop) ) {
- t_obj.style.display = '';
- } else {
- t_obj.style.display = 'none';
- }
- i++;
- t_obj = document.getElementById('divhr' + i);
- }
-}
-
-/* Sélectionne un des jours par son index */
-function selectDay(dayIndex)
-{
- var i = 0;
- var t_obj = document.getElementById('shipd0');
- var currentShipd = document.getElementById('shipd'+deliveryDateSelected);
- if (currentShipd) {
- currentShipd.parentNode.style.fontWeight='';
- currentShipd.parentNode.style.color = '';
- }
- while (t_obj)
- {
- t_obj.checked = false;
- if (i == dayIndex)
- t_obj.checked = true;
- i++;
- t_obj = document.getElementById('shipd' + i);
- }
- deliveryDateSelected = dayIndex;
- currentShipd = document.getElementById('shipd'+deliveryDateSelected);
- if (currentShipd) {
- currentShipd.parentNode.style.fontWeight='bold';
- currentShipd.parentNode.style.color = '#993300';
- }
- hideUnusedHours(dayIndex);
-
- var currentShipHr = document.getElementById('shiphr' + deliveryHourSelected);
- if (!currentShipHr || currentShipHr.parentNode.parentNode.style.display == 'none') {
- var cal = djl_calendar[dayIndex];
- var calStart = 9;
- if (cal) {
- if (cal[2])
- calStart = djl_calendar[dayIndex][2];
- selectHour(calStart);
- }
- }
-}
-
-
-function selectHour(hourIndex)
-{
- var i = 0;
- var t_obj = document.getElementById('shiphr0');
- var currentShipHr = document.getElementById('shiphr' + deliveryHourSelected);
- if (currentShipHr) {
- currentShipHr.parentNode.style.fontWeight='';
- currentShipHr.parentNode.style.color = '';
- }
- while (t_obj)
- {
- t_obj.checked = false;
- if (i == hourIndex)
- t_obj.checked = true;
- i++;
- t_obj = document.getElementById('shiphr' + i);
- }
- deliveryHourSelected = hourIndex;
- currentShipHr = document.getElementById('shiphr' + deliveryHourSelected);
- if (currentShipHr) {
- currentShipHr.parentNode.style.fontWeight='bold';
- currentShipHr.parentNode.style.color = '#993300';
- }
-}
-
-/**
- toggle element visibility : make it visible if to_which is 1 and element is not visible, otherwise make it invisible
-**/
-function toggle_visibility(eltId, to_which)
-{
- var elt = $('div#' + eltId) ;
- if (to_which == 1 && elt.get(0).style.display == 'none') {
- elt.slideDown();
- }
- else if (to_which == 0 && elt.get(0).style.display != 'none') {
- elt.slideUp();
- }
-}
diff --git a/modules/dibs/config.xml b/modules/dibs/config.xml
deleted file mode 100644
index c1d93c699..000000000
--- a/modules/dibs/config.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
- dibs
-
-
-
-
-
- 1
- 1
-
-
\ No newline at end of file
diff --git a/modules/dibs/de.php b/modules/dibs/de.php
deleted file mode 100644
index 0e259c826..000000000
--- a/modules/dibs/de.php
+++ /dev/null
@@ -1,43 +0,0 @@
-dibs_b508edd89d96e13df300b298143998d3'] = 'DIBS';
-$_MODULE['<{dibs}prestashop>dibs_ef3a95ad5c00ef1b4d1d73d2b50bf54c'] = 'DIBS Zahlung API';
-$_MODULE['<{dibs}prestashop>dibs_f146cc67c82721f372d15664a9e4a0d6'] = 'Aus Sicherheitsgründen müssen Sie die Schlüssel Nr. 1 und 2, die von der MD5-Kontrolle von DIBS API verwendet werden, einstellen.';
-$_MODULE['<{dibs}prestashop>dibs_94c824556baeddc9d8a31710c38fb045'] = 'Sie müssen Ihre Händler-ID einstellen, um DIBS API nutzen zu können.';
-$_MODULE['<{dibs}prestashop>dibs_20015706a8cbd457cbb6ea3e7d5dc9b3'] = 'Konfiguration aktualisiert';
-$_MODULE['<{dibs}prestashop>dibs_323d72a644340f9f2152febe46a52259'] = 'Ein DIBS-Konto erhalten';
-$_MODULE['<{dibs}prestashop>dibs_a24f296af38bde709dffc364b28bdebb'] = 'Klicken Sie bitte auf den Link, um den DIBS Anmeldeformular zu sehen:';
-$_MODULE['<{dibs}prestashop>dibs_97e7c9a7d06eac006a28bf05467fcc8b'] = 'Link';
-$_MODULE['<{dibs}prestashop>dibs_d826f3c7dc81b9d9b855f34bb855d9f6'] = 'Je nach Sprache und Land Regeln, können Abo-Parameter unterschiedlich sein.';
-$_MODULE['<{dibs}prestashop>dibs_d076f6d79396f176263a61ad3a1fe945'] = 'Bitte klicken Sie auf die entsprechende Flagge:';
-$_MODULE['<{dibs}prestashop>dibs_f4f70727dc34561dfde1a3c529b6205c'] = 'Einstellungen';
-$_MODULE['<{dibs}prestashop>dibs_794b8837b6ee6ddc4301f557915f9486'] = 'Logo-Farbe';
-$_MODULE['<{dibs}prestashop>dibs_44e1ec6255a91754e4911b16b9fc4d22'] = 'Die Grundfarbe des Logos, das auf der Zahlungsseite angezeigt wird.';
-$_MODULE['<{dibs}prestashop>dibs_229a7ec501323b94db7ff3157a7623c9'] = 'Händler-ID';
-$_MODULE['<{dibs}prestashop>dibs_b305acae66879c527cda4c4ded662585'] = 'Die von DIBS geschickte E-Mail sehen';
-$_MODULE['<{dibs}prestashop>dibs_310fc01b7a8c167aa514ccccc9e46e99'] = 'Sicherheitsschlüssel Nr. 1';
-$_MODULE['<{dibs}prestashop>dibs_247cc6885be1cb649d05acf81242cc35'] = 'Sicherheitsschlüssel Nr. 2';
-$_MODULE['<{dibs}prestashop>dibs_c7138fc31d63f966e368147a0cd4e55d'] = 'Diese Schlüssel werden für eine Verbesserung der Sicherheit eingesetzt.';
-$_MODULE['<{dibs}prestashop>dibs_b89642757f7199e37e74dd6a9a333733'] = 'Um diese Schlüssel zu erhalten, gehen auf die DIBS-Administrationsoberfläche zu Integration > MD5 Schlüsselmenü . Bitte stellen Sie sicher, dass die MD5-Kontrolle aktiviert ist, sonst funktioniert das Modul nicht .';
-$_MODULE['<{dibs}prestashop>dibs_f9986472f2190b1ec04c52dd1eca1af4'] = 'Verwenden Sie das DIBS-Testmodul';
-$_MODULE['<{dibs}prestashop>dibs_313ada9ae4162978238c99d505bb6870'] = 'Sobald dieses Feld mitgeteilt ist, wird die Transaktion nicht zum Karteninhaber weitergeleitet, sondern wird anstattdessen vom DIBS-Testmodul bearbeitet.';
-$_MODULE['<{dibs}prestashop>dibs_41f538d798be040c3710e4e128105ad2'] = 'Siehe auch Schritt 5 der 10 Schritt-Anleitung für weitere Informationen.';
-$_MODULE['<{dibs}prestashop>dibs_9d0ac8297882a62456cd41249c36d9af'] = 'Während Ihrer ersten Integration mit DIBS ist es nicht nötig, diese Einstellung einzugeben, da sämtliche Standardtransaktionen zunächst auf das DIBS-Testsystem treffen, bis DIBS die Integration genehmigt hat. Falls das Testsystem zu einem späteren Zeitpunkt verwendet wird, wird dies bei DIBS aktiviert (kontaktieren Sie den DIBS-Support, um das Testmodul Ihres Shops zu reaktivieren).';
-$_MODULE['<{dibs}prestashop>dibs_58768109d694bef3c059544892118901'] = 'Flexwin-Farbe';
-$_MODULE['<{dibs}prestashop>dibs_37b0d284e5d29973b385ca537272ec38'] = 'Die Grundfarbe von FlexWin.';
-$_MODULE['<{dibs}prestashop>dibs_2e2b79996d4fb73bff9b97725ddfbab8'] = 'Akzeptierte URL';
-$_MODULE['<{dibs}prestashop>dibs_0e260f9297ec338abbf671829d53c4ae'] = 'Die URL der Seite, die angezeigt werden soll, wenn der Kauf genehmigt ist.';
-$_MODULE['<{dibs}prestashop>dibs_fcb9c3f1b9731de08442d81583782db7'] = 'Gelöschte URL';
-$_MODULE['<{dibs}prestashop>dibs_491f74497aaca60ae31a327d12d52925'] = 'Die URL der Seite, die angezeigt werden soll, wenn der Kunde den Zahlungsvorgang abbricht.';
-$_MODULE['<{dibs}prestashop>dibs_b17f3f4dcf653a5776792498a9b44d6a'] = 'Einstellungen aktualisieren';
-$_MODULE['<{dibs}prestashop>dibs_b64af11b4f643164b0b418c716a6f7a0'] = 'Mit dibs zahlen';
-$_MODULE['<{dibs}prestashop>dibs_fda89beb6740540db1053016d96624c3'] = 'dibs Logo';
-$_MODULE['<{dibs}prestashop>dibs_eeaf35c1eb180cc38a77b892a96d7ed3'] = 'Bezahlen Sie sicher und schnell mit dibs.';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Ihre Bestellung vom';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_75fbf512d744977d62599cc3f0ae2bb4'] = 'ist abgeschlossen.';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_30163d8fc3068e8297e7ab5bf32aec87'] = 'Ihre Bestellung wird so schnell wie möglich zugeschickt.';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_0db71da7150c27142eef9d22b843b4a9'] = 'Bei Fragen oder für weitere Informationen, kontaktieren Sie bitte unseren';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_64430ad2835be8ad60c59e7d44e4b0b1'] = 'Kunden-Support';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_8de637e24570c1edb0357826a2ad5aea'] = 'Wir haben bei Ihrer Bestellung ein Problem festgestellt. Wenn Sie denken, dies sei ein Fehler, können Sie an unseren';
diff --git a/modules/dibs/dibs.jpg b/modules/dibs/dibs.jpg
deleted file mode 100644
index 31d9db63f..000000000
Binary files a/modules/dibs/dibs.jpg and /dev/null differ
diff --git a/modules/dibs/dibs.php b/modules/dibs/dibs.php
deleted file mode 100644
index 0d05f2c1b..000000000
--- a/modules/dibs/dibs.php
+++ /dev/null
@@ -1,433 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 7096 $
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-if (!defined('_PS_VERSION_'))
- exit;
-
-class dibs extends PaymentModule
-{
- /**
- * @var string set the merchant id sent by DIBS e-mail after subscription
- * @staticvar
- */
- public static $ID_MERCHANT;
-
- /**
- * The URL of the page to be displayed if the purchase is approved.
- * @var string
- * @staticvar
- */
- private static $ACCEPTED_URL = '';
-
- /**
- * The URL of the page to be displayed if the customer cancels the payment.
- * @var string
- * @staticvar
- */
- private static $CANCELLED_URL = '';
-
- /**
- * Set the testing mode.
- * @var string
- */
- private static $TESTING;
-
- /**
- * define more settings values, set for new version which probably.
- * @var array
- */
- public static $MORE_SETTINGS;
-
- /**
- * @var string
- * @staticvar
- */
- private static $site_url;
-
- /**
- * Only this langs array are allowed in DIBS API
- * @var array
- */
- private static $accepted_lang = array('da','en','es','fi','fo','fr','it','nl','no','pl','sv');
-
- /**
- * Formular link to DIBS subscription
- * @var array
- */
- public static $dibs_subscription_link = array(
- 'fr' => 'http://www.dibspayment.com/order/fr_request/',
- 'en' => 'http://www.dibspayment.com/order/uk_request_2eng',
- 'da' => 'http://www.dibs.dk/bestil/internet/',
- 'sv' => 'http://www.dibs.se/bestall/internet/',
- 'no' => 'http://www.dibs.no/bestill/internett/',
- );
-
- public function __construct()
- {
- $this->name = 'dibs';
- $this->tab = 'payments_gateways';
- $this->version = '1.2';
- $this->author = 'PrestaShop';
-
- parent::__construct();
-
- $this->displayName = $this->l('DIBS');
- $this->description = $this->l('DIBS payment API');
-
- if (self::$site_url === NULL)
- {
- if(method_exists('Tools', 'getProtocol'))
- self::$site_url = Tools::htmlentitiesutf8(Tools::getProtocol().$_SERVER['HTTP_HOST'].__PS_BASE_URI__);
- else
- self::$site_url = Tools::htmlentitiesutf8((!is_null($use_ssl) && $use_ssl ? 'https://' : 'http://').$_SERVER['HTTP_HOST'].__PS_BASE_URI__);
- }
-
- self::$ID_MERCHANT = Configuration::get('DIBS_ID_MERCHANT');
- self::$ACCEPTED_URL = Configuration::get('DIBS_ACCEPTED_URL');
- self::$CANCELLED_URL = Configuration::get('DIBS_CANCELLED_URL');
- self::$TESTING = (int)Configuration::get('DIBS_TESTING');
- self::$MORE_SETTINGS = Configuration::get('DIBS_MORE_SETTINGS') != '' ? unserialize(Tools::htmlentitiesDecodeUTF8(Configuration::get('DIBS_MORE_SETTINGS'))) : array();
-
- if (!isset(self::$MORE_SETTINGS['k1'])
- OR (isset(self::$MORE_SETTINGS['k1']) AND (self::$MORE_SETTINGS['k1'] === '' OR self::$MORE_SETTINGS['k2'] === '') ))
- $this->warning = $this->l('For security reasons, you must set key #1 and key #2 used by MD5 control of DIBS API.');
- if (!self::$ID_MERCHANT OR self::$ID_MERCHANT === '')
- $this->warning = $this->l('You have to set your merchant ID to use DIBS API.');
-
- /* For 1.4.3 and less compatibility */
- $updateConfig = array('PS_OS_CHEQUE', 'PS_OS_PAYMENT', 'PS_OS_PREPARATION', 'PS_OS_SHIPPING', 'PS_OS_CANCELED', 'PS_OS_REFUND', 'PS_OS_ERROR', 'PS_OS_OUTOFSTOCK', 'PS_OS_BANKWIRE', 'PS_OS_PAYPAL', 'PS_OS_WS_PAYMENT');
- if (!Configuration::get('PS_OS_PAYMENT'))
- foreach ($updateConfig as $u)
- if (!Configuration::get($u) && defined('_'.$u.'_'))
- Configuration::updateValue($u, constant('_'.$u.'_'));
- }
-
- public function install()
- {
- return (parent::install()
- AND $this->registerHook('orderConfirmation')
- AND $this->registerHook('payment')
- AND Configuration::updateValue('DIBS_ACCEPTED_URL', self::$site_url.(substr(trim(self::$site_url), -1, 1) === '/' ? '' : '/').'order-confirmation.php')
- AND Configuration::updateValue('DIBS_CANCELLED_URL', self::$site_url)
- AND Configuration::updateValue('DIBS_TESTING', 1)
- AND Configuration::updateValue('DIBS_MORE_SETTINGS', Tools::htmlentitiesUTF8(serialize(array('flexwin_color' => 'blue', 'logo_color' => 'black', 'k1' => '', 'k2' => ''))), true));
- }
-
- public function uninstall()
- {
- return (parent::uninstall()
- AND Configuration::deleteByName('DIBS_ACCEPTED_URL')
- AND Configuration::deleteByName('DIBS_ID_MERCHANT')
- AND Configuration::deleteByName('DIBS_CANCELLED_URL')
- AND Configuration::deleteByName('DIBS_TESTING')
- AND Configuration::deleteByName('DIBS_MORE_SETTINGS'));
- }
-
- public function hookOrderConfirmation($params)
- {
- if (!$this->active)
- return;
- if ($params['objOrder']->module != $this->name)
- return;
-
- if ($params['objOrder']->valid)
- $this->context->smarty->assign(array('status' => 'ok', 'id_order' => $params['objOrder']->id));
- else
- $this->context->smarty->assign('status', 'failed');
- return $this->display(__FILE__, 'hookorderconfirmation.tpl');
- }
-
- private function preProcess()
- {
- if (Tools::isSubmit('submitModule'))
- {
- self::$ID_MERCHANT = (Tools::getValue('idMerchant') !== '' ? Tools::getValue('idMerchant') : self::$ID_MERCHANT);
- self::$ACCEPTED_URL = ((Validate::isUrl(Tools::getValue('acceptedUrl'))) ? Tools::getValue('acceptedUrl') : self::$ACCEPTED_URL);
- self::$CANCELLED_URL = ((Validate::isUrl(Tools::getValue('cancelledUrl'))) ? Tools::getValue('cancelledUrl') : self::$CANCELLED_URL);
- self::$TESTING = (int)isset($_POST['testing']);
- self::$MORE_SETTINGS['flexwin_color'] = Tools::getValue('flexwin_color');
- self::$MORE_SETTINGS['logo_color'] = Tools::getValue('logo_color');
- self::$MORE_SETTINGS['k1'] = Tools::getValue('k1');
- self::$MORE_SETTINGS['k2'] = Tools::getValue('k2');
-
- Configuration::updateValue('DIBS_ID_MERCHANT', self::$ID_MERCHANT);
- Configuration::updateValue('DIBS_ACCEPTED_URL', self::$ACCEPTED_URL);
- Configuration::updateValue('DIBS_CANCELLED_URL', self::$CANCELLED_URL);
- Configuration::updateValue('DIBS_TESTING', self::$TESTING);
- Configuration::updateValue('DIBS_MORE_SETTINGS', Tools::htmlentitiesUTF8(serialize(self::$MORE_SETTINGS)));
-
- $data_sync = '';
- if(self::$ID_MERCHANT !== '' AND self::$TESTING !== 1 AND self::$MORE_SETTINGS['k1'] !== '' AND self::$MORE_SETTINGS['k2'] !== '')
- $data_sync = '
.')
';
-
- echo '

'.$this->l('Configuration updated').$data_sync.'
';
- }
- }
-
- private function _displayPresentation()
- {
- $href = '';
- $langIsoCode = Language::getIsoById(Configuration::get('PS_LANG_DEFAULT'));
- if (isset(dibs::$dibs_subscription_link[$langIsoCode]))
- $href = dibs::$dibs_subscription_link[$langIsoCode];
- else
- $href = dibs::$dibs_subscription_link['en'];
- $out = '
-
';
- return $out;
- }
-
- public function getContent()
- {
- $this->preProcess();
-
- $flexwin_colors = array('sand', 'grey', 'blue');
- $logo_colors = array('yellow', 'grey', 'blue', 'black', 'purple', 'green');
- $str = '
'.$this->displayName.'
'
- .$this->_displayPresentation()
- .'
-
';
- return $str;
- }
-
- public function hookPayment($params)
- {
- if ((self::$ID_MERCHANT === false || self::$ID_MERCHANT === '' || self::$ID_MERCHANT === NULL)
- || (self::$ACCEPTED_URL === false || self::$ACCEPTED_URL === '' || self::$ACCEPTED_URL === NULL))
- return '';
-
- $currency = new Currency(intval($params['cart']->id_currency));
- $lang = new Language(intval($params['cart']->id_lang));
- $customer = new Customer(intval($params['cart']->id_customer));
- $address = new Address(intval($params['cart']->id_address_invoice));
- $country = new Country(intval($address->id_country), intval($params['cart']->id_lang));
- $products = $params['cart']->getProducts();
-
- $dibsParams = array();
-
- // Required
- $dibsParams['merchant'] = self::$ID_MERCHANT; // id merchant send from DIBS e-mail
-
- // don't cast to int !! It has strange behaviour (really strange)
- // for example : When calculate a total amount of 557.05, the result is 55704 after casting !!
- $dibsParams['amount'] = $params['cart']->getOrderTotal(true, Cart::BOTH) * 100; // The smallest unit of an amount, cent for EUR
- $dibsParams['accepturl'] = self::$ACCEPTED_URL.'?id_cart='.(int)($params['cart']->id).'&id_module='.(int)($this->id).'&key='.$customer->secure_key; // The URL of the page to be displayed if the purchase is approved.
- $dibsParams['orderid'] = $params['cart']->id.'_'.date('YmdHis'); // The shop's order number for this particular puchase. It can be seen later when payment is captured, and will in some instances appear on the customer's bank statement (max. 50 characters, both numerals and letters may be used).
- $currency_num = 0;
-
- // for 1.3 compatibility
- if(!isset($currency->iso_code_num) OR $currency->iso_code_num == '')
- {
- $array_currency_iso_num = array(
- 'DKK' => 208,
- 'EUR' => 978,
- 'USD' => 840,
- 'GBP' => 826,
- 'SEK' => 752,
- 'AUD' => 036,
- 'CAD' => 124,
- 'ISK' => 352,
- 'JPY' => 392,
- 'NZD' => 554,
- 'NOK' => 578,
- 'CHF' => 756,
- 'TRY' => 949,
- );
- $currency_num = $array_currency_iso_num[$currency->iso_code];
- }
- else
- $currency_num = $currency->iso_code_num;
- $dibsParams['currency'] = (int)$currency_num; // Currency specification as indicated in ISO4217 where the EUR is no. 978
-
- // optional
- if(self::$TESTING === 1)
- $dibsParams['test'] = 'yes'; // optional - This field is used when tests are being conducted on the shop (e.g. test=yes). When this field is declared, the transaction is not dispatched to the card issuer, but is instead handled by the DIBS test module. See also Step 5 of the 10 Step Guide for more information. During your initial integration with DIBS, there is no need to insert this parameter, since all default transactions will hit the DIBS test system until DIBS has approved integration. Should the test system be used at a later date, this will be activated at DIBS (contact DIBS support for reactivating the test mode of your shop).
- $dibsParams['lang'] = in_array(strtolower($lang->iso_code), self::$accepted_lang) ? $lang->iso_code : ''; // optional - This parameter determines the language in which the page will be opened. The following values are accepted: da=Danish en=English es=Spanish fi=Finnish fo=Faroese fr=French it=Italian nl=Dutch no=Norwegian pl=Polish (simplified) sv=Swedish Default language is Danish.
- $dibsParams['color'] = self::$MORE_SETTINGS['flexwin_color']; // optional - The basic color theme of FlexWin. There is currently a choice of "sand", "grey" and "blue". The default value is "blue".
- $dibsParams['cancelurl'] = self::$CANCELLED_URL; // optional - The URL of the page to be displayed if the customer cancels the payment.
- $dibsParams['uniqueoid'] = (int)($params['cart']->id).'_'.date('YmdHis').'_'.$params['cart']->secure_key; // optional - If this field exists, the orderid-field must be unique, i.e. there is no existing transaction with DIBS with the same order number. If such a transaction already exists, payment will be rejected with reason=7. Unless you are unable to generate unique order numbers, we strongly urge you to utilize this field.Note: Order numbers can be composed of a maximum of 50 characters (DIBS automatically removes surplus characters) and that uniqueoid is therefore unable to work as intended if order numbers consisting of more than 50 characters are used.
- $dibsParams['callbackurl'] = self::$site_url.'modules/'.$this->name.'/validation.php'; // optional - An optional �server-to-server� call which tells the shop�s server that payment was a success. Can be used for many purposes, the most important of these being the ability to register the order in your own system without depending on the customer�s browser hitting a specific page of the shop. See also HTTP_COOKIE.
- $md5_params = 'merchant='.self::$ID_MERCHANT.'&orderid='.$dibsParams['orderid'].'¤cy='.$dibsParams['currency'].'&amount='.$dibsParams['amount'];
- $dibsParams['md5key'] = md5(self::$MORE_SETTINGS['k2'].md5(self::$MORE_SETTINGS['k1'].$md5_params)); // optional - This variable enables a MD5 key control of the values received by DIBS. This control confirms that the values sent to DIBS has not been tampered with during the transfer. The MD5 key is calculated as: MD5(key2 + MD5(key1 + "merchant=&orderid=&transact=")) Where key1 and key2 are shop specific keys available through the DIBS administration interface, and + is the concatenation operator. NB! MD5 key check must also be enabled through the DIBS administration interface in order to work. Further details on MD5-key control.
-
- // @todo need more infos.
- $dibsParams['account'] = ''; // optional - If multiple departments utilize the company's acquirer agreement with PBS, it may prove practical to keep the transactions separate at DIBS. An "account number" may be inserted in this field, so as to separate transactions at DIBS.
- $dibsParams['calcfee'] = ''; // optional - If this parameter is set (e.g. calcfee=foo), the charge due to the transaction will automatically be calculated and affixed, i.e., the charge payable to the acquirer (e.g. PBS)
- $dibsParams['capturenow'] = ''; // optional - If this field exists, an "instant capture" is carried out, i.e. the amount is immediately transferred from the customer's account to the shop's account. This function can only be utilized in the event that there is no actual physical delivery of any items. Contact DIBS when using this function. (Note that instant capture requires unique order numbers - also see the description of uniqueoid above).
- $dibsParams['ip'] = ''; // optional - DIBS retains the IP-number from which a card transaction is carried out. The IP-number is used for �fraud control�, etc. Some implementations may send the IP number of the shop to DIBS rather than that of the customer's machine. In order to provide the same services to shops which utilize such a program for their DIBS hookup, we offer the option of sending the "ip" parameter.
- $dibsParams['paytype'] = ''; // optional - Regarding the start-up of the DIBS FlexWin, the user can be limited to the use of just one particular payment form. This is accomplished by using the parameter "paytype". This function can be used if you wish for example to use integration method 3 for payment cards and method 1 for eDankort. Furthermore, this function can be used if you wish to control the user's selections of method of payment from your own website. You can also specify a list of payment methods that will be shown in the Flexwin. This list should be a comma separated with no spaces in between. Example: See our list of possible paytypes.
- $dibsParams['maketicket'] = ''; // optional - This parameter is intended for FlexWin, and actually performs two transactions. First it performs a regular authorisation. If, and only if, it is accepted, it is followed by a ticket registration. Both a transaction and a ticket value are returned to "accepturl" if it is specified. If "callbackurl" is specified, DIBS will perform two separate calls, corresponding to performing two transactions - one call to the regular authorisation, and another to the ticket registration. Both cases return a "transact" parameter value (e.g. transact="78901234"). In calls to "callbackurl" containing "preauth", the ticket value is composed of the "transact" parameter value. "maketicket" implicitly sets the "preauth" parameter - however, you should avoid to explicitly specify any "preauth" parameter. You cannot use "uniqueoid", "capturenow" or "md5key" along with "maketicket". Currently "maketicket" does not work with 3Dsecure.
- $dibsParams['postype'] = ''; // optional - "postype" (one 't') is used when one wishes to register the transaction origin. For normal internet transaction it is not required to include "postype", as it is automatically set to SSL. Possible values are: ssl = internet transactions, magnetic = magnetic stripe read, and signature is available, magnosig = magnetic stripe read, and no signature is available, mail = mail order, manual = manually entered, phone = phone order, signature = card and signature available, manually entered.
- $dibsParams['ticketrule'] = ''; // optional - Set the value of this parameter to the same as defined by you in DIBS Admin.
- $dibsParams['preauth'] = ''; // optional - When preauth=true is sent as part of the request to auth.cgi the DIBS server identifies the authorisation as a ticket authorisation rather than a normal transaction. Please note that the pre-authorised transaction is NOT available among the transactions in the DIBS administration interface. When using MD5 the Authkey must be calculated from the string transact=12345678&preauth=true¤cy=123
-
- // @todo Since Prestashop manage vouchers, ask if necessary to use this params
- $dibsParams['voucher'] = ''; // optional - If set to "yes", then the list of payment types on the first page of FlexWin will contain vouchers, too. If FlexWin is called with a paytype, which would lead directly to the payment form, the customer is given the choice of entering a voucher code first.
- $dibsParams['split'] = ''; // optional - "split" is used for splitting up a transaction into two or more sub-transactions. This enables part of an order to be paid for when shipped in part. It requires that the amount and currency of the part payments are known at the time of the order, and are posted to the DIBS server as: split=2&amount1=&amount2=
-
- // to erase optional params which are not filled
- $dibsParams = array_filter($dibsParams);
-
- /* Order Information as "complex model" :
- * -------------------------------------- */
-
- // delivery params
- $dibsParams['delivery1.Name'] = $address->firstname.' '.$address->lastname;
- $dibsParams['delivery2.Address'] = $address->address1;
- $dibsParams['delivery3.Address2'] = $address->address2;
- $dibsParams['delivery4.Postcode'] = $address->postcode;
- $dibsParams['delivery5.City'] = $address->city;
- $dibsParams['delivery6.Comment'] = $address->other;
- $dibsParams['delivery7.Phone'] = $address->phone;
- $dibsParams['delivery8.Company'] = $address->company;
-
- // order line (product list)
- $dibsParams['ordline0-1'] = 'Product ref / Product Id';
- $dibsParams['ordline0-2'] = 'Name';
- $dibsParams['ordline0-3'] = 'Description';
- $dibsParams['ordline0-4'] = 'Unit price with tax';
- $dibsParams['ordline0-5'] = 'Total price with tax';
- $dibsParams['ordline0-6'] = 'Quantity';
- $dibsParams['ordline0-7'] = 'Weight';
- $dibsParams['ordline0-8'] = 'ecotax';
-
- $count_products = 1;
- foreach ($products as $key => $product)
- {
- $dibsParams['ordline'.$count_products.'-1'] = 'ref.'.($product['reference'] != '' ? $product['reference'] : 'NC' ).'/id.'.$product['id_product'];
- $dibsParams['ordline'.$count_products.'-2'] = $product['name'];
- $dibsParams['ordline'.$count_products.'-3'] = strip_tags($product['description_short']);
- $dibsParams['ordline'.$count_products.'-4'] = $product['price_wt'];
- $dibsParams['ordline'.$count_products.'-5'] = $product['total_wt'];
- $dibsParams['ordline'.$count_products.'-6'] = $product['cart_quantity'];
- $dibsParams['ordline'.$count_products.'-7'] = $product['weight'];
- $dibsParams['ordline'.$count_products.'-8'] = $product['ecotax'];
- $count_products++;
- }
-
- // Price info
- $dibsParams['priceinfo1.Deliverycosts'] = $params['cart']->getOrderTotal(true, Cart::ONLY_SHIPPING);
- $dibsParams['priceinfo2.ProductsAmount'] = $params['cart']->getOrderTotal(true, Cart::BOTH_WITHOUT_SHIPPING);
- $dibsParams['priceinfo3.AmountWithoutTax'] = $params['cart']->getOrderTotal(false, Cart::BOTH);
- $dibsParams['priceinfo4.AmountTotalTax'] = (float)($params['cart']->getOrderTotal(true, Cart::BOTH) - $params['cart']->getOrderTotal(false, Cart::BOTH));
- $this->context->smarty->assign('p', $dibsParams);
- $this->context->smarty->assign('logo_color', self::$MORE_SETTINGS['logo_color']);
- return $this->display(__FILE__, 'dibs.tpl');
- }
-
- /**
- * Set the detail of a payment - Call after un validateOrder
- * See Authorize documentation to know the associated key => value
- * @param array fields
- * @return bool success state
- */
- public function setTransactionDetail($response)
- {
- // If Exist we can store the details
- if (isset($this->pcc))
- {
- $this->pcc->transaction_id = (string)$response['transact'];
-
- // 50 => Card number (XXXX0000)
- $this->pcc->card_number = (string)substr($response['cardnomask'], -4);
-
- // 51 => Card Mark (Visa, Master card)
- $this->pcc->card_brand = (string)$response['paytype'];
-
- $this->pcc->card_expiration = '0000';
-
- // 68 => Owner name
- $this->pcc->card_holder = '';
- }
- }
-}
\ No newline at end of file
diff --git a/modules/dibs/dibs.tpl b/modules/dibs/dibs.tpl
deleted file mode 100644
index 6aad04d1a..000000000
--- a/modules/dibs/dibs.tpl
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
- {l s='Pay with dibs' mod='dibs'}
{l s='Pay safely and quickly with dibs.' mod='dibs'}
-
-
-
-
-
\ No newline at end of file
diff --git a/modules/dibs/es.php b/modules/dibs/es.php
deleted file mode 100644
index 5528440e7..000000000
--- a/modules/dibs/es.php
+++ /dev/null
@@ -1,43 +0,0 @@
-dibs_b508edd89d96e13df300b298143998d3'] = 'DIBS';
-$_MODULE['<{dibs}prestashop>dibs_ef3a95ad5c00ef1b4d1d73d2b50bf54c'] = 'DIBS API de pago';
-$_MODULE['<{dibs}prestashop>dibs_f146cc67c82721f372d15664a9e4a0d6'] = 'Por razones de seguridad, debe grabar las claves 1 y 2 utilizadas por el control MD de el API de DIBS.';
-$_MODULE['<{dibs}prestashop>dibs_94c824556baeddc9d8a31710c38fb045'] = 'Debe registrar su ID vendedor para utilizar el API de DIBS.';
-$_MODULE['<{dibs}prestashop>dibs_20015706a8cbd457cbb6ea3e7d5dc9b3'] = 'Configuración modificada';
-$_MODULE['<{dibs}prestashop>dibs_323d72a644340f9f2152febe46a52259'] = 'Obtenir una cuenta DIBS';
-$_MODULE['<{dibs}prestashop>dibs_a24f296af38bde709dffc364b28bdebb'] = 'Pulse en el siguiente link para acceder al formulario de inscripción DIBS:';
-$_MODULE['<{dibs}prestashop>dibs_97e7c9a7d06eac006a28bf05467fcc8b'] = 'Link';
-$_MODULE['<{dibs}prestashop>dibs_d826f3c7dc81b9d9b855f34bb855d9f6'] = 'Según su idioma y la legislación de su país, el formulario de inscripción puede ser diferente.';
-$_MODULE['<{dibs}prestashop>dibs_d076f6d79396f176263a61ad3a1fe945'] = 'Pulse en la bandera correspondiente:';
-$_MODULE['<{dibs}prestashop>dibs_f4f70727dc34561dfde1a3c529b6205c'] = 'Configuraciones';
-$_MODULE['<{dibs}prestashop>dibs_794b8837b6ee6ddc4301f557915f9486'] = 'Color del logo';
-$_MODULE['<{dibs}prestashop>dibs_44e1ec6255a91754e4911b16b9fc4d22'] = 'El color básico del logo que aparece en la página de pago';
-$_MODULE['<{dibs}prestashop>dibs_229a7ec501323b94db7ff3157a7623c9'] = 'id del vendedor';
-$_MODULE['<{dibs}prestashop>dibs_b305acae66879c527cda4c4ded662585'] = 'Mirar el email enviado por DIBS';
-$_MODULE['<{dibs}prestashop>dibs_310fc01b7a8c167aa514ccccc9e46e99'] = 'Clave de seguridad n°1';
-$_MODULE['<{dibs}prestashop>dibs_247cc6885be1cb649d05acf81242cc35'] = 'Clave de seguridad n°2';
-$_MODULE['<{dibs}prestashop>dibs_c7138fc31d63f966e368147a0cd4e55d'] = 'Estas claves se utilizan para mejorar la seguridad.Estas claves se utilizan para mejorar la seguridad.';
-$_MODULE['<{dibs}prestashop>dibs_b89642757f7199e37e74dd6a9a333733'] = 'Para obtener estas claves ir a la interfaz de administración DIBS y a Integración > Menú de claves MD5. Por favor, asegúrese de que el control MD5 esté activo, de lo contrario el módulo no funcionará.';
-$_MODULE['<{dibs}prestashop>dibs_f9986472f2190b1ec04c52dd1eca1af4'] = 'Utilizar el módulo de test de DIBS';
-$_MODULE['<{dibs}prestashop>dibs_313ada9ae4162978238c99d505bb6870'] = 'Cuando este campo está declarado, la transacción no se envía al remitente de la carta sino al módulo de test de Twenga.';
-$_MODULE['<{dibs}prestashop>dibs_41f538d798be040c3710e4e128105ad2'] = 'Mirar también la etapa 5 de la guía en 10 etapas para más información.';
-$_MODULE['<{dibs}prestashop>dibs_9d0ac8297882a62456cd41249c36d9af'] = 'Durante su primera integración con DIBS, no necesita utilizar dicho parámetro, ya que todas las transacciones por defecto van a utilizar el sistema de test hasta que la integración del sitio no haya sido aprobada por DIBS. Si el sistema de test debe utilizarse posteriormente, puede activarse en DIBS (contacte con el soporte DIBS para reactivar el modo de test en su tienda)';
-$_MODULE['<{dibs}prestashop>dibs_58768109d694bef3c059544892118901'] = 'Color de Flexwin';
-$_MODULE['<{dibs}prestashop>dibs_37b0d284e5d29973b385ca537272ec38'] = 'El color del tema de Flexwi';
-$_MODULE['<{dibs}prestashop>dibs_2e2b79996d4fb73bff9b97725ddfbab8'] = 'Url de aceptación';
-$_MODULE['<{dibs}prestashop>dibs_0e260f9297ec338abbf671829d53c4ae'] = 'La URL de la página que aparece si el pago es aceptado.';
-$_MODULE['<{dibs}prestashop>dibs_fcb9c3f1b9731de08442d81583782db7'] = 'Anular la URL';
-$_MODULE['<{dibs}prestashop>dibs_491f74497aaca60ae31a327d12d52925'] = 'La URL de la página que aparecerá si el usuario anula el pago';
-$_MODULE['<{dibs}prestashop>dibs_b17f3f4dcf653a5776792498a9b44d6a'] = 'Modificar las configuraciones';
-$_MODULE['<{dibs}prestashop>dibs_b64af11b4f643164b0b418c716a6f7a0'] = 'Pagar con DIBS';
-$_MODULE['<{dibs}prestashop>dibs_fda89beb6740540db1053016d96624c3'] = 'Logo de DIBS';
-$_MODULE['<{dibs}prestashop>dibs_eeaf35c1eb180cc38a77b892a96d7ed3'] = 'Pagar rápidamente de manera segura con DIBS';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Su pedido en';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_75fbf512d744977d62599cc3f0ae2bb4'] = 'está terminado.';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_30163d8fc3068e8297e7ab5bf32aec87'] = 'Le enviaremos su pedido cuanto antes.';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_0db71da7150c27142eef9d22b843b4a9'] = 'Para cualquier pregunta o para más información, póngase en contacto con nuestro';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_64430ad2835be8ad60c59e7d44e4b0b1'] = 'servicio clientela';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_8de637e24570c1edb0357826a2ad5aea'] = 'Hemos observado un problema con su pedido. Si piensa que se trata de un error, puede ponerse en contacto con nuestro';
diff --git a/modules/dibs/fr.php b/modules/dibs/fr.php
deleted file mode 100644
index e0320d43c..000000000
--- a/modules/dibs/fr.php
+++ /dev/null
@@ -1,43 +0,0 @@
-dibs_b508edd89d96e13df300b298143998d3'] = 'DIBS';
-$_MODULE['<{dibs}prestashop>dibs_ef3a95ad5c00ef1b4d1d73d2b50bf54c'] = 'DIBS API de paiement';
-$_MODULE['<{dibs}prestashop>dibs_f146cc67c82721f372d15664a9e4a0d6'] = 'Pour des raisons de sécurité, vous devez enregistrer les clefs numéro 1 et 2 utilisées par le controle MD de l\'API DIBS.';
-$_MODULE['<{dibs}prestashop>dibs_94c824556baeddc9d8a31710c38fb045'] = 'Vous devez enregistrer votre ID marchand pour utiliser l\'API de DIBS.';
-$_MODULE['<{dibs}prestashop>dibs_20015706a8cbd457cbb6ea3e7d5dc9b3'] = 'Configuration modifié';
-$_MODULE['<{dibs}prestashop>dibs_323d72a644340f9f2152febe46a52259'] = 'Obtenir un compte DIBS';
-$_MODULE['<{dibs}prestashop>dibs_a24f296af38bde709dffc364b28bdebb'] = 'Veuillez cliquer sur le lien suivant pour accéder au formulaire de souscription DIBS :';
-$_MODULE['<{dibs}prestashop>dibs_97e7c9a7d06eac006a28bf05467fcc8b'] = 'Lien';
-$_MODULE['<{dibs}prestashop>dibs_d826f3c7dc81b9d9b855f34bb855d9f6'] = 'Selon votre langage et les lois de votre pays, le formulaire de souscription pourrait être différent.';
-$_MODULE['<{dibs}prestashop>dibs_d076f6d79396f176263a61ad3a1fe945'] = 'Veuillez cliquer sur le drapeau approprié :';
-$_MODULE['<{dibs}prestashop>dibs_f4f70727dc34561dfde1a3c529b6205c'] = 'Configurations';
-$_MODULE['<{dibs}prestashop>dibs_794b8837b6ee6ddc4301f557915f9486'] = 'Couleur du logo';
-$_MODULE['<{dibs}prestashop>dibs_44e1ec6255a91754e4911b16b9fc4d22'] = 'La couleur basique du logo qui apparait sur la page de paiement';
-$_MODULE['<{dibs}prestashop>dibs_229a7ec501323b94db7ff3157a7623c9'] = 'id du Marchand';
-$_MODULE['<{dibs}prestashop>dibs_b305acae66879c527cda4c4ded662585'] = 'Regarder l\'e-mail envoyé par DIBS';
-$_MODULE['<{dibs}prestashop>dibs_310fc01b7a8c167aa514ccccc9e46e99'] = 'Clé de sécurité n°1';
-$_MODULE['<{dibs}prestashop>dibs_247cc6885be1cb649d05acf81242cc35'] = 'Clé de sécurité n°2';
-$_MODULE['<{dibs}prestashop>dibs_c7138fc31d63f966e368147a0cd4e55d'] = 'Ces clefs sont utilisées pour améliorer la sécurité.';
-$_MODULE['<{dibs}prestashop>dibs_b89642757f7199e37e74dd6a9a333733'] = 'Afin de récupérer ces clefs, rendez-vous sur l\'interface d\'administration de DIBS, dans le menu \"Integration\" > \"MD5 keys\". N\'oubliez pas de vérifier si le contrôle MD5 est activé, auquel cas le module ne sera pas opérationnel.';
-$_MODULE['<{dibs}prestashop>dibs_f9986472f2190b1ec04c52dd1eca1af4'] = 'Utiliser le module de test de DIBS';
-$_MODULE['<{dibs}prestashop>dibs_313ada9ae4162978238c99d505bb6870'] = 'Quand ce champ est déclaré, la transaction n\'est pas envoyée à l\'émetteur de la carte, mais est envoyé au module de test de DIBS.';
-$_MODULE['<{dibs}prestashop>dibs_41f538d798be040c3710e4e128105ad2'] = 'Regarder aussi l\'étape 5 du guide en 10 étapes pour plus d\'informations.';
-$_MODULE['<{dibs}prestashop>dibs_9d0ac8297882a62456cd41249c36d9af'] = 'Lors de votre première intégration avec DIBS, vous n\'avez pas besoin d\'utiliser ce paramètre, puisque toute les transactions par défaut vont utiliser le système de test tant que l\'intégration du site n\'a pas été approuvée par DIBS. Si le système de test doit être utilisé plus tard, il peut être activé chez DIBS (contactez le support DIBS pour réactiver le mode de test sur votre boutique)';
-$_MODULE['<{dibs}prestashop>dibs_58768109d694bef3c059544892118901'] = 'Couleur de Flexwin';
-$_MODULE['<{dibs}prestashop>dibs_37b0d284e5d29973b385ca537272ec38'] = 'La couleur du thême de Flexwin';
-$_MODULE['<{dibs}prestashop>dibs_2e2b79996d4fb73bff9b97725ddfbab8'] = 'Url d\'acceptation';
-$_MODULE['<{dibs}prestashop>dibs_0e260f9297ec338abbf671829d53c4ae'] = 'L\'url de la page qui sera appelé une fois le paiement accepté.';
-$_MODULE['<{dibs}prestashop>dibs_fcb9c3f1b9731de08442d81583782db7'] = 'Url d\'annulation';
-$_MODULE['<{dibs}prestashop>dibs_491f74497aaca60ae31a327d12d52925'] = 'L\'url de la page qui sera appelé si l\'utilisateur annule le paiement';
-$_MODULE['<{dibs}prestashop>dibs_b17f3f4dcf653a5776792498a9b44d6a'] = 'Modifier les configurations';
-$_MODULE['<{dibs}prestashop>dibs_b64af11b4f643164b0b418c716a6f7a0'] = 'Payer avec DIBS';
-$_MODULE['<{dibs}prestashop>dibs_fda89beb6740540db1053016d96624c3'] = 'Logo de DIBS';
-$_MODULE['<{dibs}prestashop>dibs_eeaf35c1eb180cc38a77b892a96d7ed3'] = 'Payer rapidement et de manière sécurisé avec DIBS';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Votre commande sur';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_75fbf512d744977d62599cc3f0ae2bb4'] = 'est terminée. ';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_30163d8fc3068e8297e7ab5bf32aec87'] = 'Votre commande vous sera envoyée dès que possible. ';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_0db71da7150c27142eef9d22b843b4a9'] = 'Pour toute question ou pour de plus amples renseignements, merci de communiquer avec notre ';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_64430ad2835be8ad60c59e7d44e4b0b1'] = 'service client';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_8de637e24570c1edb0357826a2ad5aea'] = 'Nous avons remarqué un problème avec votre commande. Si vous pensez que c\'est une erreur, vous pouvez contacter notre';
diff --git a/modules/dibs/hookorderconfirmation.tpl b/modules/dibs/hookorderconfirmation.tpl
deleted file mode 100644
index 1c67f31df..000000000
--- a/modules/dibs/hookorderconfirmation.tpl
+++ /dev/null
@@ -1,11 +0,0 @@
-{if $status == 'ok'}
-
{l s='Your order on' mod='dibs'} {$shop_name} {l s='is complete.' mod='dibs'}
-
{l s='Your order will be sent as soon as possible.' mod='dibs'}
-
{l s='For any questions or for further information, please contact our' mod='dibs'} {l s='customer support' mod='dibs'}.
-
-{else}
-
- {l s='We noticed a problem with your order. If you think this is an error, you can contact our' mod='dibs'}
- {l s='customer support' mod='dibs'}.
-
-{/if}
\ No newline at end of file
diff --git a/modules/dibs/img/da.jpg b/modules/dibs/img/da.jpg
deleted file mode 100644
index add78c626..000000000
Binary files a/modules/dibs/img/da.jpg and /dev/null differ
diff --git a/modules/dibs/img/en.jpg b/modules/dibs/img/en.jpg
deleted file mode 100644
index 72b962fa6..000000000
Binary files a/modules/dibs/img/en.jpg and /dev/null differ
diff --git a/modules/dibs/img/fr.jpg b/modules/dibs/img/fr.jpg
deleted file mode 100755
index 4cd7f3806..000000000
Binary files a/modules/dibs/img/fr.jpg and /dev/null differ
diff --git a/modules/dibs/img/index.php b/modules/dibs/img/index.php
deleted file mode 100644
index 4e2611d37..000000000
--- a/modules/dibs/img/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision$
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
\ No newline at end of file
diff --git a/modules/dibs/img/no.jpg b/modules/dibs/img/no.jpg
deleted file mode 100644
index 82311e5ae..000000000
Binary files a/modules/dibs/img/no.jpg and /dev/null differ
diff --git a/modules/dibs/img/sv.jpg b/modules/dibs/img/sv.jpg
deleted file mode 100644
index 28f0b03ef..000000000
Binary files a/modules/dibs/img/sv.jpg and /dev/null differ
diff --git a/modules/dibs/index.php b/modules/dibs/index.php
deleted file mode 100644
index 4e2611d37..000000000
--- a/modules/dibs/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision$
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
\ No newline at end of file
diff --git a/modules/dibs/it.php b/modules/dibs/it.php
deleted file mode 100644
index 307e02b2d..000000000
--- a/modules/dibs/it.php
+++ /dev/null
@@ -1,43 +0,0 @@
-dibs_b508edd89d96e13df300b298143998d3'] = 'DIBS';
-$_MODULE['<{dibs}prestashop>dibs_ef3a95ad5c00ef1b4d1d73d2b50bf54c'] = 'DIBS pagamento API';
-$_MODULE['<{dibs}prestashop>dibs_f146cc67c82721f372d15664a9e4a0d6'] = 'Per ragioni di sicurezza devi impostare la chiave n. 1 e n. 2 utilizzate dal controllo MD5 di DIBS API.';
-$_MODULE['<{dibs}prestashop>dibs_94c824556baeddc9d8a31710c38fb045'] = 'Devi impostare il tuo ID commerciante per utilizzare DIBS API.';
-$_MODULE['<{dibs}prestashop>dibs_20015706a8cbd457cbb6ea3e7d5dc9b3'] = 'Configurazione aggiornata';
-$_MODULE['<{dibs}prestashop>dibs_323d72a644340f9f2152febe46a52259'] = 'Ottieni un account DIBS';
-$_MODULE['<{dibs}prestashop>dibs_a24f296af38bde709dffc364b28bdebb'] = 'Clicca sul link seguente per accedere al modulo di sottoscrizione DIBS:';
-$_MODULE['<{dibs}prestashop>dibs_97e7c9a7d06eac006a28bf05467fcc8b'] = 'Link';
-$_MODULE['<{dibs}prestashop>dibs_d826f3c7dc81b9d9b855f34bb855d9f6'] = 'A seconda lingua e norme del paese, i parametri di sottoscrizione possono essere diverse.';
-$_MODULE['<{dibs}prestashop>dibs_d076f6d79396f176263a61ad3a1fe945'] = 'Clicca sulle bandiere corrette:';
-$_MODULE['<{dibs}prestashop>dibs_f4f70727dc34561dfde1a3c529b6205c'] = 'Impostazioni';
-$_MODULE['<{dibs}prestashop>dibs_794b8837b6ee6ddc4301f557915f9486'] = 'Colore logo';
-$_MODULE['<{dibs}prestashop>dibs_44e1ec6255a91754e4911b16b9fc4d22'] = 'Il colore di base del logo che appare sulla pagina di pagamento.';
-$_MODULE['<{dibs}prestashop>dibs_229a7ec501323b94db7ff3157a7623c9'] = 'ID commerciante';
-$_MODULE['<{dibs}prestashop>dibs_b305acae66879c527cda4c4ded662585'] = 'Vedi l\'e-mail inviata da DIBS.';
-$_MODULE['<{dibs}prestashop>dibs_310fc01b7a8c167aa514ccccc9e46e99'] = 'Chiave di sicurezza n. 1';
-$_MODULE['<{dibs}prestashop>dibs_247cc6885be1cb649d05acf81242cc35'] = 'Chiave di sicurezza n. 2';
-$_MODULE['<{dibs}prestashop>dibs_c7138fc31d63f966e368147a0cd4e55d'] = 'Queste chiavi sono usate per migliorare la sicurezza.';
-$_MODULE['<{dibs}prestashop>dibs_b89642757f7199e37e74dd6a9a333733'] = 'Per ottenere queste chiavi vai all\'interfaccia di amministrazione DIBS e nel menu Integrazione > chiavi MD5 . Assicurati che il controllo MD5 sia attivato, altrimenti il modulo non funzionerà.';
-$_MODULE['<{dibs}prestashop>dibs_f9986472f2190b1ec04c52dd1eca1af4'] = 'Usa il modulo di test DIBS';
-$_MODULE['<{dibs}prestashop>dibs_313ada9ae4162978238c99d505bb6870'] = 'Quando questo campo è dichiarato, la transazione non viene inviata all\'emittente della carta, ma è invece gestita dal modulo di prova DIBS.';
-$_MODULE['<{dibs}prestashop>dibs_41f538d798be040c3710e4e128105ad2'] = 'Per ulteriori informazioni vedi anche la Fase 5 della Guida in 10 Fasi.';
-$_MODULE['<{dibs}prestashop>dibs_9d0ac8297882a62456cd41249c36d9af'] = 'Durante la tua prima integrazione con DIBS, non vi è alcuna necessità di inserire questo parametro, dal momento che tutte le operazioni di default riguarderanno il sistema di test DIBS fino a che DIBS ha approvato l\'integrazione. Qualora il sistema di test fosse utilizzato in un secondo momento, questo sarà attivato a DIBS (contatta il supporto DIBS per riattivare la modalità di prova del tuo negozio) .';
-$_MODULE['<{dibs}prestashop>dibs_58768109d694bef3c059544892118901'] = 'Colore Flexwin ';
-$_MODULE['<{dibs}prestashop>dibs_37b0d284e5d29973b385ca537272ec38'] = 'Il tema colore base di FlexWin.';
-$_MODULE['<{dibs}prestashop>dibs_2e2b79996d4fb73bff9b97725ddfbab8'] = 'Url accettato';
-$_MODULE['<{dibs}prestashop>dibs_0e260f9297ec338abbf671829d53c4ae'] = 'L\'URL della pagina da visualizzare se l\'acquisto è approvato.';
-$_MODULE['<{dibs}prestashop>dibs_fcb9c3f1b9731de08442d81583782db7'] = 'Url annullato ';
-$_MODULE['<{dibs}prestashop>dibs_491f74497aaca60ae31a327d12d52925'] = 'L\'URL della pagina da visualizzare se il cliente annulla il pagamento.';
-$_MODULE['<{dibs}prestashop>dibs_b17f3f4dcf653a5776792498a9b44d6a'] = 'Aggiorna le impostazioni';
-$_MODULE['<{dibs}prestashop>dibs_b64af11b4f643164b0b418c716a6f7a0'] = 'Paga con dibs';
-$_MODULE['<{dibs}prestashop>dibs_fda89beb6740540db1053016d96624c3'] = 'logo dibs';
-$_MODULE['<{dibs}prestashop>dibs_eeaf35c1eb180cc38a77b892a96d7ed3'] = 'Paga in modo sicuro e veloce con dibs.';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Il tuo ordine ';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_75fbf512d744977d62599cc3f0ae2bb4'] = 'è completo.';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_30163d8fc3068e8297e7ab5bf32aec87'] = 'Il tuo ordine verrà inviato al più presto.';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_0db71da7150c27142eef9d22b843b4a9'] = 'Per eventuali domande o per ulteriori informazioni, contatta la nostra';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_64430ad2835be8ad60c59e7d44e4b0b1'] = 'assistenza clienti';
-$_MODULE['<{dibs}prestashop>hookorderconfirmation_8de637e24570c1edb0357826a2ad5aea'] = 'Abbiamo notato un problema con il tuo ordine. Se pensi che sia un errore, contatta la nostra';
diff --git a/modules/dibs/logo.gif b/modules/dibs/logo.gif
deleted file mode 100644
index f658014e3..000000000
Binary files a/modules/dibs/logo.gif and /dev/null differ
diff --git a/modules/dibs/logo.png b/modules/dibs/logo.png
deleted file mode 100644
index 8a7d86f7e..000000000
Binary files a/modules/dibs/logo.png and /dev/null differ
diff --git a/modules/dibs/logos/dibs_black.jpg b/modules/dibs/logos/dibs_black.jpg
deleted file mode 100644
index 3b3159dab..000000000
Binary files a/modules/dibs/logos/dibs_black.jpg and /dev/null differ
diff --git a/modules/dibs/logos/dibs_blue.jpg b/modules/dibs/logos/dibs_blue.jpg
deleted file mode 100644
index cb55d111d..000000000
Binary files a/modules/dibs/logos/dibs_blue.jpg and /dev/null differ
diff --git a/modules/dibs/logos/dibs_green.jpg b/modules/dibs/logos/dibs_green.jpg
deleted file mode 100644
index 14a812d82..000000000
Binary files a/modules/dibs/logos/dibs_green.jpg and /dev/null differ
diff --git a/modules/dibs/logos/dibs_grey.jpg b/modules/dibs/logos/dibs_grey.jpg
deleted file mode 100644
index a8263d9b3..000000000
Binary files a/modules/dibs/logos/dibs_grey.jpg and /dev/null differ
diff --git a/modules/dibs/logos/dibs_purple.jpg b/modules/dibs/logos/dibs_purple.jpg
deleted file mode 100644
index 6e312b8b1..000000000
Binary files a/modules/dibs/logos/dibs_purple.jpg and /dev/null differ
diff --git a/modules/dibs/logos/dibs_yellow.jpg b/modules/dibs/logos/dibs_yellow.jpg
deleted file mode 100644
index 93de6e205..000000000
Binary files a/modules/dibs/logos/dibs_yellow.jpg and /dev/null differ
diff --git a/modules/dibs/logos/index.php b/modules/dibs/logos/index.php
deleted file mode 100644
index 4e2611d37..000000000
--- a/modules/dibs/logos/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision$
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
\ No newline at end of file
diff --git a/modules/dibs/validation.php b/modules/dibs/validation.php
deleted file mode 100644
index a8f3f406e..000000000
--- a/modules/dibs/validation.php
+++ /dev/null
@@ -1,51 +0,0 @@
- $value)
- if (is_string($value) AND in_array($key, $required_fields) AND $key !== 'HTTP_COOKIE')
- $message .= $key.': '.$value."\n";
- if (sizeof($errors))
- {
- $message .= sizeof($errors).' error(s):'."\n";
- $valid_order = false;
- }
-
- foreach ($errors AS $error)
- $message .= $error."\n";
- $message = nl2br(strip_tags($message));
- if ($valid_order === true)
- {
- $obj_dibs->setTransactionDetail($posted_values);
- $obj_dibs->validateOrder((int)$posted_values['orderid'], Configuration::get('PS_OS_PAYMENT'),
- (float)((int)$posted_values['amount'] / 100), $obj_dibs->displayName, $message, array(), NULL, false, $secure_cart[2]);
- }
- else if ($valid_order === false)
- $obj_dibs->validateOrder((int)$posted_values['orderid'], Configuration::get('PS_OS_ERROR'), 0, $obj_dibs->displayName, $message, array(), NULL, false, $secure_cart[2]);
-}
diff --git a/modules/ebay/ajax/changeCategoryMatch.php b/modules/ebay/ajax/changeCategoryMatch.php
deleted file mode 100755
index 6d075d920..000000000
--- a/modules/ebay/ajax/changeCategoryMatch.php
+++ /dev/null
@@ -1,35 +0,0 @@
-= $i)
- {
- if ($i == 0)
- $eBayCategoryListLevel = Db::getInstance()->executeS('SELECT * FROM `'._DB_PREFIX_.'ebay_category` WHERE `level` = 1 AND `id_category_ref` = `id_category_ref_parent`');
- else
- $eBayCategoryListLevel = Db::getInstance()->executeS('SELECT * FROM `'._DB_PREFIX_.'ebay_category` WHERE `level` = '.(int)($i + 1).' AND `id_category_ref_parent` IN (SELECT `id_category_ref` FROM `'._DB_PREFIX_.'ebay_category` WHERE `id_ebay_category` = '.(int)($_GET['level'.$i]).')');
- if ($eBayCategoryListLevel)
- {
- $levelExists[$i + 1] = true;
- echo '
';
- }
- }
-
- if (!isset($levelExists[$_GET['level'] + 1]))
- echo '
';
-
-}
-else
- echo 'ERROR';
-
diff --git a/modules/ebay/ajax/checkToken.php b/modules/ebay/ajax/checkToken.php
deleted file mode 100755
index 6eca754d7..000000000
--- a/modules/ebay/ajax/checkToken.php
+++ /dev/null
@@ -1,31 +0,0 @@
-session = Configuration::get('EBAY_API_SESSION');
- $ebay->username = Configuration::get('EBAY_API_USERNAME');
- $ebay->fetchToken();
- if (!empty($ebay->token))
- {
- Configuration::updateValue('EBAY_API_TOKEN', $ebay->token);
- echo 'OK';
- }
- else
- echo 'KO';
- }
- else
- echo 'ERROR02';
-}
-else
- echo 'ERROR01';
-
diff --git a/modules/ebay/ajax/eBaySyncProduct.php b/modules/ebay/ajax/eBaySyncProduct.php
deleted file mode 100644
index d7f551c17..000000000
--- a/modules/ebay/ajax/eBaySyncProduct.php
+++ /dev/null
@@ -1,22 +0,0 @@
-ajaxProductSync();
-
- unset($cookie);
-}
-else
- echo 'ERROR';
-
diff --git a/modules/ebay/ajax/getNbProductsSync.php b/modules/ebay/ajax/getNbProductsSync.php
deleted file mode 100755
index 1549b20b3..000000000
--- a/modules/ebay/ajax/getNbProductsSync.php
+++ /dev/null
@@ -1,22 +0,0 @@
-autoExecute(_DB_PREFIX_.'ebay_category_configuration', array('sync' => (int)($_GET['action'])), 'UPDATE', '`id_category` = '.(int)$_GET['id_category']);
-
- $nbProducts = Db::getInstance()->getValue('
- SELECT COUNT(`id_product`) as nb
- FROM `'._DB_PREFIX_.'product`
- WHERE `quantity` > 0 AND `active` = 1
- AND `id_category_default` IN (SELECT `id_category` FROM `'._DB_PREFIX_.'ebay_category_configuration` WHERE `id_ebay_category` > 0 AND `sync` = 1)');
-
- echo $nbProducts;
-}
-else
- echo 'ERROR';
-
diff --git a/modules/ebay/ajax/index.php b/modules/ebay/ajax/index.php
deleted file mode 100644
index 4e2611d37..000000000
--- a/modules/ebay/ajax/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision$
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
\ No newline at end of file
diff --git a/modules/ebay/ajax/loadCategoryMatch.php b/modules/ebay/ajax/loadCategoryMatch.php
deleted file mode 100755
index deb1c2676..000000000
--- a/modules/ebay/ajax/loadCategoryMatch.php
+++ /dev/null
@@ -1,57 +0,0 @@
-getRow('
- SELECT ecc.`id_ebay_category`, ec.`id_category_ref`, ec.`id_category_ref_parent`, ec.`level`
- FROM `'._DB_PREFIX_.'ebay_category_configuration` ecc
- LEFT JOIN `'._DB_PREFIX_.'ebay_category` ec ON (ec.`id_ebay_category` = ecc.`id_ebay_category`)
- WHERE ecc.`id_category` = '.(int)$_GET['id_category']);
-
- $_GET['level'] = $currentPath['level'];
- $_GET['level'.($currentPath['level'])] = $currentPath['id_ebay_category'];
- for ($levelStart = $currentPath['level']; $levelStart > 1; $levelStart--)
- {
- $currentPath = Db::getInstance()->getRow('
- SELECT ec.`id_ebay_category`, ec.`id_category_ref`, ec.`id_category_ref_parent`, ec.`level`
- FROM `'._DB_PREFIX_.'ebay_category` ec
- LEFT JOIN `'._DB_PREFIX_.'ebay_category_configuration` ecc ON (ecc.`id_ebay_category` = ec.`id_ebay_category`)
- WHERE ec.`id_category_ref` = '.(int)$currentPath['id_category_ref_parent']);
- $_GET['level'.($levelStart - 1)] = $currentPath['id_ebay_category'];
- }
-
-
- $levelExists = array();
- for ($i = 0; $i <= 5; $i++)
- if ($_GET['level'] >= $i)
- {
- if ($i == 0)
- $eBayCategoryListLevel = Db::getInstance()->executeS('SELECT * FROM `'._DB_PREFIX_.'ebay_category` WHERE `level` = 1 AND `id_category_ref` = `id_category_ref_parent`');
- else
- $eBayCategoryListLevel = Db::getInstance()->executeS('SELECT * FROM `'._DB_PREFIX_.'ebay_category` WHERE `level` = '.(int)($i + 1).' AND `id_category_ref_parent` IN (SELECT `id_category_ref` FROM `'._DB_PREFIX_.'ebay_category` WHERE `id_ebay_category` = '.(int)($_GET['level'.$i]).')');
- if ($eBayCategoryListLevel)
- {
- $levelExists[$i + 1] = true;
- echo '
';
- }
- }
-
- if (!isset($levelExists[$_GET['level'] + 1]))
- echo '
';
-
-}
-else
- echo 'ERROR';
-
diff --git a/modules/ebay/config.xml b/modules/ebay/config.xml
deleted file mode 100755
index 6dc9dfc3c..000000000
--- a/modules/ebay/config.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
- ebay
-
-
-
-
-
- 1
- 1
-
-
\ No newline at end of file
diff --git a/modules/ebay/de.php b/modules/ebay/de.php
deleted file mode 100644
index c41f45648..000000000
--- a/modules/ebay/de.php
+++ /dev/null
@@ -1,107 +0,0 @@
-ebay_282539987a2276dd5259f8e745d668a1'] = 'eBay';
-$_MODULE['<{ebay}prestashop>ebay_1179327c010f54ade46baea3c3b0ceec'] = 'Eröffnen Sie Ihren Shop auf eBay';
-$_MODULE['<{ebay}prestashop>ebay_6fecf5a008d74051f0e8aae985b37aa6'] = 'eBay-Modul derzeit nur für eBay.fr';
-$_MODULE['<{ebay}prestashop>ebay_8acabcc788c316f92b7850c76265b49b'] = 'Sie müssen die cURL-Erweiterung und allow_url_fopen Option auf dem Server, wenn Sie dieses Modul verwenden möchten.';
-$_MODULE['<{ebay}prestashop>ebay_d591cbc447d01e5a6165096ebfdf804e'] = 'Sie müssen die cURL-Erweiterung auf dem Server, wenn Sie dieses Modul verwenden möchten.';
-$_MODULE['<{ebay}prestashop>ebay_1b18bd5d9d85f4f667614345ee20e3b2'] = 'Sie müssen die Option allow_url_fopen auf Ihrem Server, wenn Sie dieses Modul verwenden möchten.';
-$_MODULE['<{ebay}prestashop>ebay_8e64bc164aee46723ed2d70273c6f8ab'] = 'Sie müssen das Modul auf eBay zu registrieren.';
-$_MODULE['<{ebay}prestashop>ebay_55798d71e1cce07f08e25d9a4da60f4a'] = 'Sind Sie sicher, dass Sie deinstallieren das Modul? Alle Ihre Konfiguration geht verloren.';
-$_MODULE['<{ebay}prestashop>ebay_5f8d9c30e0606a91c5d7b6e1bf1217ac'] = 'Konnte nicht in Korb legen (vielleicht Ihren Lagerbestand: 0)';
-$_MODULE['<{ebay}prestashop>ebay_25fff46a6fe5b9512e2f4054f4ff6060'] = 'Konnte nicht Artikel in der Datenbank gefunden';
-$_MODULE['<{ebay}prestashop>ebay_eaa0d1591e6369a298dcd6cb1a8eba8a'] = 'Ungültige E-Mail';
-$_MODULE['<{ebay}prestashop>ebay_a11a07346e4343b393b7a6d29924043e'] = 'Auftrag bereits importiert';
-$_MODULE['<{ebay}prestashop>ebay_2e7adc61fa0cedcf1d442feafbaea1de'] = 'Status nicht komplett oder die Menge weniger als 0,1 oder gar keine Treffer';
-$_MODULE['<{ebay}prestashop>ebay_98f54d8bba6523829eeb8fd7ab9a2088'] = 'Trotzdem fortfahren?';
-$_MODULE['<{ebay}prestashop>ebay_2e4f4d8b849fb72905addc231d160e8b'] = 'eBay-Modul-Status';
-$_MODULE['<{ebay}prestashop>ebay_85f9d92e0551772437b934b7222d63cb'] = 'eBay Modul konfiguriert und online!';
-$_MODULE['<{ebay}prestashop>ebay_090bcb46805aadf384074d380b4c78c8'] = 'eBay-Modul ist nicht konfiguriert, müssen Sie:';
-$_MODULE['<{ebay}prestashop>ebay_9a5c99bf25e84cd8fe7c500f7ec698f2'] = 'Registrieren Sie das Modul auf eBay';
-$_MODULE['<{ebay}prestashop>ebay_f09ea5dca3d187c50a634239778a5a3c'] = 'Lassen url fopen';
-$_MODULE['<{ebay}prestashop>ebay_c7760f2c36d4e647e8a254cef51cbae8'] = 'Aktivieren cURL';
-$_MODULE['<{ebay}prestashop>ebay_16bfbf9c462762cf1cba4134ec53c504'] = 'Laden';
-$_MODULE['<{ebay}prestashop>ebay_b383064f397ca4f9de45a6dadc6a07a1'] = 'Sobald Sie sich angemeldet haben von der neuen eBay-Fenster, wird das Modul automatisch die Installation abzuschließen wenige Sekunden später';
-$_MODULE['<{ebay}prestashop>ebay_d9334a0c5b4432b2ad87fb9c90e9f44c'] = 'Sie müssen Ihren eBay-Mitgliedsnamen gesetzt';
-$_MODULE['<{ebay}prestashop>ebay_4285b577739883af893c3b1320690b70'] = 'Klicken Sie auf die Schaltfläche unten';
-$_MODULE['<{ebay}prestashop>ebay_7ba7cc1dfb00eca77b600084f4ba1304'] = 'eBay Benutzer ID';
-$_MODULE['<{ebay}prestashop>ebay_3225a10b07f1580f10dee4abc3779e6c'] = 'Parameter';
-$_MODULE['<{ebay}prestashop>ebay_dc2f736ed903b4f6f72a36b763cd7717'] = 'Kategorien Einstellungen';
-$_MODULE['<{ebay}prestashop>ebay_0f5f872ba4c6575319e6beee6ebcc481'] = 'Templateverwaltung';
-$_MODULE['<{ebay}prestashop>ebay_47ba6504eb5b1e3a95ea3dbd960904db'] = 'eBay Sync';
-$_MODULE['<{ebay}prestashop>ebay_1a6f6b88447d4c3a86da93913a1b844d'] = 'Geschichte der Aufträge';
-$_MODULE['<{ebay}prestashop>ebay_6a26f548831e6a8c26bfbbd9f6ec61e0'] = 'Hilfe';
-$_MODULE['<{ebay}prestashop>ebay_e5beb503fe9553f0ed5be3c324fc9cb7'] = 'So exportieren Sie Ihre Produkte auf eBay, müssen Sie einen Pro-Account bei eBay (siehe Hilfe) zu erstellen und konfigurieren Sie Ihre eBay-Prestashop Modul.';
-$_MODULE['<{ebay}prestashop>ebay_230b8b5e65ef7731d72a42b1ddb0293f'] = 'eBay Identifier';
-$_MODULE['<{ebay}prestashop>ebay_ad44bf098615279532ded210754420d4'] = 'Ihre Produkte auf eBay';
-$_MODULE['<{ebay}prestashop>ebay_5d8ae2a94331ebbfe854eea0274e939c'] = 'Ihre eBay-Kennung';
-$_MODULE['<{ebay}prestashop>ebay_4b9f5155cc88fe352fbf202a3ba57f04'] = 'eBay Shop';
-$_MODULE['<{ebay}prestashop>ebay_3e0fb5fcfe85cdf0f83fefe3530d13f4'] = 'Ihr Shop auf eBay';
-$_MODULE['<{ebay}prestashop>ebay_97b4fc969316e8d08c1b0bb1f0b05fbd'] = 'Ihr eBay Shop Name';
-$_MODULE['<{ebay}prestashop>ebay_1734acc41e3889028ca0f0d13ef5bc93'] = 'Paypal Identifier (e-mail)';
-$_MODULE['<{ebay}prestashop>ebay_4883ffdb0b673bdd200f3d96709c26f5'] = 'Sie haben mit Ihrem PayPal-E-Mail-Konto eingerichtet haben, ist es die einzige Zahlung mit diesem Modul';
-$_MODULE['<{ebay}prestashop>ebay_83d893ae1e34a74ab9a068e1d190c764'] = 'Liefer-Methode';
-$_MODULE['<{ebay}prestashop>ebay_3d346df981cf71d3a81b57c1af58f1f4'] = 'Versand-Konfiguration für Ihre Produkte auf eBay';
-$_MODULE['<{ebay}prestashop>ebay_552a0d8c17d95d5dbdc0c28217024f5a'] = 'Versandkosten';
-$_MODULE['<{ebay}prestashop>ebay_ce178f4fe9684e5786aff36ab3cf81f6'] = 'PLZ des Shops';
-$_MODULE['<{ebay}prestashop>ebay_bb9a2f66fc726c85e45c8ddc93297ab9'] = 'Ihr Shop die Postleitzahl';
-$_MODULE['<{ebay}prestashop>ebay_c9cc8cce247e49bae79f15173ce97354'] = 'Speichern';
-$_MODULE['<{ebay}prestashop>ebay_153e4104f5a42e006735dd85847760b1'] = 'Laden der Kategorien';
-$_MODULE['<{ebay}prestashop>ebay_123b3c98806c47a9bfa5fc7480e5327b'] = 'Ihre eBay-ID-Konto ist nicht angegeben oder ungültig';
-$_MODULE['<{ebay}prestashop>ebay_179d471a6a534b682050411984ea1c05'] = 'Ihre Paypal E-Mail-Konto ist nicht angegeben oder ungültig';
-$_MODULE['<{ebay}prestashop>ebay_d0f2d9c05a3140a5fc81fd0cb6b330e2'] = 'Ihre Versandkosten nicht angegeben oder ungültig';
-$_MODULE['<{ebay}prestashop>ebay_458d329d5eb1caf63615141fb51e8329'] = 'Ihr Shop die Postleitzahl ist nicht angegeben oder ungültig';
-$_MODULE['<{ebay}prestashop>ebay_c888438d14855d7d96a2724ee9c306bd'] = 'Einstellungen aktualisiert';
-$_MODULE['<{ebay}prestashop>ebay_b9284bff13acffdd879ef4ac7fca5234'] = 'Einstellungen fehlerhaft';
-$_MODULE['<{ebay}prestashop>ebay_67e19ffdaa0a11e69349810403a9727e'] = 'Sie haben auf \"Allgemeine Einstellungen\" Registerkarte, bevor Sie diese Registerkarte konfigurieren.';
-$_MODULE['<{ebay}prestashop>ebay_0706a152f5e26f0cbce3de5269c54f30'] = 'Ihre Kategorien sind bereits konfiguriert.';
-$_MODULE['<{ebay}prestashop>ebay_2b827fb3fb7f3fb4304b286764b18f1e'] = 'Siehe Kategorien';
-$_MODULE['<{ebay}prestashop>ebay_1fe6b0032a7882ef20d08a5386441e33'] = 'So exportieren Sie Ihre Produkte auf eBay, müssen Sie jedes Ihrer Shop-Kategorien zu einem eBay-Kategorie zuzuordnen. Sie können auch einen Einfluss von Ihr Preis bei eBay.';
-$_MODULE['<{ebay}prestashop>ebay_1bffdb0b10182ea51f7baa97ee2d19a8'] = 'Sie können den Button unten verwenden, um automatisch assoziieren die Kategorien, die keine Assoziation für den Moment mit einem eBay vorgeschlagen Kategorie haben.';
-$_MODULE['<{ebay}prestashop>ebay_36be9eda23888bf12f74d6cd9d46ba1d'] = 'Kategorien vorschlagen';
-$_MODULE['<{ebay}prestashop>ebay_3adbdb3ac060038aa0e6e6c138ef9873'] = 'Kategorie';
-$_MODULE['<{ebay}prestashop>ebay_649829dea8fe9632cc51a9aa3c8826c3'] = 'eBay Kategorie';
-$_MODULE['<{ebay}prestashop>ebay_233c543a23378c4ffd0e1efb17408510'] = 'Auswirkung auf den Preis';
-$_MODULE['<{ebay}prestashop>ebay_a5612305bb46e3d0ea547f4a963a01d3'] = 'Keine Kategorien gefunden';
-$_MODULE['<{ebay}prestashop>ebay_55ac32003f11f511412875f283f4f303'] = 'Keine Kategorien ausgewählt';
-$_MODULE['<{ebay}prestashop>ebay_628b583852257bd453a9a2c38a65fd6e'] = 'Achtung: Es dürfen nur Standard-Kategorien sind für diese Konfiguration verwendet.';
-$_MODULE['<{ebay}prestashop>ebay_6c09b50ba3b52d0d61fb785adeed1895'] = 'Sie können die Vorlage für Ihre Produkte Seite auf eBay anpassen';
-$_MODULE['<{ebay}prestashop>ebay_c01f01fd2bd607cf17ddc2ee584227f8'] = 'Sie haben zu \"Kategorien Settings\", bevor Sie diese Registerkarte konfigurieren.';
-$_MODULE['<{ebay}prestashop>ebay_1cbd8f2b57c85344f755caff03336306'] = 'Mit eBay synchronisieren';
-$_MODULE['<{ebay}prestashop>ebay_86024cad1e83101d97359d7351051156'] = 'Produkte';
-$_MODULE['<{ebay}prestashop>ebay_dc11854f70dd95a8c51ae75b05dbd508'] = 'und aktualisieren';
-$_MODULE['<{ebay}prestashop>ebay_05aaf6b3c49c3aa6219a1d730ee7988c'] = 'Sie werden nun schieben Sie Ihre Produkte auf eBay.';
-$_MODULE['<{ebay}prestashop>ebay_3205b263a1a779c2b03cdbac836346f9'] = 'Erinnerung,';
-$_MODULE['<{ebay}prestashop>ebay_0eaf4172db11a5d6e914aabe920f0455'] = 'Sie zahlen keine Versandkosten, wenn Sie über eBay verkaufen';
-$_MODULE['<{ebay}prestashop>ebay_25740d6b53eafdd8a64299e1fe92f247'] = 'Sync Modus';
-$_MODULE['<{ebay}prestashop>ebay_97855df0367fedf5648d745bfb57412b'] = 'Option A';
-$_MODULE['<{ebay}prestashop>ebay_2c53ffc482419e404cd47559e5004b2e'] = 'Alle Produkte mit eBay synchronisieren';
-$_MODULE['<{ebay}prestashop>ebay_8890755ccd5ac4f777efdd0a6c16c4ab'] = 'Option B';
-$_MODULE['<{ebay}prestashop>ebay_4ac5ebfcb9b9d8c87e9ff03ee6bf24e5'] = 'Nur Produkte aus ausgewählten Kategorien synchronisieren';
-$_MODULE['<{ebay}prestashop>ebay_054b4f3ea543c990f6b125f41af6ebf7'] = 'Option';
-$_MODULE['<{ebay}prestashop>ebay_892db3f832f6fe1a2d04e1e50e65d3ca'] = 'Als Update ein Produkt, resync nur Preis und Menge';
-$_MODULE['<{ebay}prestashop>ebay_e0626222614bdee31951d84c64e5e9ff'] = 'Auswählen';
-$_MODULE['<{ebay}prestashop>ebay_6d371302939f2bba5daf55544efb956f'] = 'Beware! Wenn einige Ihrer Kategorien nicht multi sku kompatibel ist, können einige Ihrer Produkte schaffen mehr als ein Produkt bei eBay.';
-$_MODULE['<{ebay}prestashop>ebay_d446b6fd9d0b61470108b86e7bbf4b08'] = '\"Sync mit eBay\"-Option wird nur sync die Produkte, die nicht bereits mit eBay synchronisieren:';
-$_MODULE['<{ebay}prestashop>ebay_03e982083919ab970387bf623f798717'] = '\"Sync und Update mit eBay\" wird synchron die Produkte, die nicht bereits mit eBay synchronisieren und aktualisieren Sie die Produkte, die bereits mit eBay synchronisieren:';
-$_MODULE['<{ebay}prestashop>ebay_caab0e2c2f3ae0d242b0b36f22d9acc5'] = 'Sie ziehen';
-$_MODULE['<{ebay}prestashop>ebay_70b240eb3db5174e1c9520cabe2ae781'] = 'Produkte auf eBay';
-$_MODULE['<{ebay}prestashop>ebay_547c708291fe196592dd1e4db7b206a5'] = 'Produkkt(e) mit eBay synchronisiert';
-$_MODULE['<{ebay}prestashop>ebay_1761efb946aa43c14af989665dae691a'] = 'Produkt (e)';
-$_MODULE['<{ebay}prestashop>ebay_04a338309915f11c8b8052a1c1ff7d84'] = 'Letzte Bestellungen Einfuhr';
-$_MODULE['<{ebay}prestashop>ebay_45ad2eef89200b7037c5062688740213'] = 'Geschichte der Aufträge';
-$_MODULE['<{ebay}prestashop>ebay_1b5f52a88052dce1423a8c0cb19d6ee9'] = 'Referenz des Auftrags eBay';
-$_MODULE['<{ebay}prestashop>ebay_af63fd747d7a33367a4399d0c21c30d3'] = 'Id Auftrag Verkäufer';
-$_MODULE['<{ebay}prestashop>ebay_b2f40690858b404ed10e62bdf422c704'] = 'Höhe';
-$_MODULE['<{ebay}prestashop>ebay_ec53a8c4f07baed5d8825072c89799be'] = 'Status';
-$_MODULE['<{ebay}prestashop>ebay_44749712dbec183e983dcd78a7736c41'] = 'Datum';
-$_MODULE['<{ebay}prestashop>ebay_1e884e3078d9978e216a027ecd57fb34'] = 'E-Mail';
-$_MODULE['<{ebay}prestashop>ebay_068f80c7519d0528fb08e82137a72131'] = 'Produkte';
-$_MODULE['<{ebay}prestashop>ebay_2bff0c18dad806b7e121a0013c7f08a6'] = 'Id Produkt';
-$_MODULE['<{ebay}prestashop>ebay_b86883a8dc6c44cb39371e3b7aea594f'] = 'Id Produkt Attribute';
-$_MODULE['<{ebay}prestashop>ebay_694e8d1f2ee056f98ee488bdc4982d73'] = 'Menge';
-$_MODULE['<{ebay}prestashop>ebay_3601146c4e948c32b6424d2c0a7f0118'] = 'Preis';
-$_MODULE['<{ebay}prestashop>ebay_eacb7a77450c68e3936ff0475c010cdb'] = 'Status Import';
-$_MODULE['<{ebay}prestashop>ebay_59fc75ecf1ce372c9ed534d5e545ff88'] = 'Failure Details';
diff --git a/modules/ebay/eBayRequest.php b/modules/ebay/eBayRequest.php
deleted file mode 100755
index ffa9bd3ed..000000000
--- a/modules/ebay/eBayRequest.php
+++ /dev/null
@@ -1,1203 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-
-class eBayRequest
-{
- public $response;
- public $token;
- public $expiration;
-
- public $runame;
- public $username;
- public $session;
-
- public $itemID;
- public $fees;
- public $error;
- public $errorCode;
-
- private $devID;
- private $appID;
- private $certID;
-
- private $siteID;
- private $apiUrl;
- private $apiCall;
-
- private $loginUrl;
-
- private $findingUrl;
- private $findingVersion;
-
- private $compatibilityLevel;
-
- private $debug = false;
-
- /******************************************************************/
- /** Constructor And Request Methods *******************************/
- /******************************************************************/
-
-
- public function __construct($apiCall = '')
- {
- /*** SAND BOX PARAMS ***/
- /*
- $this->devID = '1db92af1-2824-4c45-8343-dfe68faa0280';
- $this->appID = 'Prestash-2629-4880-ba43-368352aecc86';
- $this->certID = '6bd3f4bd-3e21-41e8-8164-7ac733218122';
- $this->siteID = 71;
-
- $this->apiUrl = 'https://api.sandbox.ebay.com/ws/api.dll';
- $this->apiCall = $apiCall;
- $this->compatibilityLevel = 719;
-
- $this->runame = 'Prestashop-Prestash-2629-4-hpehxegu';
-
- $this->loginURL = 'https://signin.sandbox.ebay.com/ws/eBayISAPI.dll';
- */
-
- $this->devID = '1db92af1-2824-4c45-8343-dfe68faa0280';
- $this->appID = 'Prestash-70a5-419b-ae96-f03295c4581d';
- $this->certID = '71d26dc9-b36b-4568-9bdb-7cb8af16ac9b';
- $this->siteID = 71;
-
- $this->apiUrl = 'https://api.ebay.com/ws/api.dll';
- $this->apiCall = $apiCall;
- $this->compatibilityLevel = 741;
-
- $this->runame = 'Prestashop-Prestash-70a5-4-pepwa';
-
- $this->loginURL = 'https://signin.ebay.com/ws/eBayISAPI.dll';
- }
-
-
- public function makeRequest($request)
- {
- // Init
- $connection = curl_init();
- curl_setopt($connection, CURLOPT_URL, $this->apiUrl);
-
- // Stop CURL from verifying the peer's certificate
- curl_setopt($connection, CURLOPT_SSL_VERIFYPEER, 0);
- curl_setopt($connection, CURLOPT_SSL_VERIFYHOST, 0);
-
- // Set the headers
- curl_setopt($connection, CURLOPT_HTTPHEADER, $this->buildHeaders());
-
- // Set method as POST
- curl_setopt($connection, CURLOPT_POST, 1);
-
- // Set the XML body of the request
- curl_setopt($connection, CURLOPT_POSTFIELDS, $request);
-
- // Set it to return the transfer as a string from curl_exec
- curl_setopt($connection, CURLOPT_RETURNTRANSFER, 1);
-
- // Send the Request
- $response = curl_exec($connection);
-
- // Close the connection
- curl_close($connection);
-
- // Debug
- if ($this->debug == true)
- {
- if (!file_exists(dirname(__FILE__).'/log/request.php'))
- file_put_contents(dirname(__FILE__).'/log/request.php', "compatibilityLevel,
-
- // Set the keys
- 'X-EBAY-API-DEV-NAME: '.$this->devID,
- 'X-EBAY-API-APP-NAME: '.$this->appID,
- 'X-EBAY-API-CERT-NAME: '.$this->certID,
-
- // The name of the call we are requesting
- 'X-EBAY-API-CALL-NAME: '.$this->apiCall,
-
- //SiteID must also be set in the Request's XML
- //SiteID = 0 (US) - UK = 3, Canada = 2, Australia = 15, ....
- //SiteID Indicates the eBay site to associate the call with
- 'X-EBAY-API-SITEID: '.$this->siteID,
- );
-
- return $headers;
- }
-
-
- /******************************************************************/
- /** Authentication Methods ****************************************/
- /******************************************************************/
-
-
- function fetchToken()
- {
- // Set Api Call
- $this->apiCall = 'FetchToken';
-
- $requestXml = '';
- $requestXml .= '
';
- $requestXml .= ''.$this->username.'';
- $requestXml .= ''.$this->session.'';
- $requestXml .= '';
-
- // Send the request and get response
- $responseXml = $this->makeRequest($requestXml);
- if (stristr($responseXml, 'HTTP 404') || $responseXml == '')
- {
- $this->error = 'Error sending '.$this->apiCall.' request';
- return false;
- }
-
- // Saving Datas // Need to cast token var to string (not SimpleXML element) to persist in SESSION
- $this->response = simplexml_load_string($responseXml);
- $this->token = (string)$this->response->eBayAuthToken;
- $this->expiration = $this->response->HardExpirationTime;
- }
-
- function getLoginUrl()
- {
- return $this->loginURL;
- }
-
- function login()
- {
- // Set Api Call
- $this->apiCall = 'GetSessionID';
-
- ///Build the request Xml string
- $requestXml = '';
- $requestXml .= '
';
- $requestXml .= ''.$this->compatibilityLevel.'';
- $requestXml .= ''.$this->runame.'';
- $requestXml .= '';
-
- // Send the request and get response
- $responseXml = $this->makeRequest($requestXml);
- if (stristr($responseXml, 'HTTP 404') || $responseXml == '')
- {
- $this->error = 'Error sending '.$this->apiCall.' request';
- return false;
- }
-
- $this->response = simplexml_load_string($responseXml);
- $this->session = (string)$this->response->SessionID;
- }
-
-
- /******************************************************************/
- /** Retrieve Categories Methods ***********************************/
- /******************************************************************/
-
-
- function saveCategories()
- {
- // Set Api Call
- $this->apiCall = 'GetCategories';
-
- ///Build the request Xml string
- $requestXml = '';
- $requestXml .= '
';
- $requestXml .= ''.$this->compatibilityLevel.'';
- $requestXml .= '';
- $requestXml .= ''.Configuration::get('EBAY_API_TOKEN').'';
- $requestXml .= '';
- $requestXml .= ''.$this->siteID.'';
- $requestXml .= 'ReturnAll';
- $requestXml .= '5';
- $requestXml .= 'true';
- $requestXml .= '';
-
- // Send the request and get response
- $responseXml = $this->makeRequest($requestXml);
- if (stristr($responseXml, 'HTTP 404') || $responseXml == '')
- {
- $this->error = 'Error sending '.$this->apiCall.' request';
- return false;
- }
-
- // Load xml in array
- $this->response = simplexml_load_string($responseXml);
-
- // Load categories multi sku compliant
- $categoriesMultiSkuCompliant = $this->GetCategoryFeatures('VariationsEnabled');
-
- // Save categories
- foreach ($this->response->CategoryArray->Category as $cat)
- {
- $category = array();
- foreach ($cat as $key => $value)
- $category[(string)$key] = (string)$value;
- $category['IsMultiSku'] = 0;
- if (isset($categoriesMultiSkuCompliant[$category['CategoryID']]))
- $category['IsMultiSku'] = 1;
-
- Db::getInstance()->autoExecute(_DB_PREFIX_.'ebay_category', array('id_category_ref' => pSQL($category['CategoryID']), 'id_category_ref_parent' => pSQL($category['CategoryParentID']), 'id_country' => '8', 'level' => pSQL($category['CategoryLevel']), 'is_multi_sku' => pSQL($category['IsMultiSku']), 'name' => pSQL($category['CategoryName'])), 'INSERT');
- }
-
- // Return
- return true;
- }
-
- function GetCategoryFeatures($featureID)
- {
- // Set Api Call
- $this->apiCall = 'GetCategoryFeatures';
-
- ///Build the request Xml string
- $requestXml = ''."\n";
- $requestXml .= '
'."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '.Configuration::get('EBAY_API_TOKEN').''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' ReturnAll'."\n";
- $requestXml .= ' '.$featureID.''."\n";
- $requestXml .= ' fr_FR'."\n";
- $requestXml .= ' '.$this->compatibilityLevel.''."\n";
- $requestXml .= ' High'."\n";
- $requestXml .= ' true'."\n";
- $requestXml .= ''."\n";
-
-
- // Send the request and get response
- $responseXml = $this->makeRequest($requestXml);
- if (stristr($responseXml, 'HTTP 404') || $responseXml == '')
- {
- $this->error = 'Error sending '.$this->apiCall.' request';
- return false;
- }
-
-
- // Load xml in array
- $categoriesFeatures = array();
- $response = simplexml_load_string($responseXml);
-
- if ($featureID == 'VariationsEnabled')
- {
- foreach ($response->Category as $cat)
- if ($cat->VariationsEnabled == true)
- $categoriesFeatures[(string)$cat->CategoryID] = true;
- }
- else
- return array();
-
- return $categoriesFeatures;
- }
-
- function getSuggestedCategories($query)
- {
- // Set Api Call
- $this->apiCall = 'GetSuggestedCategories';
-
- ///Build the request Xml string
- $requestXml = ''."\n";
- $requestXml .= '
'."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '.Configuration::get('EBAY_API_TOKEN').''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' fr_FR'."\n";
- $requestXml .= ' '.$this->compatibilityLevel.''."\n";
- $requestXml .= ' High'."\n";
- $requestXml .= ' '.substr(strtolower($query), 0, 350).''."\n";
- $requestXml .= ''."\n";
-
- // Send the request and get response
- $responseXml = $this->makeRequest($requestXml);
- if (stristr($responseXml, 'HTTP 404') || $responseXml == '')
- {
- $this->error = 'Error sending '.$this->apiCall.' request';
- return false;
- }
-
- // Load xml in array
- $response = simplexml_load_string($responseXml);
- if (stristr($responseXml, 'HTTP 404') || $responseXml == '')
- {
- $this->error = 'Error sending '.$this->apiCall.' request';
- return false;
- }
-
- if (isset($response->SuggestedCategoryArray->SuggestedCategory[0]->Category->CategoryID))
- return (int)$response->SuggestedCategoryArray->SuggestedCategory[0]->Category->CategoryID;
- return 0;
- }
-
-
-
-
- /******************************************************************/
- /** Add / Update / End Product Methods ****************************/
- /******************************************************************/
-
-
- function addFixedPriceItem($datas = array())
- {
- // Check data
- if (!$datas)
- return false;
-
- // Set Api Call
- $this->apiCall = 'AddFixedPriceItem';
-
- // Without variations
- $requestXml = ''."\n";
- $requestXml .= '
'."\n";
- $requestXml .= ' fr_FR'."\n";
- $requestXml .= ' High'."\n";
- $requestXml .= ' - '."\n";
- $requestXml .= ' prestashop-'.$datas['id_product'].'';
- $requestXml .= ' '.substr($datas['name'], 0, 55).''."\n";
- if (isset($datas['pictures']))
- {
- $requestXml .= ' '."\n";
- $requestXml .= ' Gallery'."\n";
- foreach ($datas['pictures'] as $picture)
- $requestXml .= ' '.$picture.''."\n";
- $requestXml .= ' '."\n";
- }
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '.$datas['categoryId'].''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' 1000'."\n";
- if (!isset($datas['noPriceUpdate']))
- $requestXml .= ' '.$datas['price'].''."\n";
- $requestXml .= ' true'."\n";
- $requestXml .= ' FR'."\n";
- $requestXml .= ' EUR'."\n";
- $requestXml .= ' 3'."\n";
- $requestXml .= ' GTC'."\n";
- $requestXml .= ' FixedPriceItem'."\n";
- $requestXml .= ' PayPal'."\n";
- $requestXml .= ' '.Configuration::get('EBAY_PAYPAL_EMAIL').''."\n";
- $requestXml .= ' '.Configuration::get('EBAY_SHOP_POSTALCODE').''."\n";
- $requestXml .= ' '.$datas['quantity'].''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' Etat'."\n";
- $requestXml .= ' Neuf'."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' Marque'."\n";
- $requestXml .= ' '.$datas['brand'].''."\n";
- $requestXml .= ' '."\n";
- if (isset($datas['attributes']))
- foreach ($datas['attributes'] as $name => $value)
- {
- $requestXml .= ' '."\n";
- $requestXml .= ' '.$name.''."\n";
- $requestXml .= ' '.$value.''."\n";
- $requestXml .= ' '."\n";
- }
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' 1'."\n";
- $requestXml .= ' '.$datas['shippingService'].''."\n";
- $requestXml .= ' false'."\n";
- $requestXml .= ' '.$datas['shippingCost'].''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' France'."\n";
- $requestXml .= '
'."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '.Configuration::get('EBAY_API_TOKEN').''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ''."\n";
-
-
- // Send the request and get response
- $responseXml = $this->makeRequest($requestXml);
- if (stristr($responseXml, 'HTTP 404') || $responseXml == '')
- {
- $this->error = 'Error sending '.$this->apiCall.' request';
- return false;
- }
-
- // Loading XML tree in array
- $this->response = simplexml_load_string($responseXml);
-
-
- // Checking Errors
- $this->error = '';
- $this->errorCode = '';
- if (isset($this->response->Errors) && isset($this->response->Ack) && (string)$this->response->Ack != 'Success' && (string)$this->response->Ack != 'Warning')
- foreach ($this->response->Errors as $e)
- {
- // if product no longer on eBay, we log the error code
- if ((int)$e->ErrorCode == 291)
- $this->errorCode = (int)$e->ErrorCode;
-
- // We log error message
- if ($e->SeverityCode == 'Error')
- {
- if ($this->error != '')
- $this->error .= '
';
- $this->error .= (string)$e->LongMessage;
- if (isset($e->ErrorParameters->Value))
- $this->error .= '
'.(string)$e->ErrorParameters->Value;
- }
- }
-
- // Checking Success
- $this->itemID = 0;
- if (isset($this->response->Ack) && ((string)$this->response->Ack == 'Success' || (string)$this->response->Ack == 'Warning'))
- {
- $this->fees = 0;
- $this->itemID = (string)$this->response->ItemID;
- if (isset($this->response->Fees->Fee))
- foreach ($this->response->Fees->Fee as $f)
- $this->fees += (float)$f->Fee;
- }
- else if ($this->error == '')
- $this->error = 'Sorry, technical problem, try again later.';
-
- if (!empty($this->error))
- return false;
- return true;
- }
-
-
- function reviseFixedPriceItem($datas = array())
- {
- // Check data
- if (!$datas)
- return false;
-
- // Set Api Call
- $this->apiCall = 'ReviseFixedPriceItem';
-
-
- // Build the request Xml string
- $requestXml = ''."\n";
- $requestXml .= '
'."\n";
- $requestXml .= ' fr_FR'."\n";
- $requestXml .= ' High'."\n";
- $requestXml .= ' - '."\n";
- $requestXml .= ' '.$datas['itemID'].''."\n";
- $requestXml .= ' prestashop-'.$datas['id_product'].'';
- $requestXml .= ' '.$datas['quantity'].''."\n";
- if (!isset($datas['noPriceUpdate']))
- $requestXml .= ' '.$datas['price'].''."\n";
- if (Configuration::get('EBAY_SYNC_OPTION_RESYNC') != 1)
- {
- $requestXml .= ' '.substr($datas['name'], 0, 55).''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' 1'."\n";
- $requestXml .= ' '.$datas['shippingService'].''."\n";
- $requestXml .= ' false'."\n";
- $requestXml .= ' '.$datas['shippingCost'].''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- }
- $requestXml .= '
'."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '.Configuration::get('EBAY_API_TOKEN').''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' High'."\n";
- $requestXml .= ''."\n";
-
-
- // Send the request and get response
- $responseXml = $this->makeRequest($requestXml);
- if (stristr($responseXml, 'HTTP 404') || $responseXml == '')
- {
- $this->error = 'Error sending '.$this->apiCall.' request';
- return false;
- }
-
- // Loading XML tree in array
- $this->response = simplexml_load_string($responseXml);
-
- // Checking Errors
- $this->error = '';
- $this->errorCode = '';
- if (isset($this->response->Errors) && isset($this->response->Ack) && (string)$this->response->Ack != 'Success' && (string)$this->response->Ack != 'Warning')
- foreach ($this->response->Errors as $e)
- {
- // if product no longer on eBay, we log the error code
- if ((int)$e->ErrorCode == 291)
- $this->errorCode = (int)$e->ErrorCode;
-
- // We log error message
- if ($e->SeverityCode == 'Error')
- {
- if ($this->error != '')
- $this->error .= '
';
- $this->error .= (string)$e->LongMessage;
- if (isset($e->ErrorParameters->Value))
- $this->error .= '
'.(string)$e->ErrorParameters->Value;
- }
- }
-
- // Checking Success
- $this->itemID = 0;
- if (isset($this->response->Ack) && ((string)$this->response->Ack == 'Success' || (string)$this->response->Ack == 'Warning'))
- {
- $this->fees = 0;
- $this->itemID = (string)$this->response->ItemID;
- if (isset($this->response->Fees->Fee))
- foreach ($this->response->Fees->Fee as $f)
- $this->fees += (float)$f->Fee;
- }
- else if ($this->error == '')
- $this->error = 'Sorry, technical problem, try again later.';
-
- if (!empty($this->error))
- return false;
- return true;
- }
-
-
-
- function endFixedPriceItem($datas = array())
- {
- // Check data
- if (!$datas)
- return false;
-
- // Set Api Call
- $this->apiCall = 'EndFixedPriceItem';
-
- // Build the request Xml string
- $requestXml = ''."\n";
- $requestXml .= '
'."\n";
- $requestXml .= ' fr_FR'."\n";
- $requestXml .= ' High'."\n";
- $requestXml .= ' '.$datas['itemID'].''."\n";
- $requestXml .= ' prestashop-'.$datas['id_product'].'';
- $requestXml .= ' NotAvailable'."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '.Configuration::get('EBAY_API_TOKEN').''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' High'."\n";
- $requestXml .= ''."\n";
-
-
- // Send the request and get response
- $responseXml = $this->makeRequest($requestXml);
- if (stristr($responseXml, 'HTTP 404') || $responseXml == '')
- {
- $this->error = 'Error sending '.$this->apiCall.' request';
- return false;
- }
-
- // Loading XML tree in array
- $this->response = simplexml_load_string($responseXml);
-
-
- // Checking Errors
- $this->error = '';
- $this->errorCode = '';
- if (isset($this->response->Errors) && isset($this->response->Ack) && (string)$this->response->Ack != 'Success' && (string)$this->response->Ack != 'Warning')
- foreach ($this->response->Errors as $e)
- {
- // if product no longer on eBay, we log the error code
- if ((int)$e->ErrorCode == 291)
- $this->errorCode = (int)$e->ErrorCode;
-
- // We log error message
- if ($e->SeverityCode == 'Error')
- {
- if ($this->error != '')
- $this->error .= '
';
- $this->error .= (string)$e->LongMessage;
- if (isset($e->ErrorParameters->Value))
- $this->error .= '
'.(string)$e->ErrorParameters->Value;
- }
- }
-
- // Checking Success
- $this->itemID = 0;
- if (isset($this->response->Ack) && ((string)$this->response->Ack == 'Success' || (string)$this->response->Ack == 'Warning'))
- {
- $this->fees = 0;
- $this->itemID = (string)$this->response->ItemID;
- if (isset($this->response->Fees->Fee))
- foreach ($this->response->Fees->Fee as $f)
- $this->fees += (float)$f->Fee;
- }
- elseif ($this->error == '')
- $this->error = 'Sorry, technical problem, try again later.';
-
- if (!empty($this->error))
- return false;
-
- return true;
- }
-
-
-
-
-
-
-
-
-
-
-
-
- function addFixedPriceItemMultiSku($datas = array())
- {
- // Check data
- if (!$datas)
- return false;
-
- // Set Api Call
- $this->apiCall = 'AddFixedPriceItem';
-
- // Build the request Xml string
- $requestXml = ''."\n";
- $requestXml .= '
'."\n";
- $requestXml .= ' fr_FR'."\n";
- $requestXml .= ' High'."\n";
- $requestXml .= ' - '."\n";
- $requestXml .= ' FR'."\n";
- $requestXml .= ' EUR'."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' 1000'."\n";
- $requestXml .= ' 3'."\n";
- $requestXml .= ' GTC'."\n";
- $requestXml .= ' FixedPriceItem'."\n";
- $requestXml .= ' PayPal'."\n";
- $requestXml .= ' '.Configuration::get('EBAY_PAYPAL_EMAIL').''."\n";
- $requestXml .= ' '.Configuration::get('EBAY_SHOP_POSTALCODE').''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '.$datas['categoryId'].''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '.substr($datas['name'], 0, 55).''."\n";
- if (isset($datas['pictures']))
- {
- $requestXml .= '';
- foreach ($datas['pictures'] as $picture)
- $requestXml .= ''.$picture.''."\n";
- $requestXml .= '';
- }
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' Etat'."\n";
- $requestXml .= ' Neuf'."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' Marque'."\n";
- $requestXml .= ' '.$datas['brand'].''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- if (isset($datas['variations']))
- {
- // Generate Variations Set
- $requestXml .= ' '."\n";
- foreach ($datas['variationsList'] as $group => $v)
- {
- $requestXml .= ' '."\n";
- $requestXml .= ' '.$group.''."\n";
- foreach ($v as $attr => $val)
- $requestXml .= ' '.$attr.''."\n";
- $requestXml .= ' '."\n";
- }
- $requestXml .= ' '."\n";
-
- // Generate Variations
- foreach ($datas['variations'] as $key => $variation)
- {
- $requestXml .= ' '."\n";
- $requestXml .= ' prestashop-'.$key.''."\n";
- if (!isset($datas['noPriceUpdate']))
- $requestXml .= ' '.$variation['price'].''."\n";
- $requestXml .= ' '.$variation['quantity'].''."\n";
- $requestXml .= ' '."\n";
- foreach ($variation['variations'] as $v)
- {
- $requestXml .= ' '."\n";
- $requestXml .= ' '.$v['name'].''."\n";
- $requestXml .= ' '.$v['value'].''."\n";
- $requestXml .= ' '."\n";
- }
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- }
-
- // Generate Pictures Variations
- $lastSpecificName = '';
- $attributeUsed = array();
- $requestXml .= ' '."\n";
- foreach ($datas['variations'] as $key => $variation)
- foreach ($variation['variations'] as $kv => $v)
- if (!isset($attributeUsed[md5($v['name'].$v['value'])]) && isset($variation['pictures'][$kv]))
- {
- if ($lastSpecificName != $v['name'])
- $requestXml .= ' '.$v['name'].''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '.$v['value'].''."\n";
- $requestXml .= ' '.$variation['pictures'][$kv].''."\n";
- $requestXml .= ' '."\n";
- $attributeUsed[md5($v['name'].$v['value'])] = true;
- $lastSpecificName = $v['name'];
- }
- $requestXml .= ' '."\n";
- }
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' 1'."\n";
- $requestXml .= ' '.$datas['shippingService'].''."\n";
- $requestXml .= ' false'."\n";
- $requestXml .= ' '.$datas['shippingCost'].''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' France'."\n";
- $requestXml .= '
'."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '.Configuration::get('EBAY_API_TOKEN').''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' High'."\n";
- $requestXml .= ''."\n";
-
- // Send the request and get response
- $responseXml = $this->makeRequest($requestXml);
- if (stristr($responseXml, 'HTTP 404') || $responseXml == '')
- {
- $this->error = 'Error sending '.$this->apiCall.' request';
- return false;
- }
-
- // Loading XML tree in array
- $this->response = simplexml_load_string($responseXml);
-
- // Checking Errors
- $this->error = '';
- $this->errorCode = '';
- if (isset($this->response->Errors) && isset($this->response->Ack) && (string)$this->response->Ack != 'Success' && (string)$this->response->Ack != 'Warning')
- foreach ($this->response->Errors as $e)
- {
- // if product no longer on eBay, we log the error code
- if ((int)$e->ErrorCode == 291)
- $this->errorCode = (int)$e->ErrorCode;
-
- // We log error message
- if ($e->SeverityCode == 'Error')
- {
- if ($this->error != '')
- $this->error .= '
';
- $this->error .= (string)$e->LongMessage;
- if (isset($e->ErrorParameters->Value))
- $this->error .= '
'.(string)$e->ErrorParameters->Value;
- }
- }
-
- // Checking Success
- $this->itemID = 0;
- if (isset($this->response->Ack) && ((string)$this->response->Ack == 'Success' || (string)$this->response->Ack == 'Warning'))
- {
- $this->fees = 0;
- $this->itemID = (string)$this->response->ItemID;
- if (isset($this->response->Fees->Fee))
- foreach ($this->response->Fees->Fee as $f)
- $this->fees += (float)$f->Fee;
- }
- else if ($this->error == '')
- $this->error = 'Sorry, technical problem, try again later.';
-
- if (!empty($this->error))
- return false;
- return true;
- }
-
-
- function reviseFixedPriceItemMultiSku($datas = array())
- {
- // Check data
- if (!$datas)
- return false;
-
- // Set Api Call
- $this->apiCall = 'ReviseFixedPriceItem';
-
- // Build the request Xml string
- $requestXml = ''."\n";
- $requestXml .= '
'."\n";
- $requestXml .= ' fr_FR'."\n";
- $requestXml .= ' High'."\n";
- $requestXml .= ' - '."\n";
- $requestXml .= ' '.$datas['itemID'].''."\n";
- $requestXml .= ' FR'."\n";
- $requestXml .= ' EUR'."\n";
- $requestXml .= ' 1000'."\n";
- $requestXml .= ' 3'."\n";
- $requestXml .= ' GTC'."\n";
- $requestXml .= ' FixedPriceItem'."\n";
- $requestXml .= ' PayPal'."\n";
- $requestXml .= ' '.Configuration::get('EBAY_PAYPAL_EMAIL').''."\n";
- $requestXml .= ' '.Configuration::get('EBAY_SHOP_POSTALCODE').''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '.$datas['categoryId'].''."\n";
- $requestXml .= ' '."\n";
- if (isset($datas['pictures']))
- {
- $requestXml .= '';
- foreach ($datas['pictures'] as $picture)
- $requestXml .= ''.$picture.''."\n";
- $requestXml .= '';
- }
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' Etat'."\n";
- $requestXml .= ' Neuf'."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' Marque'."\n";
- $requestXml .= ' '.$datas['brand'].''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- if (isset($datas['variations']))
- {
- // Generate Variations Set
- $requestXml .= ' '."\n";
- foreach ($datas['variationsList'] as $group => $v)
- if (isset($group) && !empty($group))
- {
- $requestXml .= ' '."\n";
- $requestXml .= ' '.$group.''."\n";
- foreach ($v as $attr => $val)
- $requestXml .= ' '.$attr.''."\n";
- $requestXml .= ' '."\n";
- }
- $requestXml .= ' '."\n";
-
- // Generate Variations
- foreach ($datas['variations'] as $key => $variation)
- {
- $requestXml .= ' '."\n";
- $requestXml .= ' prestashop-'.$key.''."\n";
- if (!isset($datas['noPriceUpdate']))
- $requestXml .= ' '.$variation['price'].''."\n";
- $requestXml .= ' '.$variation['quantity'].''."\n";
- $requestXml .= ' '."\n";
- foreach ($variation['variations'] as $v)
- {
- $requestXml .= ' '."\n";
- $requestXml .= ' '.$v['name'].''."\n";
- $requestXml .= ' '.$v['value'].''."\n";
- $requestXml .= ' '."\n";
- }
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- }
-
- // Generate Pictures Variations
- $lastSpecificName = '';
- $attributeUsed = array();
- $requestXml .= ' '."\n";
- foreach ($datas['variations'] as $key => $variation)
- foreach ($variation['variations'] as $kv => $v)
- if (!isset($attributeUsed[md5($v['name'].$v['value'])]) && isset($variation['pictures'][$kv]))
- {
- if ($lastSpecificName != $v['name'])
- $requestXml .= ' '.$v['name'].''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '.$v['value'].''."\n";
- $requestXml .= ' '.$variation['pictures'][$kv].''."\n";
- $requestXml .= ' '."\n";
- $attributeUsed[md5($v['name'].$v['value'])] = true;
- $lastSpecificName = $v['name'];
- }
- $requestXml .= ' '."\n";
- }
-
- $requestXml .= ' '."\n";
- if (Configuration::get('EBAY_SYNC_OPTION_RESYNC') != 1)
- {
- $requestXml .= ' '.substr($datas['name'], 0, 55).''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' 1'."\n";
- $requestXml .= ' '.$datas['shippingService'].''."\n";
- $requestXml .= ' false'."\n";
- $requestXml .= ' '.$datas['shippingCost'].''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- }
- $requestXml .= ' France'."\n";
- $requestXml .= '
'."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '.Configuration::get('EBAY_API_TOKEN').''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' High'."\n";
- $requestXml .= ''."\n";
-
- // Send the request and get response
- $responseXml = $this->makeRequest($requestXml);
- if (stristr($responseXml, 'HTTP 404') || $responseXml == '')
- {
- $this->error = 'Error sending '.$this->apiCall.' request';
- return false;
- }
-
- // Loading XML tree in array
- $this->response = simplexml_load_string($responseXml);
-
- // Checking Errors
- $this->error = '';
- $this->errorCode = '';
- if (isset($this->response->Errors) && isset($this->response->Ack) && (string)$this->response->Ack != 'Success' && (string)$this->response->Ack != 'Warning')
- foreach ($this->response->Errors as $e)
- {
- // if product no longer on eBay, we log the error code
- if ((int)$e->ErrorCode == 291)
- $this->errorCode = (int)$e->ErrorCode;
-
- // We log error message
- if ($e->SeverityCode == 'Error')
- {
- if ($this->error != '')
- $this->error .= '
';
- $this->error .= (string)$e->LongMessage;
- if (isset($e->ErrorParameters->Value))
- $this->error .= '
'.(string)$e->ErrorParameters->Value;
- }
- }
-
- // Checking Success
- $this->itemID = 0;
- if (isset($this->response->Ack) && ((string)$this->response->Ack == 'Success' || (string)$this->response->Ack == 'Warning'))
- {
- $this->fees = 0;
- $this->itemID = (string)$this->response->ItemID;
- if (isset($this->response->Fees->Fee))
- foreach ($this->response->Fees->Fee as $f)
- $this->fees += (float)$f->Fee;
- }
- else if ($this->error == '')
- $this->error = 'Sorry, technical problem, try again later.';
-
- if (!empty($this->error))
- return false;
- return true;
- }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- /******************************************************************/
- /** Order Methods *************************************************/
- /******************************************************************/
-
-
-
- function getOrders($CreateTimeFrom, $CreateTimeTo, $page)
- {
- // Check data
- if (!$CreateTimeFrom || !$CreateTimeTo)
- return false;
-
- // Set Api Call
- $this->apiCall = 'GetOrders';
-
- // Without variations
- $requestXml = ''."\n";
- $requestXml .= '
'."\n";
- $requestXml .= ' ReturnAll'."\n";
- $requestXml .= ' fr_FR'."\n";
- $requestXml .= ' High'."\n";
- $requestXml .= ' '.$CreateTimeFrom.''."\n";
- $requestXml .= ' '.$CreateTimeTo.''."\n";
- $requestXml .= ' Seller'."\n";
- //$requestXml .= ' Completed'."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' 100'."\n";
- $requestXml .= ' '.$page.''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ' '.Configuration::get('EBAY_API_TOKEN').''."\n";
- $requestXml .= ' '."\n";
- $requestXml .= ''."\n";
-
- // Send the request and get response
- $responseXml = $this->makeRequest($requestXml);
- if (stristr($responseXml, 'HTTP 404') || $responseXml == '')
- {
- $this->error = 'Error sending '.$this->apiCall.' request';
- return false;
- }
-
- // Loading XML tree in array
- $this->response = simplexml_load_string($responseXml);
-
-
- // Checking Errors
- $this->error = '';
- if (isset($this->response->Errors) && isset($this->response->Ack) && (string)$this->response->Ack != 'Success' && (string)$this->response->Ack != 'Warning')
- foreach ($this->response->Errors as $e)
- {
- if ($this->error != '')
- $this->error .= '
';
- $this->error .= (string)$e->LongMessage;
- }
-
- // Checking Success
- $orderList = array();
- if (isset($this->response->OrderArray))
- foreach ($this->response->OrderArray->Order as $order)
- {
- $name = str_replace(array('_', ',', ' '), array('', '', ' '), (string)$order->ShippingAddress->Name);
- $name = preg_replace('/\-?\d+/', '', $name);
- $name = explode(' ', $name, 2);
- $itemList = array();
- for ($i = 0; isset($order->TransactionArray->Transaction[$i]); $i++)
- {
- $transaction = $order->TransactionArray->Transaction[$i];
-
- $id_product = 0;
- $id_product_attribute = 0;
- $quantity = (string)$transaction->QuantityPurchased;
- if (isset($transaction->Item->SKU))
- {
- $tmp = explode('-', (string)$transaction->Item->SKU);
- if (isset($tmp[1]))
- $id_product = $tmp[1];
- if (isset($tmp[2]))
- $id_product_attribute = $tmp[2];
- }
- if (isset($transaction->Variation->SKU))
- {
- $tmp = explode('-', (string)$transaction->Variation->SKU);
- if (isset($tmp[1]))
- $id_product = $tmp[1];
- if (isset($tmp[2]))
- $id_product_attribute = $tmp[2];
- }
-
- $id_product = (int)Db::getInstance()->getValue('SELECT `id_product` FROM `'._DB_PREFIX_.'product` WHERE `id_product` = '.(int)$id_product);
- $id_product_attribute = (int)Db::getInstance()->getValue('SELECT `id_product_attribute` FROM `'._DB_PREFIX_.'product_attribute` WHERE `id_product` = '.(int)$id_product.' AND `id_product_attribute` = '.(int)$id_product_attribute);
- if ($id_product > 0)
- $itemList[] = array('id_product' => $id_product, 'id_product_attribute' => $id_product_attribute, 'quantity' => $quantity, 'price' => (string)$transaction->TransactionPrice);
- else
- {
- $reference = '-----------------------';
- $skuItem = (string)$transaction->Item->SKU;
- $skuVariation = (string)$transaction->Variation->SKU;
- $customLabel = (string)$transaction->SellingManagerProductDetails->CustomLabel;
- if ($customLabel != '') $reference = $customLabel;
- else
- {
- if ($skuVariation != '') $reference = $skuVariation;
- else $reference = $skuItem;
- }
-
- $reference = trim($reference);
- if (!empty($reference))
- {
- $id_product = Db::getInstance()->getValue('
- SELECT `id_product` FROM `'._DB_PREFIX_.'product`
- WHERE `reference` = \''.pSQL($reference).'\'');
- if ((int)$id_product > 0)
- $itemList[] = array('id_product' => $id_product, 'id_product_attribute' => 0, 'quantity' => $quantity, 'price' => (string)$transaction->TransactionPrice);
- else
- {
- $row = Db::getInstance()->getValue('
- SELECT `id_product`, `id_product_attribute` FROM `'._DB_PREFIX_.'product_attribute`
- WHERE `reference` = \''.pSQL($reference).'\'');
- if ((int)$row['id_product'] > 0)
- $itemList[] = array('id_product' => $row['id_product'], 'id_product_attribute' => $row['id_product_attribute'], 'quantity' => $quantity, 'price' => (string)$transaction->TransactionPrice);
- }
- }
- }
- }
-
- $orderList[] = array(
- 'id_order_ref' => (string)$order->OrderID,
- 'amount' => (string)$order->AmountPaid,
- 'status' => (string)$order->CheckoutStatus->Status,
- 'date' => substr((string)$order->CreatedTime, 0, 10).' '.substr((string)$order->CreatedTime, 11, 8),
- 'name' => (string)$order->ShippingAddress->Name,
- 'firstname' => substr(trim($name[0]), 0, 32),
- 'familyname' => (isset($name[1]) ? substr(trim($name[1]), 0, 32) : substr(trim($name[0]), 0, 32)),
- 'address1' => (string)$order->ShippingAddress->Street1,
- 'address2' => (string)$order->ShippingAddress->Street2,
- 'city' => (string)$order->ShippingAddress->CityName,
- 'state' => (string)$order->ShippingAddress->StateOrProvince,
- 'country_iso_code' => (string)$order->ShippingAddress->Country,
- 'country_name' => (string)$order->ShippingAddress->CountryName,
- 'phone' => (string)$order->ShippingAddress->Phone,
- 'postalcode' => (string)$order->ShippingAddress->PostalCode,
- 'shippingService' => (string)$order->ShippingServiceSelected->ShippingService,
- 'shippingServiceCost' => (string)$order->ShippingServiceSelected->ShippingServiceCost,
- 'email' => (string)$order->TransactionArray->Transaction[0]->Buyer->Email,
- 'product_list' => $itemList,
- 'payment_method' => (string)$order->CheckoutStatus->PaymentMethod,
- 'id_order_seller' => (string)$order->ShippingDetails->SellingManagerSalesRecordNumber,
- 'date_add' => substr((string)$order->CreatedTime, 0, 10).' '.substr((string)$order->CreatedTime, 11, 8),
- //'object' => $order
- );
- }
-
- return $orderList;
- }
-
-
-}
-
-
-
-class eBayPayment extends PaymentModule
-{
-
-}
-
-
diff --git a/modules/ebay/ebay.gif b/modules/ebay/ebay.gif
deleted file mode 100755
index 569d63e3e..000000000
Binary files a/modules/ebay/ebay.gif and /dev/null differ
diff --git a/modules/ebay/ebay.php b/modules/ebay/ebay.php
deleted file mode 100755
index 44e569097..000000000
--- a/modules/ebay/ebay.php
+++ /dev/null
@@ -1,2123 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-// Security
-if (!defined('_PS_VERSION_'))
- exit;
-
-// Loading eBay Class Request
-if (file_exists(dirname(__FILE__).'/eBayRequest.php'))
- require_once(dirname(__FILE__).'/eBayRequest.php');
-
-
-// Checking compatibility with older PrestaShop and fixing it
-if (!defined('_MYSQL_ENGINE_'))
- define('_MYSQL_ENGINE_', 'MyISAM');
-
-
-class Ebay extends Module
-{
- private $_html = '';
- private $_postErrors = array();
- private $_shippingMethod = array();
- private $_webserviceTestResult = '';
- private $_webserviceError = '';
- private $_fieldsList = array();
- private $_moduleName = 'ebay';
- private $id_lang;
-
-
- /******************************************************************/
- /** Construct Method **********************************************/
- /******************************************************************/
-
- public function __construct()
- {
- $this->name = 'ebay';
- $this->tab = 'market_place';
- $this->version = '1.3.5';
- $this->author = 'PrestaShop';
- parent::__construct ();
- $this->displayName = $this->l('eBay');
- $this->description = $this->l('Open your shop on the eBay market place !');
- $this->id_lang = Language::getIdByIso('fr');
-
- // Check the country and ask the bypass if not 'fr'
- if (strtolower($this->context->country->iso_code) != 'fr' && !isset($this->context->cookie->ebay_country_default_fr))
- {
- $this->warning = $this->l('eBay module currently works only for eBay.fr');
- return false;
- }
-
- // Checking Extension
- if (!extension_loaded('curl') || !ini_get('allow_url_fopen'))
- {
- if (!extension_loaded('curl') && !ini_get('allow_url_fopen'))
- $this->warning = $this->l('You must enable cURL extension and allow_url_fopen option on your server if you want to use this module.');
- else if (!extension_loaded('curl'))
- $this->warning = $this->l('You must enable cURL extension on your server if you want to use this module.');
- else if (!ini_get('allow_url_fopen'))
- $this->warning = $this->l('You must enable allow_url_fopen option on your server if you want to use this module.');
- return false;
- }
-
- // Checking compatibility with older PrestaShop and fixing it
- if (!Configuration::get('PS_SHOP_DOMAIN'))
- Configuration::updateValue('PS_SHOP_DOMAIN', $_SERVER['HTTP_HOST']);
-
- // Generate eBay Security Token if not exists
- if (!Configuration::get('EBAY_SECURITY_TOKEN'))
- Configuration::updateValue('EBAY_SECURITY_TOKEN', Tools::passwdGen(30));
-
- // For 1.4.3 and less compatibility
- $updateConfig = array('PS_OS_CHEQUE' => 1, 'PS_OS_PAYMENT' => 2, 'PS_OS_PREPARATION' => 3, 'PS_OS_SHIPPING' => 4, 'PS_OS_DELIVERED' => 5, 'PS_OS_CANCELED' => 6,
- 'PS_OS_REFUND' => 7, 'PS_OS_ERROR' => 8, 'PS_OS_OUTOFSTOCK' => 9, 'PS_OS_BANKWIRE' => 10, 'PS_OS_PAYPAL' => 11, 'PS_OS_WS_PAYMENT' => 12);
- foreach ($updateConfig as $u => $v)
- if (!Configuration::get($u) || (int)Configuration::get($u) < 1)
- {
- if (defined('_'.$u.'_') && (int)constant('_'.$u.'_') > 0)
- Configuration::updateValue($u, constant('_'.$u.'_'));
- else
- Configuration::updateValue($u, $v);
- }
-
- // Check if installed
- if (self::isInstalled($this->name))
- {
- // Upgrade eBay module
- if (Configuration::get('EBAY_VERSION') != $this->version)
- $this->upgrade();
-
- // Generate warnings
- if (!Configuration::get('EBAY_API_TOKEN'))
- $this->warning = $this->l('You must register your module on eBay.');
-
- // Loading Shipping Method
- $this->loadShippingMethod();
-
- // Warning uninstall
- $this->confirmUninstall = $this->l('Are you sure you want uninstall this module ? All your configuration will be lost.');
- }
- }
-
-
- public function loadShippingMethod()
- {
- // Shipping methods
- $this->_shippingMethod = array(
- 7104 => array('description' => 'Colissimo', 'shippingService' => 'FR_ColiposteColissimo', 'shippingServiceID' => '7104'),
- 7112 => array('description' => 'Ecopli', 'shippingService' => 'FR_Ecopli', 'shippingServiceID' => '7112'),
- 57104 => array('description' => 'La Poste - Courrier International Prioritaire', 'shippingService' => 'FR_LaPosteInternationalPriorityCourier', 'shippingServiceID' => '57104'),
- 7101 => array('description' => 'Lettre', 'shippingService' => 'FR_PostOfficeLetter', 'shippingServiceID' => '7101'),
- 57105 => array('description' => 'La Poste - Courrier International Economique', 'shippingService' => 'FR_LaPosteInternationalEconomyCourier', 'shippingServiceID' => '57105'),
- 57106 => array('description' => 'La Poste - Colissimo International', 'shippingService' => 'FR_LaPosteColissimoInternational', 'shippingServiceID' => '57106'),
- 7102 => array('description' => 'Lettre avec suivi', 'shippingService' => 'FR_PostOfficeLetterFollowed', 'shippingServiceID' => '7102'),
- 57107 => array('description' => 'La Poste - Colis Economique International', 'shippingService' => 'FR_LaPosteColisEconomiqueInternational', 'shippingServiceID' => '57107'),
- 7103 => array('description' => 'Lettre recommandée', 'shippingService' => 'FR_PostOfficeLetterRecommended', 'shippingServiceID' => '7103'),
- 7121 => array('description' => 'Lettre Max', 'shippingService' => 'FR_LaPosteLetterMax', 'shippingServiceID' => '7121'),
- 7113 => array('description' => 'Coliéco', 'shippingService' => 'FR_Colieco', 'shippingServiceID' => '7113'),
- 57108 => array('description' => 'La Poste - Colissimo Emballage International', 'shippingService' => 'FR_LaPosteColissimoEmballageInternational', 'shippingServiceID' => '57108'),
- 57114 => array('description' => 'Chronopost Express International', 'shippingService' => 'FR_ChronopostExpressInternational', 'shippingServiceID' => '57114'),
- 7106 => array('description' => 'Colissimo Recommandé', 'shippingService' => 'FR_ColiposteColissimoRecommended', 'shippingServiceID' => '7106'),
- 57109 => array('description' => 'Chronopost Classic International', 'shippingService' => 'FR_ChronopostClassicInternational', 'shippingServiceID' => '57109'),
- 57110 => array('description' => 'Chronopost Premium International', 'shippingService' => 'FR_ChronopostPremiumInternational', 'shippingServiceID' => '57110'),
- 7117 => array('description' => 'Chronopost - Chrono Relais', 'shippingService' => 'FR_ChronopostChronoRelais', 'shippingServiceID' => '7117'),
- 57111 => array('description' => 'UPS Standard', 'shippingService' => 'FR_UPSStandardInternational', 'shippingServiceID' => '57111'),
- 7111 => array('description' => 'Autre mode d\'envoi de courrier', 'shippingService' => 'FR_Autre', 'shippingServiceID' => '7111'),
- 57112 => array('description' => 'UPS Express', 'shippingService' => 'FR_UPSExpressInternational', 'shippingServiceID' => '57112'),
- 7114 => array('description' => 'Autre mode d\'envoi de colis', 'shippingService' => 'FR_AuteModeDenvoiDeColis', 'shippingServiceID' => '7114'),
- 57113 => array('description' => 'DHL', 'shippingService' => 'FR_DHLInternational', 'shippingServiceID' => '57113'),
- 57101 => array('description' => 'Frais de livraison internationale fixes', 'shippingService' => 'FR_StandardInternational', 'shippingServiceID' => '57101'),
- 7116 => array('description' => 'Chronopost', 'shippingService' => 'FR_Chronopost', 'shippingServiceID' => '7116'),
- 57102 => array('description' => 'Frais fixes pour livraison internationale express', 'shippingService' => 'FR_ExpeditedInternational', 'shippingServiceID' => '57102'),
- 57103 => array('description' => 'Autres livraisons internationales (voir description)', 'shippingService' => 'FR_OtherInternational', 'shippingServiceID' => '57103'),
- 7118 => array('description' => 'Chrono 10', 'shippingService' => 'FR_Chrono10', 'shippingServiceID' => '7118'),
- 7119 => array('description' => 'Chrono 13', 'shippingService' => 'FR_Chrono13', 'shippingServiceID' => '7119'),
- 7120 => array('description' => 'Chrono 18', 'shippingService' => 'FR_Chrono18', 'shippingServiceID' => '7120'),
- 7105 => array('description' => 'Coliposte - Colissimo Direct', 'shippingService' => 'FR_ColiposteColissimoDirect', 'shippingServiceID' => '7105'),
- 7107 => array('description' => 'Chronoposte - Chrono Classic International', 'shippingService' => 'FR_ChronoposteInternationalClassic', 'shippingServiceID' => '7107'),
- 7108 => array('description' => 'DHL - Express Europack', 'shippingService' => 'FR_DHLExpressEuropack', 'shippingServiceID' => '7108'),
- 7109 => array('description' => 'UPS - Standard', 'shippingService' => 'FR_UPSStandard', 'shippingServiceID' => '7109'),
- );
- }
-
-
- /******************************************************************/
- /** Install / Uninstall Methods ***********************************/
- /******************************************************************/
-
- public function install()
- {
- // Install SQL
- include(dirname(__FILE__).'/sql-install.php');
- foreach ($sql as $s)
- if (!Db::getInstance()->execute($s))
- return false;
-
- // Install Module
- if (!parent::install() ||
- !$this->registerHook('addproduct') ||
- !$this->registerHook('updateproduct') ||
- !$this->registerHook('updateProductAttribute') ||
- !$this->registerHook('deleteproduct') ||
- !$this->registerHook('newOrder') ||
- !$this->registerHook('backOfficeTop') ||
- !$this->registerHook('backOfficeFooter') ||
- !$this->registerHook('header') ||
- !$this->registerHook('updateOrderStatus'))
- return false;
-
- // Generate Product Template
- $content = file_get_contents(dirname(__FILE__).'/template/ebay.tpl');
- $content = str_replace('{SHOP_NAME}', Configuration::get('PS_SHOP_NAME'), $content);
- $content = str_replace('{SHOP_URL}', 'http://'.Configuration::get('PS_SHOP_DOMAIN').'/'.__PS_BASE_URI__.'/', $content);
- $content = str_replace('{MODULE_URL}', 'http://'.Configuration::get('PS_SHOP_DOMAIN').'/'.__PS_BASE_URI__.'/modules/ebay/', $content);
- Configuration::updateValue('EBAY_PRODUCT_TEMPLATE', '');
- Configuration::updateValue('EBAY_PRODUCT_TEMPLATE', $content, true);
-
- // Init
- Configuration::updateValue('EBAY_VERSION', $this->version);
-
- return true;
- }
-
- public function uninstall()
- {
- // Uninstall Config
- foreach ($this->_fieldsList as $keyConfiguration => $name)
- if (!Configuration::deleteByName($keyConfiguration))
- return false;
-
- // Uninstall SQL
- include(dirname(__FILE__).'/sql-uninstall.php');
- foreach ($sql as $s)
- if (!Db::getInstance()->execute($s))
- return false;
- Configuration::deleteByName('EBAY_API_SESSION');
- Configuration::deleteByName('EBAY_API_USERNAME');
- Configuration::deleteByName('EBAY_API_TOKEN');
- Configuration::deleteByName('EBAY_IDENTIFIER');
- Configuration::deleteByName('EBAY_SHOP');
- Configuration::deleteByName('EBAY_PAYPAL_EMAIL');
- Configuration::deleteByName('EBAY_SHIPPING_CARRIER_ID');
- Configuration::deleteByName('EBAY_SHIPPING_COST');
- Configuration::deleteByName('EBAY_SHIPPING_COST_CURRENCY');
- Configuration::deleteByName('EBAY_SHOP_POSTALCODE');
- Configuration::deleteByName('EBAY_CATEGORY_LOADED');
- Configuration::deleteByName('EBAY_CATEGORY_LOADED_DATE');
- Configuration::deleteByName('EBAY_PRODUCT_TEMPLATE');
- Configuration::deleteByName('EBAY_SYNC_MODE');
- Configuration::deleteByName('EBAY_ORDER_LAST_UPDATE');
- Configuration::deleteByName('EBAY_VERSION');
- Configuration::deleteByName('EBAY_SECURITY_TOKEN');
-
- // Uninstall Module
- if (!parent::uninstall() ||
- !$this->unregisterHook('addproduct') ||
- !$this->unregisterHook('updateproduct') ||
- !$this->unregisterHook('updateProductAttribute') ||
- !$this->unregisterHook('deleteproduct') ||
- !$this->unregisterHook('newOrder') ||
- !$this->unregisterHook('backOfficeTop') ||
- !$this->unregisterHook('backOfficeFooter') ||
- !$this->unregisterHook('header') ||
- !$this->unregisterHook('updateOrderStatus'))
- return false;
-
- // Clean Cookie
- $this->context->cookie->eBaySession = '';
- $this->context->cookie->eBayUsername = '';
-
- return true;
- }
-
- public function upgrade()
- {
- $version = Configuration::get('EBAY_VERSION');
- if ($version == '1.1' || empty($version))
- {
- // Upgrade SQL
- include(dirname(__FILE__).'/sql-upgrade-1-2.php');
- foreach ($sql as $s)
- if (!Db::getInstance()->execute($s))
- return false;
- Configuration::updateValue('EBAY_VERSION', $this->version);
- }
- }
-
-
- /******************************************************************/
- /** Hook Methods **************************************************/
- /******************************************************************/
-
- public function hookNewOrder($params)
- {
- if ((int)$params['cart']->id < 1)
- return false;
-
- $sql = '`id_product` IN (SELECT `id_product` FROM `'._DB_PREFIX_.'cart_product` WHERE `id_cart` = '.(int)$params['cart']->id.')';
- if (Configuration::get('EBAY_SYNC_MODE') == 'A')
- {
- // Retrieve product list for eBay (which have matched categories) AND Send each product on eBay
- $productsList = Db::getInstance()->executeS('SELECT `id_product` FROM `'._DB_PREFIX_.'product` WHERE '.$sql.' AND `active` = 1 AND `id_category_default` IN (SELECT `id_category` FROM `'._DB_PREFIX_.'ebay_category_configuration` WHERE `id_category` > 0 AND `id_ebay_category` > 0)');
- foreach ($productList as $k => $v)
- $productList[$k]['noPriceUpdate'] = 1;
- if ($productsList)
- $this->_syncProducts($productsList);
- }
- else if (Configuration::get('EBAY_SYNC_MODE') == 'B')
- {
- // Select the sync Categories and Retrieve product list for eBay (which have matched and sync categories) AND Send each product on eBay
- $productsList = Db::getInstance()->executeS('SELECT `id_product` FROM `'._DB_PREFIX_.'product` WHERE '.$sql.' AND `active` = 1 AND `id_category_default` IN (SELECT `id_category` FROM `'._DB_PREFIX_.'ebay_category_configuration` WHERE `id_category` > 0 AND `id_ebay_category` > 0 AND `sync` = 1)');
- foreach ($productList as $k => $v)
- $productList[$k]['noPriceUpdate'] = 1;
- if ($productsList)
- $this->_syncProducts($productsList);
- }
-
- }
-
- public function hookaddproduct($params)
- {
- if (!isset($params['product']->id))
- return false;
- $id_product = $params['product']->id;
- if ((int)$id_product < 1)
- return false;
-
- if (Configuration::get('EBAY_SYNC_MODE') == 'A')
- {
- // Retrieve product list for eBay (which have matched categories) AND Send each product on eBay
- $productsList = Db::getInstance()->executeS('SELECT `id_product` FROM `'._DB_PREFIX_.'product` WHERE `id_product` = '.(int)$id_product.' AND `active` = 1 AND `id_category_default` IN (SELECT `id_category` FROM `'._DB_PREFIX_.'ebay_category_configuration` WHERE `id_category` > 0 AND `id_ebay_category` > 0)');
- if ($productsList)
- $this->_syncProducts($productsList);
- }
- else if (Configuration::get('EBAY_SYNC_MODE') == 'B')
- {
- // Select the sync Categories and Retrieve product list for eBay (which have matched and sync categories) AND Send each product on eBay
- $productsList = Db::getInstance()->executeS('SELECT `id_product` FROM `'._DB_PREFIX_.'product` WHERE `id_product` = '.(int)$id_product.' AND `active` = 1 AND `id_category_default` IN (SELECT `id_category` FROM `'._DB_PREFIX_.'ebay_category_configuration` WHERE `id_category` > 0 AND `id_ebay_category` > 0 AND `sync` = 1)');
- if ($productsList)
- $this->_syncProducts($productsList);
- }
- }
-
- public function hookbackOfficeTop($params)
- {
- // Check if the module is configured
- if (!Configuration::get('EBAY_PAYPAL_EMAIL'))
- return false;
-
- // Fix hook update product attribute
- $this->hookupdateProductAttributeEbay();
-
- // If no update yet
- if (!Configuration::get('EBAY_ORDER_LAST_UPDATE'))
- Configuration::updateValue('EBAY_ORDER_LAST_UPDATE', date('Y-m-d').'T'.date('H:i:s').'.000Z');
-
- // init Var
- $dateNew = date('Y-m-d').'T'.date('H:i:s').'.000Z';
- if (Configuration::get('EBAY_ORDER_LAST_UPDATE') < date('Y-m-d', strtotime('-30 minutes')).'T'.date('H:i:s', strtotime('-30 minutes')).'.000Z')
- {
- // Lock
- Configuration::updateValue('EBAY_ORDER_LAST_UPDATE', $dateNew);
-
- // eBay Request
- $ebay = new eBayRequest();
-
- $page = 1;
- $orderList = array();
- $orderCount = 0;
- $orderCountTmp = 100;
- while ($orderCountTmp == 100 && $page < 10)
- {
- $orderListTmp = $ebay->getOrders(date('Y-m-d', strtotime('-30 days')).'T'.date('H:i:s', strtotime('-30 days')).'.000Z', $dateNew, $page);
- $orderCountTmp = count($orderListTmp);
- $orderList = array_merge((array)$orderList, (array)$orderListTmp);
- $orderCount += $orderCountTmp;
- $page++;
- }
-
- if ($orderList)
- {
- foreach ($orderList as $korder => $order)
- {
- if ($order['status'] == 'Complete' && $order['amount'] > 0.1 && isset($order['product_list']) && count($order['product_list']))
- {
- if (!Db::getInstance()->getValue('SELECT `id_ebay_order` FROM `'._DB_PREFIX_.'ebay_order` WHERE `id_order_ref` = \''.pSQL($order['id_order_ref']).'\''))
- {
- // Check for empty name
- $order['firstname'] = trim($order['firstname']);
- $order['familyname'] = trim($order['familyname']);
- if (empty($order['familyname']))
- $order['familyname'] = $order['firstname'];
- if (empty($order['firstname']))
- $order['firstname'] = $order['familyname'];
- if (empty($order['phone']) || !Validate::isPhoneNumber($order['phone']))
- $order['phone'] = '0100000000';
-
- if (Validate::isEmail($order['email']) && !empty($order['firstname']) && !empty($order['familyname']))
- {
- // Getting the customer
- $id_customer = (int)Db::getInstance()->getValue('SELECT `id_customer` FROM `'._DB_PREFIX_.'customer` WHERE `active` = 1 AND `email` = \''.pSQL($order['email']).'\' AND `deleted` = 0'.(substr(_PS_VERSION_, 0, 3) == '1.3' ? '' : ' AND `is_guest` = 0'));
-
- // Add customer if he doesn't exist
- if ($id_customer < 1)
- {
- $customer = new Customer();
- $customer->id_gender = 0;
- $customer->id_default_group = 1;
- $customer->secure_key = md5(uniqid(rand(), true));
- $customer->email = $order['email'];
- $customer->passwd = md5(pSQL(_COOKIE_KEY_.rand()));
- $customer->last_passwd_gen = pSQL(date('Y-m-d H:i:s'));
- $customer->newsletter = 0;
- $customer->lastname = pSQL($order['familyname']);
- $customer->firstname = pSQL($order['firstname']);
- $customer->active = 1;
- $customer->add();
- $id_customer = $customer->id;
- }
-
- // Search if address exists
- $id_address = (int)Db::getInstance()->getValue('SELECT `id_address` FROM `'._DB_PREFIX_.'address` WHERE `id_customer` = '.(int)$id_customer.' AND `alias` = \'eBay\'');
- if ($id_address > 0)
- $address = new Address((int)$id_address);
- else
- {
- $address = new Address();
- $address->id_customer = (int)$id_customer;
- }
- $address->id_country = (int)Country::getByIso($order['country_iso_code']);
- $address->alias = 'eBay';
- $address->lastname = pSQL($order['familyname']);
- $address->firstname = pSQL($order['firstname']);
- $address->address1 = pSQL($order['address1']);
- $address->address2 = pSQL($order['address2']);
- $address->postcode = pSQL($order['postalcode']);
- $address->city = pSQL($order['city']);
- $address->phone = pSQL($order['phone']);
- $address->active = 1;
- if ($id_address > 0 && Validate::isLoadedObject($address))
- $address->update();
- else
- $address->add();
- $id_address = $address->id;
-
- $flag = 1;
- foreach ($order['product_list'] as $product)
- {
- if ((int)$product['id_product'] < 1 || !Db::getInstance()->getValue('SELECT `id_product` FROM `'._DB_PREFIX_.'product` WHERE `id_product` = '.(int)$product['id_product']))
- $flag = 0;
- if (isset($product['id_product_attribute']) && $product['id_product_attribute'] > 0 && !Db::getInstance()->getValue('SELECT `id_product_attribute` FROM `'._DB_PREFIX_.'product_attribute` WHERE `id_product` = '.(int)$product['id_product'].' AND `id_product_attribute` = '.(int)$product['id_product_attribute']))
- $flag = 0;
- }
-
- if ($flag == 1)
- {
- $cartNbProducts = 0;
- $cartAdd = new Cart();
- $cartAdd->id_customer = $id_customer;
- $cartAdd->id_address_invoice = $id_address;
- $cartAdd->id_address_delivery = $id_address;
- $cartAdd->id_carrier = 0;
- $cartAdd->id_lang = $this->id_lang;
- $cartAdd->id_currency = Currency::getIdByIsoCode('EUR');
- $cartAdd->recyclable = 0;
- $cartAdd->gift = 0;
- $cartAdd->add();
- foreach ($order['product_list'] as $product)
- if ($cartAdd->updateQty((int)($product['quantity']), (int)($product['id_product']), ((isset($product['id_product_attribute']) && $product['id_product_attribute'] > 0) ? $product['id_product_attribute'] : NULL)))
- $cartNbProducts++;
- $cartAdd->update();
-
- // Check number of products in the cart
- if ($cartNbProducts > 0 && !Db::getInstance()->getValue('SELECT `id_ebay_order` FROM `'._DB_PREFIX_.'ebay_order` WHERE `id_order_ref` = \''.pSQL($order['id_order_ref']).'\''))
- {
- // Fix on sending e-mail
- Db::getInstance()->autoExecute(_DB_PREFIX_.'customer', array('email' => 'NOSEND-EBAY'), 'UPDATE', '`id_customer` = '.(int)$id_customer);
- $customerClear = new Customer();
- if (method_exists($customerClear, 'clearCache'))
- $customerClear->clearCache(true);
-
- // Validate order
- $paiement = new eBayPayment();
- $paiement->validateOrder(intval($cartAdd->id), Configuration::get('PS_OS_PAYMENT'), floatval($cartAdd->getOrderTotal(true, 3)), 'eBay '.$order['payment_method'].' '.$order['id_order_seller'], NULL, array(), intval($cartAdd->id_currency));
- $id_order = $paiement->currentOrder;
-
- // Fix on date
- Db::getInstance()->autoExecute(_DB_PREFIX_.'orders', array('date_add' => pSQL($order['date_add'])), 'UPDATE', '`id_order` = '.(int)$id_order);
-
- // Fix on sending e-mail
- Db::getInstance()->autoExecute(_DB_PREFIX_.'customer', array('email' => pSQL($order['email'])), 'UPDATE', '`id_customer` = '.(int)$id_customer);
-
- // Update price (because of possibility of price impact)
- foreach ($order['product_list'] as $product)
- {
- $tax_rate = Db::getInstance()->getValue('SELECT `tax_rate` FROM `'._DB_PREFIX_.'order_detail` WHERE `id_order` = '.(int)$id_order.' AND `product_id` = '.(int)$product['id_product'].' AND `product_attribute_id` = '.(int)$product['id_product_attribute']);
- Db::getInstance()->autoExecute(_DB_PREFIX_.'order_detail', array('product_price' => floatval($product['price'] / (1 + ($tax_rate / 100))), 'reduction_percent' => 0), 'UPDATE', '`id_order` = '.(int)$id_order.' AND `product_id` = '.(int)$product['id_product'].' AND `product_attribute_id` = '.(int)$product['id_product_attribute']);
- }
- $updateOrder = array(
- 'total_paid' => floatval($order['amount']),
- 'total_paid_real' => floatval($order['amount']),
- 'total_products' => floatval(Db::getInstance()->getValue('SELECT SUM(`product_price`) FROM `'._DB_PREFIX_.'order_detail` WHERE `id_order` = '.(int)$id_order)),
- 'total_products_wt' => floatval($order['amount'] - $order['shippingServiceCost']),
- 'total_shipping' => floatval($order['shippingServiceCost']),
- );
- Db::getInstance()->autoExecute(_DB_PREFIX_.'orders', $updateOrder, 'UPDATE', '`id_order` = '.(int)$id_order);
-
- // Register the ebay order ref
- Db::getInstance()->autoExecute(_DB_PREFIX_.'ebay_order', array('id_order_ref' => pSQL($order['id_order_ref']), 'id_order' => (int)$id_order), 'INSERT');
- }
- else
- {
- $cartAdd->delete();
- $orderList[$korder]['errors'][] = $this->l('Could not add product to cart (maybe your stock quantity is 0)');
- }
- }
- else
- $orderList[$korder]['errors'][] = $this->l('Could not found products in database');
- }
- else
- $orderList[$korder]['errors'][] = $this->l('Invalid e-mail');
- }
- else
- $orderList[$korder]['errors'][] = $this->l('Order already imported');
- }
- else
- $orderList[$korder]['errors'][] = $this->l('Status not complete or amount less than 0.1 or no product matching');
- }
- file_put_contents(dirname(__FILE__).'/log/orders.php', "hookaddproduct($params); }
- public function hookupdateProductAttribute($params) { }
- public function hookupdateProductAttributeEbay()
- {
- if (isset($_POST['submitProductAttribute']) && isset($_POST['id_product_attribute']))
- {
- $params = array();
- $params['id_product_attribute'] = (int)$_POST['id_product_attribute'];
- if ($params['id_product_attribute'] > 0)
- {
- $id_product = Db::getInstance()->getValue('SELECT `id_product` FROM `'._DB_PREFIX_.'product_attribute` WHERE `id_product_attribute` = '.(int)$params['id_product_attribute']);
- $params['product'] = new Product($id_product);
- $this->hookaddproduct($params);
- }
- }
- }
- public function hookdeleteproduct($params) { $this->hookaddproduct($params); }
- public function hookheader($params) { $this->hookbackOfficeTop($params); }
- public function hookbackOfficeFooter($params) { $this->hookbackOfficeTop($params); }
-
-
- /******************************************************************/
- /** Main Form Methods *********************************************/
- /******************************************************************/
-
- public function getContent()
- {
- $this->_html .= '
' . $this->l('eBay').'
';
-
- // Checking Country
- if (Tools::getValue('ebay_country_default_fr') == 'ok')
- $this->context->cookie->ebay_country_default_fr = true;
- if (strtolower($this->context->country->iso_code) != 'fr' && !isset($this->context->cookie->ebay_country_default_fr))
- return $this->_html.$this->displayError($this->l('eBay module currently works only for eBay.fr').'.
'.$this->l('Continue anyway ?').'');
-
-
- // Checking Extension
- if (!extension_loaded('curl') || !ini_get('allow_url_fopen'))
- {
- if (!extension_loaded('curl') && !ini_get('allow_url_fopen'))
- return $this->_html.$this->displayError($this->l('You must enable cURL extension and allow_url_fopen option on your server if you want to use this module.'));
- else if (!extension_loaded('curl'))
- return $this->_html.$this->displayError($this->l('You must enable cURL extension on your server if you want to use this module.'));
- else if (!ini_get('allow_url_fopen'))
- return $this->_html.$this->displayError($this->l('You must enable allow_url_fopen option on your server if you want to use this module.'));
- }
-
-
- // If isset Post Var, post process else display form
- if (!empty($_POST) && (Tools::isSubmit('submitSave') || Tools::isSubmit('submitSave1') || Tools::isSubmit('submitSave2')))
- {
- $this->_postValidation();
- if (!sizeof($this->_postErrors))
- $this->_postProcess();
- else
- foreach ($this->_postErrors AS $err)
- $this->_html .= '

'.$err.'
';
- }
- $this->_displayForm();
- return $this->_html;
- }
-
- private function _displayForm()
- {
- // Test alert
- $alert = array();
- if (!Configuration::get('EBAY_API_TOKEN'))
- $alert['registration'] = 1;
- if (!ini_get('allow_url_fopen'))
- $alert['allowurlfopen'] = 1;
- if (!extension_loaded('curl'))
- $alert['curl'] = 1;
-
-
- // Displaying Information from Prestashop
- $stream_context = @stream_context_create(array('http' => array('method'=>"GET", 'timeout' => 2)));
- $prestashopContent = @file_get_contents('http://api.prestashop.com/partner/modules/ebay.php?version='.$this->version.'&shop='.urlencode(Configuration::get('PS_SHOP_NAME')).'®istered='.($alert['registration'] == 1 ? 'no' : 'yes').'&url='.urlencode($_SERVER['HTTP_HOST']).'&iso_country='.$isoCountry.'&iso_lang='.Tools::strtolower($isoUser).'&id_lang='.(int)$this->context->language->id.'&email='.urlencode(Configuration::get('PS_SHOP_EMAIL')).'&security='.md5(Configuration::get('PS_SHOP_EMAIL')._COOKIE_IV_), false, $stream_context);
- if (!Validate::isCleanHtml($prestashopContent))
- $prestashopContent = '';
-
- // Displaying page
- $this->_html .= '
';
-
- if (!Configuration::get('EBAY_API_TOKEN'))
- $this->_html .= $this->_displayFormRegister();
- else
- $this->_html .= $this->_displayFormConfig();
- }
-
- private function _postValidation()
- {
- if (!Configuration::get('EBAY_API_TOKEN'))
- $this->_postValidationRegister();
- else if (Tools::getValue('section') == 'parameters')
- $this->_postValidationParameters();
- else if (Tools::getValue('section') == 'category')
- $this->_postValidationCategory();
- else if (Tools::getValue('section') == 'template')
- $this->_postValidationTemplateManager();
- else if (Tools::getValue('section') == 'sync')
- $this->_postValidationEbaySync();
- }
-
- private function _postProcess()
- {
- if (!Configuration::get('EBAY_API_TOKEN'))
- $this->_postProcessRegister();
- else if (Tools::getValue('section') == 'parameters')
- $this->_postProcessParameters();
- else if (Tools::getValue('section') == 'category')
- $this->_postProcessCategory();
- else if (Tools::getValue('section') == 'template')
- $this->_postProcessTemplateManager();
- else if (Tools::getValue('section') == 'sync')
- $this->_postProcessEbaySync();
- }
-
-
- /******************************************************************/
- /** Register Form Config Methods **********************************/
- /******************************************************************/
-
- private function _displayFormRegister()
- {
- $ebay = new eBayRequest();
-
- if (!empty($this->context->cookie->eBaySession) && isset($_GET['action']) && $_GET['action'] == 'logged')
- {
- if (isset($_POST['eBayUsername']))
- {
- $this->context->cookie->eBayUsername = $_POST['eBayUsername'];
- Configuration::updateValue('EBAY_API_USERNAME', $_POST['eBayUsername']);
- }
- $ebay->session = $this->context->cookie->eBaySession;
- $ebay->username = $this->context->cookie->eBayUsername;
-
- $html = '
- ';
- $html .= '
';
- }
- else
- {
- if (empty($this->context->cookie->eBaySession))
- {
- $ebay->login();
- $this->context->cookie->eBaySession = $ebay->session;
- Configuration::updateValue('EBAY_API_SESSION', $ebay->session);
- }
-
- $html = '
-
-
-
';
- }
-
- return $html;
- }
-
- private function _postValidationRegister()
- {
-
- }
-
- private function _postProcessRegister()
- {
-
- }
-
-
- /******************************************************************/
- /** Parameters Form Config Methods ********************************/
- /******************************************************************/
-
- private function _displayFormConfig()
- {
- $html = '
-
-
-
-
-
-
-
-
-
-
-
-
-
- ';
- if (isset($_GET['id_tab']))
- $html .= '';
- return $html;
- }
-
- private function _displayFormParameters()
- {
- // Loading config currency
- $configCurrency = new Currency((int)(Configuration::get('PS_CURRENCY_DEFAULT')));
-
-
- // Display Form
- $html = '
';
-
- if (!Configuration::get('EBAY_CATEGORY_LOADED'))
- {
- $html .= '
- ';
- }
-
- return $html;
- }
-
- private function _postValidationParameters()
- {
- // Check configuration values
- if (Tools::getValue('ebay_identifier') == NULL)
- $this->_postErrors[] = $this->l('Your eBay identifier account is not specified or is invalid');
- if (Tools::getValue('ebay_paypal_email') == NULL OR !Validate::isEmail(Tools::getValue('ebay_paypal_email')))
- $this->_postErrors[] = $this->l('Your Paypal E-mail account is not specified or is invalid');
- if (Tools::getValue('ebay_shipping_cost') == '' OR !is_numeric(Tools::getValue('ebay_shipping_cost')))
- $this->_postErrors[] = $this->l('Your shipping cost is not specified or is invalid');
- if (Tools::getValue('ebay_shop_postalcode') == '' OR !Validate::isPostCode(Tools::getValue('ebay_shop_postalcode')))
- $this->_postErrors[] = $this->l('Your shop\'s postal code is not specified or is invalid');
- }
-
- private function _postProcessParameters()
- {
- // Saving new configurations
- if (Configuration::updateValue('EBAY_PAYPAL_EMAIL', pSQL(Tools::getValue('ebay_paypal_email'))) &&
- Configuration::updateValue('EBAY_IDENTIFIER', pSQL(Tools::getValue('ebay_identifier'))) &&
- Configuration::updateValue('EBAY_SHOP', pSQL(Tools::getValue('ebay_shop'))) &&
- Configuration::updateValue('EBAY_SHIPPING_COST', (float)(Tools::getValue('ebay_shipping_cost'))) &&
- Configuration::updateValue('EBAY_SHIPPING_COST_CURRENCY', (int)(Configuration::get('PS_CURRENCY_DEFAULT'))) &&
- Configuration::updateValue('EBAY_SHIPPING_CARRIER_ID', pSQL(Tools::getValue('ebay_shipping_carrier_id'))) &&
- Configuration::updateValue('EBAY_SHOP_POSTALCODE', pSQL(Tools::getValue('ebay_shop_postalcode'))))
- $this->_html .= $this->displayConfirmation($this->l('Settings updated'));
- else
- $this->_html .= $this->displayError($this->l('Settings failed'));
- }
-
-
- /******************************************************************/
- /** Category Form Config Methods **********************************/
- /******************************************************************/
-
- private function _getChildCategories($categories, $id, $path = array(), $pathAdd = '')
- {
- $categoryTmp = array();
- $categoryTab = array();
- if ($pathAdd != '')
- $path[] = $pathAdd;
- if (isset($categories[$id]))
- foreach ($categories[$id] as $idc => $cc)
- {
- $name = '';
- if ($path)
- foreach ($path as $p)
- $name .= $p.' > ';
- $name .= $cc['infos']['name'];
- $categoryTab[] = array('id_category' => $cc['infos']['id_category'], 'name' => $name);
- $categoryTmp = $this->_getChildCategories($categories, $idc, $path, $cc['infos']['name']);
- $categoryTab = array_merge($categoryTab, $categoryTmp);
- }
- return $categoryTab;
- }
-
- private function _displayFormCategory()
- {
- // Check if the module is configured
- if (!Configuration::get('EBAY_PAYPAL_EMAIL'))
- return '
'.$this->l('You have to configure "General Settings" tab before using this tab.').'
';
-
- // Load categories only if necessary
- if (Db::getInstance()->getValue('SELECT COUNT(`id_ebay_category_configuration`) FROM `'._DB_PREFIX_.'ebay_category_configuration`') >= 1 && Tools::getValue('section') != 'category')
- return '
'.$this->l('Your categories have already been configured.').'
-
';
-
- // Display eBay Categories
- if (!Configuration::get('EBAY_CATEGORY_LOADED'))
- {
- $ebay = new eBayRequest();
- $ebay->saveCategories();
- Configuration::updateValue('EBAY_CATEGORY_LOADED', 1);
- Configuration::updateValue('EBAY_CATEGORY_LOADED_DATE', date('Y-m-d H:i:s'));
- }
-
-
- // Loading categories
- $categoryConfigList = array();
- $categoryConfigListTmp = Db::getInstance()->executeS('SELECT * FROM `'._DB_PREFIX_.'ebay_category_configuration`');
- foreach ($categoryConfigListTmp as $c)
- $categoryConfigList[$c['id_category']] = $c;
- $categoryList = $this->_getChildCategories(Category::getCategories($this->context->language->id), 0);
- $eBayCategoryList = Db::getInstance()->executeS('SELECT * FROM `'._DB_PREFIX_.'ebay_category` WHERE `id_category_ref` = `id_category_ref_parent`');
-
-
- // Display header
- $html = '
'.$this->l('To export your products on eBay, you have to associate each one of your shop categories to an eBay category. You can also define an impact of your price on eBay.').'
-
-
-
-
-
-
'.$this->l('Beware : Only product default categories are used for this configuration.').'
-
-
- * Certaines catégories bénéficient du nouveau format d’annonces multi-versions qui permet de publier 1 seule annonce pour plusieurs versions du même produit.
- Pour les catégories ne bénéficiant pas de ce format multi-versions, une annonce sera créée pour chaque version du produit.
- Cliquez ici pour plus d’informations sur les catégories multi-versions
-
-
- ';
-
-
- return $html;
- }
-
- private function _postValidationCategory()
- {
- }
-
- private function _postProcessCategory()
- {
- // Init Var
- $date = date('Y-m-d H:i:s');
- $services = Tools::getValue('service');
-
- if (Tools::getValue('action') == 'suggestCategories')
- {
- // Loading categories
- $ebay = new eBayRequest();
- $categoryConfigList = array();
- $categoryConfigListTmp = Db::getInstance()->executeS('SELECT * FROM `'._DB_PREFIX_.'ebay_category_configuration`');
- foreach ($categoryConfigListTmp as $c)
- $categoryConfigList[$c['id_category']] = $c;
- $categoryList = Db::getInstance()->executeS('SELECT `id_category`, `name` FROM `'._DB_PREFIX_.'category_lang` WHERE `id_lang` = '.(int)$this->id_lang.$this->context->shop->addSqlRestrictionOnLang('cl'));
-
- foreach ($categoryList as $k => $c)
- if (!isset($categoryConfigList[$c['id_category']]))
- {
- $productTest = Db::getInstance()->getRow('
- SELECT pl.`name`, pl.`description`
- FROM `'._DB_PREFIX_.'product` p LEFT JOIN `'._DB_PREFIX_.'product_lang` pl ON (pl.`id_product` = p.`id_product` AND pl.`id_lang` = '.(int)$this->id_lang.$this->context->shop->addSqlRestrictionOnLang('pl').')
- WHERE `id_category_default` = '.(int)$c['id_category']);
- $id_category_ref_suggested = $ebay->getSuggestedCategories($c['name'].' '.$productTest['name']);
- $id_ebay_category_suggested = Db::getInstance()->getValue('SELECT `id_ebay_category` FROM `'._DB_PREFIX_.'ebay_category` WHERE `id_category_ref` = '.(int)$id_category_ref_suggested);
- if ((int)$id_ebay_category_suggested > 0)
- Db::getInstance()->autoExecute(_DB_PREFIX_.'ebay_category_configuration', array('id_country' => 8, 'id_ebay_category' => (int)$id_ebay_category_suggested, 'id_category' => (int)$c['id_category'], 'percent' => 0, 'date_add' => pSQL($date), 'date_upd' => pSQL($date)), 'INSERT');
- }
-
- $this->_html .= $this->displayConfirmation($this->l('Settings updated'));
- return true;
- }
-
-
- // Sort post datas
- $postValue = array();
- foreach ($_POST as $k => $v)
- {
- if (strlen($k) > 8 && substr($k, 0, 8) == 'category')
- $postValue[substr($k, 8, strlen($k) - 8)]['id_ebay_category'] = $v;
- if (strlen($k) > 7 && substr($k, 0, 7) == 'percent')
- $postValue[substr($k, 7, strlen($k) - 7)]['percent'] = $v;
- }
-
- // Insert and update configuration
- foreach ($postValue as $id_category => $tab)
- {
- $arraySQL = array();
- $date = date('Y-m-d H:i:s');
- if ($tab['id_ebay_category'])
- $arraySQL = array('id_country' => 8, 'id_ebay_category' => (int)$tab['id_ebay_category'], 'id_category' => (int)$id_category, 'percent' => pSQL($tab['percent']), 'date_upd' => pSQL($date));
- $id_ebay_category_configuration = Db::getInstance()->getValue('SELECT `id_ebay_category_configuration` FROM `'._DB_PREFIX_.'ebay_category_configuration` WHERE `id_category` = '.(int)$id_category);
- if ($id_ebay_category_configuration > 0)
- {
- if ($arraySQL)
- Db::getInstance()->autoExecute(_DB_PREFIX_.'ebay_category_configuration', $arraySQL, 'UPDATE', '`id_category` = '.(int)$id_category);
- else
- Db::getInstance()->execute('DELETE FROM `'._DB_PREFIX_.'ebay_category_configuration` WHERE `id_category` = '.(int)$id_category);
- }
- elseif ($arraySQL)
- {
- $arraySQL['date_add'] = $date;
- Db::getInstance()->autoExecute(_DB_PREFIX_.'ebay_category_configuration', $arraySQL, 'INSERT');
- }
- }
-
- $this->_html .= $this->displayConfirmation($this->l('Settings updated'));
- }
-
-
-
- /******************************************************************/
- /** Template Manager Form Config Methods **************************/
- /******************************************************************/
-
- private function _displayFormTemplateManager()
- {
- // Check if the module is configured
- if (!Configuration::get('EBAY_PAYPAL_EMAIL'))
- return '
'.$this->l('You have to configure "General Settings" tab before using this tab.').'
';
-
- $iso = $context->language->iso_code;
- $isoTinyMCE = (file_exists(_PS_ROOT_DIR_.'/js/tiny_mce/langs/'.$iso.'.js') ? $iso : 'en');
- $ad = dirname($_SERVER["PHP_SELF"]);
-
- // Display Form
- $forbiddenJs = array('textarea', 'script', 'onmousedown', 'onmousemove', 'onmmouseup', 'onmouseover', 'onmouseout', 'onload', 'onunload', 'onfocus', 'onblur', 'onchange', 'onsubmit', 'ondblclick', 'onclick', 'onkeydown', 'onkeyup', 'onkeypress', 'onmouseenter', 'onmouseleave', 'onerror');
- $html = '
';
-
-
- return $html;
- }
-
- private function _postValidationTemplateManager()
- {
- }
-
- private function _postProcessTemplateManager()
- {
- // Saving new configurations
- if (Configuration::updateValue('EBAY_PRODUCT_TEMPLATE', Tools::getValue('ebay_product_template'), true))
- $this->_html .= $this->displayConfirmation($this->l('Settings updated'));
- else
- $this->_html .= $this->displayError($this->l('Settings failed'));
- }
-
-
-
- /******************************************************************/
- /** Ebay Sync Form Config Methods **************************/
- /******************************************************************/
-
- private function _displayFormEbaySync()
- {
- // Check if the module is configured
- if (!Configuration::get('EBAY_PAYPAL_EMAIL'))
- return '
'.$this->l('You have to configure "General Settings" tab before using this tab.').'
';
- if (Db::getInstance()->getValue('SELECT COUNT(`id_ebay_category_configuration`) as nb FROM `'._DB_PREFIX_.'ebay_category_configuration`') < 1)
- return '
'.$this->l('You have to configure "Categories Settings" tab before using this tab.').'
';
-
- $nbProductsModeA = Db::getInstance()->getValue('
- SELECT COUNT(`id_product`) as nb
- FROM `'._DB_PREFIX_.'product`
- WHERE `quantity` > 0 AND `active` = 1
- AND `id_category_default` IN (SELECT `id_category` FROM `'._DB_PREFIX_.'ebay_category_configuration` WHERE `id_ebay_category` > 0)');
- $nbProductsModeB = Db::getInstance()->getValue('
- SELECT COUNT(`id_product`) as nb
- FROM `'._DB_PREFIX_.'product`
- WHERE `quantity` > 0 AND `active` = 1
- AND `id_category_default` IN (SELECT `id_category` FROM `'._DB_PREFIX_.'ebay_category_configuration` WHERE `id_ebay_category` > 0 AND `sync` = 1)');
-
- $nbProducts = $nbProductsModeA;
- if (Configuration::get('EBAY_SYNC_MODE') == 'B')
- $nbProducts = $nbProductsModeB;
-
-
- // Display Form
- $html = '
-
-
-
-
-
';
-
-
- return $html;
- }
-
- private function _postValidationEbaySync()
- {
- }
-
- private function _postProcessEbaySync()
- {
- // Update Sync Option
- Configuration::updateValue('EBAY_SYNC_OPTION_RESYNC', (Tools::getValue('ebay_sync_option_resync') == 1 ? 1 : 0));
-
- // Empty error result
- Configuration::updateValue('EBAY_SYNC_LAST_PRODUCT', 0);
- @unlink(dirname(__FILE__).'/log/syncError.php');
-
- if ($_POST['ebay_sync_mode'] == 'A')
- {
- // Update Sync Mod
- Configuration::updateValue('EBAY_SYNC_MODE', 'A');
- }
- else
- {
- // Update Sync Mod
- Configuration::updateValue('EBAY_SYNC_MODE', 'B');
-
- // Select the sync Categories and Retrieve product list for eBay (which have matched and sync categories)
- Db::getInstance()->autoExecute(_DB_PREFIX_.'ebay_category_configuration', array('sync' => 0), 'UPDATE', '');
- foreach ($_POST['category'] as $id_category)
- Db::getInstance()->autoExecute(_DB_PREFIX_.'ebay_category_configuration', array('sync' => 1), 'UPDATE', '`id_category` = '.(int)$id_category);
- }
- }
-
- public function ajaxProductSync()
- {
- $whereOption1 = 'AND `id_product` NOT IN (SELECT `id_product` FROM `'._DB_PREFIX_.'ebay_product`)';
-
- if (Configuration::get('EBAY_SYNC_MODE') == 'A')
- {
- // Retrieve total nb products for eBay (which have matched categories)
- $nbProductsTotal = Db::getInstance()->getValue('
- SELECT COUNT(`id_product`)
- FROM `'._DB_PREFIX_.'product`
- WHERE `quantity` > 0 AND `active` = 1
- AND `id_category_default` IN (SELECT `id_category` FROM `'._DB_PREFIX_.'ebay_category_configuration` WHERE `id_category` > 0 AND `id_ebay_category` > 0)');
-
- // Retrieve products list for eBay (which have matched categories)
- $productsList = Db::getInstance()->executeS('
- SELECT `id_product` FROM `'._DB_PREFIX_.'product`
- WHERE `quantity` > 0 AND `active` = 1
- AND `id_category_default` IN (SELECT `id_category` FROM `'._DB_PREFIX_.'ebay_category_configuration` WHERE `id_category` > 0 AND `id_ebay_category` > 0)
- '.(Tools::getValue('option') == 1 ? $whereOption1 : '').'
- AND `id_product` > '.(int)Configuration::get('EBAY_SYNC_LAST_PRODUCT').'
- ORDER BY `id_product`
- LIMIT 1');
-
- // How Many Product Less ?
- $nbProductsLess = Db::getInstance()->getValue('
- SELECT COUNT(`id_product`) FROM `'._DB_PREFIX_.'product`
- WHERE `quantity` > 0 AND `active` = 1
- AND `id_category_default` IN (SELECT `id_category` FROM `'._DB_PREFIX_.'ebay_category_configuration` WHERE `id_category` > 0 AND `id_ebay_category` > 0)
- '.(Tools::getValue('option') == 1 ? $whereOption1 : '').'
- AND `id_product` > '.(int)Configuration::get('EBAY_SYNC_LAST_PRODUCT'));
- }
- else
- {
- // Retrieve total nb products for eBay (which have matched categories)
- $nbProductsTotal = Db::getInstance()->getValue('
- SELECT COUNT(`id_product`)
- FROM `'._DB_PREFIX_.'product`
- WHERE `quantity` > 0 AND `active` = 1
- AND `id_category_default` IN (SELECT `id_category` FROM `'._DB_PREFIX_.'ebay_category_configuration` WHERE `id_category` > 0 AND `id_ebay_category` > 0 AND `sync` = 1)');
-
- // Retrieve products list for eBay (which have matched categories)
- $productsList = Db::getInstance()->executeS('
- SELECT `id_product` FROM `'._DB_PREFIX_.'product`
- WHERE `quantity` > 0 AND `active` = 1
- AND `id_category_default` IN (SELECT `id_category` FROM `'._DB_PREFIX_.'ebay_category_configuration` WHERE `id_category` > 0 AND `id_ebay_category` > 0 AND `sync` = 1)
- '.(Tools::getValue('option') == 1 ? $whereOption1 : '').'
- AND `id_product` > '.(int)Configuration::get('EBAY_SYNC_LAST_PRODUCT').'
- ORDER BY `id_product`
- LIMIT 1');
-
- // How Many Product Less ?
- $nbProductsLess = Db::getInstance()->getValue('
- SELECT COUNT(`id_product`) FROM `'._DB_PREFIX_.'product`
- WHERE `quantity` > 0 AND `active` = 1
- AND `id_category_default` IN (SELECT `id_category` FROM `'._DB_PREFIX_.'ebay_category_configuration` WHERE `id_category` > 0 AND `id_ebay_category` > 0 AND `sync` = 1)
- '.(Tools::getValue('option') == 1 ? $whereOption1 : '').'
- AND `id_product` > '.(int)Configuration::get('EBAY_SYNC_LAST_PRODUCT'));
- }
-
- // Send each product on eBay
- if (count($productsList) >= 1)
- {
- // Save the last product
- Configuration::updateValue('EBAY_SYNC_LAST_PRODUCT', (int)$productsList[0]['id_product']);
-
- // Sync product
- $this->_syncProducts($productsList);
-
- echo 'KO|

Produits : '.($nbProductsTotal - $nbProductsLess + 1).' / '.$nbProductsTotal.'
';
- }
- else
- {
- echo 'OK|'.$this->displayConfirmation($this->l('Settings updated').' ('.$this->l('Option').' '.Configuration::get('EBAY_SYNC_MODE').' : '.($nbProductsTotal - $nbProductsLess).' / '.$nbProductsTotal.' '.$this->l('product(s) sync with eBay').')');
- if (file_exists(dirname(__FILE__).'/log/syncError.php'))
- {
- global $tab_error;
- include(dirname(__FILE__).'/log/syncError.php');
- foreach ($tab_error as $error)
- {
- $productsDetails = '
'.$this->l('Product(s) concerned').' :';
- foreach ($error['products'] as $product)
- $productsDetails .= '
- '.$product;
- echo $this->displayError($error['msg'].'
'.$productsDetails);
- }
- echo '';
- @unlink(dirname(__FILE__).'/log/syncError.php');
- }
- }
- }
-
- public function findIfCategoryParentIsMultiSku($id_category_ref)
- {
- $row = Db::getInstance()->getRow('SELECT `id_category_ref_parent`, `is_multi_sku` FROM `'._DB_PREFIX_.'ebay_category` WHERE `id_category_ref` = '.(int)$id_category_ref);
- if ($row['id_category_ref_parent'] != $id_category_ref)
- return $this->findIfCategoryParentIsMultiSku($row['id_category_ref_parent']);
- return $row['is_multi_sku'];
- }
-
- private function _syncProducts($productsList)
- {
- $fees = 0;
- $count = 0;
- $count_success = 0;
- $count_error = 0;
- $tab_error = array();
- $date = date('Y-m-d H:i:s');
- $ebay = new eBayRequest();
- $categoryDefaultCache = array();
-
- // Get errors back
- if (file_exists(dirname(__FILE__).'/log/syncError.php'))
- {
- global $tab_error;
- include(dirname(__FILE__).'/log/syncError.php');
- }
-
- // Up the time limit
- @set_time_limit(3600);
-
- // Run the products list
- foreach ($productsList as $p)
- {
- // Product instanciation
- $product = new Product((int)$p['id_product'], true, $this->id_lang);
- if (Validate::isLoadedObject($product) && $product->id_category_default > 0)
- {
- // Load default category matched in cache
- if (!isset($categoryDefaultCache[$product->id_category_default]))
- $categoryDefaultCache[$product->id_category_default] = Db::getInstance()->getRow('SELECT ec.`id_category_ref`, ec.`is_multi_sku`, ecc.`percent` FROM `'._DB_PREFIX_.'ebay_category` ec LEFT JOIN `'._DB_PREFIX_.'ebay_category_configuration` ecc ON (ecc.`id_ebay_category` = ec.`id_ebay_category`) WHERE ecc.`id_category` = '.(int)$product->id_category_default);
- if ($categoryDefaultCache[$product->id_category_default]['is_multi_sku'] != 1)
- $categoryDefaultCache[$product->id_category_default]['is_multi_sku'] = $this->findIfCategoryParentIsMultiSku($categoryDefaultCache[$product->id_category_default]['id_category_ref']);
-
- // Load Pictures
- $pictures = array();
- $picturesMedium = array();
- $picturesLarge = array();
- $prefix = (substr(_PS_VERSION_, 0, 3) == '1.3' ? 'http://'.Configuration::get('PS_SHOP_DOMAIN').'/' : '');
- $images = $product->getImages($this->id_lang);
- foreach ($images as $image)
- {
- $pictures[] = str_replace('https://', 'http://', $prefix.$this->context->link->getImageLink('ebay', $product->id.'-'.$image['id_image'], 'large'));
- $picturesMedium[] = str_replace('https://', 'http://', $prefix.$this->context->link->getImageLink('ebay', $product->id.'-'.$image['id_image'], 'medium'));
- $picturesLarge[] = str_replace('https://', 'http://', $prefix.$this->context->link->getImageLink('ebay', $product->id.'-'.$image['id_image'], 'large'));
- }
-
- // Load Variations
- $variations = array();
- $variationsList = array();
- $combinations = $product->getAttributeCombinaisons($this->id_lang);
- if (isset($combinations))
- foreach ($combinations as $c)
- {
- $variationsList[$c['group_name']][$c['attribute_name']] = 1;
- $variations[$c['id_product'].'-'.$c['id_product_attribute']]['id_attribute'] = $c['id_product_attribute'];
- $variations[$c['id_product'].'-'.$c['id_product_attribute']]['reference'] = $c['reference'];
- $variations[$c['id_product'].'-'.$c['id_product_attribute']]['quantity'] = $c['quantity'];
- $variations[$c['id_product'].'-'.$c['id_product_attribute']]['variations'][] = array('name' => $c['group_name'], 'value' => $c['attribute_name']);
- $variations[$c['id_product'].'-'.$c['id_product_attribute']]['price_static'] = Product::getPriceStatic((int)$c['id_product'], true, (int)$c['id_product_attribute']);
-
- $price = $variations[$c['id_product'].'-'.$c['id_product_attribute']]['price_static'];
- $price_original = $price;
- if ($categoryDefaultCache[$product->id_category_default]['percent'] > 0)
- $price *= (1 + ($categoryDefaultCache[$product->id_category_default]['percent'] / 100));
- else if ($categoryDefaultCache[$product->id_category_default]['percent'] < 0)
- $price *= (1 - ($categoryDefaultCache[$product->id_category_default]['percent'] / (-100)));
-
- $variations[$c['id_product'].'-'.$c['id_product_attribute']]['price'] = round($price, 2);
- if ($categoryDefaultCache[$product->id_category_default]['percent'] < 0)
- {
- $variations[$c['id_product'].'-'.$c['id_product_attribute']]['price_original'] = round($price_original, 2);
- $variations[$c['id_product'].'-'.$c['id_product_attribute']]['price_percent'] = round($categoryDefaultCache[$product->id_category_default]['percent']);
- }
- }
-
- // Load Variations Pictures
- $combinationsImages = $product->getCombinationImages(2);
- if (isset($combinationsImages) && !empty($combinationsImages) && count($combinationsImages) > 0)
- foreach ($combinationsImages as $ci)
- foreach ($ci as $i)
- $variations[$product->id.'-'.$i['id_product_attribute']]['pictures'][] = $prefix.$this->context->link->getImageLink('', $product->id.'-'.$i['id_image'], NULL);
-
-
- // Load basic price
- $price = Product::getPriceStatic((int)$product->id, true);
- $price_original = $price;
- if ($categoryDefaultCache[$product->id_category_default]['percent'] > 0)
- $price *= (1 + ($categoryDefaultCache[$product->id_category_default]['percent'] / 100));
- else if ($categoryDefaultCache[$product->id_category_default]['percent'] < 0)
- $price *= (1 - ($categoryDefaultCache[$product->id_category_default]['percent'] / (-100)));
- $price = round($price, 2);
-
-
- // Loading Shipping Method
- if (!isset($this->_shippingMethod[Configuration::get('EBAY_SHIPPING_CARRIER_ID')]['shippingService']))
- $this->loadShippingMethod();
-
-
- // Generate array and try insert in database
- $datas = array(
- 'id_product' => $product->id,
- 'reference' => $product->reference,
- 'name' => str_replace('&', '&', $product->name),
- 'brand' => $product->manufacturer_name,
- 'description' => $product->description,
- 'description_short' => $product->description_short,
- 'price' => $price,
- 'quantity' => $product->quantity,
- 'categoryId' => $categoryDefaultCache[$product->id_category_default]['id_category_ref'],
- 'shippingService' => $this->_shippingMethod[Configuration::get('EBAY_SHIPPING_CARRIER_ID')]['shippingService'],
- 'shippingCost' => Configuration::get('EBAY_SHIPPING_COST'),
- 'variationsList' => $variationsList,
- 'variations' => $variations,
- 'pictures' => $pictures,
- 'picturesMedium' => $picturesMedium,
- 'picturesLarge' => $picturesLarge,
- );
-
- // Fix hook update product
- if (isset($this->context->employee) && $this->context->employee->id > 0 && isset($_POST['submitProductAttribute']) && isset($_POST['id_product_attribute']) && isset($_POST['attribute_mvt_quantity']) && isset($_POST['id_mvt_reason']))
- {
- if (substr(_PS_VERSION_, 0, 3) == '1.3')
- {
- $id_product_attribute_fix = (int)$_POST['id_product_attribute'];
- $quantity_fix = (int)$_POST['attribute_quantity'];
- if ($id_product_attribute_fix > 0 && $quantity_fix > 0 && isset($datas['variations'][$product->id.'-'.$id_product_attribute_fix]['quantity']))
- $datas['variations'][$product->id.'-'.$id_product_attribute_fix]['quantity'] = (int)$quantity_fix;
- }
- else
- {
- $action = Db::getInstance()->getValue('SELECT `sign` FROM `'._DB_PREFIX_.'stock_mvt_reason` WHERE `id_stock_mvt_reason` = '.(int)$_POST['id_mvt_reason']);
- $id_product_attribute_fix = (int)$_POST['id_product_attribute'];
- $quantity_fix = (int)$_POST['attribute_mvt_quantity'];
- if ($id_product_attribute_fix > 0 && $quantity_fix > 0 && isset($datas['variations'][$product->id.'-'.$id_product_attribute_fix]['quantity']))
- {
- if ($action > 0)
- $datas['variations'][$product->id.'-'.$id_product_attribute_fix]['quantity'] += (int)$quantity_fix;
- if ($action < 0)
- $datas['variations'][$product->id.'-'.$id_product_attribute_fix]['quantity'] -= (int)$quantity_fix;
- }
- }
- }
-
- // Price Update
- if (isset($p['noPriceUpdate']))
- $datas['noPriceUpdate'] = $p['noPriceUpdate'];
-
- // Save percent and price discount
- if ($categoryDefaultCache[$product->id_category_default]['percent'] < 0)
- {
- $datas['price_original'] = round($price_original, 2);
- $datas['price_percent'] = round($categoryDefaultCache[$product->id_category_default]['percent']);
- }
-
-
- // Load eBay Description
- $features = $product->getFrontFeatures((int)($this->id_lang));
- $featuresHtml = '';
- if (isset($features))
- foreach ($features as $f)
- $featuresHtml .= '
'.$f['name'].' : '.$f['value'].'
';
- $datas['description'] = str_replace(
- array('{DESCRIPTION_SHORT}', '{DESCRIPTION}', '{FEATURES}', '{EBAY_IDENTIFIER}', '{EBAY_SHOP}', '{SLOGAN}', '{PRODUCT_NAME}'),
- array($datas['description_short'], $datas['description'], $featuresHtml, Configuration::get('EBAY_IDENTIFIER'), Configuration::get('EBAY_SHOP'), '', $product->name),
- Configuration::get('EBAY_PRODUCT_TEMPLATE')
- );
-
-
- // Export on eBay
- if (count($datas['variations']) > 0)
- {
- // Variations Case
- if ($categoryDefaultCache[$product->id_category_default]['is_multi_sku'] == 1)
- {
- // Load eBay Description
- $datas['description'] = str_replace(
- array('{MAIN_IMAGE}', '{MEDIUM_IMAGE_1}', '{MEDIUM_IMAGE_2}', '{MEDIUM_IMAGE_3}', '{PRODUCT_PRICE}', '{PRODUCT_PRICE_DISCOUNT}'),
- array(
- (isset($datas['picturesLarge'][0]) ? '

' : ''),
- (isset($datas['picturesMedium'][1]) ? '

' : ''),
- (isset($datas['picturesMedium'][2]) ? '

' : ''),
- (isset($datas['picturesMedium'][3]) ? '

' : ''),
- '',
- ''
- ),
- $datas['description']
- );
-
- // Multi Sku case
- // Check if product exists on eBay
- $itemID = Db::getInstance()->getValue('SELECT `id_product_ref` FROM `'._DB_PREFIX_.'ebay_product` WHERE `id_product` = '.(int)$product->id);
- if ($itemID)
- {
- // Update
- $datas['itemID'] = $itemID;
- if ($ebay->reviseFixedPriceItemMultiSku($datas))
- Db::getInstance()->autoExecute(_DB_PREFIX_.'ebay_product', array('date_upd' => pSQL($date)), 'UPDATE', '`id_product_ref` = '.(int)$itemID);
-
- // if product not on eBay we add it
- if ($ebay->errorCode == 291)
- {
- // We delete from DB and Add it on eBay
- Db::getInstance()->execute('DELETE FROM `'._DB_PREFIX_.'ebay_product` WHERE `id_product_ref` = \''.pSQL($datas['itemID']).'\'');
- $ebay->addFixedPriceItemMultiSku($datas);
- if ($ebay->itemID > 0)
- Db::getInstance()->autoExecute(_DB_PREFIX_.'ebay_product', array('id_country' => 8, 'id_product' => (int)$product->id, 'id_attribute' => 0, 'id_product_ref' => pSQL($ebay->itemID), 'date_add' => pSQL($date), 'date_upd' => pSQL($date)), 'INSERT');
- }
- }
- else
- {
- // Add
- $ebay->addFixedPriceItemMultiSku($datas);
- if ($ebay->itemID > 0)
- Db::getInstance()->autoExecute(_DB_PREFIX_.'ebay_product', array('id_country' => 8, 'id_product' => (int)$product->id, 'id_attribute' => 0, 'id_product_ref' => pSQL($ebay->itemID), 'date_add' => pSQL($date), 'date_upd' => pSQL($date)), 'INSERT');
- }
- }
- else
- {
- // No Multi Sku case
- foreach ($datas['variations'] as $v)
- {
- $datasTmp = $datas;
- if (isset($v['pictures']) && count($v['pictures']) > 0)
- $datasTmp['pictures'] = $v['pictures'];
- if (isset($v['picturesMedium']) && count($v['picturesMedium']) > 0)
- $datasTmp['picturesMedium'] = $v['picturesMedium'];
- if (isset($v['picturesLarge']) && count($v['picturesLarge']) > 0)
- $datasTmp['picturesLarge'] = $v['picturesLarge'];
- foreach ($v['variations'] as $vLabel)
- {
- $datasTmp['name'] .= ' '.$vLabel['value'];
- $datasTmp['attributes'][$vLabel['name']] = $vLabel['value'];
- }
- $datasTmp['price'] = $v['price'];
- if (isset($v['price_original']))
- {
- $datasTmp['price_original'] = $v['price_original'];
- $datasTmp['price_percent'] = $v['price_percent'];
- }
- $datasTmp['quantity'] = $v['quantity'];
- $datasTmp['id_attribute'] = $v['id_attribute'];
- unset($datasTmp['variations']);
- unset($datasTmp['variationsList']);
-
- // Load eBay Description
- $datasTmp['description'] = str_replace(
- array('{MAIN_IMAGE}', '{MEDIUM_IMAGE_1}', '{MEDIUM_IMAGE_2}', '{MEDIUM_IMAGE_3}', '{PRODUCT_PRICE}', '{PRODUCT_PRICE_DISCOUNT}'),
- array(
- (isset($datasTmp['picturesLarge'][0]) ? '

' : ''),
- (isset($datasTmp['picturesMedium'][1]) ? '

' : ''),
- (isset($datasTmp['picturesMedium'][2]) ? '

' : ''),
- (isset($datasTmp['picturesMedium'][3]) ? '

' : ''),
- Tools::displayPrice($datasTmp['price']),
- (isset($datasTmp['price_original']) ? 'au lieu de
'.Tools::displayPrice($datasTmp['price_original']).' (remise de '.round($datasTmp['price_percent']).'%)' : ''),
- ),
- $datas['description']
- );
-
- $datasTmp['id_product'] = (int)$product->id.'-'.(int)$datasTmp['id_attribute'];
-
- // Check if product exists on eBay
- $itemID = Db::getInstance()->getValue('SELECT `id_product_ref` FROM `'._DB_PREFIX_.'ebay_product` WHERE `id_product` = '.(int)$product->id.' AND `id_attribute` = '.(int)$datasTmp['id_attribute']);
- if ($itemID)
- {
- // Get Item ID
- $datasTmp['itemID'] = $itemID;
-
- // Delete or Update
- if ($datasTmp['quantity'] < 1)
- {
- // Delete
- if ($ebay->endFixedPriceItem($datasTmp))
- Db::getInstance()->execute('DELETE FROM `'._DB_PREFIX_.'ebay_product` WHERE `id_product_ref` = \''.pSQL($datasTmp['itemID']).'\'');
- }
- else
- {
- // Update
- if ($ebay->reviseFixedPriceItem($datasTmp))
- Db::getInstance()->autoExecute(_DB_PREFIX_.'ebay_product', array('date_upd' => pSQL($date)), 'UPDATE', '`id_product_ref` = '.(int)$itemID);
-
- // if product not on eBay we add it
- if ($ebay->errorCode == 291)
- {
- // We delete from DB and Add it on eBay
- Db::getInstance()->execute('DELETE FROM `'._DB_PREFIX_.'ebay_product` WHERE `id_product_ref` = \''.pSQL($datasTmp['itemID']).'\'');
- $ebay->addFixedPriceItem($datasTmp);
- if ($ebay->itemID > 0)
- Db::getInstance()->autoExecute(_DB_PREFIX_.'ebay_product', array('id_country' => 8, 'id_product' => (int)$product->id, 'id_attribute' => (int)$datasTmp['id_attribute'], 'id_product_ref' => pSQL($ebay->itemID), 'date_add' => pSQL($date), 'date_upd' => pSQL($date)), 'INSERT');
- }
- }
- }
- else
- {
- // Add
- $ebay->addFixedPriceItem($datasTmp);
- if ($ebay->itemID > 0)
- Db::getInstance()->autoExecute(_DB_PREFIX_.'ebay_product', array('id_country' => 8, 'id_product' => (int)$product->id, 'id_attribute' => (int)$datasTmp['id_attribute'], 'id_product_ref' => pSQL($ebay->itemID), 'date_add' => pSQL($date), 'date_upd' => pSQL($date)), 'INSERT');
- }
- }
- }
- }
- else
- {
- // No variations case
-
- // Load eBay Description
- $datas['description'] = str_replace(
- array('{MAIN_IMAGE}', '{MEDIUM_IMAGE_1}', '{MEDIUM_IMAGE_2}', '{MEDIUM_IMAGE_3}', '{PRODUCT_PRICE}', '{PRODUCT_PRICE_DISCOUNT}'),
- array(
- (isset($datas['picturesLarge'][0]) ? '

' : ''),
- (isset($datas['picturesMedium'][1]) ? '

' : ''),
- (isset($datas['picturesMedium'][2]) ? '

' : ''),
- (isset($datas['picturesMedium'][3]) ? '

' : ''),
- Tools::displayPrice($datas['price']),
- (isset($datas['price_original']) ? 'au lieu de
'.Tools::displayPrice($datas['price_original']).' (remise de '.round($datas['price_percent']).'%)' : ''),
- ),
- $datas['description']
- );
-
- // Check if product exists on eBay
- $itemID = Db::getInstance()->getValue('SELECT `id_product_ref` FROM `'._DB_PREFIX_.'ebay_product` WHERE `id_product` = '.(int)$product->id);
-
- if ($itemID)
- {
- // Get Item ID
- $datas['itemID'] = $itemID;
-
- // Delete or Update
- if ($datas['quantity'] < 1)
- {
- // Delete
- if ($ebay->endFixedPriceItem($datas))
- Db::getInstance()->execute('DELETE FROM `'._DB_PREFIX_.'ebay_product` WHERE `id_product_ref` = \''.pSQL($datas['itemID']).'\'');
- }
- else
- {
- // Update
- if ($ebay->reviseFixedPriceItem($datas))
- Db::getInstance()->autoExecute(_DB_PREFIX_.'ebay_product', array('date_upd' => pSQL($date)), 'UPDATE', '`id_product_ref` = '.(int)$itemID);
-
- // if product not on eBay we add it
- if ($ebay->errorCode == 291)
- {
- // We delete from DB and Add it on eBay
- Db::getInstance()->execute('DELETE FROM `'._DB_PREFIX_.'ebay_product` WHERE `id_product_ref` = \''.pSQL($datas['itemID']).'\'');
- $ebay->addFixedPriceItem($datas);
- if ($ebay->itemID > 0)
- Db::getInstance()->autoExecute(_DB_PREFIX_.'ebay_product', array('id_country' => 8, 'id_product' => (int)$product->id, 'id_attribute' => 0, 'id_product_ref' => pSQL($ebay->itemID), 'date_add' => pSQL($date), 'date_upd' => pSQL($date)), 'INSERT');
- }
- }
- }
- else
- {
- // Add
- $ebay->addFixedPriceItem($datas);
- if ($ebay->itemID > 0)
- Db::getInstance()->autoExecute(_DB_PREFIX_.'ebay_product', array('id_country' => 8, 'id_product' => (int)$product->id, 'id_attribute' => 0, 'id_product_ref' => pSQL($ebay->itemID), 'date_add' => pSQL($date), 'date_upd' => pSQL($date)), 'INSERT');
- }
- }
-
-
-
- // Check error
- if (!empty($ebay->error))
- {
- $tab_error[md5($ebay->error)]['msg'] = $ebay->error;
- if (!isset($tab_error[md5($ebay->error)]['products']))
- $tab_error[md5($ebay->error)]['products'] = array();
- if (count($tab_error[md5($ebay->error)]['products']) < 10)
- $tab_error[md5($ebay->error)]['products'][] = $datas['name'];
- if (count($tab_error[md5($ebay->error)]['products']) == 10)
- $tab_error[md5($ebay->error)]['products'][] = '...';
- $count_error++;
- }
- else
- $count_success++;
- $count++;
- }
- }
-
- if ($count_error > 0)
- file_put_contents(dirname(__FILE__).'/log/syncError.php', '');
- }
-
-
-
-
- /******************************************************************/
- /** Orders History Methods *******************************************/
- /******************************************************************/
-
- private function _displayOrdersHistory()
- {
- // Check if the module is configured
- if (!Configuration::get('EBAY_PAYPAL_EMAIL'))
- return '
'.$this->l('You have to configure "General Settings" tab before using this tab.').'
';
-
-
- $dateLastImport = '-';
- if (file_exists(dirname(__FILE__).'/log/orders.php'))
- include(dirname(__FILE__).'/log/orders.php');
- $html = '
'.$this->l('Last orders Importation').' :
'.$dateLastImport.'
-
'.$this->l('Orders History').' :
';
-
- if (isset($orderList) && count($orderList) > 0)
- foreach ($orderList as $order)
- {
- $html .= '
-
- '.$this->l('Order Ref eBay').' : '.$order['id_order_ref'].'
- '.$this->l('Id Order Seller').' : '.$order['id_order_seller'].'
- '.$this->l('Amount').' : '.$order['amount'].'
- '.$this->l('Status').' : '.$order['status'].'
- '.$this->l('Date').' : '.$order['date'].'
- '.$this->l('E-mail').' : '.$order['email'].'
- '.$this->l('Products').' :
';
- if (isset($order['product_list']) && count($order['product_list']) > 0)
- {
- $html .= '
- | '.$this->l('Id Product').' |
- '.$this->l('Id Product Attribute').' |
- '.$this->l('Quantity').' | '.$this->l('Price').' |
';
- foreach ($order['product_list'] as $product)
- $html .= '| '.$product['id_product'].' |
- '.$product['id_product'].' |
- '.$product['quantity'].' |
- '.$product['price'].' |
';
- $html .= '
';
- }
- if (isset($order['errors']) && count($order['errors']) > 0)
- {
- $html .= '
'.$this->l('Status Import').' : KO
';
- $html .= '
'.$this->l('Failure details').' :';
- foreach ($order['errors'] as $error)
- $html .= $error.'t
';
- }
- else
- $html .= '
'.$this->l('Status Import').' : OK';
- $html .= '
';
- }
-
-
- return $html;
- }
-
-
-
- /******************************************************************/
- /** Help Config Methods *******************************************/
- /******************************************************************/
-
- private function _displayHelp()
- {
- return '
Si vous avez des suggestions sur le module eBay, veuillez les postez sur le Forum http://www.prestashop.com/forums/viewforum/134/ebay/
-
-
Sommaire
-
-
- - S’inscrire en tant que vendeur professionnel
- - Vérification du statut de professionnel
- - Lier son compte PayPal à son compte eBay
- - Configurer son compte vendeur et sa boutique eBay
-
-
-
-
-
-
-
-
-
-
-
-
-
Comment se lancer sur eBay ?
-
Plus d’infos et tous les liens sur www.inscriptionpro.com
-
-
4 Etapes pour s’inscrire sur eBay
-
A noter : dès votre inscription en tant que professionnel sur eBay.fr, vous recevrez automatiquement un email (dans les 48h) de notre service dédié à l’intégration afin de vous aider dans cette démarche.
- Vous pouvez contacter directement notre service “Inscription Pro� par email : inscriptionpro@ebay.com
-
-
-
-
L’inscription se fait directement sur eBay.fr via un formulaire. Choisissez un pseudo, un mot de passe, saisissez vos informations personnelles (adresse, téléphone…) et le tour est joué.
-
-
-
-
Envoyez à notre service clients les documents justifiant votre statut professionnel.
-
-
-
-
Si vous n’avez pas de compte PayPal Business, il faut d’abord vous en créer un directement sur le site de PayPal : créez votre compte PayPal business
- Si vous avez déjà un compte PayPal, liez-le à votre compte eBay pour recevoir les paiements des acheteurs et payer automatiquement les frais eBay.
-
-
-
-
-
-
-
Vous n’avez plus qu’à mettre en ligne vos produits avec le module eBay de Prestashop !
-
-
-
-
-
-
-
-
Le module eBay de Prestashop : comment ça marche ?
-
-
1) Onglet « Paramètres »
-
Cette section est à configurer lors de la première utilisation du module.
Vous devez définir votre compte PayPal comme moyen de paiement de produits sur eBay en renseignant l’email que vous utilisez pour votre compte PayPal.
Si vous n’en avez pas, vous devez souscrire à un compte PayPal Business.
Vous devez définir le moyen et les frais de livraison qui seront appliqués à vos produits sur eBay.
-
-
-
2) Onglet « Configuration des catégories »
-
Avant de publier vos produits sur eBay, vous devez associer les catégories de produits de votre boutique Prestashop avec celles d’eBay. Vous pouvez également choisir de vendre les produits de votre boutique Prestashop à un prix différent sur eBay. Cet impact sur le prix est défini en %.
-
NB : Certaines catégories bénéficient du nouveau format d’annonce multi-versions.
-
-
-
3) Onglet « Template de la fiche produit »
-
Afin d’optimiser le design de vos fiches produits sur eBay, vous pouvez personnaliser le header et le footer de vos annonces en créant un template qui s’appliquera à l’ensemble de vos produits sur eBay. En designant vos annonces selon votre charte graphique (logo, couleurs…), vous développez votre notoriété et votre visibilité sur eBay. De plus, un template d’annonce bien travaillé et présenté de manière agréable et professionnelle fait souvent la différence auprès des acheteurs.
-
-
-
4) Onglet « Mise en ligne des produits »
-
Cette section vous permet de mettre effectivement en ligne vos produits sur eBay. Vous avez le choix de placer la totalité des produits de votre boutique Prestashop sur eBay (option recommandée) ou seulement certaines catégories.
-
Rappel : Si vous avez une Boutique eBay, vous ne paierez aucun frais d’insertion pour mettre vos produits en ligne sur eBay.
-
-
-
-
-
-
-
-
-
Conseils & astuces pour bien vendre sur eBay.fr
-
-
Conseil N°1 : Avoir une bonne fiche produit
-
Sur eBay, comme ailleurs, il faut soigner la présentation de ses produits sous peine de ne pas atteindre le niveau de ventes attendu. Un produit mal photographié et mal décrit ne se vendra pas. Il y a donc certaines normes à respecter avant de mettre en ligne ses produits sur eBay.fr. Cela vous permettra de bénéficier d’un bon référencement de vos produits sur eBay, d’optimiser vos ventes et ainsi de développer d’une visibilité optimale.
-
- - Titre (champ limité à 55 caractères)
Un bon titre doit obligatoirement comporter ces informations : Type de produit > Modèle > Caractéristiques importantes > Marque
Il doit également utiliser des mots clés pertinents : déterminer préalablement les mots clés les plus recherchés par les utilisateurs
A EVITER : abréviations, titre coupé car dépassant 55 caractères, références techniques trop poussées, ponctuation…
- - Attributs spécifiques
Renseigner la totalité des attributs produits car ils sont pris en compte par les filtres de recherche et peuvent, par leur absence, exclure vos produits des résultats de recherche.
- - Prix & frais de port
Le prix de vos objets, ainsi que vos frais de port, doivent être adaptés à l’offre générale présente sur eBay sous peine de vous voir pénaliser dans l’algorithme de recherche.
La gratuité des frais de port (frais de port inclus) permet de bénéficier d’une visibilité privilégiée dans les pages de résultats.
- - Description / détails du produit
La description de vos produits doit être claire et précise, elle doit mentionner les caractéristiques clés de vos produits, les garanties, indiquer clairement les conditions et modalités de livraison et de retour. Enfin une annonce doit être mise en forme de manière attractive (images, logos…) et adaptée à votre communication en tant que vendeur.
- - Qualité des photos
3 photos minimum (1 principale + 2 dans la description), elles doivent être de bonne qualité et sur fond blanc. Photos des détails si nécessaire. Les photos en disent autant qu’une belle description et constituent un élément important dans la décision de l’acheteur.
-
-
-
-
Conseil N°2 : Avoir un bon profil vendeur
-
eBay est la seule place de marché en France à vous donner la propriété du client. Vous êtes donc responsable de la relation client avec vos acheteurs qui vous évaluent en tant que vendeur. Pour avoir donc un bon profil vendeur, de bonnes évaluations et ainsi augmentez la confiance de vos acheteurs, il vous faut évidemment remplir vos obligations de vendeur mais aussi soigner votre relation client.
-
Vous devez avoir un objectif en taux de satisfaction (évaluations) de votre profil vendeur de minimum 4.8/5.
Cette notation influence beaucoup le référencement de vos annonces dans eBay.
Voici comment les 4 critères sur lesquels vous devez soigner votre niveau de service client pour atteindre cet objectif de 4.8 de taux de satisfaction sur votre profil vendeur :
-
- - Objet conforme à la description de l’annonce : cf. Conseil N°1 Description produit
- - Communication : réponse rapide aux questions pré ET post-ventes (Messages dans « Mon eBay »)
- - Délai de livraison : assurer un service de livraison entre 48 et 72h maximum. Attention à la gestion des stocks (délai à rallonge avec un produit indisponible)
- - Frais de port : la gratuité des frais de port permet d’obtenir 5/5 à ce critère
-
-
-
NB : L’outil « Gestionnaire de Ventes Pro » vous permet d’automatiser un certain nombre de ses tâches de relation client et ainsi de vous faire gagner du temps.
Souscrire au Gestionnaire de ventes Pro
';
- }
-
- public function displayInfoByCart()
- {
- }
-
- private function _displayFormProduct() { }
- private function _displayFormAssociation() { }
-
-}
-
-
diff --git a/modules/ebay/es.php b/modules/ebay/es.php
deleted file mode 100644
index 6f3e9c89a..000000000
--- a/modules/ebay/es.php
+++ /dev/null
@@ -1,80 +0,0 @@
-ebay_282539987a2276dd5259f8e745d668a1'] = 'eBay';
-$_MODULE['<{ebay}prestashop>ebay_1179327c010f54ade46baea3c3b0ceec'] = 'Abra su tienda en el mercado de eBay!';
-$_MODULE['<{ebay}prestashop>ebay_6fecf5a008d74051f0e8aae985b37aa6'] = 'El módulo de eBay sólo funciona de momento para eBay.fr';
-$_MODULE['<{ebay}prestashop>ebay_8acabcc788c316f92b7850c76265b49b'] = 'Debe habilitar la extensión cURL y la opción allow_url_fopen en el servidor si desea utilizar este módulo.';
-$_MODULE['<{ebay}prestashop>ebay_d591cbc447d01e5a6165096ebfdf804e'] = 'Debe habilitar la extensión cURL en el servidor si desea utilizar este módulo.';
-$_MODULE['<{ebay}prestashop>ebay_1b18bd5d9d85f4f667614345ee20e3b2'] = 'Debe habilitar la opción allow_url_fopen en el servidor si desea utilizar este módulo.';
-$_MODULE['<{ebay}prestashop>ebay_8e64bc164aee46723ed2d70273c6f8ab'] = 'Debe registrar su módulo en eBay.';
-$_MODULE['<{ebay}prestashop>ebay_98f54d8bba6523829eeb8fd7ab9a2088'] = '¿Desea continuar?';
-$_MODULE['<{ebay}prestashop>ebay_2e4f4d8b849fb72905addc231d160e8b'] = 'Estado del módulo eBay';
-$_MODULE['<{ebay}prestashop>ebay_85f9d92e0551772437b934b7222d63cb'] = '¡El módulo de eBay está configurado y en línea!';
-$_MODULE['<{ebay}prestashop>ebay_090bcb46805aadf384074d380b4c78c8'] = 'El módulo de eBay no está configurado todavía, usted debe:';
-$_MODULE['<{ebay}prestashop>ebay_9a5c99bf25e84cd8fe7c500f7ec698f2'] = 'Registrar el módulo en eBay';
-$_MODULE['<{ebay}prestashop>ebay_f09ea5dca3d187c50a634239778a5a3c'] = 'Permitir URL fopen';
-$_MODULE['<{ebay}prestashop>ebay_c7760f2c36d4e647e8a254cef51cbae8'] = 'Activar cURL';
-$_MODULE['<{ebay}prestashop>ebay_16bfbf9c462762cf1cba4134ec53c504'] = 'Cargar';
-$_MODULE['<{ebay}prestashop>ebay_b383064f397ca4f9de45a6dadc6a07a1'] = 'Una vez que se accede desde la ventana de eBay , el módulo automáticamente terminará la instalación unos segundos más tarde';
-$_MODULE['<{ebay}prestashop>ebay_d9334a0c5b4432b2ad87fb9c90e9f44c'] = 'Debe indicar su seudónimo de eBay';
-$_MODULE['<{ebay}prestashop>ebay_4285b577739883af893c3b1320690b70'] = 'Pulse en el botón de abajo';
-$_MODULE['<{ebay}prestashop>ebay_7ba7cc1dfb00eca77b600084f4ba1304'] = 'ID de usuario de eBay';
-$_MODULE['<{ebay}prestashop>ebay_3225a10b07f1580f10dee4abc3779e6c'] = 'Parámetros';
-$_MODULE['<{ebay}prestashop>ebay_dc2f736ed903b4f6f72a36b763cd7717'] = 'Configuración de las categorías';
-$_MODULE['<{ebay}prestashop>ebay_0f5f872ba4c6575319e6beee6ebcc481'] = 'Plantilla de la ficha productos';
-$_MODULE['<{ebay}prestashop>ebay_47ba6504eb5b1e3a95ea3dbd960904db'] = 'eBay Sync';
-$_MODULE['<{ebay}prestashop>ebay_6a26f548831e6a8c26bfbbd9f6ec61e0'] = 'Ayuda';
-$_MODULE['<{ebay}prestashop>ebay_e5beb503fe9553f0ed5be3c324fc9cb7'] = 'Para exportar sus productos en eBay, tiene que crear una cuenta pro en eBay (ver ayuda) y configurar el módulo de eBay-Prestashop.';
-$_MODULE['<{ebay}prestashop>ebay_230b8b5e65ef7731d72a42b1ddb0293f'] = 'Identificador de eBay';
-$_MODULE['<{ebay}prestashop>ebay_ad44bf098615279532ded210754420d4'] = 'Sus productos en eBay';
-$_MODULE['<{ebay}prestashop>ebay_5d8ae2a94331ebbfe854eea0274e939c'] = 'Su identificador de eBay';
-$_MODULE['<{ebay}prestashop>ebay_4b9f5155cc88fe352fbf202a3ba57f04'] = 'tienda eBay ';
-$_MODULE['<{ebay}prestashop>ebay_3e0fb5fcfe85cdf0f83fefe3530d13f4'] = 'Su tienda en eBay';
-$_MODULE['<{ebay}prestashop>ebay_97b4fc969316e8d08c1b0bb1f0b05fbd'] = 'Su nombre de la tienda eBay';
-$_MODULE['<{ebay}prestashop>ebay_1734acc41e3889028ca0f0d13ef5bc93'] = 'Identificador Paypal (correo electrónico)';
-$_MODULE['<{ebay}prestashop>ebay_4883ffdb0b673bdd200f3d96709c26f5'] = 'Tiene que indicar su cuenta de correo electrónico PayPal, es el único modo de pago disponible con este módulo';
-$_MODULE['<{ebay}prestashop>ebay_83d893ae1e34a74ab9a068e1d190c764'] = 'Método de envío';
-$_MODULE['<{ebay}prestashop>ebay_3d346df981cf71d3a81b57c1af58f1f4'] = 'Gastos de envío para los productos en eBay';
-$_MODULE['<{ebay}prestashop>ebay_552a0d8c17d95d5dbdc0c28217024f5a'] = 'Gastos de envío';
-$_MODULE['<{ebay}prestashop>ebay_ce178f4fe9684e5786aff36ab3cf81f6'] = 'Código postal';
-$_MODULE['<{ebay}prestashop>ebay_bb9a2f66fc726c85e45c8ddc93297ab9'] = 'Código postal de su tienda';
-$_MODULE['<{ebay}prestashop>ebay_c9cc8cce247e49bae79f15173ce97354'] = 'guardar';
-$_MODULE['<{ebay}prestashop>ebay_153e4104f5a42e006735dd85847760b1'] = 'Cargando categorías';
-$_MODULE['<{ebay}prestashop>ebay_123b3c98806c47a9bfa5fc7480e5327b'] = 'El identificador de su cuenta de eBay no se ha especificado o no es válido';
-$_MODULE['<{ebay}prestashop>ebay_179d471a6a534b682050411984ea1c05'] = 'Su cuenta de correo electrónico Paypal no se ha especificado o no es válida';
-$_MODULE['<{ebay}prestashop>ebay_d0f2d9c05a3140a5fc81fd0cb6b330e2'] = 'Los gastos de envío no se han especificado o no son válidos';
-$_MODULE['<{ebay}prestashop>ebay_458d329d5eb1caf63615141fb51e8329'] = 'El código postal no se ha especificado o no es válido';
-$_MODULE['<{ebay}prestashop>ebay_c888438d14855d7d96a2724ee9c306bd'] = 'Configuración actualizada';
-$_MODULE['<{ebay}prestashop>ebay_b9284bff13acffdd879ef4ac7fca5234'] = 'Configuración no actualizada';
-$_MODULE['<{ebay}prestashop>ebay_67e19ffdaa0a11e69349810403a9727e'] = 'Usted tiene que configurar \"General Settings\" antes de utilizar esta pestaña.';
-$_MODULE['<{ebay}prestashop>ebay_1fe6b0032a7882ef20d08a5386441e33'] = 'Para exportar sus productos en eBay, usted tiene que asociar cada una de las categorías de su tienda a una categoría de eBay. También puede definir un impacto de su precio en eBay.';
-$_MODULE['<{ebay}prestashop>ebay_1bffdb0b10182ea51f7baa97ee2d19a8'] = 'Usted puede utilizar el botón de abajo para asociar automáticamente las categorías que no tienen ninguna relación por el momento con una categoría sugerida por eBay.';
-$_MODULE['<{ebay}prestashop>ebay_36be9eda23888bf12f74d6cd9d46ba1d'] = 'Sugerir categorías';
-$_MODULE['<{ebay}prestashop>ebay_3adbdb3ac060038aa0e6e6c138ef9873'] = 'Categoría';
-$_MODULE['<{ebay}prestashop>ebay_649829dea8fe9632cc51a9aa3c8826c3'] = 'Categoría eBay ';
-$_MODULE['<{ebay}prestashop>ebay_233c543a23378c4ffd0e1efb17408510'] = 'Impacto en los precios';
-$_MODULE['<{ebay}prestashop>ebay_a5612305bb46e3d0ea547f4a963a01d3'] = 'No se ha encontrado categoría.';
-$_MODULE['<{ebay}prestashop>ebay_55ac32003f11f511412875f283f4f303'] = 'No se ha seleccionado categoría ';
-$_MODULE['<{ebay}prestashop>ebay_628b583852257bd453a9a2c38a65fd6e'] = 'Atención: Sólo se utilizan para esta configuración.las categorías por defecto del producto ';
-$_MODULE['<{ebay}prestashop>ebay_6c09b50ba3b52d0d61fb785adeed1895'] = 'Puede personalizar el tema gráfico de sus productos en eBay';
-$_MODULE['<{ebay}prestashop>ebay_c01f01fd2bd607cf17ddc2ee584227f8'] = 'Usted tiene que configurar \"Configuración de Categorías \" antes de utilizar esta pestaña.';
-$_MODULE['<{ebay}prestashop>ebay_1cbd8f2b57c85344f755caff03336306'] = 'Sincronización con eBay';
-$_MODULE['<{ebay}prestashop>ebay_86024cad1e83101d97359d7351051156'] = 'productos';
-$_MODULE['<{ebay}prestashop>ebay_05aaf6b3c49c3aa6219a1d730ee7988c'] = 'Ya puede poner sus productos en ebay';
-$_MODULE['<{ebay}prestashop>ebay_3205b263a1a779c2b03cdbac836346f9'] = 'Recordatorio,';
-$_MODULE['<{ebay}prestashop>ebay_0eaf4172db11a5d6e914aabe920f0455'] = 'No tendrá que pagar ningún gasto suplementario por tener una tienda en eBay.';
-$_MODULE['<{ebay}prestashop>ebay_25740d6b53eafdd8a64299e1fe92f247'] = 'Modo de sincronización';
-$_MODULE['<{ebay}prestashop>ebay_97855df0367fedf5648d745bfb57412b'] = 'Opción A';
-$_MODULE['<{ebay}prestashop>ebay_2c53ffc482419e404cd47559e5004b2e'] = 'Sincronizar todos sus productos en eBay';
-$_MODULE['<{ebay}prestashop>ebay_8890755ccd5ac4f777efdd0a6c16c4ab'] = 'Opción B';
-$_MODULE['<{ebay}prestashop>ebay_4ac5ebfcb9b9d8c87e9ff03ee6bf24e5'] = 'Sincronizar solo los productos de las categorías seleccionadas';
-$_MODULE['<{ebay}prestashop>ebay_054b4f3ea543c990f6b125f41af6ebf7'] = 'Opción';
-$_MODULE['<{ebay}prestashop>ebay_892db3f832f6fe1a2d04e1e50e65d3ca'] = 'Al actualizar un producto, solo se resincronizan su precio y su cantidad';
-$_MODULE['<{ebay}prestashop>ebay_e0626222614bdee31951d84c64e5e9ff'] = 'Seleccionar';
-$_MODULE['<{ebay}prestashop>ebay_6d371302939f2bba5daf55544efb956f'] = '¡Advertencia! Si alguna de sus categorías no son compatibles con multi sku, algunos de sus productos puede crear más de una ficha producto en eBay.';
-$_MODULE['<{ebay}prestashop>ebay_caab0e2c2f3ae0d242b0b36f22d9acc5'] = 'Va a poner en línea';
-$_MODULE['<{ebay}prestashop>ebay_70b240eb3db5174e1c9520cabe2ae781'] = 'productos en eBay. ¿Desea confirmar?';
-$_MODULE['<{ebay}prestashop>ebay_547c708291fe196592dd1e4db7b206a5'] = 'producto(s) en línea en eBay';
-$_MODULE['<{ebay}prestashop>ebay_1761efb946aa43c14af989665dae691a'] = 'Producto(s) concernido(s)';
diff --git a/modules/ebay/forbbiden.gif b/modules/ebay/forbbiden.gif
deleted file mode 100644
index c772d4989..000000000
Binary files a/modules/ebay/forbbiden.gif and /dev/null differ
diff --git a/modules/ebay/fr.php b/modules/ebay/fr.php
deleted file mode 100755
index fc1a92d26..000000000
--- a/modules/ebay/fr.php
+++ /dev/null
@@ -1,107 +0,0 @@
-ebay_282539987a2276dd5259f8e745d668a1'] = 'eBay';
-$_MODULE['<{ebay}prestashop>ebay_1179327c010f54ade46baea3c3b0ceec'] = 'Ouvrez votre boutique pro sur la place de marché eBay !';
-$_MODULE['<{ebay}prestashop>ebay_6fecf5a008d74051f0e8aae985b37aa6'] = 'Le module eBay ne fonctionne actuellement que pour eBay.fr';
-$_MODULE['<{ebay}prestashop>ebay_8acabcc788c316f92b7850c76265b49b'] = 'Vous devez activer l\'extension cURL et l\'option allow_url_fopen sur votre serveur si vous désirez utiliser ce module.';
-$_MODULE['<{ebay}prestashop>ebay_d591cbc447d01e5a6165096ebfdf804e'] = 'Vous devez activer l\'extension cURL sur votre serveur si vous désirez utiliser ce module.';
-$_MODULE['<{ebay}prestashop>ebay_1b18bd5d9d85f4f667614345ee20e3b2'] = 'Vous devez activer l\'option allow_url_fopen sur votre serveur si vous désirez utiliser ce module.';
-$_MODULE['<{ebay}prestashop>ebay_8e64bc164aee46723ed2d70273c6f8ab'] = 'Vous devez enregistrer le module sur eBay';
-$_MODULE['<{ebay}prestashop>ebay_55798d71e1cce07f08e25d9a4da60f4a'] = 'Etes-vous sûr de vouloir désinstaller ce module? Toute votre configuration sera perdue.';
-$_MODULE['<{ebay}prestashop>ebay_5f8d9c30e0606a91c5d7b6e1bf1217ac'] = 'N\'a pas pu ajouté les produits au panier (peut être votre stock est il à 0)';
-$_MODULE['<{ebay}prestashop>ebay_25fff46a6fe5b9512e2f4054f4ff6060'] = 'N\'a pas pu trouvé les produits dans votre catalogue';
-$_MODULE['<{ebay}prestashop>ebay_eaa0d1591e6369a298dcd6cb1a8eba8a'] = 'E-mail invalide';
-$_MODULE['<{ebay}prestashop>ebay_a11a07346e4343b393b7a6d29924043e'] = 'Commande déjà importé';
-$_MODULE['<{ebay}prestashop>ebay_2e7adc61fa0cedcf1d442feafbaea1de'] = 'Le statut n\'est pas à \"Complete\" ou le montant de la commande est inférieur à 0.1 ou aucun produit n\'a pu être trouvé dans votre catalogue';
-$_MODULE['<{ebay}prestashop>ebay_98f54d8bba6523829eeb8fd7ab9a2088'] = 'Continuer quand même ?';
-$_MODULE['<{ebay}prestashop>ebay_2e4f4d8b849fb72905addc231d160e8b'] = 'Status du module eBay';
-$_MODULE['<{ebay}prestashop>ebay_85f9d92e0551772437b934b7222d63cb'] = 'Le module eBay est fonctionnel.';
-$_MODULE['<{ebay}prestashop>ebay_090bcb46805aadf384074d380b4c78c8'] = 'Le module eBay n\'est pas encore configuré.';
-$_MODULE['<{ebay}prestashop>ebay_9a5c99bf25e84cd8fe7c500f7ec698f2'] = 'Enregistrer le module sur eBay';
-$_MODULE['<{ebay}prestashop>ebay_f09ea5dca3d187c50a634239778a5a3c'] = 'Activer \"Allow url fopen\"';
-$_MODULE['<{ebay}prestashop>ebay_c7760f2c36d4e647e8a254cef51cbae8'] = 'Activer cURL';
-$_MODULE['<{ebay}prestashop>ebay_16bfbf9c462762cf1cba4134ec53c504'] = 'Chargement';
-$_MODULE['<{ebay}prestashop>ebay_b383064f397ca4f9de45a6dadc6a07a1'] = 'Une fois identifié dans la fenêtre eBay, le module finira automatiquement l\'installation dans les secondes qui suivent.';
-$_MODULE['<{ebay}prestashop>ebay_d9334a0c5b4432b2ad87fb9c90e9f44c'] = 'Vous devez renseigner votre Identifiant eBay';
-$_MODULE['<{ebay}prestashop>ebay_4285b577739883af893c3b1320690b70'] = 'Cliquez sur le bouton ci-dessous';
-$_MODULE['<{ebay}prestashop>ebay_7ba7cc1dfb00eca77b600084f4ba1304'] = 'Identifiant eBay';
-$_MODULE['<{ebay}prestashop>ebay_3225a10b07f1580f10dee4abc3779e6c'] = 'Paramètres';
-$_MODULE['<{ebay}prestashop>ebay_dc2f736ed903b4f6f72a36b763cd7717'] = 'Configuration des catégories';
-$_MODULE['<{ebay}prestashop>ebay_0f5f872ba4c6575319e6beee6ebcc481'] = 'Template de la fiche produit';
-$_MODULE['<{ebay}prestashop>ebay_47ba6504eb5b1e3a95ea3dbd960904db'] = 'Mise en ligne des produits';
-$_MODULE['<{ebay}prestashop>ebay_1a6f6b88447d4c3a86da93913a1b844d'] = 'Historique des commandes';
-$_MODULE['<{ebay}prestashop>ebay_6a26f548831e6a8c26bfbbd9f6ec61e0'] = 'Aide';
-$_MODULE['<{ebay}prestashop>ebay_e5beb503fe9553f0ed5be3c324fc9cb7'] = 'Pour exporter vos produits sur eBay, vous devez créer un compte pro sur eBay (voir la partie Aide) et configurer le module eBay-Prestashop.';
-$_MODULE['<{ebay}prestashop>ebay_230b8b5e65ef7731d72a42b1ddb0293f'] = 'Identifiant eBay';
-$_MODULE['<{ebay}prestashop>ebay_ad44bf098615279532ded210754420d4'] = 'Voir vos produits sur eBay';
-$_MODULE['<{ebay}prestashop>ebay_5d8ae2a94331ebbfe854eea0274e939c'] = 'Votre identifiant eBay';
-$_MODULE['<{ebay}prestashop>ebay_4b9f5155cc88fe352fbf202a3ba57f04'] = 'Boutique eBay';
-$_MODULE['<{ebay}prestashop>ebay_3e0fb5fcfe85cdf0f83fefe3530d13f4'] = 'Votre boutique eBay';
-$_MODULE['<{ebay}prestashop>ebay_97b4fc969316e8d08c1b0bb1f0b05fbd'] = 'Voir votre boutique eBay';
-$_MODULE['<{ebay}prestashop>ebay_1734acc41e3889028ca0f0d13ef5bc93'] = 'Votre identifiant PayPal (email)';
-$_MODULE['<{ebay}prestashop>ebay_4883ffdb0b673bdd200f3d96709c26f5'] = 'Vous devez renseigner votre e-mail de compte PayPal, c\'est le seul moyen de paiement disponible avec ce module.';
-$_MODULE['<{ebay}prestashop>ebay_83d893ae1e34a74ab9a068e1d190c764'] = 'Moyen d’expédition';
-$_MODULE['<{ebay}prestashop>ebay_3d346df981cf71d3a81b57c1af58f1f4'] = 'Frais de livraison pour les produits sur eBay';
-$_MODULE['<{ebay}prestashop>ebay_552a0d8c17d95d5dbdc0c28217024f5a'] = 'Frais de livraison';
-$_MODULE['<{ebay}prestashop>ebay_ce178f4fe9684e5786aff36ab3cf81f6'] = 'Votre code postal';
-$_MODULE['<{ebay}prestashop>ebay_bb9a2f66fc726c85e45c8ddc93297ab9'] = 'Votre code postal';
-$_MODULE['<{ebay}prestashop>ebay_c9cc8cce247e49bae79f15173ce97354'] = 'Sauvegarder';
-$_MODULE['<{ebay}prestashop>ebay_153e4104f5a42e006735dd85847760b1'] = 'Chargement des catégories';
-$_MODULE['<{ebay}prestashop>ebay_123b3c98806c47a9bfa5fc7480e5327b'] = 'Votre identifiant eBay n\'est pas spécifié ou est invalide.';
-$_MODULE['<{ebay}prestashop>ebay_179d471a6a534b682050411984ea1c05'] = 'Votre e-mail de compte Paypal n\'est pas spécifié ou est invalide.';
-$_MODULE['<{ebay}prestashop>ebay_d0f2d9c05a3140a5fc81fd0cb6b330e2'] = 'Vos frais de port ne sont spécifiés ou sont invalides.';
-$_MODULE['<{ebay}prestashop>ebay_458d329d5eb1caf63615141fb51e8329'] = 'Votre code postal n\'est pas spécifié ou est invalide';
-$_MODULE['<{ebay}prestashop>ebay_c888438d14855d7d96a2724ee9c306bd'] = 'Configuration mise à jour';
-$_MODULE['<{ebay}prestashop>ebay_b9284bff13acffdd879ef4ac7fca5234'] = 'Configuration non mise à jour.';
-$_MODULE['<{ebay}prestashop>ebay_67e19ffdaa0a11e69349810403a9727e'] = 'Vous devez configurer l\'onglet \"Paramètres\" avant d\'utiliser cet onglet.';
-$_MODULE['<{ebay}prestashop>ebay_0706a152f5e26f0cbce3de5269c54f30'] = 'Vos catégories ont déjà été configurés';
-$_MODULE['<{ebay}prestashop>ebay_2b827fb3fb7f3fb4304b286764b18f1e'] = 'Voir les catégories';
-$_MODULE['<{ebay}prestashop>ebay_1fe6b0032a7882ef20d08a5386441e33'] = 'Pour mettre en ligne vos produits sur eBay, vous devez associer chacune des catégories de votre boutique à une catégorie eBay. Vous pouvez également définir une variation du prix sur eBay.';
-$_MODULE['<{ebay}prestashop>ebay_1bffdb0b10182ea51f7baa97ee2d19a8'] = 'Vous pouvez utiliser le bouton ci-dessous pour associer automatiquement les catégories qui n\'ont pas encore d\'association avec des catégories suggérées par eBay.';
-$_MODULE['<{ebay}prestashop>ebay_36be9eda23888bf12f74d6cd9d46ba1d'] = 'Suggérer des catégories';
-$_MODULE['<{ebay}prestashop>ebay_3adbdb3ac060038aa0e6e6c138ef9873'] = 'Catégorie';
-$_MODULE['<{ebay}prestashop>ebay_649829dea8fe9632cc51a9aa3c8826c3'] = 'Catégorie eBay';
-$_MODULE['<{ebay}prestashop>ebay_233c543a23378c4ffd0e1efb17408510'] = 'Impact sur le prix';
-$_MODULE['<{ebay}prestashop>ebay_a5612305bb46e3d0ea547f4a963a01d3'] = 'Aucune catégorie trouvée';
-$_MODULE['<{ebay}prestashop>ebay_55ac32003f11f511412875f283f4f303'] = 'Aucune catégorie selectionnée';
-$_MODULE['<{ebay}prestashop>ebay_628b583852257bd453a9a2c38a65fd6e'] = 'Attention : Seuls les catégories par défaut des produits sont pris en compte par cette configuration.';
-$_MODULE['<{ebay}prestashop>ebay_6c09b50ba3b52d0d61fb785adeed1895'] = 'Vous pouvez personnaliser le thème graphique de vos produit sur eBay';
-$_MODULE['<{ebay}prestashop>ebay_c01f01fd2bd607cf17ddc2ee584227f8'] = 'Vous devez configurer l\'onglet \"Configuration des catégories\" avant d\'utiliser cet onglet.';
-$_MODULE['<{ebay}prestashop>ebay_1cbd8f2b57c85344f755caff03336306'] = 'Synchroniser avec eBay';
-$_MODULE['<{ebay}prestashop>ebay_86024cad1e83101d97359d7351051156'] = 'produits';
-$_MODULE['<{ebay}prestashop>ebay_dc11854f70dd95a8c51ae75b05dbd508'] = 'et mettre à jour les produits';
-$_MODULE['<{ebay}prestashop>ebay_05aaf6b3c49c3aa6219a1d730ee7988c'] = 'Vous allez maintenant mettre en ligne vos produits sur eBay.';
-$_MODULE['<{ebay}prestashop>ebay_3205b263a1a779c2b03cdbac836346f9'] = 'Pour rappel,';
-$_MODULE['<{ebay}prestashop>ebay_0eaf4172db11a5d6e914aabe920f0455'] = 'vous ne payez aucun frais d’insertion si vous avez une boutique sur eBay.';
-$_MODULE['<{ebay}prestashop>ebay_25740d6b53eafdd8a64299e1fe92f247'] = 'Choix des produits à mettre en ligne';
-$_MODULE['<{ebay}prestashop>ebay_97855df0367fedf5648d745bfb57412b'] = 'Option A';
-$_MODULE['<{ebay}prestashop>ebay_2c53ffc482419e404cd47559e5004b2e'] = 'mettre 100% de vos produits en ligne sur eBay (recommandé)';
-$_MODULE['<{ebay}prestashop>ebay_8890755ccd5ac4f777efdd0a6c16c4ab'] = 'Option B';
-$_MODULE['<{ebay}prestashop>ebay_4ac5ebfcb9b9d8c87e9ff03ee6bf24e5'] = 'choisir les catégories à mettre en ligne sur eBay';
-$_MODULE['<{ebay}prestashop>ebay_054b4f3ea543c990f6b125f41af6ebf7'] = 'Option';
-$_MODULE['<{ebay}prestashop>ebay_892db3f832f6fe1a2d04e1e50e65d3ca'] = 'Lorsqu\'un produit est mis à jour, seule sa quantité et son prix sont resynchronisés avec eBay';
-$_MODULE['<{ebay}prestashop>ebay_e0626222614bdee31951d84c64e5e9ff'] = 'Sélection';
-$_MODULE['<{ebay}prestashop>ebay_6d371302939f2bba5daf55544efb956f'] = 'Attention ! Si certaines de vos catégories ne sont pas compatibles multi sku, certains de vos produits peuvent créer plus d\'une fiche produit sur eBay.';
-$_MODULE['<{ebay}prestashop>ebay_d446b6fd9d0b61470108b86e7bbf4b08'] = '\"Synchroniser avec eBay\" ne synchronisera seulement que les produits qui n\'ont pas encore été synchronisés avec eBay :';
-$_MODULE['<{ebay}prestashop>ebay_03e982083919ab970387bf623f798717'] = '\"Synchroniser avec eBay et mettre à jour les produits\" synchronisera les produits qui n\'ont pas encore été synchronisés avec eBay et mettra à jour les produits qui ont déjà été synchronisés :';
-$_MODULE['<{ebay}prestashop>ebay_caab0e2c2f3ae0d242b0b36f22d9acc5'] = 'Vous allez mettre en ligne';
-$_MODULE['<{ebay}prestashop>ebay_70b240eb3db5174e1c9520cabe2ae781'] = 'produits sur eBay. Voulez-vous confirmer ?';
-$_MODULE['<{ebay}prestashop>ebay_547c708291fe196592dd1e4db7b206a5'] = 'produit(s) mis en ligne sur eBay';
-$_MODULE['<{ebay}prestashop>ebay_1761efb946aa43c14af989665dae691a'] = 'Produit(s) concerné(s)';
-$_MODULE['<{ebay}prestashop>ebay_04a338309915f11c8b8052a1c1ff7d84'] = 'Dernière importation des commandes';
-$_MODULE['<{ebay}prestashop>ebay_45ad2eef89200b7037c5062688740213'] = 'Historiques des commandes';
-$_MODULE['<{ebay}prestashop>ebay_1b5f52a88052dce1423a8c0cb19d6ee9'] = 'Référence commande eBay';
-$_MODULE['<{ebay}prestashop>ebay_af63fd747d7a33367a4399d0c21c30d3'] = 'Référence commande vendeur';
-$_MODULE['<{ebay}prestashop>ebay_b2f40690858b404ed10e62bdf422c704'] = 'Montant';
-$_MODULE['<{ebay}prestashop>ebay_ec53a8c4f07baed5d8825072c89799be'] = 'Statut';
-$_MODULE['<{ebay}prestashop>ebay_44749712dbec183e983dcd78a7736c41'] = 'Date';
-$_MODULE['<{ebay}prestashop>ebay_1e884e3078d9978e216a027ecd57fb34'] = 'E-mail';
-$_MODULE['<{ebay}prestashop>ebay_068f80c7519d0528fb08e82137a72131'] = 'Produits';
-$_MODULE['<{ebay}prestashop>ebay_2bff0c18dad806b7e121a0013c7f08a6'] = 'Identifiant produit';
-$_MODULE['<{ebay}prestashop>ebay_b86883a8dc6c44cb39371e3b7aea594f'] = 'Identifiant attribut produit';
-$_MODULE['<{ebay}prestashop>ebay_694e8d1f2ee056f98ee488bdc4982d73'] = 'Quantité';
-$_MODULE['<{ebay}prestashop>ebay_3601146c4e948c32b6424d2c0a7f0118'] = 'Prix';
-$_MODULE['<{ebay}prestashop>ebay_eacb7a77450c68e3936ff0475c010cdb'] = 'Status de l\'import';
-$_MODULE['<{ebay}prestashop>ebay_59fc75ecf1ce372c9ed534d5e545ff88'] = 'Détails de l\'échec de l\'import';
diff --git a/modules/ebay/index.php b/modules/ebay/index.php
deleted file mode 100644
index 4e2611d37..000000000
--- a/modules/ebay/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision$
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
\ No newline at end of file
diff --git a/modules/ebay/it.php b/modules/ebay/it.php
deleted file mode 100644
index 9affc739d..000000000
--- a/modules/ebay/it.php
+++ /dev/null
@@ -1,107 +0,0 @@
-ebay_282539987a2276dd5259f8e745d668a1'] = 'eBay';
-$_MODULE['<{ebay}prestashop>ebay_1179327c010f54ade46baea3c3b0ceec'] = 'Apri il tuo negozio sulla piazza del mercato di eBay!';
-$_MODULE['<{ebay}prestashop>ebay_6fecf5a008d74051f0e8aae985b37aa6'] = 'Modulo di eBay funziona attualmente solo per eBay.fr';
-$_MODULE['<{ebay}prestashop>ebay_8acabcc788c316f92b7850c76265b49b'] = 'È necessario abilitare l\'estensione cURL e opzione allow_url_fopen sul server se si desidera utilizzare questo modulo.';
-$_MODULE['<{ebay}prestashop>ebay_d591cbc447d01e5a6165096ebfdf804e'] = 'È necessario abilitare l\'estensione cURL sul vostro server se si desidera utilizzare questo modulo.';
-$_MODULE['<{ebay}prestashop>ebay_1b18bd5d9d85f4f667614345ee20e3b2'] = 'È necessario abilitare l\'opzione allow_url_fopen sul server se si desidera utilizzare questo modulo.';
-$_MODULE['<{ebay}prestashop>ebay_8e64bc164aee46723ed2d70273c6f8ab'] = 'È necessario registrare il vostro modulo su eBay.';
-$_MODULE['<{ebay}prestashop>ebay_55798d71e1cce07f08e25d9a4da60f4a'] = 'Siete sicuri di voler disinstallare questo modulo? Tutti i vostri configurazione andranno perse.';
-$_MODULE['<{ebay}prestashop>ebay_5f8d9c30e0606a91c5d7b6e1bf1217ac'] = 'Impossibile aggiungere il prodotto al carrello (forse il tuo quantità stock è 0)';
-$_MODULE['<{ebay}prestashop>ebay_25fff46a6fe5b9512e2f4054f4ff6060'] = 'Impossibile trovare nel database prodotti';
-$_MODULE['<{ebay}prestashop>ebay_eaa0d1591e6369a298dcd6cb1a8eba8a'] = 'Posta elettronica non valido';
-$_MODULE['<{ebay}prestashop>ebay_a11a07346e4343b393b7a6d29924043e'] = 'Ordine già importato';
-$_MODULE['<{ebay}prestashop>ebay_2e7adc61fa0cedcf1d442feafbaea1de'] = 'Dello stato del prodotto non completo o importo inferiore a 0,1 o non corrispondenti';
-$_MODULE['<{ebay}prestashop>ebay_98f54d8bba6523829eeb8fd7ab9a2088'] = 'Continua comunque?';
-$_MODULE['<{ebay}prestashop>ebay_2e4f4d8b849fb72905addc231d160e8b'] = 'Modulo di Stato eBay';
-$_MODULE['<{ebay}prestashop>ebay_85f9d92e0551772437b934b7222d63cb'] = 'Modulo eBay è configurato e online!';
-$_MODULE['<{ebay}prestashop>ebay_090bcb46805aadf384074d380b4c78c8'] = 'Modulo eBay non è ancora configurato, è necessario:';
-$_MODULE['<{ebay}prestashop>ebay_9a5c99bf25e84cd8fe7c500f7ec698f2'] = 'Registrare il modulo su eBay';
-$_MODULE['<{ebay}prestashop>ebay_f09ea5dca3d187c50a634239778a5a3c'] = 'Lasciare fopen url';
-$_MODULE['<{ebay}prestashop>ebay_c7760f2c36d4e647e8a254cef51cbae8'] = 'Abilitare cURL';
-$_MODULE['<{ebay}prestashop>ebay_16bfbf9c462762cf1cba4134ec53c504'] = 'Caricamento';
-$_MODULE['<{ebay}prestashop>ebay_b383064f397ca4f9de45a6dadc6a07a1'] = 'Una volta che si accede dalla finestra di eBay nuova, il modulo verrà automaticamente terminare l\'installazione pochi secondi dopo';
-$_MODULE['<{ebay}prestashop>ebay_d9334a0c5b4432b2ad87fb9c90e9f44c'] = 'È necessario impostare l\'ID utente eBay';
-$_MODULE['<{ebay}prestashop>ebay_4285b577739883af893c3b1320690b70'] = 'Clicca sul bottone qui sotto';
-$_MODULE['<{ebay}prestashop>ebay_7ba7cc1dfb00eca77b600084f4ba1304'] = 'ID utente eBay';
-$_MODULE['<{ebay}prestashop>ebay_3225a10b07f1580f10dee4abc3779e6c'] = 'Parametri';
-$_MODULE['<{ebay}prestashop>ebay_dc2f736ed903b4f6f72a36b763cd7717'] = 'Categorie di impostazioni';
-$_MODULE['<{ebay}prestashop>ebay_0f5f872ba4c6575319e6beee6ebcc481'] = 'Template Manager';
-$_MODULE['<{ebay}prestashop>ebay_47ba6504eb5b1e3a95ea3dbd960904db'] = 'eBay Sync';
-$_MODULE['<{ebay}prestashop>ebay_1a6f6b88447d4c3a86da93913a1b844d'] = 'Storico ordini';
-$_MODULE['<{ebay}prestashop>ebay_6a26f548831e6a8c26bfbbd9f6ec61e0'] = 'Aiuto';
-$_MODULE['<{ebay}prestashop>ebay_e5beb503fe9553f0ed5be3c324fc9cb7'] = 'Per esportare i vostri prodotti su eBay, è necessario creare un account pro su eBay (vedi Guida) e configurare il vostro eBay Prestashop modulo.';
-$_MODULE['<{ebay}prestashop>ebay_230b8b5e65ef7731d72a42b1ddb0293f'] = 'eBay Identifier';
-$_MODULE['<{ebay}prestashop>ebay_ad44bf098615279532ded210754420d4'] = 'I vostri prodotti su eBay';
-$_MODULE['<{ebay}prestashop>ebay_5d8ae2a94331ebbfe854eea0274e939c'] = 'Il vostro identificativo eBay';
-$_MODULE['<{ebay}prestashop>ebay_4b9f5155cc88fe352fbf202a3ba57f04'] = 'negozio eBay';
-$_MODULE['<{ebay}prestashop>ebay_3e0fb5fcfe85cdf0f83fefe3530d13f4'] = 'Il tuo negozio su eBay';
-$_MODULE['<{ebay}prestashop>ebay_97b4fc969316e8d08c1b0bb1f0b05fbd'] = 'Il tuo nome del negozio eBay';
-$_MODULE['<{ebay}prestashop>ebay_1734acc41e3889028ca0f0d13ef5bc93'] = 'Paypal Identifier (e-mail)';
-$_MODULE['<{ebay}prestashop>ebay_4883ffdb0b673bdd200f3d96709c26f5'] = 'È necessario impostare il PayPal account di posta elettronica, è il pagamento solo con questo modulo';
-$_MODULE['<{ebay}prestashop>ebay_83d893ae1e34a74ab9a068e1d190c764'] = 'Metodo di spedizione';
-$_MODULE['<{ebay}prestashop>ebay_3d346df981cf71d3a81b57c1af58f1f4'] = 'Spedizione configurazione di costo per i vostri prodotti su eBay';
-$_MODULE['<{ebay}prestashop>ebay_552a0d8c17d95d5dbdc0c28217024f5a'] = 'Spese di spedizione';
-$_MODULE['<{ebay}prestashop>ebay_ce178f4fe9684e5786aff36ab3cf81f6'] = 'Negozio codice postale';
-$_MODULE['<{ebay}prestashop>ebay_bb9a2f66fc726c85e45c8ddc93297ab9'] = 'Codice di avviamento postale del vostro negozio';
-$_MODULE['<{ebay}prestashop>ebay_c9cc8cce247e49bae79f15173ce97354'] = 'Salvare';
-$_MODULE['<{ebay}prestashop>ebay_153e4104f5a42e006735dd85847760b1'] = 'Categorie di carico';
-$_MODULE['<{ebay}prestashop>ebay_123b3c98806c47a9bfa5fc7480e5327b'] = 'Il tuo account identificativo eBay non è specificata o non è valido';
-$_MODULE['<{ebay}prestashop>ebay_179d471a6a534b682050411984ea1c05'] = 'Il tuo Paypal account e-mail non è specificato o non è valido';
-$_MODULE['<{ebay}prestashop>ebay_d0f2d9c05a3140a5fc81fd0cb6b330e2'] = 'Il costo di spedizione non è specificata o non è valido';
-$_MODULE['<{ebay}prestashop>ebay_458d329d5eb1caf63615141fb51e8329'] = 'Codice di avviamento postale del vostro negozio non è specificata o non è valido';
-$_MODULE['<{ebay}prestashop>ebay_c888438d14855d7d96a2724ee9c306bd'] = 'Impostazioni aggiornate';
-$_MODULE['<{ebay}prestashop>ebay_b9284bff13acffdd879ef4ac7fca5234'] = 'Impostazioni fallito';
-$_MODULE['<{ebay}prestashop>ebay_67e19ffdaa0a11e69349810403a9727e'] = 'È necessario configurare \"Impostazioni generali\" sulla scheda prima di utilizzare questa scheda.';
-$_MODULE['<{ebay}prestashop>ebay_0706a152f5e26f0cbce3de5269c54f30'] = 'Le categorie sono già stati configurati.';
-$_MODULE['<{ebay}prestashop>ebay_2b827fb3fb7f3fb4304b286764b18f1e'] = 'Vedi le categorie';
-$_MODULE['<{ebay}prestashop>ebay_1fe6b0032a7882ef20d08a5386441e33'] = 'Per esportare i vostri prodotti su eBay, è necessario associare ognuna delle categorie negozio per una categoria di eBay. È inoltre possibile definire un impatto del prezzo su eBay.';
-$_MODULE['<{ebay}prestashop>ebay_1bffdb0b10182ea51f7baa97ee2d19a8'] = 'È possibile utilizzare il pulsante qui sotto per associare automaticamente le categorie che non hanno alcuna associazione per il momento con una categoria di eBay suggerito.';
-$_MODULE['<{ebay}prestashop>ebay_36be9eda23888bf12f74d6cd9d46ba1d'] = 'Suggerisci Categorie';
-$_MODULE['<{ebay}prestashop>ebay_3adbdb3ac060038aa0e6e6c138ef9873'] = 'Categoria';
-$_MODULE['<{ebay}prestashop>ebay_649829dea8fe9632cc51a9aa3c8826c3'] = 'eBay Categoria';
-$_MODULE['<{ebay}prestashop>ebay_233c543a23378c4ffd0e1efb17408510'] = 'Prezzo impatto';
-$_MODULE['<{ebay}prestashop>ebay_a5612305bb46e3d0ea547f4a963a01d3'] = 'Nessuna categoria trovata.';
-$_MODULE['<{ebay}prestashop>ebay_55ac32003f11f511412875f283f4f303'] = 'Nessuna categoria selezionata';
-$_MODULE['<{ebay}prestashop>ebay_628b583852257bd453a9a2c38a65fd6e'] = 'Attenzione: solo le categorie di prodotti sono utilizzati di default per questa configurazione.';
-$_MODULE['<{ebay}prestashop>ebay_6c09b50ba3b52d0d61fb785adeed1895'] = 'È possibile personalizzare il modello per la pagina dei prodotti su eBay';
-$_MODULE['<{ebay}prestashop>ebay_c01f01fd2bd607cf17ddc2ee584227f8'] = 'È necessario configurare \"Categorie Impostazioni\" nella scheda prima di utilizzare questa scheda.';
-$_MODULE['<{ebay}prestashop>ebay_1cbd8f2b57c85344f755caff03336306'] = 'Sincronizzazione con eBay';
-$_MODULE['<{ebay}prestashop>ebay_86024cad1e83101d97359d7351051156'] = 'prodotti';
-$_MODULE['<{ebay}prestashop>ebay_dc11854f70dd95a8c51ae75b05dbd508'] = 'e l\'aggiornamento';
-$_MODULE['<{ebay}prestashop>ebay_05aaf6b3c49c3aa6219a1d730ee7988c'] = 'A questo punto spingere i vostri prodotti su eBay.';
-$_MODULE['<{ebay}prestashop>ebay_3205b263a1a779c2b03cdbac836346f9'] = 'Promemoria,';
-$_MODULE['<{ebay}prestashop>ebay_0eaf4172db11a5d6e914aabe920f0455'] = 'non dovrete pagare le tasse se si ha un negozio su eBay.';
-$_MODULE['<{ebay}prestashop>ebay_25740d6b53eafdd8a64299e1fe92f247'] = 'Modalità di sincronizzazione';
-$_MODULE['<{ebay}prestashop>ebay_97855df0367fedf5648d745bfb57412b'] = 'Opzione A';
-$_MODULE['<{ebay}prestashop>ebay_2c53ffc482419e404cd47559e5004b2e'] = 'Sincronizzare tutti i vostri prodotti con eBay';
-$_MODULE['<{ebay}prestashop>ebay_8890755ccd5ac4f777efdd0a6c16c4ab'] = 'Opzione B';
-$_MODULE['<{ebay}prestashop>ebay_4ac5ebfcb9b9d8c87e9ff03ee6bf24e5'] = 'Sincronizza i prodotti solo dalle categorie selezionate';
-$_MODULE['<{ebay}prestashop>ebay_054b4f3ea543c990f6b125f41af6ebf7'] = 'Opzione';
-$_MODULE['<{ebay}prestashop>ebay_892db3f832f6fe1a2d04e1e50e65d3ca'] = 'Quando l\'aggiornamento di un prodotto, prezzo risincronizzazione e la quantità';
-$_MODULE['<{ebay}prestashop>ebay_e0626222614bdee31951d84c64e5e9ff'] = 'Selezionare';
-$_MODULE['<{ebay}prestashop>ebay_6d371302939f2bba5daf55544efb956f'] = 'Attenzione! Se alcune delle vostre categorie non sono più compatibili con sku, alcuni dei vostri prodotti possono creare più di un prodotto su eBay.';
-$_MODULE['<{ebay}prestashop>ebay_d446b6fd9d0b61470108b86e7bbf4b08'] = '\"Sincronizzazione con eBay\" opzione di sincronizzazione solo i prodotti che non sono già sincronizzati con eBay:';
-$_MODULE['<{ebay}prestashop>ebay_03e982083919ab970387bf623f798717'] = '\"Sync e aggiornare con eBay\" consente di sincronizzare i prodotti che non sono già sincronizzati con eBay e aggiornare i prodotti già sincronia con eBay:';
-$_MODULE['<{ebay}prestashop>ebay_caab0e2c2f3ae0d242b0b36f22d9acc5'] = 'Si spingerà';
-$_MODULE['<{ebay}prestashop>ebay_70b240eb3db5174e1c9520cabe2ae781'] = 'prodotti su eBay. Vuoi confermare?';
-$_MODULE['<{ebay}prestashop>ebay_547c708291fe196592dd1e4db7b206a5'] = 'prodotto (s), sincronizzazione con eBay';
-$_MODULE['<{ebay}prestashop>ebay_1761efb946aa43c14af989665dae691a'] = 'Prodotto (s) interessati';
-$_MODULE['<{ebay}prestashop>ebay_04a338309915f11c8b8052a1c1ff7d84'] = 'Ultimo ordini Importazione';
-$_MODULE['<{ebay}prestashop>ebay_45ad2eef89200b7037c5062688740213'] = 'Ordini Storia';
-$_MODULE['<{ebay}prestashop>ebay_1b5f52a88052dce1423a8c0cb19d6ee9'] = 'Ordine Rif. eBay';
-$_MODULE['<{ebay}prestashop>ebay_af63fd747d7a33367a4399d0c21c30d3'] = 'Id Ordine del venditore';
-$_MODULE['<{ebay}prestashop>ebay_b2f40690858b404ed10e62bdf422c704'] = 'Quantità';
-$_MODULE['<{ebay}prestashop>ebay_ec53a8c4f07baed5d8825072c89799be'] = 'Stato';
-$_MODULE['<{ebay}prestashop>ebay_44749712dbec183e983dcd78a7736c41'] = 'Data';
-$_MODULE['<{ebay}prestashop>ebay_1e884e3078d9978e216a027ecd57fb34'] = 'E-mail';
-$_MODULE['<{ebay}prestashop>ebay_068f80c7519d0528fb08e82137a72131'] = 'Prodotti';
-$_MODULE['<{ebay}prestashop>ebay_2bff0c18dad806b7e121a0013c7f08a6'] = 'Id del prodotto';
-$_MODULE['<{ebay}prestashop>ebay_b86883a8dc6c44cb39371e3b7aea594f'] = 'Id prodotto attributi';
-$_MODULE['<{ebay}prestashop>ebay_694e8d1f2ee056f98ee488bdc4982d73'] = 'Quantità';
-$_MODULE['<{ebay}prestashop>ebay_3601146c4e948c32b6424d2c0a7f0118'] = 'Prezzo';
-$_MODULE['<{ebay}prestashop>ebay_eacb7a77450c68e3936ff0475c010cdb'] = 'Stato importazione';
-$_MODULE['<{ebay}prestashop>ebay_59fc75ecf1ce372c9ed534d5e545ff88'] = 'Il mancato dettagli';
diff --git a/modules/ebay/loading-small.gif b/modules/ebay/loading-small.gif
deleted file mode 100644
index e552f291b..000000000
Binary files a/modules/ebay/loading-small.gif and /dev/null differ
diff --git a/modules/ebay/loading.gif b/modules/ebay/loading.gif
deleted file mode 100755
index 21c7e74db..000000000
Binary files a/modules/ebay/loading.gif and /dev/null differ
diff --git a/modules/ebay/log/.htaccess b/modules/ebay/log/.htaccess
deleted file mode 100755
index 93169e4eb..000000000
--- a/modules/ebay/log/.htaccess
+++ /dev/null
@@ -1,2 +0,0 @@
-Order deny,allow
-Deny from all
diff --git a/modules/ebay/log/index.php b/modules/ebay/log/index.php
deleted file mode 100755
index 1e5d1c442..000000000
--- a/modules/ebay/log/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 6594 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
diff --git a/modules/ebay/logo.gif b/modules/ebay/logo.gif
deleted file mode 100755
index af3bf2751..000000000
Binary files a/modules/ebay/logo.gif and /dev/null differ
diff --git a/modules/ebay/logo.png b/modules/ebay/logo.png
deleted file mode 100755
index b04e9e2e7..000000000
Binary files a/modules/ebay/logo.png and /dev/null differ
diff --git a/modules/ebay/sql-install.php b/modules/ebay/sql-install.php
deleted file mode 100755
index b4a8b16ed..000000000
--- a/modules/ebay/sql-install.php
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
-
-
- {MAIN_IMAGE}
- {MEDIUM_IMAGE_1} {MEDIUM_IMAGE_2} {MEDIUM_IMAGE_3}
- |
-
-
- {PRODUCT_NAME}
- {PRODUCT_PRICE} {PRODUCT_PRICE_DISCOUNT}
- Disponibilité : En Stock
-
- {DESCRIPTION}
- |
-
-
-
-
diff --git a/modules/ebay/template/images/favorite.png b/modules/ebay/template/images/favorite.png
deleted file mode 100755
index 5e6872558..000000000
Binary files a/modules/ebay/template/images/favorite.png and /dev/null differ
diff --git a/modules/ebay/template/images/footer.png b/modules/ebay/template/images/footer.png
deleted file mode 100755
index 4a10b5c7a..000000000
Binary files a/modules/ebay/template/images/footer.png and /dev/null differ
diff --git a/modules/ebay/template/images/header.png b/modules/ebay/template/images/header.png
deleted file mode 100755
index 0a5b9fe5b..000000000
Binary files a/modules/ebay/template/images/header.png and /dev/null differ
diff --git a/modules/ebay/template/images/index.php b/modules/ebay/template/images/index.php
deleted file mode 100644
index 4e2611d37..000000000
--- a/modules/ebay/template/images/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision$
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
\ No newline at end of file
diff --git a/modules/ebay/template/images/search.png b/modules/ebay/template/images/search.png
deleted file mode 100755
index 2d75e2b30..000000000
Binary files a/modules/ebay/template/images/search.png and /dev/null differ
diff --git a/modules/ebay/template/images/stats.png b/modules/ebay/template/images/stats.png
deleted file mode 100755
index de2140117..000000000
Binary files a/modules/ebay/template/images/stats.png and /dev/null differ
diff --git a/modules/ebay/template/index.php b/modules/ebay/template/index.php
deleted file mode 100644
index 4e2611d37..000000000
--- a/modules/ebay/template/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision$
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
\ No newline at end of file
diff --git a/modules/ebay/valid.png b/modules/ebay/valid.png
deleted file mode 100644
index 4f0790e5c..000000000
Binary files a/modules/ebay/valid.png and /dev/null differ
diff --git a/modules/ebay/warn.png b/modules/ebay/warn.png
deleted file mode 100644
index b06d10dc7..000000000
Binary files a/modules/ebay/warn.png and /dev/null differ
diff --git a/modules/ekomi/config.xml b/modules/ekomi/config.xml
deleted file mode 100644
index 25221b470..000000000
--- a/modules/ekomi/config.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
- ekomi
-
-
-
-
-
- 1
- 0
-
-
\ No newline at end of file
diff --git a/modules/ekomi/de.php b/modules/ekomi/de.php
deleted file mode 100644
index 9fd55aacc..000000000
--- a/modules/ekomi/de.php
+++ /dev/null
@@ -1,17 +0,0 @@
-ekomi_c0858307dfd3d91768c79ec116820b60'] = 'eKomi';
-$_MODULE['<{ekomi}prestashop>ekomi_d245187b3591f5f6f723ece2217bb637'] = 'Fügt einen eKomi-Block hinzu';
-$_MODULE['<{ekomi}prestashop>ekomi_f4d1ea475eaa85102e2b4e6d95da84bd'] = 'Bestätigung';
-$_MODULE['<{ekomi}prestashop>ekomi_c888438d14855d7d96a2724ee9c306bd'] = 'Einstellungen aktualisiert';
-$_MODULE['<{ekomi}prestashop>ekomi_f4f70727dc34561dfde1a3c529b6205c'] = 'Einstellungen';
-$_MODULE['<{ekomi}prestashop>ekomi_597b9cfa17df5ac4e2a4b1f4b6de347a'] = 'eKomi-Konfiguration';
-$_MODULE['<{ekomi}prestashop>ekomi_c4fda5e26d4854b8718850c90694a54c'] = 'eKomi E-Mail';
-$_MODULE['<{ekomi}prestashop>ekomi_c48c140af813696592daafbabe6d8b9f'] = 'eKomi-Skript';
-$_MODULE['<{ekomi}prestashop>ekomi_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Aktiviert';
-$_MODULE['<{ekomi}prestashop>ekomi_b9f5c797ebbf55adccdd8539a65a0241'] = 'Deaktiviert';
-$_MODULE['<{ekomi}prestashop>ekomi_ced21fe73878a0139d427ab2927f6772'] = 'Block anzeigen, oder verstecken. Bestellungen werden in jedem Fall an eKomi gesendet.';
-$_MODULE['<{ekomi}prestashop>ekomi_6a794dc942b2e8b4716dbc654e83d094'] = 'Bitte füllen Sie das Formular mit den Daten aus, die Sie von eKomi bekommen.';
-$_MODULE['<{ekomi}prestashop>ekomi_c9cc8cce247e49bae79f15173ce97354'] = 'Speichern';
diff --git a/modules/ekomi/ekomi.php b/modules/ekomi/ekomi.php
deleted file mode 100755
index 347e4a9c4..000000000
--- a/modules/ekomi/ekomi.php
+++ /dev/null
@@ -1,153 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 7310 $
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-
-if (!defined('_PS_VERSION_'))
- exit;
-
-class Ekomi extends Module
-{
- private $_html = '';
- private $_postErrors = array();
-
- public $id_lang;
- public $iso_lang;
-
- function __construct()
- {
- $this->name = 'ekomi';
- $this->tab = 'advertising_marketing';
- $this->author = 'PrestaShop';
- $this->version = 1.3;
- $this->need_instance = 0;
-
- parent::__construct();
-
- $this->displayName = $this->l('eKomi');
- $this->description = $this->l('Adds an eKomi block');
-
- if (self::isInstalled($this->name))
- {
- $this->id_lang = (int)Configuration::get('PS_LANG_DEFAULT');
- $this->iso_lang = pSQL(Language::getIsoById($this->id_lang));
-
- /* Check Mail Directory */
- if (!is_dir('../modules/'.$this->name.'/mails/'.$this->iso_lang.'/'))
- $this->warning .= $this->l('directory').' "'.$this->iso_lang.'" does not exist '.'../modules/'.$this->name.'/mails/'.$this->iso_lang.'/';
- }
- }
-
- public function install()
- {
- return (parent::install() AND $this->registerHook('rightColumn') AND $this->registerHook('newOrder'));
- }
-
- public function getContent()
- {
- $output = '
'.$this->displayName.'
';
- if (Tools::isSubmit('submitEkomi'))
- {
- $email = Tools::getValue('ekomi_email');
- Configuration::updateValue('PS_EKOMI_DISPLAY', Tools::getValue('ekomi_display'));
- Configuration::updateValue('PS_EKOMI_SCRIPT', htmlentities(str_replace(array("\r\n", "\n"), '', Tools::getValue('ekomi_script'))));
- if (!empty($email) && !Validate::isEmail($email))
- Configuration::updateValue('PS_EKOMI_EMAIL', '');
- else
- Configuration::updateValue('PS_EKOMI_EMAIL', Tools::getValue('ekomi_email'));
- $output .= '

'.$this->l('Settings updated').'
';
- }
- return $output.$this->displayForm();
- }
-
- public function displayForm()
- {
- return '
-
';
- }
-
- public function hookRightColumn($params)
- {
- if (!Configuration::get('PS_EKOMI_SCRIPT'))
- return;
- if (!Configuration::get('PS_EKOMI_DISPLAY'))
- return;
- return stripslashes(html_entity_decode(Configuration::get('PS_EKOMI_SCRIPT'))).'
';
- }
-
- public function hookLeftColumn($params)
- {
- return $this->hookRightColumn($params);
- }
-
- public function hookNewOrder($params)
- {
- if (!Configuration::get('PS_EKOMI_EMAIL'))
- return true;
-
- /* Check Mail Directory */
- if (!file_exists(dirname(__FILE__.'/'.$this->iso_lang.'/')))
- return true;
-
- /* Email generation */
- $subject = '[Ekomi-Prestashop] '.Configuration::get('PS_SHOP_NAME');
- $templateVars = array(
- '{firstname}' => $params['customer']->firstname,
- '{lastname}' => $params['customer']->lastname,
- '{email}' => $params['customer']->email,
- '{id_order}' => $params['order']->id
- );
-
- /* Email sending */
- if (!Mail::Send((int)$this->id_lang, 'ekomi', $subject, $templateVars, Configuration::get('PS_EKOMI_EMAIL'), NULL, $params['customer']->email, Configuration::get('PS_SHOP_NAME'), NULL, NULL, dirname(__FILE__).'/mails/'))
- return true;
-
- return true;
- }
-}
-
diff --git a/modules/ekomi/es.php b/modules/ekomi/es.php
deleted file mode 100644
index 3adcaf5f3..000000000
--- a/modules/ekomi/es.php
+++ /dev/null
@@ -1,17 +0,0 @@
-ekomi_c0858307dfd3d91768c79ec116820b60'] = 'eKomi';
-$_MODULE['<{ekomi}prestashop>ekomi_d245187b3591f5f6f723ece2217bb637'] = 'Añadir un bloque eKomi';
-$_MODULE['<{ekomi}prestashop>ekomi_f4d1ea475eaa85102e2b4e6d95da84bd'] = 'Confirmación';
-$_MODULE['<{ekomi}prestashop>ekomi_c888438d14855d7d96a2724ee9c306bd'] = 'Configuración actualizada';
-$_MODULE['<{ekomi}prestashop>ekomi_f4f70727dc34561dfde1a3c529b6205c'] = 'Configuración';
-$_MODULE['<{ekomi}prestashop>ekomi_597b9cfa17df5ac4e2a4b1f4b6de347a'] = 'configuración eKomi';
-$_MODULE['<{ekomi}prestashop>ekomi_c4fda5e26d4854b8718850c90694a54c'] = 'eKomi por e-mail';
-$_MODULE['<{ekomi}prestashop>ekomi_c48c140af813696592daafbabe6d8b9f'] = 'script eKomi';
-$_MODULE['<{ekomi}prestashop>ekomi_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Mostrar';
-$_MODULE['<{ekomi}prestashop>ekomi_b9f5c797ebbf55adccdd8539a65a0241'] = 'Ocultar';
-$_MODULE['<{ekomi}prestashop>ekomi_ced21fe73878a0139d427ab2927f6772'] = 'Mostrar o no el bloque (los pedidos serán enviados a eKomi independientemente de que usted elija ocultar o mostrar el bloque).';
-$_MODULE['<{ekomi}prestashop>ekomi_6a794dc942b2e8b4716dbc654e83d094'] = 'Por favor, rellene el formulario con los datos básicos que eKomi le da.';
-$_MODULE['<{ekomi}prestashop>ekomi_c9cc8cce247e49bae79f15173ce97354'] = 'Guardar';
diff --git a/modules/ekomi/fr.php b/modules/ekomi/fr.php
deleted file mode 100644
index 1e1c97b59..000000000
--- a/modules/ekomi/fr.php
+++ /dev/null
@@ -1,18 +0,0 @@
-ekomi_c0858307dfd3d91768c79ec116820b60'] = 'eKomi';
-$_MODULE['<{ekomi}prestashop>ekomi_d245187b3591f5f6f723ece2217bb637'] = 'Ajouter un bloc eKomi';
-$_MODULE['<{ekomi}prestashop>ekomi_5f8f22b8cdbaeee8cf857673a9b6ba20'] = 'répertoire';
-$_MODULE['<{ekomi}prestashop>ekomi_f4d1ea475eaa85102e2b4e6d95da84bd'] = 'Confirmation';
-$_MODULE['<{ekomi}prestashop>ekomi_c888438d14855d7d96a2724ee9c306bd'] = 'Configuration mise à jour';
-$_MODULE['<{ekomi}prestashop>ekomi_f4f70727dc34561dfde1a3c529b6205c'] = 'Configuration';
-$_MODULE['<{ekomi}prestashop>ekomi_597b9cfa17df5ac4e2a4b1f4b6de347a'] = 'Configuration eKomi';
-$_MODULE['<{ekomi}prestashop>ekomi_c4fda5e26d4854b8718850c90694a54c'] = 'E-mail eKomi';
-$_MODULE['<{ekomi}prestashop>ekomi_c48c140af813696592daafbabe6d8b9f'] = 'Script eKomi';
-$_MODULE['<{ekomi}prestashop>ekomi_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Afficher';
-$_MODULE['<{ekomi}prestashop>ekomi_b9f5c797ebbf55adccdd8539a65a0241'] = 'Cacher';
-$_MODULE['<{ekomi}prestashop>ekomi_ced21fe73878a0139d427ab2927f6772'] = 'Afficher ou cacher le bloc (les commandes seront envoyés à eKomi que vous choississiez d\'afficher ou de cacher le bloc).';
-$_MODULE['<{ekomi}prestashop>ekomi_6a794dc942b2e8b4716dbc654e83d094'] = 'Veuillez remplir le formulaire avec les informations fournies par eKomi';
-$_MODULE['<{ekomi}prestashop>ekomi_c9cc8cce247e49bae79f15173ce97354'] = 'Sauvegarder';
diff --git a/modules/ekomi/index.php b/modules/ekomi/index.php
deleted file mode 100644
index 4e2611d37..000000000
--- a/modules/ekomi/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision$
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
\ No newline at end of file
diff --git a/modules/ekomi/it.php b/modules/ekomi/it.php
deleted file mode 100644
index 6133ca47f..000000000
--- a/modules/ekomi/it.php
+++ /dev/null
@@ -1,17 +0,0 @@
-ekomi_c0858307dfd3d91768c79ec116820b60'] = 'eKomi';
-$_MODULE['<{ekomi}prestashop>ekomi_d245187b3591f5f6f723ece2217bb637'] = 'Aggiunge un blocco eKomi';
-$_MODULE['<{ekomi}prestashop>ekomi_f4d1ea475eaa85102e2b4e6d95da84bd'] = 'Conferma';
-$_MODULE['<{ekomi}prestashop>ekomi_c888438d14855d7d96a2724ee9c306bd'] = 'Impostazioni aggiornate';
-$_MODULE['<{ekomi}prestashop>ekomi_f4f70727dc34561dfde1a3c529b6205c'] = 'Impostazioni';
-$_MODULE['<{ekomi}prestashop>ekomi_597b9cfa17df5ac4e2a4b1f4b6de347a'] = 'configurazione eKomi';
-$_MODULE['<{ekomi}prestashop>ekomi_c4fda5e26d4854b8718850c90694a54c'] = 'e-mail eKomi ';
-$_MODULE['<{ekomi}prestashop>ekomi_c48c140af813696592daafbabe6d8b9f'] = 'script eKomi';
-$_MODULE['<{ekomi}prestashop>ekomi_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Attivo';
-$_MODULE['<{ekomi}prestashop>ekomi_b9f5c797ebbf55adccdd8539a65a0241'] = 'Disattivato';
-$_MODULE['<{ekomi}prestashop>ekomi_ced21fe73878a0139d427ab2927f6772'] = 'Mostrare o non mostrare il blocco (gli ordini verranno inviati a eKomi se si sceglie di nascondere o visualizzare il blocco).';
-$_MODULE['<{ekomi}prestashop>ekomi_6a794dc942b2e8b4716dbc654e83d094'] = 'Si prega di compilare il modulo con i dati che eKomi vi dà.';
-$_MODULE['<{ekomi}prestashop>ekomi_c9cc8cce247e49bae79f15173ce97354'] = 'Salva';
diff --git a/modules/ekomi/logo.gif b/modules/ekomi/logo.gif
deleted file mode 100755
index 176cc078c..000000000
Binary files a/modules/ekomi/logo.gif and /dev/null differ
diff --git a/modules/ekomi/logo.png b/modules/ekomi/logo.png
deleted file mode 100644
index 69d00c8ef..000000000
Binary files a/modules/ekomi/logo.png and /dev/null differ
diff --git a/modules/ekomi/mails/de/ekomi.html b/modules/ekomi/mails/de/ekomi.html
deleted file mode 100755
index 186f5b5e0..000000000
--- a/modules/ekomi/mails/de/ekomi.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
{firstname} {lastname} {email} {id_order}
-
-
\ No newline at end of file
diff --git a/modules/ekomi/mails/de/ekomi.txt b/modules/ekomi/mails/de/ekomi.txt
deleted file mode 100755
index bed3e2c7b..000000000
--- a/modules/ekomi/mails/de/ekomi.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-{firstname} {lastname}
-{email}
-{id_order}
-
diff --git a/modules/ekomi/mails/de/index.php b/modules/ekomi/mails/de/index.php
deleted file mode 100644
index 4e2611d37..000000000
--- a/modules/ekomi/mails/de/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision$
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
\ No newline at end of file
diff --git a/modules/ekomi/mails/en/ekomi.html b/modules/ekomi/mails/en/ekomi.html
deleted file mode 100755
index a7d94c885..000000000
--- a/modules/ekomi/mails/en/ekomi.html
+++ /dev/null
@@ -1,4 +0,0 @@
-{firstname} {lastname}
-{email}
-{id_order}
-
diff --git a/modules/ekomi/mails/en/ekomi.txt b/modules/ekomi/mails/en/ekomi.txt
deleted file mode 100755
index a7d94c885..000000000
--- a/modules/ekomi/mails/en/ekomi.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-{firstname} {lastname}
-{email}
-{id_order}
-
diff --git a/modules/ekomi/mails/en/index.php b/modules/ekomi/mails/en/index.php
deleted file mode 100644
index 4e2611d37..000000000
--- a/modules/ekomi/mails/en/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision$
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
\ No newline at end of file
diff --git a/modules/ekomi/mails/es/ekomi.html b/modules/ekomi/mails/es/ekomi.html
deleted file mode 100755
index b0d9df176..000000000
--- a/modules/ekomi/mails/es/ekomi.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
{firstname} {lastname} {email} {id_order}
-
-
\ No newline at end of file
diff --git a/modules/ekomi/mails/es/ekomi.txt b/modules/ekomi/mails/es/ekomi.txt
deleted file mode 100755
index a7d94c885..000000000
--- a/modules/ekomi/mails/es/ekomi.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-{firstname} {lastname}
-{email}
-{id_order}
-
diff --git a/modules/ekomi/mails/es/index.php b/modules/ekomi/mails/es/index.php
deleted file mode 100644
index 4e2611d37..000000000
--- a/modules/ekomi/mails/es/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision$
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
\ No newline at end of file
diff --git a/modules/ekomi/mails/fr/ekomi.html b/modules/ekomi/mails/fr/ekomi.html
deleted file mode 100755
index a7d94c885..000000000
--- a/modules/ekomi/mails/fr/ekomi.html
+++ /dev/null
@@ -1,4 +0,0 @@
-{firstname} {lastname}
-{email}
-{id_order}
-
diff --git a/modules/ekomi/mails/fr/ekomi.txt b/modules/ekomi/mails/fr/ekomi.txt
deleted file mode 100755
index a7d94c885..000000000
--- a/modules/ekomi/mails/fr/ekomi.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-{firstname} {lastname}
-{email}
-{id_order}
-
diff --git a/modules/ekomi/mails/fr/index.php b/modules/ekomi/mails/fr/index.php
deleted file mode 100644
index 4e2611d37..000000000
--- a/modules/ekomi/mails/fr/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision$
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
\ No newline at end of file
diff --git a/modules/ekomi/mails/index.php b/modules/ekomi/mails/index.php
deleted file mode 100644
index dce6b30f5..000000000
--- a/modules/ekomi/mails/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision$
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
\ No newline at end of file
diff --git a/modules/ekomi/mails/it/ekomi.html b/modules/ekomi/mails/it/ekomi.html
deleted file mode 100755
index 31a241c52..000000000
--- a/modules/ekomi/mails/it/ekomi.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
titolo
-
-
-
{firstname} {lastname} {email} {id_order}
-
-
\ No newline at end of file
diff --git a/modules/ekomi/mails/it/ekomi.txt b/modules/ekomi/mails/it/ekomi.txt
deleted file mode 100755
index bed3e2c7b..000000000
--- a/modules/ekomi/mails/it/ekomi.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-{firstname} {lastname}
-{email}
-{id_order}
-
diff --git a/modules/ekomi/mails/it/index.php b/modules/ekomi/mails/it/index.php
deleted file mode 100644
index 4e2611d37..000000000
--- a/modules/ekomi/mails/it/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision$
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
\ No newline at end of file
diff --git a/modules/envoimoinscher/AdminEnvoiMoinsCher.gif b/modules/envoimoinscher/AdminEnvoiMoinsCher.gif
deleted file mode 100755
index 5528809a7..000000000
Binary files a/modules/envoimoinscher/AdminEnvoiMoinsCher.gif and /dev/null differ
diff --git a/modules/envoimoinscher/AdminEnvoiMoinsCher.php b/modules/envoimoinscher/AdminEnvoiMoinsCher.php
deleted file mode 100755
index f1327ea1d..000000000
--- a/modules/envoimoinscher/AdminEnvoiMoinsCher.php
+++ /dev/null
@@ -1,310 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 6844 $
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-include_once('envoimoinscher.php');
-
-class AdminEnvoiMoinsCher extends AdminTab
-{
- public $packaging = array('Pli' => 'Pli', 'Colis' => 'Colis', 'Encombrant' => 'Objet lourd', 'Palette' => 'Palette');
- public function __construct()
- {
- parent::__construct();
- }
-
- public function display()
- {
- $emc = new Envoimoinscher();
- echo '
'.$emc->lang('List of orders to export').'
';
- if (Tools::isSubmit('submitExport'))
- {
- $orderToExport = array();
- $idsOrdersToExport = Tools::getValue('ordersBox');
- if (!empty($idsOrdersToExport))
- {
- foreach($idsOrdersToExport as $id)
- {
- $orderToExport[] = self::getOrderDetails((int)($id));
- }
- echo '
- ';
- }
- else echo '
-

- '.$emc->lang('No order to export').'
-
Retour
';
- }
- else
- {
- if (Configuration::get('EMC_ORDER_STATE') AND Configuration::get('EMC_CARRIER') AND Configuration::get('EMC_FIRST_NAME') AND Configuration::get('EMC_LAST_NAME')
- AND Configuration::get('EMC_ADDRESS') AND Configuration::get('EMC_ZIP_CODE') AND Configuration::get('EMC_CITY') AND Configuration::get('EMC_COUNTRY')
- AND Configuration::get('EMC_PHONE') AND Configuration::get('EMC_EMAIL') AND Configuration::get('EMC_LOGIN'))
- {
- echo '
';
- }
- else
- echo '
'.$emc->lang('Please configure this module in order').'
';
- }
- echo '
- ' . $emc->lang('Change configuration') . '
';
- }
-
- private function getOrders()
- {
- $id_order_state = (int)(Configuration::get('EMC_ORDER_STATE'));
- $id_carrier = (int)(Configuration::get('EMC_CARRIER'));
-
- $sql = '
- SELECT o.id_order as id_order, o.`id_customer` as id_customer,
- CONCAT(c.`firstname`, \' \', c.`lastname`) AS `customer`,
- o.total_paid_real as total, o.total_shipping as shipping,
- o.date_add as date, o.id_currency as id_currency, o.id_lang as id_lang,
- SUM(od.product_weight * od.product_quantity) as weight
- FROM `'._DB_PREFIX_.'orders` o
- LEFT JOIN `'._DB_PREFIX_.'order_detail` od ON (o.`id_order` = od.`id_order`)
- LEFT JOIN `'._DB_PREFIX_.'customer` c ON (c.`id_customer` = o.`id_customer`)
- LEFT JOIN `'._DB_PREFIX_.'order_history` oh ON (oh.`id_order` = o.`id_order`)
- LEFT JOIN `'._DB_PREFIX_.'order_state` os ON (os.`id_order_state` = oh.`id_order_state`)
- LEFT JOIN `'._DB_PREFIX_.'order_state_lang` osl ON (os.`id_order_state` = osl.`id_order_state` AND osl.`id_lang` = o.`id_lang`)
- WHERE (SELECT moh.`id_order_state` FROM `'._DB_PREFIX_.'order_history` moh WHERE moh.`id_order` = o.`id_order` ORDER BY moh.date_add DESC LIMIT 1) = '.$id_order_state.'
- AND o.id_carrier = '.pSQL($id_carrier).'
- GROUP BY o.`id_order`, od.`id_order`
- ORDER BY o.`date_add` ASC';
- return Db::getInstance()->executeS($sql);
- }
-
- private function displayOrders($orders)
- {
- $emc = new Envoimoinscher();
- echo '
-
- |
- '.$emc->lang('ID').' |
- '.$emc->lang('Name').' |
- '.$emc->lang('Total Cost').' |
- '.$emc->lang('Total shipment').' |
- '.$emc->lang('Date').' |
- '.$emc->lang('Packaging').' |
- '.$emc->lang('Nature of contents').' |
- '.$emc->lang('Detail').' |
-
';
- if (!empty($orders))
- {
- foreach($orders as $order)
- {
- $customer = new Customer((int)($order['id_customer']));
- echo '
- |
-
- |
- '.(int)($order['id_order']).' |
- '.htmlentities($customer->lastname, ENT_COMPAT, 'UTF-8').' '.htmlentities($customer->firstname, ENT_COMPAT, 'UTF-8').' |
- '.Tools::displayPrice($order['total'], new Currency((int)($order['id_currency']))).' |
- '.Tools::displayPrice($order['shipping'], new Currency((int)($order['id_currency']))).' |
- '.Tools::displayDate($order['date'], (int)($order['id_lang'])).' |
-
-
- |
- '.envoimoinscher::selectNature(Configuration::get('EMC_CONTENT'),(int)($order['id_order'])).' |
-
-  |
-
';
- }
- }
- else
- echo '| '.$emc->lang('No order to export').' |
';
-
- echo '
';
- }
-
- private function getOrderDetails($id_order)
- {
- $confs = Configuration::getMultiple(array('EMC_LOGIN', 'PS_SHOP_NAME', 'EMC_GENDER', 'EMC_FIRST_NAME', 'EMC_LAST_NAME', 'EMC_ADDRESS',
- 'EMC_ZIP_CODE', 'EMC_CITY', 'EMC_COUNTRY', 'EMC_PHONE', 'EMC_EMAIL', 'EMC_EMAILS'));
- $orderDetails = array();
- $order = new Order((int)($id_order));
- $customer = new Customer((int)($order->id_customer));
- $adresseDelivery = new Address((int)($order->id_address_delivery));
-
- $genderTab = array(1 => 'M.', 2 => 'Mme', 9 => '');
- $orderDetails['url_suivi'] = Tools::getProtocol().htmlspecialchars($_SERVER['HTTP_HOST'], ENT_COMPAT, 'UTF-8').__PS_BASE_URI__.'modules/envoimoinscher/tracking.php?token='.$customer->secure_key;
- $orderDetails['infoexterne'] = str_replace('.','_',str_replace('www.','',$_SERVER['HTTP_HOST'])).'_'.(int)($id_order);
- $orderDetails['packaging'] = Tools::getValue('packaging_'.(int)($id_order));
- $orderDetails['type_objet'] = Tools::getValue('type_objet_'.(int)($id_order));
- $orderDetails['envoi_emailsconf'] = (int)($confs['EMC_EMAILS']);
-
- //products infos
- $productsDetails = $order->getProductsDetail();
- $tabDetails = array();
- foreach($productsDetails as $details)
- {
- $features = self::getFeatures((int)($details['product_id']));
- $tabDetailsProduct = array();
- $tabDetailsProduct['id'] = (int)($details['product_id']);
- $tabDetailsProduct['nb'] = (int)($details['product_quantity']);
- $tabDetailsProduct['poids'] = (float)($details['product_weight']);
- $tabDetailsProduct['description'] = htmlspecialchars($details['product_name'], ENT_COMPAT, 'UTF-8');
- foreach($features as $key => $value)
- $tabDetailsProduct[$key] = $value;
- $tabDetails[] = $tabDetailsProduct;
- }
- $orderDetails['products'] = $tabDetails;
-
- //sending infos
- $orderExpediteur['civilite'] = htmlspecialchars($genderTab[$confs['EMC_GENDER']], ENT_COMPAT, 'UTF-8');
- $orderExpediteur['collecte_type'] = 'entreprise';
- $orderExpediteur['societe'] = htmlspecialchars($confs['PS_SHOP_NAME'], ENT_COMPAT, 'UTF-8');
- $orderExpediteur['nom'] = htmlspecialchars($confs['EMC_LAST_NAME'], ENT_COMPAT, 'UTF-8');
- $orderExpediteur['prenom'] = htmlspecialchars($confs['EMC_FIRST_NAME'], ENT_COMPAT, 'UTF-8');
- $orderExpediteur['adresse'] = htmlspecialchars($confs['EMC_ADDRESS'], ENT_COMPAT, 'UTF-8');
- $orderExpediteur['codepostal'] = htmlspecialchars($confs['EMC_ZIP_CODE'], ENT_COMPAT, 'UTF-8');
- $orderExpediteur['ville'] = htmlspecialchars($confs['EMC_CITY'], ENT_COMPAT, 'UTF-8');
-
- $orderExpediteur['pz_id'] = htmlspecialchars($confs['EMC_COUNTRY'], ENT_COMPAT, 'UTF-8');
- $orderExpediteur['tel'] = htmlspecialchars($confs['EMC_PHONE'], ENT_COMPAT, 'UTF-8');
- $orderExpediteur['email'] = htmlspecialchars($confs['EMC_EMAIL'], ENT_COMPAT, 'UTF-8');
- $orderDetails['expediteur'] = $orderExpediteur;
-
- //delivery infos
- $orderDelivery['civilite'] = $genderTab[(int)($customer->id_gender)];
- if (isset($adresseDelivery->company))
- $orderDelivery['collecte_type'] = 'particulier';
- $orderDelivery['societe'] = htmlspecialchars($adresseDelivery->company, ENT_COMPAT, 'UTF-8');
- $orderDelivery['prenom'] = htmlspecialchars($adresseDelivery->firstname, ENT_COMPAT, 'UTF-8');
- $orderDelivery['nom'] = htmlspecialchars($adresseDelivery->lastname, ENT_COMPAT, 'UTF-8');
- $orderDelivery['adresse'] = htmlspecialchars($adresseDelivery->address1, ENT_COMPAT, 'UTF-8');
- $orderDelivery['codepostal'] = htmlspecialchars($adresseDelivery->postcode, ENT_COMPAT, 'UTF-8');
- $orderDelivery['ville'] = htmlspecialchars($adresseDelivery->city, ENT_COMPAT, 'UTF-8');
- $orderDelivery['pz_id'] = Country::getIsoById(Country::getIdByName($this->context->language->id, $adresseDelivery->country));
- if (isset($adresseDelivery->phone))
- $orderDelivery['tel'] = htmlspecialchars($adresseDelivery->phone, ENT_COMPAT, 'UTF-8');
- else
- $orderDelivery['tel'] = htmlspecialchars($adresseDelivery->phone_mobile, ENT_COMPAT, 'UTF-8');
- $orderDelivery['email'] = htmlspecialchars($customer->email, ENT_COMPAT, 'UTF-8');
-
- $orderDetails['destinataire'] = $orderDelivery;
- return $orderDetails;
- }
-
- private function getFeatures($id)
- {
- $featuresTab = array();
- $confs = Configuration::getMultiple(array('EMC_WIDTH', 'EMC_HEIGHT', 'EMC_DEPTH'));
- $features = Product::getFeaturesStatic((int)$id);
- foreach($features as $feature)
- {
- switch ($feature['id_feature'])
- {
- case $confs['EMC_WIDTH'] :
- $featureValue = new FeatureValue((int)($feature['id_feature_value']));
- $featuresTab['largeur'] = $featureValue->value[(int)$this->context->language->id];
- break;
- case $confs['EMC_HEIGHT'] :
- $featureValue = new FeatureValue((int)($feature['id_feature_value']));
- $featuresTab['hauteur'] = $featureValue->value[(int)$this->context->language->id];
- break;
- case $confs['EMC_DEPTH'] :
- $featureValue = new FeatureValue((int)($feature['id_feature_value']));
- $featuresTab['longueur'] = $featureValue->value[(int)$this->context->language->id];
- break;
- }
- }
- return $featuresTab;
- }
-
- private function inputMaker($orderDetails)
- {
- $nbrOrder = count($orderDetails)-1;
- foreach($orderDetails as $details)
- {
- foreach($details as $detail => $values)
- {
- if ($detail == 'products')
- {
- if (count($values) > 1)
- {
- $weight = 0;
- foreach($values as $key => $features)
- {
- $weight += (float)($features['poids']*$features['nb']);
- }
- echo '
';
- }
- elseif($values[0]['nb'] > 1)
- {
- echo '
';
- echo '
';
- }
- else
- {
- echo '
';
- echo '
';
- echo '
';
- echo '
'; echo '
';
- }
- }
- elseif ($detail == 'packaging')
- echo '
';
- elseif ($detail == 'infoexterne')
- echo '
';
- elseif ($detail == 'url_suivi')
- echo '
';
- elseif ($detail == 'infoexterne')
- echo '
';
- elseif ($detail == 'envoi_emailsconf')
- echo '
';
- elseif ($detail == 'type_objet')
- echo '
';
- else
- {
- foreach($values as $key => $value)
- echo '
';
- }
- }
- $nbrOrder -=1 ;
- }
- }
-}
-
-
diff --git a/modules/envoimoinscher/config.xml b/modules/envoimoinscher/config.xml
deleted file mode 100755
index 0d0237123..000000000
--- a/modules/envoimoinscher/config.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
- envoimoinscher
-
-
-
-
-
- 1
- 1
- fr
-
\ No newline at end of file
diff --git a/modules/envoimoinscher/de.php b/modules/envoimoinscher/de.php
deleted file mode 100644
index a4b34506d..000000000
--- a/modules/envoimoinscher/de.php
+++ /dev/null
@@ -1,117 +0,0 @@
-envoimoinscher_e0b8a2c577580cb773bda0486acc4bf8'] = 'Envoimoinscher';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bbd983fbdc5928ce36d6edce53639718'] = 'Finden Sie den günstigsten Versand. Vergleichen und fordern Sie Angebote von Lieferanten sowie ausgehandelte Preise an.';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_cc89336eed19f4c3bef8ae484eb43109'] = '\'Breite\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fab811cb477e7794389f16624ac9aff9'] = '\'Höhe\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_7854da902d5f2ad746fe1b6f950da08e'] = '\'Tiefe\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_63a0a494ef3c3c22829660ef6081dce4'] = '\'Bestellstatus\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_786b7b25dcd85d7e972a377f56facb5a'] = '\'Lieferant\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1a3ade81b4ddac3ff0fe9f98f93ad843'] = '\'Status Bestellung vorbei\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_070d4ccfe53bdbc791cbd6119b872f34'] = '\'Status Bestellung senden\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c98d7be3b0acc53f7d2142cc3a3ab444'] = '\'Status Bestellung geliefert\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4d470fde8487e755a50e9235e3dc13ab'] = 'muss konfiguriert sein, um dieses Modul richtig zu nutzen';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9d766be2c89b5af0010ac0c11dcddae7'] = 'Bitte manuell kopieren';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6357d3551190ec7e79371a8570121d3a'] = 'Es sind';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4ce81305b7edb043d0a7a5c75cab17d0'] = 'Es ist';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_07213a0161f52846ab198be103b5ab43'] = 'Fehler';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_cb5e100e5a9a3e7f6d1fd97512215282'] = 'Fehler';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_413c9cfb1b07fabd2f4e2873e6b92da1'] = 'Envoimoinscher Konto erstellen:';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8fc0ba19a15eeb50ab4ad8db449b0c74'] = 'Um Ihr Konto bei Envoimoinscher zu erstellen, klicken Sie auf das Bild unten. Damit gehen Sie zu einem speziellen persönlichen Bereich, wo Sie sämtliche Tools für eine einfache Versandverwaltung finden.';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Beschreibung';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_82b213c84c7cf648a3cc9e718bb0f1c5'] = 'Dieses Modul ermöglicht es Ihnen, Lieferanten-Angebote und Online-Bestellungsservices mit ausgehandelten Lieferkosten zu vergleichen.';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b843f182d32b5571e48879444311c38b'] = 'Sie müssen Ihren Envoimoinscher-Benutzernamen unten eingeben. Wenn Sie noch kein Kunde bei Envoimoinscher sind, können Sie ganz einfach ein Konto erstellen, indem Sie';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6c92285fa6d3e827b198d120ea3ac674'] = 'hier klicken';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8d64b03d7cc357f2ac9c63f8c88b49a0'] = 'Dokumentation downloaden ';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_f4f70727dc34561dfde1a3c529b6205c'] = 'Einstellungen';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_32954654ac8fe66a1d09be19001de2d4'] = 'Breite';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_af7bb0f5eddd2287cf3f6b880d189e19'] = 'Wählen Sie eine Funktion ...';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_31f12b07ff0701df3b6000412952f9c7'] = 'Wählen Sie die Breite in der Liste';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_eec6c4bdbd339edf8cbea68becb85244'] = 'Höhe';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_97fd502c6a75bfb727fbb5a93d3bc60b'] = 'Wählen Sie die Höhe in der Liste';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_675056ad1441b6375b2c5abd48c27ef1'] = 'Tiefe';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ccccb5efc77dfc62afb2c5ad4223916d'] = 'Wählen Sie die Tiefe in der Liste';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a669003ea35aa39ca280b83bd259a032'] = 'Verpackung';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6106b8b4d1ecffdfa8357956183ec519'] = 'Verpackungsart aussuchen...';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2b4c2d19b9293e812fa18765a407be4d'] = 'Standard-Verpackungsart auswählen.';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_f0c28b9363b60ed0a4579291ca510544'] = 'Art der Inhalte';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_f4c0dac58ce6ddb2fa8776d32b1571d4'] = 'Standard-Inhaltsart auswählen.';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_e74b7618bb3f99b8a7c00ef765c727eb'] = 'Bestellstatus zum Export';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_509d517463244dcd1ec09c4c5fa266ac'] = 'Wählen Sie einen Status ...';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bb4b4f2503c57254aaed1f1a07bb71da'] = 'Wählen Sie den Bestellstatus zum Export an Envoi Moins Cher.';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_914419aa32f04011357d3b604a86d7eb'] = 'Lieferant';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c6f2a31a74727092b14a9f25fa0761f4'] = 'Wählen Sie einen Lieferanten...';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a22d9830367fdf0f6b2601e7484b387'] = 'Wählen Sie einen Lieferanten auf der Liste';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2aad255fde4750af3f559d078e1cb420'] = 'Bestellstatus \"Bestellung abgeschlossen\"';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_dd77298d81e440f5379f48dccf993a8b'] = 'Wählen Sie den Bestellstatus abgeschlossen';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8532ff05a8576bdc04f8a9b8b1dbbfbc'] = 'Bestellstatus Absenden';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b5af6d17d6837ce556286d019e06e4e0'] = 'Wählen Sie den Bestellstatus Absenden';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_d2392c7501c4041d990cc0d372cde50a'] = 'Bestellstatus Geliefert';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b06087cef2468e82e0e07499fdba5c30'] = 'Wählen Sie den Bestellstatus Geliefert';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1e884e3078d9978e216a027ecd57fb34'] = 'E-Mail';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Aktiviert';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b9f5c797ebbf55adccdd8539a65a0241'] = 'Deaktiviert';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9e839460f2871eb777da1b74f3fab03e'] = 'Aktiviert oder deaktiviert das Senden von Mails aus EMC';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a995d9073f999ae5713f6994092b57e'] = 'bis es den Empfänger standardmäßig informiert';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_7a16e0022af67a71b8d1521f746f41b3'] = 'EMC Login';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6ef6eed8e2c2d13d6823cbff8f139bad'] = 'Stellen Sie Ihr EMC Login ein';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a861c864b470344da673354f996ce0a7'] = 'Absenderinformationen';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_019ec3132cdf8ee0f2e2a75cf5d3e459'] = 'Geschlecht';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5f33341287efce675cacf0b3ed818e70'] = 'Wählen Sie das Geschlecht des Absenders';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8d3f5eff9c40ee315d452392bed5309b'] = 'Nachname';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8cf6db4af977baa86b7691da80601bd0'] = 'Stellen Sie den Nachnamen des Absenders ein';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_20db0bfeecd8fe60533206a2b5e9891a'] = 'Vorname';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_49a768ce02314f39d386a66b77ae1858'] = 'Stellen Sie den Vornamen des Absenders ein';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_dd7bf230fde8d4836917806aff6a6b27'] = 'Adresse';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a56f1882e859d6ce5b0fbc96c544100'] = 'Stellen Sie die Adresse des Absenders ein';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_642d3ba5db8b57e006584b544e490ec7'] = 'Postleitzahl';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_16e65be7ad7680a7148b8ddf0b5b4171'] = 'Stellen Sie die Postleitzahl des Absenders ein';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_57d056ed0984166336b7879c2af3657f'] = 'Stadt';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_e73af174484a98a10a852ab5bdb701bf'] = 'Stellen Sie die Stadt des Absenders ein';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_59716c97497eb9694541f7c3d37b1a4d'] = 'Land';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_255529f7845194a47b4c2e28374cdb1f'] = 'Wählen Sie ein Land ...';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6c820bc5f65e6258a648c3621b7b761e'] = 'Wählen Sie das Land des Absenders in der Liste';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bcc254b55c4a1babdf1dcb82c207506b'] = 'Telefon';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6770d2600f6b45aa0b18dd9a6e39b2f8'] = 'Stellen Sie die Telefonnummer des Absenders ein';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'E-Mail';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_43cdf4833105e72eb951833a030ad4d5'] = 'Stellen Sie die E-Mail des Absenders ein';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c9cc8cce247e49bae79f15173ce97354'] = 'Speichern';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1fa598730b02d78aa07d07337c81c720'] = 'Breite nicht angegeben';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c5ac8560e3b92c7941286fa8c2b3a1ed'] = 'Höhe nicht angegeben';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_0eed429f3ae1e71de73b94e13f786893'] = 'Tiefe nicht angegeben';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5d50fc169bba225de3df710ff98188c6'] = 'Bestellstatus nicht angegeben';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_340ffdfdc019d0b001a4753b57aa398a'] = 'Lieferant nicht angegeben';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4ecdf47576d5d0d024f30199900c1761'] = 'Bestellstatus \"Bestellung abgeschlossen\" genicht angegeben';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c6a9265e0dcf5d7a7f331055b9b93609'] = 'Bestellstatus Senden nicht angegeben';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9f3440922590dae1ebc28c40555c6203'] = 'Bestellstatus Lieferung nicht angegeben';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_43b89b46dcf9440d5f852548ac5341a3'] = 'Nachname nicht angegeben';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9a6dfbad73e6a8a852d4b1a266e941d2'] = 'Vorname nicht angegeben';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fdda31acf2551d1edde59d64144975b8'] = 'Adresse nicht angegeben';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_01fc0f14742ba00423886a14e31964de'] = 'PLZ nicht angegeben';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2814eaaff876f0a3f29d87b23ceaa041'] = 'Stadt nicht angegeben';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ae21c3189ecc1e32d10e8f3b264af190'] = 'Land nicht angegeben';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_829d5874145d3477d778cdff96671448'] = 'Telefonnummer nicht angegeben';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a3b23591400c94a94583a94c0ab1f19f'] = 'E-Mail nicht angegeben';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_18f54b7a823f3349d841804a9fbc5aa3'] = 'Login nicht angegeben';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_20015706a8cbd457cbb6ea3e7d5dc9b3'] = 'Konfiguration aktualisiert';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b9284bff13acffdd879ef4ac7fca5234'] = 'Einstellungen fehlgeschlagen';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1b67f24ea45fdf2e11ad8f6e777e8c8b'] = 'Versandinformationen';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fad2b83dc128dfb793fa8ee944dd9931'] = 'Versandverfolgung';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_d668e43f1d8b0584ed4f896de031d921'] = 'Keine Versandnummer';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bee4b55285d16e5fe85fc3474e343c51'] = 'Lieferscheine drucken';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_10f0b7273755ee4117c1517010e18c23'] = 'Keine Lieferscheinnummer';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9ab3e83b1071d09ca62e4cd258686f6b'] = 'Keine Bestellung zum Exportieren';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8c193493d8e4a97dc6da02d9809be530'] = 'Bitte konfigurieren Sie dieses Modul in der Bestellung';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2345e28c9b93f368968be4781ed70f5c'] = 'Konfiguration ändern';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b718adec73e04ce3ec720dd11a06a308'] = 'ID';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_49ee3087348e8d44e1feda1917443987'] = 'Name';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_50e91dab2a063bc8c1dbc383b0c8e71c'] = 'Gesamtkosten';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5e8ff31378107b80ae8a9e7cd93eb1bc'] = 'Gesamt Versand';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_44749712dbec183e983dcd78a7736c41'] = 'Datum';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_403ddddf1f3eecc1a2566b3d81e12993'] = 'Art der Inhalte';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a254c25adc7d10d7e9c4889484f875a5'] = 'Detail';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4351cfebe4b61d8aa5efa1d020710005'] = 'Anzeigen';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_94966d90747b97d1f0f206c98a8b1ac3'] = 'Senden';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_eae21050d83c239d047c9eb0d3bc930e'] = 'Liste der Bestellungen zum Exportieren';
diff --git a/modules/envoimoinscher/envoimoinscher.php b/modules/envoimoinscher/envoimoinscher.php
deleted file mode 100755
index 7a1790069..000000000
--- a/modules/envoimoinscher/envoimoinscher.php
+++ /dev/null
@@ -1,595 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 7040 $
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-if (!defined('_PS_VERSION_'))
- exit;
-
-class Envoimoinscher extends Module
-{
- private $_html = '';
- private $_postErrors = array();
- public $_errors = array();
- public $packaging = array('Pli' => 'Pli', 'Colis' => 'Colis', 'Encombrant' => 'Objet lourd', 'Palette' => 'Palette');
- const INSTALL_SQL_FILE = 'install.sql';
- function __construct()
- {
- $this->name = 'envoimoinscher';
- $this->tab = 'shipping_logistics';
- $this->version = '1.0';
- $this->limited_countries = array('fr');
- $this->needRange = true;
-
- parent::__construct ();
-
- $this->page = basename(__FILE__, '.php');
- $this->displayName = $this->l('Envoimoinscher');
- $this->description = $this->l('Find the best price for your shipment. Compare and order carriers offers at negotiated rates.');
-
- if (self::isInstalled($this->name))
- {
- $warning = array();
- //Check config and display warning
- if (!Configuration::get('EMC_WIDTH'))
- $warning[] .= $this->l('\'Width\'').' ';
- if (!Configuration::get('EMC_HEIGHT'))
- $warning[] .= $this->l('\'Height\'').' ';
- if (!Configuration::get('EMC_DEPTH'))
- $warning[] .= $this->l('\'Depth\'').' ';
- if (!Configuration::get('EMC_ORDER_STATE'))
- $warning[] .= $this->l('\'Order state\'').' ';
- if (!Configuration::get('EMC_CARRIER'))
- $warning[] .= $this->l('\'Carrier\'').' ';
- if (!Configuration::get('EMC_ORDER_PAST_STATE'))
- $warning[] .= $this->l('\'Order past state\'').' ';
- if (!Configuration::get('EMC_SEND_STATE'))
- $warning[] .= $this->l('\'Send order state\'').' ';
- if (!Configuration::get('EMC_DELIVERY_STATE'))
- $warning[] .= $this->l('\'Delivered order state\'').' ';
-
- if (count($warning))
- $this->warning .= implode(' , ',$warning).$this->l('must be configured to use this module correctly').' ';
- }
- }
-
- /**
- * @see ModuleCore::install()
- */
- public function install()
- {
- if (!file_exists(dirname(__FILE__).'/'.self::INSTALL_SQL_FILE))
- return false;
- elseif (!$sql = file_get_contents(dirname(__FILE__).'/'.self::INSTALL_SQL_FILE))
- return false;
- $sql = str_replace(array('PREFIX_', 'ENGINE_TYPE'), array(_DB_PREFIX_, _MYSQL_ENGINE_), $sql);
- $sql = preg_split("/;\s*[\r\n]+/", $sql);
- foreach ($sql AS $query)
- if ($query AND sizeof($query) AND !Db::getInstance()->execute(trim($query)))
- return false;
- if (substr(_PS_VERSION_, 2, 3) <= 3.1)
- {
- if (!@copy(dirname(__FILE__).'/AdminEnvoiMoinsCher.gif', _PS_IMG_DIR_.'/t/AdminEnvoiMoinsCher.gif'))
- $this->_errors[] = $this->l('Please manually copy ') .dirname(__FILE__).'/AdminEnvoiMoinsCher.gif'.' in the '._PS_IMG_DIR_.'/t/AdminEnvoiMoinsCher.gif folder located in your admin directory.';
- }
- if (!parent::install() OR !Configuration::updateValue('EMC_EMAILS', 1) OR !$this->registerHook('AdminOrder') OR !self::adminInstall()
- OR !Db::getInstance()->execute('CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'envoimoinscher` (`id_order` int(10) unsigned NOT NULL, `shipping_number` varchar(30) NOT NULL ) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=latin1;'))
- return false;
- return true;
- }
-
- /**
- * Add new tab in administration
- */
- private function adminInstall()
- {
- $tab = new Tab();
- $tab->class_name = 'AdminEnvoiMoinsCher';
- $tab->id_parent = 3;
- $tab->module = 'envoimoinscher';
- $tab->name[(int)(Configuration::get('PS_LANG_DEFAULT'))] = $this->l('Envoimoinscher');
- return $tab->add();
- }
-
- /**
- * @see ModuleCore::uninstall()
- */
- public function uninstall()
- {
- Db::getInstance()->execute('DROP TABLE `'._DB_PREFIX_.'envoimoinscher_contenu`');
-
- $tab = new Tab(Tab::getIdFromClassName('AdminEnvoiMoinsCher'));
- if (!parent::uninstall() OR !$tab->delete() OR !$this->unregisterHook('AdminOrder'))
- return false;
- return true;
- }
-
- public function getContent()
- {
- $this->_html .= '
' . $this->l('Envoimoinscher').'
';
-
- if (!empty($_POST) AND Tools::isSubmit('submitSave'))
- {
- $this->_postValidation();
- if (!sizeof($this->_postErrors))
- $this->_postProcess();
- else
- {
- $nbErrors = sizeof($this->_postErrors);
- $this->_html .= '
-
'.($nbErrors > 1 ? $this->l('There are') : $this->l('There is')).' '.$nbErrors.' '.($nbErrors > 1 ? $this->l('errors') : $this->l('error')).'
-
';
- foreach ($this->_postErrors AS $err)
- $this->_html .= '- - '.$err.'
';
- $this->_html .= '
';
- }
- }
- $this->_displayForm();
- return $this->_html;
- }
-
-
- private function _displayForm()
- {
- $genderTab = array(1 => 'M.', 2 => 'Mme', 9 => '', 0 => '');
- $features = Feature::getFeatures($this->context->language->id);
- $order_states = OrderState::getOrderStates($this->context->language->id);
- $carriers = Carrier::getCarriers($this->context->language->id);
- $countries = Country::getCountries($this->context->language->id);
- $confs = Configuration::getMultiple(array('PS_SHOP_NAME', 'EMC_LOGIN', 'EMC_GENDER', 'EMC_LAST_NAME', 'EMC_FIRST_NAME', 'EMC_ADDRESS', 'EMC_ZIP_CODE', 'EMC_CITY', 'EMC_COUNTRY',
- 'EMC_PHONE', 'EMC_EMAIL'));
- $link = '
';
-
-
- $this->_html .= '
-
-
-
-
-
-
';
-
- }
-
- private function _postValidation()
- {
- if (Tools::getValue('EMC_WIDTH') == 0)
- $this->_postErrors[] = $this->l('Width not specified');
- if (Tools::getValue('EMC_HEIGHT') == 0)
- $this->_postErrors[] = $this->l('Height not specified');
- if (Tools::getValue('EMC_DEPTH') == 0)
- $this->_postErrors[] = $this->l('Depth not specified');
- if (Tools::getValue('EMC_ORDER_STATE') == 0)
- $this->_postErrors[] = $this->l('Order state not specified');
- if (Tools::getValue('EMC_CARRIER') == 0)
- $this->_postErrors[] = $this->l('Carrier not specified');
- if (Tools::getValue('EMC_ORDER_PAST_STATE') == 0)
- $this->_postErrors[] = $this->l('Order state "order past" not specified');
- if (Tools::getValue('EMC_SEND_STATE') == 0)
- $this->_postErrors[] = $this->l('Order state send not specified');
- if (Tools::getValue('EMC_DELIVERY_STATE') == 0)
- $this->_postErrors[] = $this->l('Order state delivery not specified');
- if (Tools::getValue('EMC_LAST_NAME') == '')
- $this->_postErrors[] = $this->l('Last name not specified');
- if (Tools::getValue('EMC_FIRST_NAME') == '')
- $this->_postErrors[] = $this->l('First name not specified');
- if (Tools::getValue('EMC_ADDRESS') == '')
- $this->_postErrors[] = $this->l('Address not specified');
- if (Tools::getValue('EMC_ZIP_CODE') == '')
- $this->_postErrors[] = $this->l('Zip Code not specified');
- if (Tools::getValue('EMC_CITY') == '')
- $this->_postErrors[] = $this->l('City not specified');
- if (Tools::getValue('EMC_COUNTRY') == '')
- $this->_postErrors[] = $this->l('Country not specified');
- if (Tools::getValue('EMC_PHONE') == '')
- $this->_postErrors[] = $this->l('Phone not specified');
- if (Tools::getValue('EMC_EMAIL') == '')
- $this->_postErrors[] = $this->l('E-mail not specified');
- if (Tools::getValue('EMC_LOGIN') == '')
- $this->_postErrors[] = $this->l('Login not specified');
- }
-
- private function _postProcess()
- {
- if (Configuration::updateValue('EMC_WIDTH', (int)(Tools::getValue('EMC_WIDTH'))) AND Configuration::updateValue('EMC_HEIGHT', (int)(Tools::getValue('EMC_HEIGHT'))) AND
- Configuration::updateValue('EMC_DEPTH', (int)(Tools::getValue('EMC_DEPTH'))) AND Configuration::updateValue('EMC_ORDER_STATE', (int)(Tools::getValue('EMC_ORDER_STATE'))) AND
- Configuration::updateValue('EMC_CARRIER', (int)(Tools::getValue('EMC_CARRIER'))) AND Configuration::updateValue('EMC_PACKAGING_DEFAULT', Tools::getValue('EMC_PACKAGING_DEFAULT'))
- AND Configuration::updateValue('EMC_GENDER', Tools::getValue('EMC_GENDER')) AND Configuration::updateValue('EMC_LAST_NAME', Tools::getValue('EMC_LAST_NAME'))
- AND Configuration::updateValue('EMC_FIRST_NAME', Tools::getValue('EMC_FIRST_NAME')) AND Configuration::updateValue('EMC_ADDRESS', Tools::getValue('EMC_ADDRESS'))
- AND Configuration::updateValue('EMC_ZIP_CODE', Tools::getValue('EMC_ZIP_CODE')) AND Configuration::updateValue('EMC_CITY', Tools::getValue('EMC_CITY'))
- AND Configuration::updateValue('EMC_COUNTRY', Tools::getValue('EMC_COUNTRY')) AND Configuration::updateValue('EMC_PHONE', Tools::getValue('EMC_PHONE'))
- AND Configuration::updateValue('EMC_EMAIL', Tools::getValue('EMC_EMAIL')) AND Configuration::updateValue('EMC_ORDER_PAST_STATE', Tools::getValue('EMC_ORDER_PAST_STATE'))
- AND Configuration::updateValue('EMC_SEND_STATE', Tools::getValue('EMC_SEND_STATE')) AND Configuration::updateValue('EMC_EMAILS', Tools::getValue('EMC_EMAILS'))
- AND Configuration::updateValue('EMC_LOGIN', Tools::getValue('EMC_LOGIN')) AND Configuration::updateValue('EMC_CONTENT', Tools::getValue('type_objet_'))
- AND Configuration::updateValue('EMC_DELIVERY_STATE', Tools::getValue('EMC_DELIVERY_STATE')))
- {
- $dataSync = (($emc_login = Configuration::get('EMC_LOGIN'))
- ? '
.')
' : '');
- $this->_html .= $this->displayConfirmation($this->l('Configuration updated').$dataSync);
- }
- else
- $this->_html .= '

'.$this->l('Settings failed').'
';
- }
-
- static function selectNature($selected = '', $id = '')
- {
- $select = '
';
- return $select;
- }
-
- public function hookAdminOrder($params)
- {
- $order = new Order($params['id_order']);
- if ($order->id_carrier == Configuration::get('EMC_CARRIER'))
- {
- $return = Db::getInstance()->executeS('SELECT * FROM '._DB_PREFIX_.'envoimoinscher WHERE id_order = \''.(int)($order->id).'\' LIMIT 1');
- if (isset($return[0]['shipping_number']))
- {
- $html = '
';
- return $html;
- }
- }
- }
-
- public function lang($str)
- {
- switch($str)
- {
- case 'No order to export':
- return $this->l('No order to export');
- break;
- case 'Please configure this module in order':
- return $this->l('Please configure this module in order');
- break;
- case 'Change configuration':
- return $this->l('Change configuration');
- break;
- case 'ID':
- return $this->l('ID');
- break;
- case 'Name':
- return $this->l('Name');
- break;
- case 'Total Cost':
- return $this->l('Total Cost');
- break;
- case 'Total shipment':
- return $this->l('Total shipment');
- break;
- case 'Date':
- return $this->l('Date');
- break;
- case 'Packaging':
- return $this->l('Packaging');
- break;
- case 'Nature of contents':
- return $this->l('Nature of contents');
- break;
- case 'Detail':
- return $this->l('Detail');
- break;
- case 'View':
- return $this->l('View');
- break;
- case 'Send':
- return $this->l('Send');
- break;
- case 'List of orders to export':
- return $this->l('List of orders to export');
- break;
- }
- }
-}
-
diff --git a/modules/envoimoinscher/es.php b/modules/envoimoinscher/es.php
deleted file mode 100644
index 4baf3548a..000000000
--- a/modules/envoimoinscher/es.php
+++ /dev/null
@@ -1,117 +0,0 @@
-envoimoinscher_e0b8a2c577580cb773bda0486acc4bf8'] = 'Envoimoinscher';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bbd983fbdc5928ce36d6edce53639718'] = 'Encuentre el mejor precio para su envío. Compare y pida ofertas a transportistas, a precios negociados. ';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_cc89336eed19f4c3bef8ae484eb43109'] = '\'Ancho\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fab811cb477e7794389f16624ac9aff9'] = '\'Alto\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_7854da902d5f2ad746fe1b6f950da08e'] = '\'Profundo\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_63a0a494ef3c3c22829660ef6081dce4'] = '\'Estados\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_786b7b25dcd85d7e972a377f56facb5a'] = '\'Transportista\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1a3ade81b4ddac3ff0fe9f98f93ad843'] = 'Estado pedido efectuado';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_070d4ccfe53bdbc791cbd6119b872f34'] = 'Estado pedido enviada';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c98d7be3b0acc53f7d2142cc3a3ab444'] = 'Estado pedido entragado';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4d470fde8487e755a50e9235e3dc13ab'] = 'debe estar configurado para utilizar este módulo correctamente';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9d766be2c89b5af0010ac0c11dcddae7'] = 'Por favor, copie a mano';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6357d3551190ec7e79371a8570121d3a'] = 'Hay';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4ce81305b7edb043d0a7a5c75cab17d0'] = 'Hay';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_07213a0161f52846ab198be103b5ab43'] = 'Errores';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_cb5e100e5a9a3e7f6d1fd97512215282'] = 'Error';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_413c9cfb1b07fabd2f4e2873e6b92da1'] = 'Crear su cuenta Enviemoinscher:';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8fc0ba19a15eeb50ab4ad8db449b0c74'] = 'Para crear su cuenta Envoimoinscher pulse en la imagen? Accederá a un espacio personal en el que encontrará todas las herramientas que permiten una gestión sencilla y rápida de sus envíos. ';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Descripción';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_82b213c84c7cf648a3cc9e718bb0f1c5'] = 'Este módulo le permite comparar ofertas de transporte y tarifas de entrega negociadas para servicios de pedidos en línea . ';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b843f182d32b5571e48879444311c38b'] = 'Debe introducir su nombre de usuario Envoimoinscher más abajo. Si todavía no es cliente de Envoimoinscher, puede crear fácilmente una cuenta haciendo clic';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6c92285fa6d3e827b198d120ea3ac674'] = 'aquí';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8d64b03d7cc357f2ac9c63f8c88b49a0'] = 'Bajar la documentación';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_f4f70727dc34561dfde1a3c529b6205c'] = 'Confuguración';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_32954654ac8fe66a1d09be19001de2d4'] = 'Ancho';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_af7bb0f5eddd2287cf3f6b880d189e19'] = 'Elegir una característica...';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_31f12b07ff0701df3b6000412952f9c7'] = 'Elegir la característica \"ancho\" en la lista';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_eec6c4bdbd339edf8cbea68becb85244'] = 'Alto';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_97fd502c6a75bfb727fbb5a93d3bc60b'] = 'Elegir la característica \"alto\" en la lista';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_675056ad1441b6375b2c5abd48c27ef1'] = 'Profundo';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ccccb5efc77dfc62afb2c5ad4223916d'] = 'Elegir la característica \"profundo\" en la lista';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a669003ea35aa39ca280b83bd259a032'] = 'Embalaje';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6106b8b4d1ecffdfa8357956183ec519'] = 'Elegir un embalaje...';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2b4c2d19b9293e812fa18765a407be4d'] = 'Elegir un embalaje por defecto';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_f0c28b9363b60ed0a4579291ca510544'] = 'Naturaleza delo contenido';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_f4c0dac58ce6ddb2fa8776d32b1571d4'] = 'Elegir la naturaleza de los contenidos de forma predeterminada.';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_e74b7618bb3f99b8a7c00ef765c727eb'] = 'Estado de pedidos a enviar';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_509d517463244dcd1ec09c4c5fa266ac'] = 'Elegir un estado de pedido...';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bb4b4f2503c57254aaed1f1a07bb71da'] = 'Elegir un estado de pedido en la lista a exportar hacia Enviemoinscher.com';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_914419aa32f04011357d3b604a86d7eb'] = 'Transportista';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c6f2a31a74727092b14a9f25fa0761f4'] = 'Elegir un transportista...';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a22d9830367fdf0f6b2601e7484b387'] = 'Elegir un transportista en la lista a exportar hacia Enviemoinscher.com';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2aad255fde4750af3f559d078e1cb420'] = 'Estado pedido realizado';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_dd77298d81e440f5379f48dccf993a8b'] = 'Elegir un estado de pedido en la lista \"Pedido realizado\"';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8532ff05a8576bdc04f8a9b8b1dbbfbc'] = 'Estado de pedido enviado';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b5af6d17d6837ce556286d019e06e4e0'] = 'Elegir un estado de pedido en la lista \"Pedido enviado\"';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_d2392c7501c4041d990cc0d372cde50a'] = 'Estado de pedido entregado';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b06087cef2468e82e0e07499fdba5c30'] = 'Elegir un estado de pedido en la lista \"Pedido entregado\"';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1e884e3078d9978e216a027ecd57fb34'] = 'Correo electrónico';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activado';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b9f5c797ebbf55adccdd8539a65a0241'] = 'Desactivado';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9e839460f2871eb777da1b74f3fab03e'] = 'Activar o desactivar el envío de emails de parte de Enviemoinscher';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a995d9073f999ae5713f6994092b57e'] = 'excepto la notificación al destinatario que es enviada por defecto';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_7a16e0022af67a71b8d1521f746f41b3'] = 'Login Enviemoinscher';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6ef6eed8e2c2d13d6823cbff8f139bad'] = 'Introduzca su login Enviemoinscher';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a861c864b470344da673354f996ce0a7'] = 'Información del remitente';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_019ec3132cdf8ee0f2e2a75cf5d3e459'] = 'Sexo';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5f33341287efce675cacf0b3ed818e70'] = 'Elegir el sexo del remitente';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8d3f5eff9c40ee315d452392bed5309b'] = 'Apellido';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8cf6db4af977baa86b7691da80601bd0'] = 'Introducir el apellido del remitente';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_20db0bfeecd8fe60533206a2b5e9891a'] = 'Nombre';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_49a768ce02314f39d386a66b77ae1858'] = 'Introducir el nombre del remitente';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_dd7bf230fde8d4836917806aff6a6b27'] = 'Dirección';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a56f1882e859d6ce5b0fbc96c544100'] = 'Introducir la dirección del remitente';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_642d3ba5db8b57e006584b544e490ec7'] = 'Código postal';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_16e65be7ad7680a7148b8ddf0b5b4171'] = 'Introducir el código del remitente';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_57d056ed0984166336b7879c2af3657f'] = 'Ciudad';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_e73af174484a98a10a852ab5bdb701bf'] = 'Introducir la ciudad del remitente';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_59716c97497eb9694541f7c3d37b1a4d'] = 'País';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_255529f7845194a47b4c2e28374cdb1f'] = 'Elegir un país';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6c820bc5f65e6258a648c3621b7b761e'] = 'Introducir el país del remitente';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bcc254b55c4a1babdf1dcb82c207506b'] = 'Teléfono';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6770d2600f6b45aa0b18dd9a6e39b2f8'] = 'Introducir el teléfono del remitente';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'Email';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_43cdf4833105e72eb951833a030ad4d5'] = 'Introducir el email del remitente';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c9cc8cce247e49bae79f15173ce97354'] = 'Guardar';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1fa598730b02d78aa07d07337c81c720'] = 'Falta información \"alto\"';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c5ac8560e3b92c7941286fa8c2b3a1ed'] = 'Falta información \"ancho\"';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_0eed429f3ae1e71de73b94e13f786893'] = 'Falta información \"profundo\"';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5d50fc169bba225de3df710ff98188c6'] = 'Falta información \"estado de pedido\"';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_340ffdfdc019d0b001a4753b57aa398a'] = 'Falta información \"transportista\"';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4ecdf47576d5d0d024f30199900c1761'] = 'Falta información estado \"pedido realizado\"';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c6a9265e0dcf5d7a7f331055b9b93609'] = 'Falta información estado \"pedido enviado\"';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9f3440922590dae1ebc28c40555c6203'] = 'Falta información estado \"pedido entregado\"';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_43b89b46dcf9440d5f852548ac5341a3'] = 'Falta apellido';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9a6dfbad73e6a8a852d4b1a266e941d2'] = 'Falta nombre';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fdda31acf2551d1edde59d64144975b8'] = 'Falta dirección';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_01fc0f14742ba00423886a14e31964de'] = 'Falta código postal';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2814eaaff876f0a3f29d87b23ceaa041'] = 'Falta ciudad';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ae21c3189ecc1e32d10e8f3b264af190'] = 'Falta país';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_829d5874145d3477d778cdff96671448'] = 'Falta teléfono';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a3b23591400c94a94583a94c0ab1f19f'] = 'Falta email';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_18f54b7a823f3349d841804a9fbc5aa3'] = 'Login Enviemoinscher';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_20015706a8cbd457cbb6ea3e7d5dc9b3'] = 'Configuración actualizada';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b9284bff13acffdd879ef4ac7fca5234'] = 'Fallaron los ajustes';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1b67f24ea45fdf2e11ad8f6e777e8c8b'] = 'Información de entrega';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fad2b83dc128dfb793fa8ee944dd9931'] = 'Seguimiento del paquete';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_d668e43f1d8b0584ed4f896de031d921'] = 'No hay número de seguimiento';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bee4b55285d16e5fe85fc3474e343c51'] = 'Imprimir el albarán de expedición';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_10f0b7273755ee4117c1517010e18c23'] = 'No hay número de expedición';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9ab3e83b1071d09ca62e4cd258686f6b'] = 'Ningún pedido para exportar';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8c193493d8e4a97dc6da02d9809be530'] = 'Por favor, configure este módulo ';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2345e28c9b93f368968be4781ed70f5c'] = 'Modificación de la configuración';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b718adec73e04ce3ec720dd11a06a308'] = 'ID';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_49ee3087348e8d44e1feda1917443987'] = 'Nombre';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_50e91dab2a063bc8c1dbc383b0c8e71c'] = 'Coste Total';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5e8ff31378107b80ae8a9e7cd93eb1bc'] = 'total del envío';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_44749712dbec183e983dcd78a7736c41'] = 'Fecha';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_403ddddf1f3eecc1a2566b3d81e12993'] = 'Naturaleza del contenido';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a254c25adc7d10d7e9c4889484f875a5'] = 'Detalle';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4351cfebe4b61d8aa5efa1d020710005'] = 'Ver';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_94966d90747b97d1f0f206c98a8b1ac3'] = 'Enviar';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_eae21050d83c239d047c9eb0d3bc930e'] = 'Lista de pedidos para exportar';
diff --git a/modules/envoimoinscher/fr.php b/modules/envoimoinscher/fr.php
deleted file mode 100755
index 67b76b404..000000000
--- a/modules/envoimoinscher/fr.php
+++ /dev/null
@@ -1,117 +0,0 @@
-envoimoinscher_e0b8a2c577580cb773bda0486acc4bf8'] = 'Envoimoinscher';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bbd983fbdc5928ce36d6edce53639718'] = 'Trouvez le meilleur prix pour votre envoi. Comparez et commandez les offres des transporteurs, à des tarifs négociés.';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_cc89336eed19f4c3bef8ae484eb43109'] = '\'Largeur\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fab811cb477e7794389f16624ac9aff9'] = '\'Hauteur\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_7854da902d5f2ad746fe1b6f950da08e'] = '\'Profondeur\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_63a0a494ef3c3c22829660ef6081dce4'] = '\'Statuts\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_786b7b25dcd85d7e972a377f56facb5a'] = '\'Transporteur\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1a3ade81b4ddac3ff0fe9f98f93ad843'] = 'Statut commande passée';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_070d4ccfe53bdbc791cbd6119b872f34'] = 'Statut commande envoyée';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c98d7be3b0acc53f7d2142cc3a3ab444'] = 'Statut commande livrée';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4d470fde8487e755a50e9235e3dc13ab'] = 'doit être configuré pour utiliser ce module correctement';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9d766be2c89b5af0010ac0c11dcddae7'] = 'S\'il vous plaît copier manuellement';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6357d3551190ec7e79371a8570121d3a'] = 'Il y a';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4ce81305b7edb043d0a7a5c75cab17d0'] = 'Il y a';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_07213a0161f52846ab198be103b5ab43'] = 'Erreurs';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_cb5e100e5a9a3e7f6d1fd97512215282'] = 'Erreur';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_413c9cfb1b07fabd2f4e2873e6b92da1'] = 'Créer son compte Envoimoinscher :';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8fc0ba19a15eeb50ab4ad8db449b0c74'] = 'Pour créer votre compte Envoimoinscher cliquez sur l\'image ci-dessous. Vous allez accéder à un espace personnel dédié sur lequel vous retrouverez tous les outils permettant une gestion facile et rapide de vos envois.';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Description';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_82b213c84c7cf648a3cc9e718bb0f1c5'] = 'Ce module vous permet de comparer les offres des transporteurs et de commander en ligne des prestations de livraison à des tarifs négociés.';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b843f182d32b5571e48879444311c38b'] = 'Vous devrez renseigner votre identifiant Envoimoinscher ci-dessous. Si vous n\'êtes pas encore client Envoimoinscher, vous pouvez créer un compte très facilement en cliquant';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6c92285fa6d3e827b198d120ea3ac674'] = 'ici';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8d64b03d7cc357f2ac9c63f8c88b49a0'] = 'Télécharger la documentation';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_f4f70727dc34561dfde1a3c529b6205c'] = 'Configuration';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_32954654ac8fe66a1d09be19001de2d4'] = 'Largeur';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_af7bb0f5eddd2287cf3f6b880d189e19'] = 'Choisir une caractéristique ...';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_31f12b07ff0701df3b6000412952f9c7'] = 'Choisir la caractéristique \"largeur\" dans la liste';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_eec6c4bdbd339edf8cbea68becb85244'] = 'Hauteur';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_97fd502c6a75bfb727fbb5a93d3bc60b'] = 'Choisir la caractéristique \"hauteur\" dans la liste';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_675056ad1441b6375b2c5abd48c27ef1'] = 'Profondeur';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ccccb5efc77dfc62afb2c5ad4223916d'] = 'Choisir la caractéristique \"profondeur\" dans la liste';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a669003ea35aa39ca280b83bd259a032'] = 'Conditionnement';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6106b8b4d1ecffdfa8357956183ec519'] = 'Choisir un conditionnement ... ';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2b4c2d19b9293e812fa18765a407be4d'] = 'Choisir un conditionnement par défaut';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_f0c28b9363b60ed0a4579291ca510544'] = 'Contenu';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_f4c0dac58ce6ddb2fa8776d32b1571d4'] = 'Choisir le contenu par défaut';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_e74b7618bb3f99b8a7c00ef765c727eb'] = 'Statut de commandes à envoyer';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_509d517463244dcd1ec09c4c5fa266ac'] = 'Choisir un statut de commande ...';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bb4b4f2503c57254aaed1f1a07bb71da'] = 'Choisir un statut de commande dans la liste à exporter vers Envoimoinscher.com';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_914419aa32f04011357d3b604a86d7eb'] = 'Transporteur';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c6f2a31a74727092b14a9f25fa0761f4'] = 'Choisir un transporteur ... ';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a22d9830367fdf0f6b2601e7484b387'] = 'Choisir un transporteur dans la liste à exporter vers Envoimoinscher.com';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2aad255fde4750af3f559d078e1cb420'] = 'Statut commande passée';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_dd77298d81e440f5379f48dccf993a8b'] = 'Choisir un statut de commande dans la liste \"Commande passée\"';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8532ff05a8576bdc04f8a9b8b1dbbfbc'] = 'Statut commande envoyée';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b5af6d17d6837ce556286d019e06e4e0'] = 'Choisir un statut de commande dans la liste \"Commande envoyée\"';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_d2392c7501c4041d990cc0d372cde50a'] = 'Statut commande livrée';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b06087cef2468e82e0e07499fdba5c30'] = 'Choisir un statut de commande dans la liste \"Commande livrée\"';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1e884e3078d9978e216a027ecd57fb34'] = 'Mails';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9e839460f2871eb777da1b74f3fab03e'] = 'Active ou désactive l\'envoi de mails de la part de Envoimoinscher';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a995d9073f999ae5713f6994092b57e'] = 'sauf la notification au destinataire qui est envoyée par défaut';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_7a16e0022af67a71b8d1521f746f41b3'] = 'Identifiant Envoimoinscher';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6ef6eed8e2c2d13d6823cbff8f139bad'] = 'Saisir votre Identifiant Envoimoinscher';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a861c864b470344da673354f996ce0a7'] = 'Informations sur l\'expéditeur';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_019ec3132cdf8ee0f2e2a75cf5d3e459'] = 'Sexe';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5f33341287efce675cacf0b3ed818e70'] = 'Choisir le sexe de l\'expéditeur';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8d3f5eff9c40ee315d452392bed5309b'] = 'Nom de famille';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8cf6db4af977baa86b7691da80601bd0'] = 'Saisir le nom de famille de l\'expéditeur';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_20db0bfeecd8fe60533206a2b5e9891a'] = 'Prénom';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_49a768ce02314f39d386a66b77ae1858'] = 'Saisir le prénom de l\'expéditeur';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_dd7bf230fde8d4836917806aff6a6b27'] = 'Adresse';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a56f1882e859d6ce5b0fbc96c544100'] = 'Saisir l\'adresse de l\'expéditeur';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_642d3ba5db8b57e006584b544e490ec7'] = 'Code postal';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_16e65be7ad7680a7148b8ddf0b5b4171'] = 'Saisir le code postal de l\'expéditeur';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_57d056ed0984166336b7879c2af3657f'] = 'Ville';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_e73af174484a98a10a852ab5bdb701bf'] = 'Saisir la ville de l\'expéditeur';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_59716c97497eb9694541f7c3d37b1a4d'] = 'Pays';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_255529f7845194a47b4c2e28374cdb1f'] = 'Choisir un pays';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6c820bc5f65e6258a648c3621b7b761e'] = 'Saisir le pays de l\'expéditeur';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bcc254b55c4a1babdf1dcb82c207506b'] = 'Téléphone';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6770d2600f6b45aa0b18dd9a6e39b2f8'] = 'Saisir le téléphone de l\'expéditeur';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'Email';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_43cdf4833105e72eb951833a030ad4d5'] = 'Saisir l\'email de l\'expéditeur';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c9cc8cce247e49bae79f15173ce97354'] = 'Sauvegarder';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1fa598730b02d78aa07d07337c81c720'] = 'Largeur non renseignée';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c5ac8560e3b92c7941286fa8c2b3a1ed'] = 'Hauteur non renseignée';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_0eed429f3ae1e71de73b94e13f786893'] = 'Profondeur non renseignée';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5d50fc169bba225de3df710ff98188c6'] = 'Statut de commande non renseignée';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_340ffdfdc019d0b001a4753b57aa398a'] = 'Transporteur non renseignée';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4ecdf47576d5d0d024f30199900c1761'] = 'Statut \"commande passée\" non renseignée';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c6a9265e0dcf5d7a7f331055b9b93609'] = 'Statut \"commande envoyée\" non renseignée';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9f3440922590dae1ebc28c40555c6203'] = 'Statut \"commande livrée\" non renseignée';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_43b89b46dcf9440d5f852548ac5341a3'] = 'Nom de famille non renseignée';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9a6dfbad73e6a8a852d4b1a266e941d2'] = 'Prénom non renseignée';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fdda31acf2551d1edde59d64144975b8'] = 'Adresse non renseignée';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_01fc0f14742ba00423886a14e31964de'] = 'Code postal non renseignée';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2814eaaff876f0a3f29d87b23ceaa041'] = 'Ville non renseignée';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ae21c3189ecc1e32d10e8f3b264af190'] = 'Pays non renseignée';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_829d5874145d3477d778cdff96671448'] = 'Téléphone non renseignée';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a3b23591400c94a94583a94c0ab1f19f'] = 'Email non renseignée';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_18f54b7a823f3349d841804a9fbc5aa3'] = 'Login Envoimoinscher';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_20015706a8cbd457cbb6ea3e7d5dc9b3'] = 'Configuration mise à jour';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b9284bff13acffdd879ef4ac7fca5234'] = 'Configuration échoué';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1b67f24ea45fdf2e11ad8f6e777e8c8b'] = 'Informations de transporteur';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fad2b83dc128dfb793fa8ee944dd9931'] = 'Suivre le colis';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_d668e43f1d8b0584ed4f896de031d921'] = 'Pas de numéro de suivi';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bee4b55285d16e5fe85fc3474e343c51'] = 'Imprimer le bordereau d\'expédition';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_10f0b7273755ee4117c1517010e18c23'] = 'Pas de numéro d\'expédition';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9ab3e83b1071d09ca62e4cd258686f6b'] = 'Aucune commande pour l\'export';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8c193493d8e4a97dc6da02d9809be530'] = 'Merci de configurer ce module';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2345e28c9b93f368968be4781ed70f5c'] = 'Modification de la configuration';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b718adec73e04ce3ec720dd11a06a308'] = 'ID';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_49ee3087348e8d44e1feda1917443987'] = 'Nom';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_50e91dab2a063bc8c1dbc383b0c8e71c'] = 'Coût total';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5e8ff31378107b80ae8a9e7cd93eb1bc'] = 'Total expédition ';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_44749712dbec183e983dcd78a7736c41'] = 'Date';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_403ddddf1f3eecc1a2566b3d81e12993'] = 'Nature du contenu';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a254c25adc7d10d7e9c4889484f875a5'] = 'Détails';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4351cfebe4b61d8aa5efa1d020710005'] = 'Voir';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_94966d90747b97d1f0f206c98a8b1ac3'] = 'Envoyer';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_eae21050d83c239d047c9eb0d3bc930e'] = 'Liste des commandes à exporter';
diff --git a/modules/envoimoinscher/index.php b/modules/envoimoinscher/index.php
deleted file mode 100644
index 4e2611d37..000000000
--- a/modules/envoimoinscher/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision$
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
\ No newline at end of file
diff --git a/modules/envoimoinscher/install.sql b/modules/envoimoinscher/install.sql
deleted file mode 100755
index e608afdf3..000000000
--- a/modules/envoimoinscher/install.sql
+++ /dev/null
@@ -1,84 +0,0 @@
-CREATE TABLE IF NOT EXISTS `PREFIX_envoimoinscher_contenu` (
- `id` int(6) NOT NULL,
- `abrv` varchar(10) character set utf8 NOT NULL,
- `libelle` text character set utf8 NOT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;
-
-INSERT INTO `PREFIX_envoimoinscher_contenu` (`id`, `abrv`, `libelle`) VALUES
-(50450, 'outi', 'Outillage, outils, bricolage'),
-(50430, 'moto', 'Motos, scooters'),
-(50420, 'motr', 'Moteurs'),
-(50170, 'horl', 'Montres, horlogerie (hors bijoux)'),
-(50100, 'med', 'Matériel médical'),
-(50395, 'elec', 'Matériel électrique, transfo., câbles'),
-(50390, 'labo', 'Matériel de labo, optique, de mesure'),
-(50380, 'chff', 'Matériel de chauffage, chaudronnerie'),
-(50360, 'musi', 'Instruments de musique et accessoires'),
-(50110, 'info', 'Informatique, High tech, téléphonie fixe'),
-(50400, 'fbur', 'Fournitures de bureau, papeterie, recharges'),
-(50120, 'div', 'Autres appareils et matériels'),
-(50350, 'spor', 'Articles de sport (hors vêtement)'),
-(50330, 'camp', 'Articles de camping, de pêche'),
-(40120, 'usag', 'Vêtements usagés'),
-(40110, 'tiss', 'Tissus, vêtements neufs'),
-(40130, 'cuir', 'Cuirs, peaux, maroquinerie'),
-(40100, 'chau', 'Chaussures'),
-(50160, 'bij', 'Bijoux, objets précieux'),
-(40150, 'bijf', 'Bijoux fantaisie'),
-(40125, 'vest', 'Accessoires vestimentaires, de mode'),
-(50190, 'tab', 'Tabac'),
-(30200, 'pharm', 'Pharmacie, médicaments'),
-(50200, 'parf', 'Parfums'),
-(30100, 'cosm', 'Cosmétiques, bien-être'),
-(30300, 'chim', 'Chimie, droguerie, produits d''entretien'),
-(20105, 'surg', 'Produits surgelés'),
-(20103, 'refr', 'Produits réfrigérés'),
-(20102, 'frai', 'Produits frais et périssables'),
-(20130, 'plant', 'Plantes, fleurs, semences'),
-(20100, 'alim', 'Denrées alimentaires non périssables'),
-(20110, 'nalc', 'Boissons non alcoolisées'),
-(20120, 'alc', 'Boissons alcoolisées'),
-(10180, 'radio', 'Radiographies'),
-(10210, 'prop', 'Propositions commerciales'),
-(10250, 'plan', 'Plans, dessins'),
-(10190, 'photo', 'Photographies'),
-(10280, 'patr', 'Patrons'),
-(10160, 'pass', 'Passeports'),
-(10140, 'tech', 'Manuels techniques'),
-(10130, 'mag', 'Magazines, revues'),
-(10150, 'livr', 'Livres'),
-(10240, 'list', 'Listings informatiques'),
-(10120, 'journ', 'Journaux'),
-(10290, 'etiq', 'Etiquettes, autocollants'),
-(10100, 'ssval', 'Documents sans valeur commerciale'),
-(10220, 'pub', 'Documents publicitaires'),
-(10260, 'impr', 'Documents d''impression'),
-(10300, 'apof', 'Documents d''appels d''offres'),
-(10200, 'courr', 'Courrier interne d''entreprise'),
-(10230, 'rapp', 'Catalogues, rapports annuels'),
-(10170, 'bill', 'Billets d''avion'),
-(50140, 'auto', 'Pièces de rechange et accessoires (auto)'),
-(50150, 'rech', 'Pièces de rechange et accessoires (autres)'),
-(50490, 'plom', 'Plomberie, sanitaire, tubes plastiques'),
-(50500, 'quin', 'Quincaillerie, robinetterie, serrurerie'),
-(50130, 'num', 'Supports numériques, CD, DVD'),
-(50113, 'cell', 'Téléphonie mobile et accessoires'),
-(50114, 'tvec', 'Téléviseurs, écrans d''ordinateur'),
-(50440, 'velo', 'Vélos, cycles sans moteur'),
-(60122, 'miro', 'Autres objets d''art et tableaux'),
-(60130, 'frag', 'Autres objets fragiles'),
-(60129, 'cera', 'Céramique, verres, cristallerie'),
-(60110, 'emgr', 'Electroménager '),
-(60124, 'lamp', 'Lampes, luminaire'),
-(60108, 'moba', 'Mobilier ancien (antiquité)'),
-(60100, 'mob', 'Mobilier d''habitation'),
-(60102, 'mobb', 'Mobilier de bureau'),
-(60105, 'mobn', 'Mobilier démonté sous emballage'),
-(60120, 'antiq', 'Objets et tableaux cotés, miroirs, vitres'),
-(60112, 'pelc', 'Petit électroménager, petits appareils ménagers'),
-(60126, 'tapi', 'Tapis'),
-(60128, 'toil', 'Toiles, rideaux, draps'),
-(70100, 'baga', 'Bagages, valises, malles'),
-(50180, 'cad', 'Cadeaux, cadeaux entreprise'),
-(70200, 'carto', 'Cartons de déménagement, effets personnels');
\ No newline at end of file
diff --git a/modules/envoimoinscher/it.php b/modules/envoimoinscher/it.php
deleted file mode 100644
index 868f31f06..000000000
--- a/modules/envoimoinscher/it.php
+++ /dev/null
@@ -1,117 +0,0 @@
-envoimoinscher_e0b8a2c577580cb773bda0486acc4bf8'] = 'Envoimoinscher';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bbd983fbdc5928ce36d6edce53639718'] = 'Trova la tariffa migliore per la tua spedizione. Confronta e metti in ordine le offerte di corrieri, a tariffe negoziate.';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_cc89336eed19f4c3bef8ae484eb43109'] = '\'Larghezza\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fab811cb477e7794389f16624ac9aff9'] = '\'Altezza\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_7854da902d5f2ad746fe1b6f950da08e'] = '\'Profondità\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_63a0a494ef3c3c22829660ef6081dce4'] = '\'Stato Ordine\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_786b7b25dcd85d7e972a377f56facb5a'] = '\'Corriere\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1a3ade81b4ddac3ff0fe9f98f93ad843'] = '\'Stato ordine passato\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_070d4ccfe53bdbc791cbd6119b872f34'] = '\'Stato ordine Inviato\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c98d7be3b0acc53f7d2142cc3a3ab444'] = '\'Stato ordine consegnato\'';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4d470fde8487e755a50e9235e3dc13ab'] = 'deve essere configurato per utilizzare questo modulo correttamente';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9d766be2c89b5af0010ac0c11dcddae7'] = 'Copia manualmente';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6357d3551190ec7e79371a8570121d3a'] = 'Ci sono';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4ce81305b7edb043d0a7a5c75cab17d0'] = 'C\'è';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_07213a0161f52846ab198be103b5ab43'] = 'errori';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_cb5e100e5a9a3e7f6d1fd97512215282'] = 'errore';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_413c9cfb1b07fabd2f4e2873e6b92da1'] = 'Crea un account Envoimoinscher:';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8fc0ba19a15eeb50ab4ad8db449b0c74'] = 'Per creare il tuo account Envoimoinscher clicca sull\'immagine qui sotto. Sarai indirizzato ad uno spazio dedicato personale, dove trovi tutti gli strumenti per una facile gestione delle tue spedizioni.';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Descrizione';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_82b213c84c7cf648a3cc9e718bb0f1c5'] = 'Questo modulo permette di confrontare le offerte dei corrieri e servizi di ordine online a tariffe di consegna. negoziate';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b843f182d32b5571e48879444311c38b'] = 'Devi inserire il tuo nome utente Envoimoinscher qui di seguito. Se non sei ancora un cliente Envoimoinscher, puoi facilmente creare un account cliccando';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6c92285fa6d3e827b198d120ea3ac674'] = 'qui';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8d64b03d7cc357f2ac9c63f8c88b49a0'] = 'Download Documentazione';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_f4f70727dc34561dfde1a3c529b6205c'] = 'Impostazioni';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_32954654ac8fe66a1d09be19001de2d4'] = 'Larghezza';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_af7bb0f5eddd2287cf3f6b880d189e19'] = 'Scegli una funzione ...';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_31f12b07ff0701df3b6000412952f9c7'] = 'Scegli la larghezza della lista';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_eec6c4bdbd339edf8cbea68becb85244'] = 'Altezza';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_97fd502c6a75bfb727fbb5a93d3bc60b'] = 'Scegli Altezza nella lista';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_675056ad1441b6375b2c5abd48c27ef1'] = 'Profondità';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ccccb5efc77dfc62afb2c5ad4223916d'] = 'Scegli profondità nella lista';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a669003ea35aa39ca280b83bd259a032'] = 'Confezione';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6106b8b4d1ecffdfa8357956183ec519'] = 'Scegli una confezione...';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2b4c2d19b9293e812fa18765a407be4d'] = 'Scegli la confezione di default.';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_f0c28b9363b60ed0a4579291ca510544'] = 'Natura dei contenuti';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_f4c0dac58ce6ddb2fa8776d32b1571d4'] = 'Scegli la natura dei contenuti di default.';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_e74b7618bb3f99b8a7c00ef765c727eb'] = 'Stato dell\'ordine da esportare';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_509d517463244dcd1ec09c4c5fa266ac'] = 'Scegli uno stato ...';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bb4b4f2503c57254aaed1f1a07bb71da'] = 'Scegliere lo stato di ordine per esportare a Envoi Moins Cher.';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_914419aa32f04011357d3b604a86d7eb'] = 'Corriere';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c6f2a31a74727092b14a9f25fa0761f4'] = 'Scegli un corriere...';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a22d9830367fdf0f6b2601e7484b387'] = 'Scegli un corriere nella lista';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2aad255fde4750af3f559d078e1cb420'] = 'Stato dell\'ordine \"Ordine passato\"';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_dd77298d81e440f5379f48dccf993a8b'] = 'Scegli l\'ordine \"Ordine passato\"';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8532ff05a8576bdc04f8a9b8b1dbbfbc'] = 'Stato dell\'ordine inviato';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b5af6d17d6837ce556286d019e06e4e0'] = 'Scegli l\'ordine \"Ordine inviato\"';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_d2392c7501c4041d990cc0d372cde50a'] = 'Stato dell\'ordine consegnato';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b06087cef2468e82e0e07499fdba5c30'] = 'Scegli l\'ordine \"Ordine consegnato\"';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1e884e3078d9978e216a027ecd57fb34'] = 'E-mail';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Attivato';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b9f5c797ebbf55adccdd8539a65a0241'] = 'Disattivato';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9e839460f2871eb777da1b74f3fab03e'] = 'Attiva o disattiva l\'invio di posta da EMC';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a995d9073f999ae5713f6994092b57e'] = 'a meno che non informi il destinatario che viene inviato per default';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_7a16e0022af67a71b8d1521f746f41b3'] = 'Login EMC';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6ef6eed8e2c2d13d6823cbff8f139bad'] = 'Imposta il tuo login EMC';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a861c864b470344da673354f996ce0a7'] = 'Informazioni mittente';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_019ec3132cdf8ee0f2e2a75cf5d3e459'] = 'Sesso';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5f33341287efce675cacf0b3ed818e70'] = 'Seleziona sesso del mittente';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8d3f5eff9c40ee315d452392bed5309b'] = 'Cognome';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8cf6db4af977baa86b7691da80601bd0'] = 'Imposta il Cognome del mittente';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_20db0bfeecd8fe60533206a2b5e9891a'] = 'Nome';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_49a768ce02314f39d386a66b77ae1858'] = 'Imposta il nome del mittente';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_dd7bf230fde8d4836917806aff6a6b27'] = 'Indirizzo';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a56f1882e859d6ce5b0fbc96c544100'] = 'Imposta l\'indirizzo del mittente';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_642d3ba5db8b57e006584b544e490ec7'] = 'CAP';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_16e65be7ad7680a7148b8ddf0b5b4171'] = 'Impostare il CAP del mittente';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_57d056ed0984166336b7879c2af3657f'] = 'City';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_e73af174484a98a10a852ab5bdb701bf'] = 'Imposta il nome della città del mittente';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_59716c97497eb9694541f7c3d37b1a4d'] = 'Paese';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_255529f7845194a47b4c2e28374cdb1f'] = 'Scegli un paese ...';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6c820bc5f65e6258a648c3621b7b761e'] = 'Seleziona il paese del mittente nella lista';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bcc254b55c4a1babdf1dcb82c207506b'] = 'Telefono';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6770d2600f6b45aa0b18dd9a6e39b2f8'] = 'Imposta il telefono del mittente';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'E-mail';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_43cdf4833105e72eb951833a030ad4d5'] = 'Imposta la mail del mittente';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c9cc8cce247e49bae79f15173ce97354'] = 'Salva';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1fa598730b02d78aa07d07337c81c720'] = 'Larghezza non specificata';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c5ac8560e3b92c7941286fa8c2b3a1ed'] = 'Altezza non specificata';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_0eed429f3ae1e71de73b94e13f786893'] = 'Profondità non specificata';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5d50fc169bba225de3df710ff98188c6'] = 'Stato dell\'ordine non specificato';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_340ffdfdc019d0b001a4753b57aa398a'] = 'Corriere non specificato';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4ecdf47576d5d0d024f30199900c1761'] = 'Stato dell\'ordine \"ordine passato\" non specificato';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c6a9265e0dcf5d7a7f331055b9b93609'] = 'Stato dell\'ordine \"inviato\" non specificato';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9f3440922590dae1ebc28c40555c6203'] = 'Stato dell\'ordine \"consegna\" non specificato';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_43b89b46dcf9440d5f852548ac5341a3'] = 'Cognome non specificato';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9a6dfbad73e6a8a852d4b1a266e941d2'] = 'Nome non specificato';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fdda31acf2551d1edde59d64144975b8'] = 'Indirizzo non specificato';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_01fc0f14742ba00423886a14e31964de'] = 'CAP non specificato';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2814eaaff876f0a3f29d87b23ceaa041'] = 'Città non specificata';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ae21c3189ecc1e32d10e8f3b264af190'] = 'Paese non specificato';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_829d5874145d3477d778cdff96671448'] = 'Telefono non specificato';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a3b23591400c94a94583a94c0ab1f19f'] = 'E-mail non specificata';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_18f54b7a823f3349d841804a9fbc5aa3'] = 'Login non specificato';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_20015706a8cbd457cbb6ea3e7d5dc9b3'] = 'Configurazione aggiornata';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b9284bff13acffdd879ef4ac7fca5234'] = 'Impostazioni non riuscite';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1b67f24ea45fdf2e11ad8f6e777e8c8b'] = 'Informazioni sulla consegna';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fad2b83dc128dfb793fa8ee944dd9931'] = 'Segui la spedizione';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_d668e43f1d8b0584ed4f896de031d921'] = 'Nessun numero di spedizione ';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bee4b55285d16e5fe85fc3474e343c51'] = 'Stampa note di consegna';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_10f0b7273755ee4117c1517010e18c23'] = 'Nessun numero di note di consegna';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9ab3e83b1071d09ca62e4cd258686f6b'] = 'Nessun ordine da esportare';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8c193493d8e4a97dc6da02d9809be530'] = 'Si prega di configurare questo modulo, al fine';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2345e28c9b93f368968be4781ed70f5c'] = 'Modifica la configurazione';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b718adec73e04ce3ec720dd11a06a308'] = 'ID';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_49ee3087348e8d44e1feda1917443987'] = 'Nome';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_50e91dab2a063bc8c1dbc383b0c8e71c'] = 'Costo totale';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5e8ff31378107b80ae8a9e7cd93eb1bc'] = 'totale della spedizione';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_44749712dbec183e983dcd78a7736c41'] = 'Data';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_403ddddf1f3eecc1a2566b3d81e12993'] = 'Natura del contenuto';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a254c25adc7d10d7e9c4889484f875a5'] = 'Dettaglio';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4351cfebe4b61d8aa5efa1d020710005'] = 'Visualizza';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_94966d90747b97d1f0f206c98a8b1ac3'] = 'Invia';
-$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_eae21050d83c239d047c9eb0d3bc930e'] = 'Elenco degli ordini per l\'esportazione';
diff --git a/modules/envoimoinscher/logo.gif b/modules/envoimoinscher/logo.gif
deleted file mode 100755
index 5528809a7..000000000
Binary files a/modules/envoimoinscher/logo.gif and /dev/null differ
diff --git a/modules/envoimoinscher/logocarre.png b/modules/envoimoinscher/logocarre.png
deleted file mode 100755
index 2d1a97835..000000000
Binary files a/modules/envoimoinscher/logocarre.png and /dev/null differ
diff --git a/modules/envoimoinscher/ps_emc.png b/modules/envoimoinscher/ps_emc.png
deleted file mode 100755
index 4828ce724..000000000
Binary files a/modules/envoimoinscher/ps_emc.png and /dev/null differ
diff --git a/modules/envoimoinscher/tracking.php b/modules/envoimoinscher/tracking.php
deleted file mode 100755
index ec99b0fc2..000000000
--- a/modules/envoimoinscher/tracking.php
+++ /dev/null
@@ -1,103 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 7310 $
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-include('../../config/config.inc.php');
-include('../../init.php');
-
-$validReturn = array('infoexterne', 'token', 'etat', 'envoi');
-
-$return = array();
-foreach ($_GET AS $key => $val)
- if (in_array(strtolower($key), $validReturn))
- $return[strtolower($key)] = utf8_encode(urldecode(stripslashes($val)));
-
-if (isset($return['infoexterne']) AND isset($return['token']) AND isset($return['etat']))
-{
- $id_order = str_replace(str_replace('.', '_', str_replace('www.','',$_SERVER['HTTP_HOST'])).'_', '', $return['infoexterne']);
-
- $order = new Order((int)($id_order));
- $customer = new Customer((int)($order->id_customer));
- $confs = Configuration::getMultiple(array('EMC_SEND_STATE', 'EMC_ORDER_PAST_STATE', 'EMC_DELIVERY_STATE'));
-
- if ($customer->secure_key != $return['token'])
- d(Tools::displayError('Hack attempt'));
- else
- {
- switch ($return['etat'])
- {
- // New command
- case 'CMD' :
- $history = new OrderHistory();
- $history->id_order = (int)($id_order);
- $history->changeIdOrderState((int)($confs['EMC_ORDER_PAST_STATE']), (int)($history->id_order));
- $history->id_employee = (int)$this->context->employee->id;
- $history->addWithemail();
-
- $db = Db::getInstance();
- $db->executeS('SELECT * FROM '._DB_PREFIX_.'envoimoinscher WHERE id_order = '.(int)($id_order));
- $numRows = (int)($db->NumRows());
- if ($numRows == 0)
- {
- if (Db::getInstance()->execute('INSERT INTO '._DB_PREFIX_.'envoimoinscher VALUES (\''.(int)($id_order).'\', \''.pSQL($return['envoi']).'\');'));
- }
- else
- {
- if (Db::getInstance()->execute('UPDATE '._DB_PREFIX_.'envoimoinscher SET shipping_number=\''.pSQL($return['envoi']).'\' WHERE id_order=\''.(int)($id_order).'\' '));
- }
-
- break;
- // Send object
- case 'ENV' :
- $history = new OrderHistory();
- $history->id_order = (int)($id_order);
- $history->changeIdOrderState((int)($confs['EMC_SEND_STATE']), (int)($history->id_order));
- $history->id_employee = (int)$this->context->employee->id;
- $history->addWithemail();
- break;
- // Cancel
- case 'ANN' :
- $message = new Message();
- $texte = 'Envoi Moins cher : envoi annulé';
- $message->message = htmlentities($texte, ENT_COMPAT, 'UTF-8');
- $message->id_order = (int)($id_order);
- $message->private = 1;
- $message->add();
- break;
- // todo ??
- case 'LIV' :
- $history = new OrderHistory();
- $history->id_order = (int)($id_order);
- $history->changeIdOrderState((int)($confs['EMC_DELIVERY_STATE']), (int)($history->id_order));
- $history->id_employee = (int)$this->context->employee->id;
- $history->addWithemail();
- break;
- }
- }
-}
-else
- d(Tools::displayError('Hack attempt'));
-
diff --git a/modules/fedexcarrier/RateService_v10.wsdl b/modules/fedexcarrier/RateService_v10.wsdl
deleted file mode 100644
index 899d47fdd..000000000
--- a/modules/fedexcarrier/RateService_v10.wsdl
+++ /dev/null
@@ -1,4870 +0,0 @@
-
-
-
-
-
-
-
- Specifies additional labels to be produced. All required labels for shipments will be produced without the need to request additional labels. These are only available as thermal labels.
-
-
-
-
- The type of additional labels to return.
-
-
-
-
- The number of this type label to return
-
-
-
-
-
-
- Identifies the type of additional labels.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Descriptive data for a physical location. May be used as an actual physical address (place to which one could go), or as a container of "address parts" which should be handled as a unit (such as a city-state-ZIP combination within the US).
-
-
-
-
- Combination of number, street name, etc. At least one line is required for a valid physical address; empty lines should not be included.
-
-
-
-
- Name of city, town, etc.
-
-
-
-
- Identifying abbreviation for US state, Canada province, etc. Format and presence of this field will vary, depending on country.
-
-
-
-
- Identification of a region (usually small) for mail/package delivery. Format and presence of this field will vary, depending on country.
-
-
-
-
- Relevant only to addresses in Puerto Rico.
-
-
-
-
- The two-letter code used to identify a country.
-
-
-
-
- Indicates whether this address residential (as opposed to commercial).
-
-
-
-
-
-
-
- Specifies which filing option is being exercised by the customer.
- Required for non-document shipments originating in Canada destined for any country other than Canada, the United States, Puerto Rico or the U.S. Virgin Islands.
-
-
-
-
-
-
-
-
-
-
-
- Identification of the type of barcode (symbology) used on FedEx documents and labels.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Identification of a FedEx operating company (transportation).
-
-
-
-
-
-
-
-
-
-
-
-
- The instructions indicating how to print the Certificate of Origin ( e.g. whether or not to include the instructions, image type, etc ...)
-
-
-
-
- Specifies characteristics of a shipping document to be produced.
-
-
-
-
- Specifies the usage and identification of customer supplied images to be used on this document.
-
-
-
-
-
-
-
-
-
-
-
-
- Specifies the type of brokerage to be applied to a shipment.
-
-
-
-
-
-
-
-
-
-
-
- Descriptive data for the client submitting a transaction.
-
-
-
-
- The FedEx account number associated with this transaction.
-
-
-
-
- This number is assigned by FedEx and identifies the unique device from which the request is originating
-
-
-
-
- Only used in transactions which require identification of the Fed Ex Office integrator.
-
-
-
-
- Indicates the region from which the transaction is submitted.
-
-
-
-
- The language to be used for human-readable Notification.localizedMessages in responses to the request containing this ClientDetail object. Different requests from the same client may contain different Localization data. (Contrast with TransactionDetail.localization, which governs data payload language/translation.)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Identifies the type of funds FedEx should collect upon shipment delivery.
-
-
-
-
-
-
-
-
-
- Descriptive data required for a FedEx COD (Collect-On-Delivery) shipment.
-
-
-
-
-
- Specifies the details of the charges are to be added to the COD collect amount.
-
-
-
-
- Identifies the type of funds FedEx should collect upon package delivery
-
-
-
-
- For Express this is the descriptive data that is used for the recipient of the FedEx Letter containing the COD payment. For Ground this is the descriptive data for the party to receive the payment that prints the COD receipt.
-
-
-
-
- Indicates which type of reference information to include on the COD return shipping label.
-
-
-
-
-
-
- Indicates which type of reference information to include on the COD return shipping label.
-
-
-
-
-
-
-
-
-
-
- CommercialInvoice element is required for electronic upload of CI data. It will serve to create/transmit an Electronic Commercial Invoice through the FedEx Systems. Customers are responsible for printing their own Commercial Invoice.If you would likeFedEx to generate a Commercial Invoice and transmit it to Customs. for clearance purposes, you need to specify that in the ShippingDocumentSpecification element. If you would like a copy of the Commercial Invoice that FedEx generated returned to you in reply it needs to be specified in the ETDDetail/RequestedDocumentCopies element. Commercial Invoice support consists of maximum of 99 commodity line items.
-
-
-
-
- Any comments that need to be communicated about this shipment.
-
-
-
-
- Any freight charges that are associated with this shipment.
-
-
-
-
- Any taxes or miscellaneous charges(other than Freight charges or Insurance charges) that are associated with this shipment.
-
-
-
-
- Specifies which kind of charge is being recorded in the preceding field.
-
-
-
-
- Any packing costs that are associated with this shipment.
-
-
-
-
- Any handling costs that are associated with this shipment.
-
-
-
-
- Free-form text.
-
-
-
-
- Free-form text.
-
-
-
-
- Free-form text.
-
-
-
-
- The reason for the shipment. Note: SOLD is not a valid purpose for a Proforma Invoice.
-
-
-
-
- Customer assigned Invoice number
-
-
-
-
- Name of the International Expert that completed the Commercial Invoice different from Sender.
-
-
-
-
- Required for dutiable international Express or Ground shipment. This field is not applicable to an international PIB(document) or a non-document which does not require a Commercial Invoice
-
-
-
-
-
-
- The instructions indicating how to print the Commercial Invoice( e.g. image type) Specifies characteristics of a shipping document to be produced.
-
-
-
-
-
- Specifies the usage and identification of a customer supplied image to be used on this document.
-
-
-
-
-
-
- Information about the transit time and delivery commitment date and time.
-
-
-
-
- The Commodity applicable to this commitment.
-
-
-
-
- The FedEx service type applicable to this commitment.
-
-
-
-
- Shows the specific combination of service options combined with the service type that produced this committment in the set returned to the caller.
-
-
-
-
- Supporting detail for applied options identified in preceding field.
-
-
-
-
- THe delivery commitment date/time. Express Only.
-
-
-
-
- The delivery commitment day of the week.
-
-
-
-
- The number of transit days; applies to Ground and LTL Freight; indicates minimum transit time for SmartPost.
-
-
-
-
- Maximum number of transit days, for SmartPost shipments.
-
-
-
-
- The service area code for the destination of this shipment. Express only.
-
-
-
-
- The address of the broker to be used for this shipment.
-
-
-
-
- The FedEx location identifier for the broker.
-
-
-
-
- The delivery commitment date/time the shipment will arrive at the border.
-
-
-
-
- The delivery commitment day of the week the shipment will arrive at the border.
-
-
-
-
- The number of days it will take for the shipment to make it from broker to destination
-
-
-
-
- The delivery commitment date for shipment served by GSP (Global Service Provider)
-
-
-
-
- The delivery commitment day of the week for the shipment served by GSP (Global Service Provider)
-
-
-
-
- Messages concerning the ability to provide an accurate delivery commitment on an International commit quote. These could be messages providing information about why a commitment could not be returned or a successful message such as "REQUEST COMPLETED"
-
-
-
-
- Messages concerning the delivery commitment on an International commit quote such as "0:00 A.M. IF NO CUSTOMS DELAY"
-
-
-
-
- Information about why a shipment delivery is delayed and at what level (country/service etc.).
-
-
-
-
-
- Required documentation for this shipment.
-
-
-
-
- Freight origin and destination city center information and total distance between origin and destination city centers.
-
-
-
-
-
-
- The type of delay this shipment will encounter.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- For international multiple piece shipments, commodity information must be passed in the Master and on each child transaction.
- If this shipment cotains more than four commodities line items, the four highest valued should be included in the first 4 occurances for this request.
-
-
-
-
-
- total number of pieces of this commodity
-
-
-
-
- total number of pieces of this commodity
-
-
-
-
- Complete and accurate description of this commodity.
-
- 450
-
-
-
-
-
- Country code where commodity contents were produced or manufactured in their final form.
-
- 2
-
-
-
-
-
-
- Unique alpha/numeric representing commodity item.
- At least one occurrence is required for US Export shipments if the Customs Value is greater than $2500 or if a valid US Export license is required.
-
-
- 14
-
-
-
-
-
- Total weight of this commodity. 1 explicit decimal position. Max length 11 including decimal.
-
-
-
-
- Number of units of a commodity in total number of pieces for this line item. Max length is 9
-
-
-
-
- Unit of measure used to express the quantity of this commodity line item.
-
- 3
-
-
-
-
-
- Contains only additional quantitative information other than weight and quantity to calculate duties and taxes.
-
-
-
-
- Value of each unit in Quantity. Six explicit decimal positions, Max length 18 including decimal.
-
-
-
-
-
- Total customs value for this line item.
- It should equal the commodity unit quantity times commodity unit value.
- Six explicit decimal positions, max length 18 including decimal.
-
-
-
-
-
- Defines additional characteristic of commodity used to calculate duties and taxes
-
-
-
-
- Applicable to US export shipping only.
-
- 12
-
-
-
-
-
-
-
- An identifying mark or number used on the packaging of a shipment to help customers identify a particular shipment.
-
-
- 15
-
-
-
-
-
- All data required for this commodity in NAFTA Certificate of Origin.
-
-
-
-
-
-
- Defines additional data to print in the Configurable portion of the label, this allows you to print the same type information on the label that can also be printed on the doc tab.
-
-
-
-
- 1 of 12 possible zones to position data.
-
-
-
-
- The identifiying text for the data in this zone.
-
-
-
-
- A reference to a field in either the request or reply to print in this zone following the header.
-
-
-
-
- A literal value to print after the header in this zone.
-
-
-
-
-
-
- The descriptive data for a point-of-contact person.
-
-
-
-
- Client provided identifier corresponding to this contact information.
-
-
-
-
- Identifies the contact person's name.
-
-
-
-
- Identifies the contact person's title.
-
-
-
-
- Identifies the company this contact is associated with.
-
-
-
-
- Identifies the phone number associated with this contact.
-
-
-
-
- Identifies the phone extension associated with this contact.
-
-
-
-
- Identifies the pager number associated with this contact.
-
-
-
-
- Identifies the fax number associated with this contact.
-
-
-
-
- Identifies the email address associated with this contact.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Specifies the currency exchange performed on financial amounts for this rate.
-
-
-
-
- The currency code for the original (converted FROM) currency.
-
-
-
-
- The currency code for the final (converted INTO) currency.
-
-
-
-
- Multiplier used to convert fromCurrency units to intoCurrency units.
-
-
-
-
-
-
-
-
- Indicates the type of custom delivery being requested.
-
-
-
-
- Time by which delivery is requested.
-
-
-
-
- Range of dates for custom delivery request; only used if type is BETWEEN.
-
-
-
-
- Date for custom delivery request; only used for types of ON, BETWEEN, or AFTER.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Data required to produce a custom-specified document, either at shipment or package level.
-
-
-
-
- Common information controlling document production.
-
-
-
-
- Applicable only to documents produced on thermal printers with roll stock.
-
-
-
-
- Applicable only to documents produced on thermal printers with roll stock.
-
-
-
-
- Identifies the formatting specification used to construct this custom document.
-
-
-
-
-
-
- Constructed string, based on format and zero or more data fields, printed in specified barcode symbology.
-
-
-
-
-
-
-
-
- Width of thinnest bar/space element in the barcode.
-
-
-
-
-
-
-
- Solid (filled) rectangular area on label.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Image to be included from printer's memory, or from a local file for offline clients.
-
-
-
-
-
- Printer-specific index of graphic image to be printed.
-
-
-
-
- Fully-qualified path and file name for graphic image to be printed.
-
-
-
-
-
-
-
-
- Horizontal position, relative to left edge of custom area.
-
-
-
-
- Vertical position, relative to top edge of custom area.
-
-
-
-
-
-
- Constructed string, based on format and zero or more data fields, printed in specified printer font (for thermal labels) or generic font/size (for plain paper labels).
-
-
-
-
-
-
-
- Printer-specific font name for use with thermal printer labels.
-
-
-
-
- Generic font name for use with plain paper labels.
-
-
-
-
- Generic font size for use with plain paper labels.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Reference information to be associated with this package.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Allows customer-specified control of label content.
-
-
-
-
- If omitted, no doc tab will be produced (i.e. default = former NONE type).
-
-
-
-
- Defines any custom content to print on the label.
-
-
-
-
- Defines additional data to print in the Configurable portion of the label, this allows you to print the same type information on the label that can also be printed on the doc tab.
-
-
-
-
- Controls which data/sections will be suppressed.
-
-
-
-
- For customers producing their own Ground labels, this field specifies which secondary barcode will be printed on the label; so that the primary barcode produced by FedEx has the corect SCNC.
-
-
-
-
- The language to use when printing the terms and conditions on the label.
-
-
-
-
- Controls the number of additional copies of supplemental labels.
-
-
-
-
- This value reduces the default quantity of destination/consignee air waybill labels. A value of zero indicates no change to default. A minimum of one copy will always be produced.
-
-
-
-
-
-
-
-
-
- Descriptive data identifying the Broker responsible for the shipmet.
- Required if BROKER_SELECT_OPTION is requested in Special Services.
-
-
-
-
-
- Interacts both with properties of the shipment and contractual relationship with the shipper.
-
-
-
-
-
- Applicable only for Commercial Invoice. If the consignee and importer are not the same, the Following importer fields are required.
- Importer/Contact/PersonName
- Importer/Contact/CompanyName
- Importer/Contact/PhoneNumber
- Importer/Address/StreetLine[0]
- Importer/Address/City
- Importer/Address/StateOrProvinceCode - if Importer Country Code is US or CA
- Importer/Address/PostalCode - if Importer Country Code is US or CA
- Importer/Address/CountryCode
-
-
-
-
-
- Specifies how the recipient is identified for customs purposes; the requirements on this information vary with destination country.
-
-
-
-
- Indicates how payment of duties for the shipment will be made.
-
-
-
-
- Indicates whether this shipment contains documents only or non-documents.
-
-
-
-
- The total customs value for the shipment. This total will rrepresent th esum of the values of all commodities, and may include freight, miscellaneous, and insurance charges. Must contain 2 explicit decimal positions with a max length of 17 including the decimal. For Express International MPS, the Total Customs Value is in the master transaction and all child transactions
-
-
-
-
- Identifies responsibilities with respect to loss, damage, etc.
-
-
-
-
- Documents amount paid to third party for coverage of shipment content.
-
-
-
-
-
- CommercialInvoice element is required for electronic upload of CI data. It will serve to create/transmit an Electronic Commercial Invoice through FedEx System. Customers are responsible for printing their own Commercial Invoice. Commercial Invoice support consists of a maximum of 20 commodity line items.
-
-
-
-
-
- For international multiple piece shipments, commodity information must be passed in the Master and on each child transaction.
- If this shipment cotains more than four commodities line items, the four highest valued should be included in the first 4 occurances for this request.
-
-
-
-
-
- Country specific details of an International shipment.
-
-
-
-
- FOOD_OR_PERISHABLE is required by FDA/BTA; must be true for food/perishable items coming to US or PR from non-US/non-PR origin.
-
-
-
-
-
-
- Identifies whether or not the products being shipped are required to be accessible during delivery.
-
-
-
-
-
-
-
-
- The descriptive data required for a FedEx shipment containing dangerous goods (hazardous materials).
-
-
-
-
- Identifies whether or not the products being shipped are required to be accessible during delivery.
-
-
-
-
- Shipment is packaged/documented for movement ONLY on cargo aircraft.
-
-
-
-
- Indicates which kinds of hazardous content are in the current package.
-
-
-
-
- Documents the kinds and quantities of all hazardous commodities in the current package.
-
-
-
-
- Description of the packaging of this commodity, suitable for use on OP-900 and OP-950 forms.
-
-
-
-
- Telephone number to use for contact in the event of an emergency.
-
-
-
-
- Offeror's name or contract number, per DOT regulation.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Information about why a shipment delivery is delayed and at what level( country/service etc.).
-
-
-
-
- The date of the delay
-
-
-
-
-
- The attribute of the shipment that caused the delay(e.g. Country, City, LocationId, Zip, service area, special handling )
-
-
-
-
- The point where the delay is occurring (e.g. Origin, Destination, Broker location)
-
-
-
-
- The reason for the delay (e.g. holiday, weekend, etc.).
-
-
-
-
- The name of the holiday in that country that is causing the delay.
-
-
-
-
-
-
- The attribute of the shipment that caused the delay(e.g. Country, City, LocationId, Zip, service area, special handling )
-
-
-
-
-
-
-
-
-
-
-
-
-
- The point where the delay is occurring ( e.g. Origin, Destination, Broker location).
-
-
-
-
-
-
-
-
-
-
-
- Data required to complete the Destionation Control Statement for US exports.
-
-
-
-
-
- Comma-separated list of up to four country codes, required for DEPARTMENT_OF_STATE statement.
-
-
-
-
- Name of end user, required for DEPARTMENT_OF_STATE statement.
-
-
-
-
-
-
- Used to indicate whether the Destination Control Statement is of type Department of Commerce, Department of State or both.
-
-
-
-
-
-
-
-
- The dimensions of this package and the unit type used for the measurements.
-
-
-
-
-
-
-
-
-
-
- Driving or other transportation distances, distinct from dimension measurements.
-
-
-
-
- Identifies the distance quantity.
-
-
-
-
- Identifies the unit of measure for the distance value.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- The DocTabContentType options available.
-
-
-
-
- The DocTabContentType should be set to ZONE001 to specify additional Zone details.
-
-
-
-
- The DocTabContentType should be set to BARCODED to specify additional BarCoded details.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Zone number can be between 1 and 12.
-
-
-
-
- Header value on this zone.
-
-
-
-
- Reference path to the element in the request/reply whose value should be printed on this zone.
-
-
-
-
- Free form-text to be printed in this zone.
-
-
-
-
- Justification for the text printed on this zone.
-
-
-
-
-
-
- Identifies the method by which the package is to be tendered to FedEx. This element does not dispatch a courier for package pickup.
-
-
-
-
-
-
-
-
-
-
-
- Specific information about the delivery of the email and options for the shipment.
-
-
-
-
- Email address to send the URL to.
-
-
-
-
- A message to be inserted into the email.
-
-
-
-
-
-
- Information describing email notifications that will be sent in relation to events that occur during package movement
-
-
-
-
- A message that will be included in the email notifications
-
-
-
-
- Information describing the destination of the email, format of the email and events to be notified on
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- The format of the email
-
-
-
-
-
-
-
-
-
- The descriptive data for a FedEx email notification recipient.
-
-
-
-
- Identifies the relationship this email recipient has to the shipment.
-
-
-
-
- The email address to send the notification to
-
-
-
-
- The types of email notifications being requested for this recipient.
-
-
-
-
- The format of the email notification.
-
-
-
-
- The language/locale to be used in this email notification.
-
-
-
-
-
-
- Identifies the set of valid email notification recipient types. For SHIPPER, RECIPIENT and BROKER the email address asssociated with their definitions will be used, any email address sent with the email notification for these three email notification recipient types will be ignored.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Customer-declared value, with data type and legal values depending on excise condition, used in defining the taxable value of the item.
-
-
-
-
-
-
- Specifies the types of Estimated Duties and Taxes to be included in a rate quotation for an international shipment.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Electronic Trade document references used with the ETD special service.
-
-
-
-
- Indicates the types of shipping documents produced for the shipper by FedEx (see ShippingDocumentSpecification) which should be copied back to the shipper in the shipment result data.
-
-
-
-
- Currently not supported.
-
-
-
-
-
-
-
- Country specific details of an International shipment.
-
-
-
-
-
- Specifies which filing option is being exercised by the customer.
- Required for non-document shipments originating in Canada destined for any country other than Canada, the United States, Puerto Rico or the U.S. Virgin Islands.
-
-
-
-
-
- General field for exporting-country-specific export data (e.g. B13A for CA, FTSR Exemption or AES Citation for US).
-
-
-
-
- This field is applicable only to Canada export non-document shipments of any value to any destination. No special characters allowed.
-
- 10
-
-
-
-
-
- Department of Commerce/Department of State information about this shipment.
-
-
-
-
-
-
- Details specific to an Express freight shipment.
-
-
-
-
- Indicates whether or nor a packing list is enclosed.
-
-
-
-
-
- Total shipment pieces.
- ie. 3 boxes and 3 pallets of 100 pieces each = Shippers Load and Count of 303.
- Applicable to International Priority Freight and International Economy Freight.
- Values must be in the range of 1 - 99999
-
-
-
-
-
- Required for International Freight shipping. Values must be 8- 12 characters in length.
-
- 12
-
-
-
-
-
- Currently not supported.
-
-
-
-
- Currently not supported.
-
-
-
-
- Currently not supported.
-
-
-
-
-
-
- Currently not supported. Delivery contact information for an Express freight shipment.
-
-
-
-
-
-
-
-
- Indicates a FedEx Express operating region.
-
-
-
-
-
-
-
-
-
-
-
- Identifies a kind of FedEx facility.
-
-
-
-
-
-
-
-
-
- Specifies the optional features/characteristics requested for a Freight shipment utilizing a flatbed trailer.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Individual charge which contributes to the total base charge for the shipment.
-
-
-
-
- Freight class for this line item.
-
-
-
-
- Effective freight class used for rating this line item.
-
-
-
-
- NMFC Code for commodity.
-
-
-
-
- Customer-provided description for this commodity or class line.
-
-
-
-
- Weight for this commodity or class line.
-
-
-
-
- Rate or factor applied to this line item.
-
-
-
-
- Identifies the manner in which the chargeRate for this line item was applied.
-
-
-
-
- The net or extended charge for this line item.
-
-
-
-
-
-
- Specifies the way in which base charges for a Freight shipment or shipment leg are calculated.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- These values represent the industry-standard freight classes used for FedEx Freight and FedEx National Freight shipment description. (Note: The alphabetic prefixes are required to distinguish these values from decimal numbers on some client platforms.)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Information about the Freight Service Centers associated with this shipment.
-
-
-
-
- Information about the origin Freight Service Center.
-
-
-
-
- Information about the destination Freight Service Center.
-
-
-
-
- The distance between the origin and destination FreightService Centers
-
-
-
-
-
-
-
-
-
- Date for all Freight guarantee types.
-
-
-
-
-
-
-
-
-
-
-
-
- Identifies responsibilities with respect to loss, damage, etc.
-
-
-
-
-
-
-
-
- Rate data specific to FedEx Freight or FedEx National Freight services.
-
-
-
-
- A unique identifier for a specific rate quotation.
-
-
-
-
- Specifies how total base charge is determined.
-
-
-
-
- Freight charges which accumulate to the total base charge for the shipment.
-
-
-
-
- Human-readable descriptions of additional information on this shipment rating.
-
-
-
-
-
-
- Additional non-monetary data returned with Freight rates.
-
-
-
-
- Unique identifier for notation.
-
-
-
-
- Human-readable explanation of notation.
-
-
-
-
-
-
- This class describes the relationship between a customer-specified address and the FedEx Freight / FedEx National Freight Service Center that supports that address.
-
-
-
-
- Freight Industry standard non-FedEx carrier identification
-
-
-
-
- The name of the Interline carrier.
-
-
-
-
- Additional time it might take at the origin or destination to pickup or deliver the freight. This is usually due to the remoteness of the location. This time is included in the total transit time.
-
-
-
-
- Service branding which may be used for local pickup or delivery, distinct from service used for line-haul of customer's shipment.
-
-
-
-
- Distance between customer address (pickup or delivery) and the supporting Freight / National Freight service center.
-
-
-
-
- Time to travel between customer address (pickup or delivery) and the supporting Freight / National Freight service center.
-
-
-
-
- Specifies when/how the customer can arrange for pickup or delivery.
-
-
-
-
- Specifies days of operation if localServiceScheduling is LIMITED.
-
-
-
-
- Freight service center that is a gateway on the border of Canada or Mexico.
-
-
-
-
- Alphabetical code identifying a Freight Service Center
-
-
-
-
- Freight service center Contact and Address
-
-
-
-
-
-
- Specifies the type of service scheduling offered from a Freight or National Freight Service Center to a customer-supplied address.
-
-
-
-
-
-
-
-
-
- Data applicable to shipments using FEDEX_FREIGHT and FEDEX_NATIONAL_FREIGHT services.
-
-
-
-
- Account number used with FEDEX_FREIGHT service.
-
-
-
-
- Used for validating FedEx Freight account number and (optionally) identifying third party payment on the bill of lading.
-
-
-
-
- Account number used with FEDEX_NATIONAL_FREIGHT service.
-
-
-
-
- Used for validating FedEx National Freight account number and (optionally) identifying third party payment on the bill of lading.
-
-
-
-
- Indicates the role of the party submitting the transaction.
-
-
-
-
- Designates which of the requester's tariffs will be used for rating.
-
-
-
-
- Identifies the declared value for the shipment
-
-
-
-
- Identifies the declared value units corresponding to the above defined declared value
-
-
-
-
-
- Identifiers for promotional discounts offered to customers.
-
-
-
-
- Total number of individual handling units in the entire shipment (for unit pricing).
-
-
-
-
- Estimated discount rate provided by client for unsecured rate quote.
-
-
-
-
- Total weight of pallets used in shipment.
-
-
-
-
- Overall shipment dimensions.
-
-
-
-
- Description for the shipment.
-
-
-
-
- Specifies which party will pay surcharges for any special services which support split billing.
-
-
-
-
- Details of the commodities in the shipment.
-
-
-
-
-
-
- Description of an individual commodity or class of content in a shipment.
-
-
-
-
- Freight class for this line item.
-
-
-
-
- Specification of handling-unit packaging for this commodity or class line.
-
-
-
-
- Customer-provided description for this commodity or class line.
-
-
-
-
- Weight for this commodity or class line.
-
-
-
-
- FED EX INTERNAL USE ONLY - Individual line item dimensions.
-
-
-
-
- Volume (cubic measure) for this commodity or class line.
-
-
-
-
-
-
- Indicates the role of the party submitting the transaction.
-
-
-
-
-
-
-
-
-
- Specifies which party will be responsible for payment of any surcharges for Freight special services for which split billing is allowed.
-
-
-
-
- Identifies the special service.
-
-
-
-
- Indicates who will pay for the special service.
-
-
-
-
-
-
- Data required to produce a General Agency Agreement document. Remaining content (business data) to be defined once requirements have been completed.
-
-
-
-
-
-
-
- Documents the kind and quantity of an individual hazardous commodity in a package.
-
-
-
-
- Identifies and describes an individual hazardous commodity.
-
-
-
-
- Specifies the amount of the commodity in alternate units.
-
-
-
-
- Customer-provided specifications for handling individual commodities.
-
-
-
-
-
-
- Identifies and describes an individual hazardous commodity. For 201001 load, this is based on data from the FedEx Ground Hazardous Materials Shipping Guide.
-
-
-
-
- Regulatory identifier for a commodity (e.g. "UN ID" value).
-
-
-
-
-
-
-
-
-
-
-
-
- Specifies how the commodity is to be labeled.
-
-
-
-
-
-
-
-
-
- Customer-provided specifications for handling individual commodities.
-
-
-
-
- Specifies how the customer wishes the label text to be handled for this commodity in this package.
-
-
-
-
- Text used in labeling the commodity under control of the labelTextOption field.
-
-
-
-
-
-
- Indicates which kind of hazardous content (as defined by DOT) is being reported.
-
-
-
-
-
-
-
-
-
-
-
- Identifies number and type of packaging units for hazardous commodities.
-
-
-
-
- Number of units of the type below.
-
-
-
-
- Units in which the hazardous commodity is packaged.
-
-
-
-
-
-
- Identifies DOT packing group for a hazardous commodity.
-
-
-
-
-
-
-
-
-
- Identifies amount and units for quantity of hazardous commodities.
-
-
-
-
- Number of units of the type below.
-
-
-
-
- Units by which the hazardous commodity is measured.
-
-
-
-
-
-
- Descriptive data required for a FedEx shipment that is to be held at the destination FedEx location for pickup by the recipient.
-
-
-
-
- Contact phone number for recipient of shipment.
-
-
-
-
- Contact and address of FedEx facility at which shipment is to be held.
-
-
-
-
- Type of facility at which package/shipment is to be held.
-
-
-
-
- Location identification (for facilities identified by an alphanumeric location code).
-
-
-
-
- Location identification (for facilities identified by an numeric location code).
-
-
-
-
-
-
- The descriptive data required by FedEx for home delivery services.
-
-
-
-
-
- Required for Date Certain Home Delivery.
-
-
-
-
- Required for Date Certain and Appointment Home Delivery.
-
- 15
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- The type of International shipment.
-
-
-
-
-
-
-
-
- Specifies the type of label to be returned.
-
-
-
-
-
-
-
-
-
-
-
-
- Names for data elements / areas which may be suppressed from printing on labels.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- This indicates if the top or bottom of the label comes out of the printer first.
-
-
-
-
-
-
-
-
- Relative to normal orientation for the printer.
-
-
-
-
-
-
-
-
-
-
- Description of shipping label to be returned in the reply
-
-
-
-
- Specify type of label to be returned
-
-
-
-
-
- The type of image or printer commands the label is to be formatted in.
- DPL = Unimark thermal printer language
- EPL2 = Eltron thermal printer language
- PDF = a label returned as a pdf image
- PNG = a label returned as a png image
- ZPLII = Zebra thermal printer language
-
-
-
-
-
- For thermal printer lables this indicates the size of the label and the location of the doc tab if present.
-
-
-
-
- This indicates if the top or bottom of the label comes out of the printer first.
-
-
-
-
- Relative to normal orientation for the printer. RIGHT=90 degrees clockwise, UPSIDE_DOWN=180 degrees, LEFT=90 degrees counterclockwise.
-
-
-
-
- If present, this contact and address information will replace the return address information on the label.
-
-
-
-
- Allows customer-specified control of label content.
-
-
-
-
-
-
- For thermal printer labels this indicates the size of the label and the location of the doc tab if present.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Identifies the Liability Coverage Amount. For Jan 2010 this value represents coverage amount per pound
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a one-dimensional measurement in small units (e.g. suitable for measuring a package or document), contrasted with Distance, which represents a large one-dimensional measurement (e.g. distance between cities).
-
-
-
-
- The numerical quantity of this measurement.
-
-
-
-
- The units for this measurement.
-
-
-
-
-
-
- CM = centimeters, IN = inches
-
-
-
-
-
-
-
-
- Identifies the representation of human-readable text.
-
-
-
-
- Two-letter code for language (e.g. EN, FR, etc.)
-
-
-
-
- Two-letter code for the region (e.g. us, ca, etc..).
-
-
-
-
-
-
-
-
-
-
-
-
- Internal FedEx use only.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Data required to produce a Certificate of Origin document. Remaining content (business data) to be defined once requirements have been completed.
-
-
-
-
-
-
- Indicates which Party (if any) from the shipment is to be used as the source of importer data on the NAFTA COO form.
-
-
-
-
- Contact information for "Authorized Signature" area of form.
-
-
-
-
-
-
-
-
-
-
-
- Defined by NAFTA regulations.
-
-
-
-
- Defined by NAFTA regulations.
-
-
-
-
- Identification of which producer is associated with this commodity (if multiple producers are used in a single shipment).
-
-
-
-
-
- Date range over which RVC net cost was calculated.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Net cost method used.
-
-
-
-
-
-
-
-
-
- See instructions for NAFTA Certificate of Origin for code definitions.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- See instructions for NAFTA Certificate of Origin for code definitions.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- The descriptive data regarding the result of the submitted transaction.
-
-
-
-
- The severity of this notification. This can indicate success or failure or some other information about the request. The values that can be returned are SUCCESS - Your transaction succeeded with no other applicable information. NOTE - Additional information that may be of interest to you about your transaction. WARNING - Additional information that you need to know about your transaction that you may need to take action on. ERROR - Information about an error that occurred while processing your transaction. FAILURE - FedEx was unable to process your transaction at this time due to a system failure. Please try again later
-
-
-
-
- Indicates the source of this notification. Combined with the Code it uniquely identifies this notification
-
-
-
-
- A code that represents this notification. Combined with the Source it uniquely identifies this notification.
-
-
-
-
- Human-readable text that explains this notification.
-
-
-
-
- The translated message. The language and locale specified in the ClientDetail. Localization are used to determine the representation. Currently only supported in a TrackReply.
-
-
-
-
- A collection of name/value pairs that provide specific data to help the client determine the nature of an error (or warning, etc.) witout having to parse the message string.
-
-
-
-
-
-
-
-
- Identifies the type of data contained in Value (e.g. SERVICE_TYPE, PACKAGE_SEQUENCE, etc..).
-
-
-
-
- The value of the parameter (e.g. PRIORITY_OVERNIGHT, 2, etc..).
-
-
-
-
-
-
- Identifies the set of severity values for a Notification.
-
-
-
-
-
-
-
-
-
-
-
- The instructions indicating how to print the OP-900 form for hazardous materials packages.
-
-
-
-
- Specifies characteristics of a shipping document to be produced.
-
-
-
-
- Identifies which reference type (from the package's customer references) is to be used as the source for the reference on this OP-900.
-
-
-
-
- Specifies the usage and identification of customer supplied images to be used on this document.
-
-
-
-
- Data field to be used when a name is to be printed in the document instead of (or in addition to) a signature image.
-
-
-
-
-
-
- The Oversize classification for a package.
-
-
-
-
-
-
-
-
-
- Data for a package's rates, as calculated per a specific rate type.
-
-
-
-
- Type used for this specific set of rate data.
-
-
-
-
- Indicates which weight was used.
-
-
-
-
- INTERNAL FEDEX USE ONLY.
-
-
-
-
- The weight that was used to calculate the rate.
-
-
-
-
- The dimensional weight of this package (if greater than actual).
-
-
-
-
- The oversize weight of this package (if the package is oversize).
-
-
-
-
- The transportation charge only (prior to any discounts applied) for this package.
-
-
-
-
- The sum of all discounts on this package.
-
-
-
-
- This package's baseCharge - totalFreightDiscounts.
-
-
-
-
- The sum of all surcharges on this package.
-
-
-
-
- This package's netFreight + totalSurcharges (not including totalTaxes).
-
-
-
-
- The sum of all taxes on this package.
-
-
-
-
- This package's netFreight + totalSurcharges + totalTaxes.
-
-
-
-
- The total sum of all rebates applied to this package.
-
-
-
-
- All rate discounts that apply to this package.
-
-
-
-
- All rebates that apply to this package.
-
-
-
-
- All surcharges that apply to this package (either because of characteristics of the package itself, or because it is carrying per-shipment surcharges for the shipment of which it is a part).
-
-
-
-
- All taxes applicable (or distributed to) this package.
-
-
-
-
- The variable handling charges calculated based on the type variable handling charges requested.
-
-
-
-
-
-
- Identifies the collection of special services offered by FedEx.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- These special services are available at the package level for some or all service types. If the shipper is requesting a special service which requires additional data, the package special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below.
-
-
-
-
- The types of all special services requested for the enclosing shipment or package.
-
-
-
-
- For use with FedEx Ground services only; COD must be present in shipment's special services.
-
-
-
-
- Descriptive data required for a FedEx shipment containing dangerous materials. This element is required when SpecialServiceType.DANGEROUS_GOODS or HAZARDOUS_MATERIAL is present in the SpecialServiceTypes collection.
-
-
-
-
- Descriptive data required for a FedEx shipment containing dry ice. This element is required when SpecialServiceType.DRY_ICE is present in the SpecialServiceTypes collection.
-
-
-
-
- The descriptive data required for FedEx signature services. This element is required when SpecialServiceType.SIGNATURE_OPTION is present in the SpecialServiceTypes collection.
-
-
-
-
- To be filled.
-
-
-
-
-
-
- Identifies the packaging used by the requestor for the package. See PackagingType for list of valid enumerated values.
-
-
-
-
-
-
-
-
-
-
-
-
-
- The descriptive data for a person or company entitiy doing business with FedEx.
-
-
-
-
- Identifies the FedEx account number assigned to the customer.
-
- 12
-
-
-
-
-
- Descriptive data for taxpayer identification information.
-
-
-
-
- Descriptive data identifying the point-of-contact person.
-
-
-
-
- The descriptive data for a physical location.
-
-
-
-
-
-
- The descriptive data for the monetary compensation given to FedEx for services rendered to the customer.
-
-
-
-
- Identifies the method of payment for a service. See PaymentType for list of valid enumerated values.
-
-
-
-
- Descriptive data identifying the party responsible for payment for a service.
-
-
-
-
-
-
- Identifies the method of payment for a service.
-
-
-
-
-
-
-
- Descriptive data identifying the party responsible for payment for a service.
-
-
-
-
- Identifies the FedEx account number assigned to the payor.
-
- 12
-
-
-
-
-
- Identifies the country of the payor.
-
-
-
-
-
-
- This information describes the kind of pending shipment being requested.
-
-
-
-
-
- Date after which the pending shipment will no longer be available for completion.
-
-
-
-
- Only used with type of EMAIL.
-
-
-
-
-
-
-
-
-
-
-
- This enumeration rationalizes the former FedEx Express international "admissibility package" types (based on ANSI X.12) and the FedEx Freight packaging types. The values represented are those common to both carriers.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- This class describes the pickup characteristics of a shipment (e.g. for use in a tag request).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Currently not supported.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Indicates the reason that a dim divisor value was chose.
-
-
-
-
-
-
-
-
-
-
-
- Identifies a discount applied to the shipment.
-
-
-
-
- Identifies the type of discount applied to the shipment.
-
-
-
-
-
- The amount of the discount applied to the shipment.
-
-
-
-
- The percentage of the discount applied to the shipment.
-
-
-
-
-
-
- Identifies the type of discount applied to the shipment.
-
-
-
-
-
-
-
-
-
-
-
- Selects the value from a set of rate data to which the percentage is applied.
-
-
-
-
-
-
-
-
-
-
- The response to a RateRequest. The Notifications indicate whether the request was successful or not.
-
-
-
-
- This indicates the highest level of severity of all the notifications returned in this reply.
-
-
-
-
- The descriptive data regarding the results of the submitted transaction.
-
-
-
-
- Contains the CustomerTransactionId that was sent in the request.
-
-
-
-
- The version of this reply.
-
-
-
-
- Each element contains all rate data for a single service. If service was specified in the request, there will be a single entry in this array; if service was omitted in the request, there will be a separate entry in this array for each service being compared.
-
-
-
-
-
-
-
-
- Identifies the FedEx service to use in shipping the package. See ServiceType for list of valid enumerated values.
-
-
-
-
- Identifies the packaging used by the requestor for the package. See PackagingType for list of valid enumerated values.
-
-
-
-
- Shows the specific combination of service options combined with the service type that produced this committment in the set returned to the caller.
-
-
-
-
- Supporting detail for applied options identified in preceding field.
-
-
-
-
-
-
-
-
- Identification of an airport, using standard three-letter abbreviations.
-
-
-
-
- Indicates whether or not this shipment is eligible for a money back guarantee.
-
-
-
-
- Commitment code for the origin.
-
-
-
-
- Commitment code for the destination.
-
-
-
-
- Time in transit from pickup to delivery.
-
-
-
-
- Maximum expected transit time
-
-
-
-
- The signature option for this package.
-
-
-
-
- The actual rate type of the charges for this package.
-
-
-
-
- Each element contains all rate data for a single rate type.
-
-
-
-
-
-
- Descriptive data sent to FedEx by a customer in order to rate a package/shipment.
-
-
-
-
- Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services).
-
-
-
-
- Descriptive data identifying the client submitting the transaction.
-
-
-
-
- Descriptive data for this customer transaction. The TransactionDetail from the request is echoed back to the caller in the corresponding reply.
-
-
-
-
- Identifies the version/level of a service operation expected by a caller (in each request) and performed by the callee (in each reply).
-
-
-
-
- Allows the caller to specify that the transit time and commit data are to be returned in the reply.
-
-
-
-
- Candidate carriers for rate-shopping use case. This field is only considered if requestedShipment/serviceType is omitted.
-
-
-
-
- Contains zero or more service options whose combinations are to be considered when replying with available services.
-
-
-
-
- The shipment for which a rate quote (or rate-shopping comparison) is desired.
-
-
-
-
-
-
- Indicates the type of rates to be returned.
-
-
-
-
-
-
-
-
- Select the type of rate from which the element is to be selected.
-
-
-
-
-
-
-
-
- If requesting rates using the PackageDetails element (one package at a time) in the request, the rates for each package will be returned in this element. Currently total piece total weight rates are also retuned in this element.
-
-
-
-
- Echoed from the corresponding package in the rate request (if provided).
-
-
-
-
- Used with request containing PACKAGE_GROUPS, to identify which group of identical packages was used to produce a reply item.
-
-
-
-
- The difference between "list" and "account" net charge.
-
-
-
-
- Ground COD is shipment level.
-
-
-
-
-
- Rate data that are tied to a specific package and rate type combination.
-
-
-
-
-
-
- This class groups the shipment and package rating data for a specific rate type for use in a rating reply, which groups result data by rate type.
-
-
-
-
- The difference between "list" and "account" total net charge.
-
-
-
-
- Express COD is shipment level.
-
-
-
-
- The shipment-level totals for this rate type.
-
-
-
-
- The package-level data for this rate type.
-
-
-
-
-
-
- The method used to calculate the weight to be used in rating the package..
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Identifies a discount applied to the shipment.
-
-
-
-
-
-
- The amount of the discount applied to the shipment.
-
-
-
-
- The percentage of the discount applied to the shipment.
-
-
-
-
-
-
- Identifies the type of discount applied to the shipment.
-
-
-
-
-
-
-
-
-
- Specifies how the recipient is identified for customs purposes; the requirements on this information vary with destination country.
-
-
-
-
- Specifies the kind of identification being used.
-
-
-
-
- Contains the actual ID value, of the type specified above.
-
-
-
-
-
-
- Type of Brazilian taxpayer identifier provided in Recipient/TaxPayerIdentification/Number. For shipments bound for Brazil this overrides the value in Recipient/TaxPayerIdentification/TinType
-
-
-
-
-
-
-
-
-
- FOOD_OR_PERISHABLE is required by FDA/BTA; must be true for food/perishable items coming to US or PR from non-US/non-PR origin
-
-
-
-
-
-
-
-
-
- This class rationalizes RequestedPackage and RequestedPackageSummary from previous interfaces. The way in which it is uses within a RequestedShipment depends on the RequestedPackageDetailType value specified for that shipment.
-
-
-
-
- Used only with INDIVIDUAL_PACKAGE, as a unique identifier of each requested package.
-
-
-
-
- Used only with PACKAGE_GROUPS, as a unique identifier of each group of identical packages.
-
-
-
-
- Used only with PACKAGE_GROUPS, as a count of packages within a group of identical packages.
-
-
-
-
-
- Only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS. Ignored for PACKAGE_SUMMARY, in which case totalInsuredValue and packageCount on the shipment will be used to determine this value.
-
-
-
-
- Only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS. Ignored for PACKAGE_SUMMARY, in which case totalweight and packageCount on the shipment will be used to determine this value.
-
-
-
-
-
- Provides additional detail on how the customer has physically packaged this item. As of June 2009, required for packages moving under international and SmartPost services.
-
-
-
-
- Human-readable text describing the package.
-
-
-
-
-
-
- Only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS.
-
-
-
-
-
-
- The descriptive data for the shipment being tendered to FedEx.
-
-
-
-
- Identifies the date and time the package is tendered to FedEx. Both the date and time portions of the string are expected to be used. The date should not be a past date or a date more than 10 days in the future. The time is the local time of the shipment based on the shipper's time zone. The date component must be in the format: YYYY-MM-DD (e.g. 2006-06-26). The time component must be in the format: HH:MM:SS using a 24 hour clock (e.g. 11:00 a.m. is 11:00:00, whereas 5:00 p.m. is 17:00:00). The date and time parts are separated by the letter T (e.g. 2006-06-26T17:00:00). There is also a UTC offset component indicating the number of hours/mainutes from UTC (e.g 2006-06-26T17:00:00-0400 is defined form June 26, 2006 5:00 pm Eastern Time).
-
-
-
-
- Identifies the method by which the package is to be tendered to FedEx. This element does not dispatch a courier for package pickup. See DropoffType for list of valid enumerated values.
-
-
-
-
- Identifies the FedEx service to use in shipping the package. See ServiceType for list of valid enumerated values.
-
-
-
-
- Identifies the packaging used by the requestor for the package. See PackagingType for list of valid enumerated values.
-
-
-
-
- Identifies the total weight of the shipment being conveyed to FedEx.This is only applicable to International shipments and should only be used on the first package of a mutiple piece shipment.This value contains 1 explicit decimal position
-
-
-
-
- Total insured amount.
-
-
-
-
- Descriptive data identifying the party responsible for shipping the package. Shipper and Origin should have the same address.
-
-
-
-
- Descriptive data identifying the party receiving the package.
-
-
-
-
- A unique identifier for a recipient location
-
- 10
-
-
-
-
-
- Physical starting address for the shipment, if different from shipper's address.
-
-
-
-
- Descriptive data indicating the method and means of payment to FedEx for providing shipping services.
-
-
-
-
- Descriptive data regarding special services requested by the shipper for this shipment. If the shipper is requesting a special service which requires additional data (e.g. COD), the special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object. For example, to request COD, "COD" must be included in the SpecialServiceTypes collection and the CodDetail object must contain the required data.
-
-
-
-
- Details specific to an Express freight shipment.
-
-
-
-
- Data applicable to shipments using FEDEX_FREIGHT and FEDEX_NATIONAL_FREIGHT services.
-
-
-
-
- Used with Ground Home Delivery and Freight.
-
-
-
-
- Details about how to calculate variable handling charges at the shipment level.
-
-
-
-
- Customs clearance data, used for both international and intra-country shipping.
-
-
-
-
- For use in "process tag" transaction.
-
-
-
-
- Specifies the characteristics of a shipment pertaining to SmartPost services.
-
-
-
-
- If true, only the shipper/payor will have visibility of this shipment.
-
-
-
-
- Details about the image format and printer type the label is to returned in.
-
-
-
-
- Contains data used to create additional (non-label) shipping documents.
-
-
-
-
- Specifies whether and what kind of rates the customer wishes to have quoted on this shipment. The reply will also be constrained by other data on the shipment and customer.
-
-
-
-
- Specifies whether the customer wishes to have Estimated Duties and Taxes provided with the rate quotation on this shipment. Only applies with shipments moving under international services.
-
-
-
-
- The total number of packages in the entire shipment (even when the shipment spans multiple transactions.)
-
-
-
-
- Specifies which package-level data values are provided at the shipment-level only. The package-level data values types specified here will not be provided at the package-level.
-
-
-
-
- One or more package-attribute descriptions, each of which describes an individual package, a group of identical packages, or (for the total-piece-total-weight case) common characteristics all packages in the shipment.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- These values are used to control the availability of certain special services at the time when a customer uses the e-mail label link to create a return shipment.
-
-
-
-
-
-
-
-
-
-
-
- Identifies the allowed (merchant-authorized) special services which may be selected when the subsequent shipment is created. Only services represented in EMailLabelAllowedSpecialServiceType will be controlled by this list.
-
-
-
-
-
-
- Information relating to a return shipment.
-
-
-
-
- The type of return shipment that is being requested. At present the only type of retrun shipment that is supported is PRINT_RETURN_LABEL. With this option you can print a return label to insert into the box of an outbound shipment. This option can not be used to print an outbound label.
-
-
-
-
- Return Merchant Authorization
-
-
-
-
- Specific information about the delivery of the email and options for the shipment.
-
-
-
-
-
-
- The type of return shipment that is being requested.
-
-
-
-
-
-
-
-
-
- The "PAYOR..." rates are expressed in the currency identified in the payor's rate table(s). The "RATED..." rates are expressed in the currency of the origin country. Former "...COUNTER..." values have become "...RETAIL..." values, except for PAYOR_COUNTER and RATED_COUNTER, which have been removed.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Return Merchant Authorization
-
-
-
-
- Return Merchant Authorization Number
-
- 20
-
-
-
-
-
- The reason for the return.
-
- 60
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- These values control the optional features of service that may be combined in a commitment/rate comparision transaction.
-
-
-
-
-
-
-
-
-
-
- Supporting detail for applied options identified in a rate quote.
-
-
-
-
- Identifies the type of Freight Guarantee applied, if FREIGHT_GUARANTEE is applied to the rate quote.
-
-
-
-
- Identifies the smartPostHubId used during rate quote, if SMART_POST_HUB_ID is a variable option on the rate request.
-
-
-
-
- Identifies the indicia used during rate quote, if SMART_POST_ALLOWED_INDICIA is a variable option on the rate request.
-
-
-
-
-
-
- Identifies the FedEx service to use in shipping the package. See ServiceType for list of valid enumerated values.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Shipment-level totals of dry ice data across all packages.
-
-
-
-
- Total number of packages in the shipment that contain dry ice.
-
-
-
-
- Total shipment dry ice weight for all packages.
-
-
-
-
-
-
- Data for a single leg of a shipment's total/summary rates, as calculated per a specific rate type.
-
-
-
-
- Human-readable text describing the shipment leg.
-
-
-
-
- Origin for this leg.
-
-
-
-
- Destination for this leg.
-
-
-
-
- Type used for this specific set of rate data.
-
-
-
-
- Indicates the rate scale used.
-
-
-
-
- Indicates the rate zone used (based on origin and destination).
-
-
-
-
-
- Indicates which weight was used.
-
-
-
-
- INTERNAL FEDEX USE ONLY.
-
-
-
-
- Specifies the currency exchange performed on financial amounts for this rate.
-
-
-
-
- Indicates which special rating cases applied to this shipment.
-
-
-
-
-
- Identifies the type of dim divisor that was applied.
-
-
-
-
-
-
- Sum of dimensional weights for all packages.
-
-
-
-
-
-
-
-
- This shipment's totalNetFreight + totalSurcharges (not including totalTaxes).
-
-
-
-
- Total of the transportation-based taxes.
-
-
-
-
-
-
- Total of all values under this shipment's dutiesAndTaxes; only provided if estimated duties and taxes were calculated for this shipment.
-
-
-
-
- This shipment's totalNetCharge + totalDutiesAndTaxes; only provided if estimated duties and taxes were calculated for this shipment AND duties, taxes and transportation charges are all paid by the same sender's account.
-
-
-
-
- Rate data specific to FedEx Freight and FedEx National Freight services.
-
-
-
-
- All rate discounts that apply to this shipment.
-
-
-
-
- All rebates that apply to this shipment.
-
-
-
-
- All surcharges that apply to this shipment.
-
-
-
-
- All transportation-based taxes applicable to this shipment.
-
-
-
-
- All commodity-based duties and taxes applicable to this shipment.
-
-
-
-
- The "order level" variable handling charges.
-
-
-
-
- The total of all variable handling charges at both shipment (order) and package level.
-
-
-
-
-
-
- These values identify which package-level data values will be provided at the shipment-level.
-
-
-
-
-
-
-
-
-
- Data for a shipment's total/summary rates, as calculated per a specific rate type. The "total..." fields may differ from the sum of corresponding package data for Multiweight or Express MPS.
-
-
-
-
- Type used for this specific set of rate data.
-
-
-
-
- Indicates the rate scale used.
-
-
-
-
- Indicates the rate zone used (based on origin and destination).
-
-
-
-
- Indicates the type of pricing used for this shipment.
-
-
-
-
- Indicates which weight was used.
-
-
-
-
- INTERNAL FEDEX USE ONLY.
-
-
-
-
- Specifies the currency exchange performed on financial amounts for this rate.
-
-
-
-
- Indicates which special rating cases applied to this shipment.
-
-
-
-
- The value used to calculate the weight based on the dimensions.
-
-
-
-
- Identifies the type of dim divisor that was applied.
-
-
-
-
-
- The weight used to calculate these rates.
-
-
-
-
- Sum of dimensional weights for all packages.
-
-
-
-
-
- The total discounts used in the rate calculation.
-
-
-
-
- The freight charge minus discounts.
-
-
-
-
- The total amount of all surcharges applied to this shipment.
-
-
-
-
- This shipment's totalNetFreight + totalSurcharges (not including totalTaxes).
-
-
-
-
- Total of the transportation-based taxes.
-
-
-
-
- The net charge after applying all discounts and surcharges.
-
-
-
-
- The total sum of all rebates applied to this shipment.
-
-
-
-
- Total of all values under this shipment's dutiesAndTaxes; only provided if estimated duties and taxes were calculated for this shipment.
-
-
-
-
- This shipment's totalNetCharge + totalDutiesAndTaxes; only provided if estimated duties and taxes were calculated for this shipment AND duties, taxes and transportation charges are all paid by the same sender's account.
-
-
-
-
- Identifies the Rate Details per each leg in a Freight Shipment
-
-
-
-
- Rate data specific to FedEx Freight and FedEx National Freight services.
-
-
-
-
- All rate discounts that apply to this shipment.
-
-
-
-
- All rebates that apply to this shipment.
-
-
-
-
- All surcharges that apply to this shipment.
-
-
-
-
- All transportation-based taxes applicable to this shipment.
-
-
-
-
- All commodity-based duties and taxes applicable to this shipment.
-
-
-
-
- The "order level" variable handling charges.
-
-
-
-
- The total of all variable handling charges at both shipment (order) and package level.
-
-
-
-
-
-
- Identifies the collection of special service offered by FedEx.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- These special services are available at the shipment level for some or all service types. If the shipper is requesting a special service which requires additional data (such as the COD amount), the shipment special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below.
-
-
-
-
- The types of all special services requested for the enclosing shipment (or other shipment-level transaction).
-
-
-
-
- Descriptive data required for a FedEx COD (Collect-On-Delivery) shipment. This element is required when SpecialServiceType.COD is present in the SpecialServiceTypes collection.
-
-
-
-
- Descriptive data required for a FedEx shipment that is to be held at the destination FedEx location for pickup by the recipient. This element is required when SpecialServiceType.HOLD_AT_LOCATION is present in the SpecialServiceTypes collection.
-
-
-
-
- Descriptive data required for FedEx to provide email notification to the customer regarding the shipment. This element is required when SpecialServiceType.EMAIL_NOTIFICATION is present in the SpecialServiceTypes collection.
-
-
-
-
- The descriptive data required for FedEx Printed Return Label. This element is required when SpecialServiceType.PRINTED_RETURN_LABEL is present in the SpecialServiceTypes collection
-
-
-
-
- This field should be populated for pending shipments (e.g. e-mail label) It is required by a PENDING_SHIPMENT special service type.
-
-
-
-
- The number of packages with dry ice and the total weight of the dry ice.
-
-
-
-
- The descriptive data required for FedEx Home Delivery options. This element is required when SpecialServiceType.HOME_DELIVERY_PREMIUM is present in the SpecialServiceTypes collection
-
-
-
-
-
-
- Electronic Trade document references.
-
-
-
-
- Specification for date or range of dates on which delivery is to be attempted.
-
-
-
-
-
-
- Each occurrence of this class specifies a particular way in which a kind of shipping document is to be produced and provided.
-
-
-
-
- Values in this field specify how to create and return the document.
-
-
-
-
- Specifies how to organize all documents of this type.
-
-
-
-
- Specifies how to e-mail document images.
-
-
-
-
- Specifies how a queued document is to be printed.
-
-
-
-
-
-
- Specifies how to return a shipping document to the caller.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Specifies how to e-mail shipping documents.
-
-
-
-
- Provides the roles and email addresses for e-mail recipients.
-
-
-
-
- Identifies the convention by which documents are to be grouped as e-mail attachments.
-
-
-
-
-
-
-
-
-
-
-
-
- Specifies an individual recipient of e-mailed shipping document(s).
-
-
-
-
- Identifies the relationship of this recipient in the shipment.
-
-
-
-
- Address to which the document is to be sent.
-
-
-
-
-
-
- Specifies characteristics of a shipping document to be produced.
-
-
-
-
- Specifies how to create, organize, and return the document.
-
-
-
-
- Specifies how far down the page to move the beginning of the image; allows for printing on letterhead and other pre-printed stock.
-
-
-
-
-
-
- For those shipping document types which have both a "form" and "instructions" component (e.g. NAFTA Certificate of Origin and General Agency Agreement), this field indicates whether to provide the instructions.
-
-
-
-
- Governs the language to be used for this individual document, independently from other content returned for the same shipment.
-
-
-
-
-
-
- Specifies how to organize all shipping documents of the same type.
-
-
-
-
-
-
-
-
- Specifies the image format used for a shipping document.
-
-
-
-
-
-
-
-
-
-
-
- Specifies printing options for a shipping document.
-
-
-
-
- Provides environment-specific printer identification.
-
-
-
-
-
-
- Contains all data required for additional (non-label) shipping documents to be produced in conjunction with a specific shipment.
-
-
-
-
- Indicates the types of shipping documents requested by the shipper.
-
-
-
-
-
-
- Specifies the production of each package-level custom document (the same specification is used for all packages).
-
-
-
-
- Specifies the production of a shipment-level custom document.
-
-
-
-
- Details pertaining to the GAA.
-
-
-
-
- Details pertaining to NAFTA COO.
-
-
-
-
- Specifies the production of the OP-900 document for hazardous materials packages.
-
-
-
-
-
-
- Specifies the type of paper (stock) on which a document will be printed.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- The descriptive data required for FedEx delivery signature services.
-
-
-
-
- Identifies the delivery signature services option selected by the customer for this shipment. See OptionType for the list of valid values.
-
-
-
-
- Identifies the delivery signature release authorization number.
-
- 10
-
-
-
-
-
-
-
- Identifies the delivery signature services options offered by FedEx.
-
-
-
-
-
-
-
-
-
-
-
- These values are mutually exclusive; at most one of them can be attached to a SmartPost shipment.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Data required for shipments handled under the SMART_POST and GROUND_SMART_POST service types.
-
-
-
-
-
-
-
-
-
-
- Indicates which special rating cases applied to this shipment.
-
-
-
-
-
-
-
-
- Identifies each surcharge applied to the shipment.
-
-
-
-
- The type of surcharge applied to the shipment.
-
-
-
-
-
-
- The amount of the surcharge applied to the shipment.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Identifies each tax applied to the shipment.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Specifice the kind of tax or miscellaneous charge being reported on a Commercial Invoice.
-
-
-
-
-
-
-
-
-
-
-
-
- The descriptive data for taxpayer identification information.
-
-
-
-
- Identifies the category of the taxpayer identification number. See TinType for the list of values.
-
-
-
-
- Identifies the taxpayer identification number.
-
- 18
-
-
-
-
-
- Identifies the usage of Tax Identification Number in Shipment processing
-
-
-
-
-
-
-
- Required for dutiable international express or ground shipment. This field is not applicable to an international PIB (document) or a non-document which does not require a commercial invoice express shipment.
- CFR_OR_CPT (Cost and Freight/Carriage Paid TO)
- CIF_OR_CIP (Cost Insurance and Freight/Carraige Insurance Paid)
- DDP (Delivered Duty Paid)
- DDU (Delivered Duty Unpaid)
- EXW (Ex Works)
- FOB_OR_FCA (Free On Board/Free Carrier)
-
-
-
-
-
-
-
-
-
-
-
-
-
- Identifies the category of the taxpayer identification number.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Descriptive data for this customer transaction. The TransactionDetail from the request is echoed back to the caller in the corresponding reply.
-
-
-
-
- Free form text to be echoed back in the reply. Used to match requests and replies.
-
-
-
-
- Governs data payload language/translations (contrasted with ClientDetail.localization, which governs Notification.localizedMessage language selection).
-
-
-
-
-
-
- Time in transit from pickup to delivery.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- This definition of variable handling charge detail is intended for use in Jan 2011 corp load.
-
-
-
-
- Used with Variable handling charge type of FIXED_VALUE. Contains the amount to be added to the freight charge. Contains 2 explicit decimal positions with a total max length of 10 including the decimal.
-
-
-
-
- Actual percentage (10 means 10%, which is a mutiplier of 0.1)
-
-
-
-
- Select the value from a set of rate data to which the percentage is applied.
-
-
-
-
- Select the type of rate from which the element is to be selected.
-
-
-
-
-
-
- The variable handling charges calculated based on the type variable handling charges requested.
-
-
-
-
- The variable handling charge amount calculated based on the requested variable handling charge detail.
-
-
-
-
- The calculated varibale handling charge plus the net charge.
-
-
-
-
-
-
- Three-dimensional volume/cubic measurement.
-
-
-
-
-
-
-
-
- Units of three-dimensional volume/cubic measure.
-
-
-
-
-
-
-
-
- The descriptive data for the heaviness of an object.
-
-
-
-
- Identifies the unit of measure associated with a weight value.
-
-
-
-
- Identifies the weight value of a package/shipment.
-
-
-
-
-
-
- Identifies the unit of measure associated with a weight value. See WeightUnits for the list of valid enumerated values.
-
-
-
-
-
-
-
-
- Used in authentication of the sender's identity.
-
-
-
-
- Credential used to authenticate a specific software application. This value is provided by FedEx after registration.
-
-
-
-
-
-
- Two part authentication string used for the sender's identity
-
-
-
-
- Identifying part of authentication credential. This value is provided by FedEx after registration
-
-
-
-
- Secret part of authentication key. This value is provided by FedEx after registration.
-
-
-
-
-
-
- Identifies the version/level of a service operation expected by a caller (in each request) and performed by the callee (in each reply).
-
-
-
-
- Identifies a system or sub-system which performs an operation.
-
-
-
-
- Identifies the service business level.
-
-
-
-
- Identifies the service interface level.
-
-
-
-
- Identifies the service code level.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/modules/fedexcarrier/carrier.jpg b/modules/fedexcarrier/carrier.jpg
deleted file mode 100644
index 8d29e008e..000000000
Binary files a/modules/fedexcarrier/carrier.jpg and /dev/null differ
diff --git a/modules/fedexcarrier/config.xml b/modules/fedexcarrier/config.xml
deleted file mode 100755
index 1a7aaa65a..000000000
--- a/modules/fedexcarrier/config.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
- fedexcarrier
-
-
-
-
-
- 1
- 1
- us
-
\ No newline at end of file
diff --git a/modules/fedexcarrier/de.php b/modules/fedexcarrier/de.php
deleted file mode 100644
index 088bb8a30..000000000
--- a/modules/fedexcarrier/de.php
+++ /dev/null
@@ -1,154 +0,0 @@
-fedexcarrier_c0d00fcb670ada42dad4698b865f40cd'] = 'Fedex Carrier';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0aad1e954489f441f8824e1f990d4774'] = 'Bieten Sie Ihren Kunden unterschiedliche Liefermethoden mit Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ff86cba2f7fe4a2dec854d107a4d99d2'] = 'SOAP-Klasse';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_883fa0069f4b0454e2277dd567ab3991'] = '\'Gewichtseinheit (LB oder KG).\'';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5a3ceec65d417f5d92c26dbf0dccc00d'] = '\'Längeneinheit (CM oder IN).\'';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_4d470fde8487e755a50e9235e3dc13ab'] = 'muss konfiguriert sein, um dieses Modul richtig nutzen';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_a1d8be175eff378884736e1b44da526e'] = 'Fedex Konto';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_c481cd53864462a87dcb89c33589ff8e'] = 'Fedex Zähler';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_918356c887962073f010ee06e1395713'] = 'Fedex Kennwort';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_8c2b826b79539fa093a6db05ca5ec9e0'] = 'Fedex API Schlüssel';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_3ef2f9d666a37f95d963a84c46bae646'] = 'Fedex Standard-Abholungsart';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_72f18dde0a5c9f75dd487adeacb92b56'] = 'Fedex Standard-Verpackungsart';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_20449d3f0b6c6b9265a5cd2a470a6451'] = 'Gewicht der Verpackung';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_bfc00de34bc04366e7fee516adf7dca5'] = 'Bearbeitungsgebühr';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5bb8a37c6acccadf3e28a704d59f1f8a'] = 'Business Service Center';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_c0b3132d2759b40e8525f2466c477d1c'] = 'Drop Box';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_22db7528d7c5df8e310bf19af75e61d3'] = 'Regelmäßige Abholung';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_7e8eb99ef29d93f494ebdc27b59444f5'] = 'Kurier anfordern';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_394a844cc3d6d99eb45b4e71afde2c99'] = 'Station';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_57185ccd597e58ad9e4944f4356222b6'] = 'Fedex 10Kg Box';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9a8ccd685b767c927bca8501ae80d954'] = 'Fedex 25kg Box';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_38f14cc3e27cc856e61e3a7f555148d2'] = 'Fedex Box';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_36aba1bfaa5062695e71a6524008dd8a'] = 'Fedex Umschlag';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d0e6a558b4ce274905600856b20b471e'] = 'FedEx Pak';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5b2953c3343913eee2398c1fe2651be7'] = 'Fedex Röhrenpackung';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_451400926783d7a47cd31025717bc97f'] = 'Ihre Verpackung';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_46f58e2a308b68cae9d5f5dd8a5d4ad6'] = 'Europe first international Priority';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0fd6265588d27073ef45ed36d5c00c75'] = 'Fedex Freight 1 Geschäftstag';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_dfa184d2bf6a5d6ee8ffebfbaa25394c'] = 'Fedex 2 Geschäftstage';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_2c0f88b63bfbe05955db90f1dcccab2e'] = 'Fedex Freight 2 Geschäftstage';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_03aac4b90886eabd480cee819e24d09e'] = 'Fedex Freight 3 Geschäftstage';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_687009f2bc600c25a005b26f4cb4ab02'] = 'Fedex Express Saver';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_6e8cf654ec68d7391f5d673331e2c212'] = 'FedEx Freight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_1497c5bee4dd896e0b84c442be1e8760'] = 'FedEx Ground Bodenversand';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_23044a6996eda8ad80874f5bdd72a0bc'] = 'Fedex national freight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_4cee621e07c270fb1031f231e592a8cd'] = 'First overnight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_e1416870eb1cf36849393bf6ef6f6966'] = 'Hauszustellung per Bodenversand';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_124dd98ba09563af1900c14885e97d6e'] = 'International economy';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_2751413ff6e957a3b6894929b008b123'] = 'Internationale economy freight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_cebbbe47be59307e1751e2febe44fdc6'] = 'International first';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f3f9ee160906e71040b437410459ec79'] = 'International ground';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_759d99c1c032d4171c2f142af4f79436'] = 'International priority';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_a8c786474d046ba2b2b90b78a7b498cf'] = 'International priority';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ec25bbf3daf58ec08920a781e25a3f3d'] = 'Priority overnight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_e889962a8517669ba4ac839afa6384df'] = 'smart post';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0a7bd01967a1874144b1b4fab2ee6a6f'] = 'Strandard overnight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_386aad80d82f8245e9ef80352a2240e8'] = 'Alle Artikel in einem Paket';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f35eb2a913a3fd6fd8e661012cf0ebd8'] = 'Split ein Stück pro Paket';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d999f792aee7c730cdc95f6aff4aa436'] = 'FEDEX Carrier';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_99e509958c21ac35438651547a7bb035'] = 'Fedex Modulstatus';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d23a9177c3c7256ede85643a19335afb'] = 'FEDEX Carrier ist richtig konfiguriert und online!';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5bc95bc43c48a735773d4182dcf526fb'] = 'FEDEX Carrier ist noch nicht konfiguriert, Sie müssen:';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_3e203b9a16f360b88d90bba6eb61ce61'] = 'Das \"Allgemeine Einstellungen\"-Formular ausfüllen ';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_8c0987b9315003df7dae7f130e3cf58e'] = 'Ihren verfügbaren Zustelldienst wählen';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_e20f6d6f13fe70e78f6e2ab488493ccf'] = 'Webservice Testverbindung';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_807b063fceafae2c51dc6afb45612389'] = 'SOAP ist aktiviert';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_52f4393e1b52ba63e27310ca92ba098c'] = 'Allgemeine Einstellungen';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_277d63a9b24a09697e3c64092eaf4353'] = 'Einstellungen der Kategorien ';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_098eec2cabe2c39c6dec3fc522b6571a'] = 'Einstellungen der Produkte ';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_6a26f548831e6a8c26bfbbd9f6ec61e0'] = 'Hilfe';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d2126da975d5b9a5b846efaf57d3fd53'] = 'Allgemeine Konfiguration';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_a50bb127f9b307757cf52ab86d70adac'] = 'Ihr FedEx Konto';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9a8b0ebd10992bd1576eccf605a84175'] = 'Ihre FedEx Zählernummer';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_c36a272a8778a2e85de52a01675fd521'] = 'Ihr FedEx Kennwort';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5e2cd475470bc7b47bef8d4ecdae2a67'] = 'Ihr FedEx API Schlüssel';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_cdfa1b01c330bf745f776f6c6c8afffd'] = 'Bitte klicken Sie hier, um Ihren Fedex API Schlüssel zu erhalten.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_db06a2900c66a3a2cb78fe3a470f1b85'] = 'Verpackung Gewicht';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0274f749472f365e7d48a501e14793e6'] = 'Handling Fee';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_83ad4fdaf06650e6d9d7ca18f82fb975'] = 'Konfiguration der Lokalisierung ';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f489118ea95c746d648d36bb50c226f0'] = 'Gewichtseinheit';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_659c95668841b7d6602ead454b28d4ba'] = 'Die Gewichtseinheit Ihres Shops (z.B. kg oder lbs)';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_cc13d156306185fd42a860da3049567c'] = 'Maßeinheit';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f804c2bdebc117d9cde3cddad3b49845'] = 'Die Maßeinheit Ihres Shops (z.B. cm oder in)';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_2481447d04ae756836d32e3ade240ff4'] = 'Adresskonfiguration';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5b179e75d464a04d8a04111131b3a3ca'] = 'Ihre Adresszeile 1';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_281b2def1a9737b33f88013c94fdfeb8'] = 'Ihre Adresszeile 2';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d30f507473129e70c4b962ceccf175cf'] = 'Postleitzahl';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d0585aac6bb77bb49423b2effca0e067'] = 'Ihre Stadt';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_59716c97497eb9694541f7c3d37b1a4d'] = 'Land';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f8f5a972333ee726fbe5bb52409c0ed0'] = 'Wählen Sie ein Land ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_4e9863cf5326e6714388045321665d07'] = 'Wählen Sie ein Land aus der Liste.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_46a2a41cc6e552044816a2d04634545d'] = 'Staat';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_cf1580798f7aba85d519afadf1ffd886'] = 'Wählen Sie einen Staat ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_02546d525ab356bd43c91e6b07447496'] = 'Es gibt keine Konfiguration des Staats für dieses Land';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0ddc2a5660f7d095fff34d6b93077c80'] = 'Service-Konfiguration';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f405714368454e1f9c932432693aea42'] = 'Standard-Abholungsart';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ce135482b30deedcc0046df41c12de79'] = 'Wählen Sie eine Standard-Abholungsart ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9a361a1f786db3dfe07aae42752d3446'] = 'Standard-Verpackungsart';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_4664d1ae1832bed2246e8a6850365075'] = 'Wählen Sie eine Standard-Verpackungsart ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_8d6bd50f3fe3ee2f4513066c25e5fb4a'] = 'Calcul Modus';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_c5238c5f72dee585afdf4bddf6de518e'] = 'Mit dem calcul Modus \"Alle Elemente in einem Paket\" verwendet automatisch Standard-Packungsgröße, Verpackungsart und Zustelldienste. Besonderheiten Konfigurationen für Kategorien oder das Produkt nicht verwenden.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5cdd307ba6e260beb4801c0c10e22a3a'] = 'Liefer-Service';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_78945de8de090e90045d299651a68a9b'] = 'Verfügbar';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_2d25c72c1b18e562f6654fff8e11711e'] = 'Nicht verfügbar';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d63e135774e62574e2a1921267dad142'] = 'Wählen Sie den Lieferservice, der für die Kunden verfügbar ist.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f1206f9fadc5ce41694f69129aecac26'] = 'Konfigurieren';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9b8c4a7116e8c44e4ebc955fafd47586'] = 'Ihr FedEx Konto ist nicht angegeben';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_b9cc1a101547b3ece6d946dbbe3469d7'] = 'Ihr FedEx Zähler ist nicht angegeben';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5ce0f66588bbbbbb3ef0634e5ea7da69'] = 'Ihre FedEx Kennwort ist nicht angegeben';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_7988c0adb770f0f945814c0fb2b5800b'] = 'Ihre FedEx API Schlüssel ist nicht angegeben';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5d5ae09e7b6041d3449ef2cbfc39f560'] = 'Ihre Abholungsart ist nicht angegeben ';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_e794e452ed4d2cfa13083693a2c8810e'] = 'Ihre Verpackungsart ist nicht angegeben';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_805353d2862ea0e658c9ddda871540fa'] = 'Ihre PLZ ist nicht angegeben';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ef9bd955e165dfb0207877e9fe180aeb'] = 'Ihre Stadt ist nicht angegeben';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5ecc7697a320f93f3ee8fb4048dbd64c'] = 'Ihr Land ist nicht angegeben';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_729d4f7143a3de7b0ed18de667fdf4d5'] = 'Prestashop konnte keine Verbindung zu den FedEx Webservices herstellen';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9d1b485edd50e6fbd288b340b386b07d'] = 'Kein Fehlerbeschreibung gefunden';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_c888438d14855d7d96a2724ee9c306bd'] = 'Einstellungen aktualisiert';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_b9284bff13acffdd879ef4ac7fca5234'] = 'Einstellungen fehlgeschlagen';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_67e19ffdaa0a11e69349810403a9727e'] = 'Sie müssen die \"allgemeinen Einstellungen\" konfigurieren, bevor Sie diesen Tab benutzen.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_a37b48e8684078c0620a997b3baeee9f'] = 'In diesem Tab können Sie eine spezielle Konfiguration für jede Kategorie einstellen.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f421827ff72ef9a61fb27aa0de62f1e4'] = 'ID Config';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_3adbdb3ac060038aa0e6e6c138ef9873'] = 'Kategorie';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ca2fb7f67355c05d2ffa963fac6e91e1'] = 'Abholungsart';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d9bc28a26253438f5b16cea5eb35681a'] = 'Verpackungsart';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_20cde117cbc92b9ec1fb4e5bc4a7b9bd'] = 'Zusätzliche Gebühren';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_992a0f0542384f1ee5ef51b7cf4ae6c4'] = 'Dienstleistungen';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_06df33001c1d7187fdd81ea1f5b277aa'] = 'Handlungen';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_4f8e00c5ae41d97ab62a947b8e806d55'] = 'Es gibt keine spezifische FEDEX-Konfiguration für Kategorien an dieser Stelle.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f1c611f93510bbee05663c82f6d439e2'] = 'Sind Sie sicher, dass Sie diese spezifische FEDEX Konfiguration für diese Kategorie löschen wollen?';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_3e0cb9fd22b124c0839302fef54762d7'] = ' Regel aktualisieren';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_dd593f8a542ab628cbba98c709255e60'] = ' Regel hinzufügen';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_1debf905ac528b3f0615cd379ced0d38'] = 'Abholungsart';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_b03dfe92d8c5b6a15d3f139998580563'] = 'Wählen Sie eine Abholungsart';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_da42caf26ef85de3d7e48e16ca60b891'] = 'Verpackungsart';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_8d2ee0603dfce09b57d60db628cde269'] = 'Wählen Sie eine Verpackungsart ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_7fcafa7c47e984693fcb8a92c0fd1beb'] = 'Wählen Sie eine Kategorie ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d725c0166e978cc30853996c70440873'] = 'Sie müssen eine Kategorie auswählen.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ff63f917e2a947d454bce41b104cfbd2'] = 'Diese Kategorie hat bereits eine bestimmte FEDEX Konfiguration.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_fd0119c2a5fc18aa64887b5b7ab41c19'] = 'Ein Fehler ist aufgetreten, bitte versuchen Sie es erneut.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_20f40087c53c662adfb4e780500eaa15'] = 'In diesem Tab können Sie eine spezielle Konfiguration für jedes Produkt einstellen.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_deb10517653c255364175796ace3553f'] = 'Produkt';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_cef3da9171b7ac6d7a6e206e68a2a246'] = 'Es gibt keine spezifische FEDEX-Konfiguration für Produkte an dieser Stelle.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ceb0ede9c02d159aa2360a3d0694d9ed'] = 'Sind Sie sicher, dass Sie diese spezifische FEDEX Konfiguration für dieses Produkt löschen wollen?';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_3c4d710b56f4318dae775cff80619f84'] = 'Wählen Sie ein Produkt ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9c07640370e4681bf98638d0c458cd2e'] = 'Sie müssen ein Produkt auswählen.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_8fc3abc76f5a163f81962a52fc5a3703'] = 'Dieses Produkt hat bereits eine bestimmte FEDEX Konfiguration.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9c3eacca576fbfc5dca21b50d9f6ef8f'] = 'Willkommen im PrestaShop FEDEX Modul-Konfigurator!';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_92640c80a67da1782a18304336405dac'] = 'Dieser Abschnitt wird Ihnen helfen zu verstehen, wie dieses Modul richtig konfiguriert wird.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ec0e6948e8f34818d80f27c309f46661'] = 'Siehe unten für die Beschreibung der einzelnen Felder:';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_b12c6f84e131ed2192e9d9c6c531f239'] = 'Ihr FedEx Konto';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0ea2cd644fcacb9e8fe1d4c9c89a677b'] = 'Sie müssen sich auf der FEDEX Website unter folgender Adresse anmelden';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_35ba940948fa0ea163fd01281de10e2f'] = 'Dieses Feld muss die Postleitzahl Ihres Paketabsendeorts sein.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_81822348ace1ceabad5e9f8992ce9ea4'] = 'Dieses Feld muss das Land Ihres Paketabsendeorts sein.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_74395432668d0313b593712dfc40479a'] = 'Dieses Feld entspricht der Standard-Abholungsart (wenn keine spezielle Konfiguration für das Produkt oder die Produktkategorie vorhanden ist).';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_b9bba478eb4348e49e672e944b072b68'] = 'Diese Kontrollkästchen entsprechen den Zustelldiensten, die verfügbar sein sollen (wenn es keine spezielle Konfiguration für das Produkt oder die Produktkategorie vorhanden ist).';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_71ffd676000b4ec8ea95f4096adc3d3c'] = 'Dieser Abschnitt ermöglicht es Ihnen, eine bestimmte FEDEX Konfiguration für jede Produktkategorie (z.B. Verpackungsart und Zusatzkosten) zu definieren.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_89a9eabc8fc9335d484dcb1eb7ef4ac5'] = 'Dieser Abschnitt ermöglicht es Ihnen, eine bestimmte FEDEX Konfiguration für jedes Produkt (z. B. Verpackungsart und Zusatzkosten) zu definieren.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_902b0d55fddef6f8d651fe1035b7d4bd'] = 'Fehler';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5e303843029d99ced59415005037969d'] = 'Fedex Webservice scheint abgeschaltet zu sein, warten Sie bitte ein paar Minuten und versuchen es dann erneut';
diff --git a/modules/fedexcarrier/es.php b/modules/fedexcarrier/es.php
deleted file mode 100644
index ff858ccb8..000000000
--- a/modules/fedexcarrier/es.php
+++ /dev/null
@@ -1,153 +0,0 @@
-fedexcarrier_c0d00fcb670ada42dad4698b865f40cd'] = 'Transportista Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0aad1e954489f441f8824e1f990d4774'] = 'Proponer sus clientes el transportista Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ff86cba2f7fe4a2dec854d107a4d99d2'] = 'Clase SOAP ';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_883fa0069f4b0454e2277dd567ab3991'] = '\'Unidad de peso (lb o kg).\'';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5a3ceec65d417f5d92c26dbf0dccc00d'] = '\'Unidad del tamaño (CM o pulgadas).\'';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_4d470fde8487e755a50e9235e3dc13ab'] = 'deben configurarse correctamente para poder utilizar este módulo';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_a1d8be175eff378884736e1b44da526e'] = 'Cuenta de FedEx ';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_c481cd53864462a87dcb89c33589ff8e'] = 'Meter de Fedex ';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_918356c887962073f010ee06e1395713'] = 'Contraseña de Fedex ';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_8c2b826b79539fa093a6db05ca5ec9e0'] = 'Clave API de Fedex ';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_3ef2f9d666a37f95d963a84c46bae646'] = 'Tipo de recogida predeterminado de Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_72f18dde0a5c9f75dd487adeacb92b56'] = 'Tipo de embalaje predeterminado de Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_20449d3f0b6c6b9265a5cd2a470a6451'] = 'Peso del paquete';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_bfc00de34bc04366e7fee516adf7dca5'] = 'Gastos de gestión';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5bb8a37c6acccadf3e28a704d59f1f8a'] = 'Business service center';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_c0b3132d2759b40e8525f2466c477d1c'] = 'Buzón de depósito';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_22db7528d7c5df8e310bf19af75e61d3'] = 'Recogida regular';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_7e8eb99ef29d93f494ebdc27b59444f5'] = 'Solicitud de mensajería';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_394a844cc3d6d99eb45b4e71afde2c99'] = 'Estación';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_57185ccd597e58ad9e4944f4356222b6'] = 'Caja de 10 Kg de Fedex ';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9a8ccd685b767c927bca8501ae80d954'] = 'Caja de 25 Kg de Fedex ';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_38f14cc3e27cc856e61e3a7f555148d2'] = 'Caja de Fedex ';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_36aba1bfaa5062695e71a6524008dd8a'] = 'Sobre de Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d0e6a558b4ce274905600856b20b471e'] = 'Pak de Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5b2953c3343913eee2398c1fe2651be7'] = 'Tubo de Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_451400926783d7a47cd31025717bc97f'] = 'Su embalaje';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_46f58e2a308b68cae9d5f5dd8a5d4ad6'] = 'Europe first international priority';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0fd6265588d27073ef45ed36d5c00c75'] = 'Fedex 1 día flete';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_dfa184d2bf6a5d6ee8ffebfbaa25394c'] = 'Fedex 2 días';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_2c0f88b63bfbe05955db90f1dcccab2e'] = 'Fedex 2 días flete';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_03aac4b90886eabd480cee819e24d09e'] = 'Fedex 3 días flete';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_687009f2bc600c25a005b26f4cb4ab02'] = 'Fedex express saver';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_6e8cf654ec68d7391f5d673331e2c212'] = 'Fedex flete';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_1497c5bee4dd896e0b84c442be1e8760'] = 'Fedex ground';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_23044a6996eda8ad80874f5bdd72a0bc'] = 'Fedex flete nacional';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_4cee621e07c270fb1031f231e592a8cd'] = 'First overnight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_e1416870eb1cf36849393bf6ef6f6966'] = 'Ground home delivery';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_124dd98ba09563af1900c14885e97d6e'] = 'International economy';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_2751413ff6e957a3b6894929b008b123'] = 'International economy freight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_cebbbe47be59307e1751e2febe44fdc6'] = 'International first';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f3f9ee160906e71040b437410459ec79'] = 'International ground';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_759d99c1c032d4171c2f142af4f79436'] = 'International priority';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_a8c786474d046ba2b2b90b78a7b498cf'] = 'International priority freight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ec25bbf3daf58ec08920a781e25a3f3d'] = 'Priority overnight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_e889962a8517669ba4ac839afa6384df'] = 'Smart post';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0a7bd01967a1874144b1b4fab2ee6a6f'] = 'Standard overnight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_386aad80d82f8245e9ef80352a2240e8'] = 'Todos los artículos en un solo paquete';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f35eb2a913a3fd6fd8e661012cf0ebd8'] = 'Dividir un artículo por paquete';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d999f792aee7c730cdc95f6aff4aa436'] = 'Transportista FEDEX ';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_99e509958c21ac35438651547a7bb035'] = 'Módulo de estado Fedex ';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d23a9177c3c7256ede85643a19335afb'] = '¡Transportista FEDEX está bien configurado y en línea!';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5bc95bc43c48a735773d4182dcf526fb'] = 'Transportista FEDEX no está configurado todavía, usted tiene que:';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_3e203b9a16f360b88d90bba6eb61ce61'] = 'Cumplimentar el impreso \"Configuración general\"';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_8c0987b9315003df7dae7f130e3cf58e'] = 'Seleccione el servicio de entrega disponible que desee';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_e20f6d6f13fe70e78f6e2ab488493ccf'] = 'Conexión de prueba al servicio web';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_807b063fceafae2c51dc6afb45612389'] = 'SOAP está habilitado';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_52f4393e1b52ba63e27310ca92ba098c'] = 'Configuración general';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_277d63a9b24a09697e3c64092eaf4353'] = 'Configuración de las categorías';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_098eec2cabe2c39c6dec3fc522b6571a'] = 'Configuración de los productos';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_6a26f548831e6a8c26bfbbd9f6ec61e0'] = 'Ayuda';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d2126da975d5b9a5b846efaf57d3fd53'] = 'Configuración general';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_a50bb127f9b307757cf52ab86d70adac'] = 'Su cuenta Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9a8b0ebd10992bd1576eccf605a84175'] = 'Su Fedex Mater Lumber';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_c36a272a8778a2e85de52a01675fd521'] = 'Su contraseña fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5e2cd475470bc7b47bef8d4ecdae2a67'] = 'Su Fedex Key API';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_cdfa1b01c330bf745f776f6c6c8afffd'] = 'Pulse aquí para obtener su Fedex Key API';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_db06a2900c66a3a2cb78fe3a470f1b85'] = 'Unidad de Peso';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0274f749472f365e7d48a501e14793e6'] = 'Gastos de gestión';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_83ad4fdaf06650e6d9d7ca18f82fb975'] = 'Configuración de localización ';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f489118ea95c746d648d36bb50c226f0'] = 'Unidad de peso';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_659c95668841b7d6602ead454b28d4ba'] = 'La unidad de peso para su tienda (kg o libras)';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_cc13d156306185fd42a860da3049567c'] = 'Unidad de dimensión';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f804c2bdebc117d9cde3cddad3b49845'] = 'La unidad de dimensión de su tienda (cm o pulgadas)';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_2481447d04ae756836d32e3ade240ff4'] = 'Dirección de configuración';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5b179e75d464a04d8a04111131b3a3ca'] = 'Su dirección la línea 1';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_281b2def1a9737b33f88013c94fdfeb8'] = 'Su dirección la línea 2';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d30f507473129e70c4b962ceccf175cf'] = 'Código Postal';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d0585aac6bb77bb49423b2effca0e067'] = 'Su ciudad';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_59716c97497eb9694541f7c3d37b1a4d'] = 'País';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f8f5a972333ee726fbe5bb52409c0ed0'] = 'Seleccione un país ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_4e9863cf5326e6714388045321665d07'] = 'Seleccione el país desde dentro de la lista.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_46a2a41cc6e552044816a2d04634545d'] = 'Estado';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_cf1580798f7aba85d519afadf1ffd886'] = 'Seleccione un estado ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_02546d525ab356bd43c91e6b07447496'] = 'No hay configuración por Estado para este país';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0ddc2a5660f7d095fff34d6b93077c80'] = 'Configuración del servicio';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f405714368454e1f9c932432693aea42'] = 'Tipo de recogida por defecto';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ce135482b30deedcc0046df41c12de79'] = 'Elija su método de recogida por defecto…';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9a361a1f786db3dfe07aae42752d3446'] = 'Tipo de embalaje por defecto';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_4664d1ae1832bed2246e8a6850365075'] = 'Seleccione un tipo de embalaje por defecto...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_8d6bd50f3fe3ee2f4513066c25e5fb4a'] = 'Modode cálculo';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_c5238c5f72dee585afdf4bddf6de518e'] = 'Utilizando el modo de cálculo \"Todos los artículos en un solo paquete\" utilizará automáticamente el tamaño por defecto de embalaje, tipo de embalaje y entrega. No se utilizarán las configuraciones específicas de las categorías y de los productos.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5cdd307ba6e260beb4801c0c10e22a3a'] = 'Servicio de entrega';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_78945de8de090e90045d299651a68a9b'] = 'Disponible';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_2d25c72c1b18e562f6654fff8e11711e'] = 'No disponible';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d63e135774e62574e2a1921267dad142'] = 'Elija el servicio de entrega que estará disponible para los clientes.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9b8c4a7116e8c44e4ebc955fafd47586'] = 'No se ha especificado su cuenta Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_b9cc1a101547b3ece6d946dbbe3469d7'] = 'No se ha especificado su Fedex meter Lumber';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5ce0f66588bbbbbb3ef0634e5ea7da69'] = 'No se ha especificado su contraseña Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_7988c0adb770f0f945814c0fb2b5800b'] = 'No se ha especificado su Fedex API Key';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5d5ae09e7b6041d3449ef2cbfc39f560'] = 'No se ha especificado su método de recogida';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_e794e452ed4d2cfa13083693a2c8810e'] = 'No se ha especificado su tipo de embalaje';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_805353d2862ea0e658c9ddda871540fa'] = 'No se ha especificado su Código postal';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ef9bd955e165dfb0207877e9fe180aeb'] = 'No se ha especificado su ciudad ';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5ecc7697a320f93f3ee8fb4048dbd64c'] = 'No se ha especificado su país';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_729d4f7143a3de7b0ed18de667fdf4d5'] = 'Prestashop no se pudo conectar con los servicios web de FEDEX';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9d1b485edd50e6fbd288b340b386b07d'] = 'No se encuentra descripción del error';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_c888438d14855d7d96a2724ee9c306bd'] = 'Configuración actualizada';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_b9284bff13acffdd879ef4ac7fca5234'] = 'Configuración no actualizada';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_67e19ffdaa0a11e69349810403a9727e'] = 'Usted tiene que configurar \"General Settings\" antes de utilizar esta ficha.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_a37b48e8684078c0620a997b3baeee9f'] = 'En esta ficha, puede establecer una configuración específica para cada categoría.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f421827ff72ef9a61fb27aa0de62f1e4'] = 'Id. de configuración';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_3adbdb3ac060038aa0e6e6c138ef9873'] = 'Categoría';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ca2fb7f67355c05d2ffa963fac6e91e1'] = 'Tipo de recogida';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d9bc28a26253438f5b16cea5eb35681a'] = 'Tipo de embalaje';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_20cde117cbc92b9ec1fb4e5bc4a7b9bd'] = 'Gastos adicionales';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_992a0f0542384f1ee5ef51b7cf4ae6c4'] = 'Servicios';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_06df33001c1d7187fdd81ea1f5b277aa'] = 'Acciones';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_4f8e00c5ae41d97ab62a947b8e806d55'] = 'No hay ninguna configuración específica de FEDEX para las categorías en este momento.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f1c611f93510bbee05663c82f6d439e2'] = '¿Está seguro que desea eliminar esta configuración específica de FEDEX para esta categoría?';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_3e0cb9fd22b124c0839302fef54762d7'] = 'Actualizar una norma';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_dd593f8a542ab628cbba98c709255e60'] = 'Agregar una regla';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_1debf905ac528b3f0615cd379ced0d38'] = 'Tipo de recogida';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_b03dfe92d8c5b6a15d3f139998580563'] = 'Seleccione un tipo de recogida ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_da42caf26ef85de3d7e48e16ca60b891'] = 'Tipo de Embalaje';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_8d2ee0603dfce09b57d60db628cde269'] = 'Seleccione un tipo de embalaje ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_7fcafa7c47e984693fcb8a92c0fd1beb'] = 'Seleccione una categoría ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d725c0166e978cc30853996c70440873'] = 'Tiene que seleccionar una categoría.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ff63f917e2a947d454bce41b104cfbd2'] = 'Esta categoría ya tiene una configuración específica de FEDEX.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_fd0119c2a5fc18aa64887b5b7ab41c19'] = 'Se ha producido un error, inténtelo más tarde.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_20f40087c53c662adfb4e780500eaa15'] = 'En esta ficha, puede establecer una configuración específica para cada producto.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_deb10517653c255364175796ace3553f'] = 'Producto';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_cef3da9171b7ac6d7a6e206e68a2a246'] = 'No hay ninguna configuración específica para los productos de Federal Express en este momento.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ceb0ede9c02d159aa2360a3d0694d9ed'] = '¿Está seguro que desea eliminar esta configuración específica de FEDEX para este producto?';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_3c4d710b56f4318dae775cff80619f84'] = 'Seleccione un producto ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9c07640370e4681bf98638d0c458cd2e'] = 'Usted tiene que seleccionar un producto.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_8fc3abc76f5a163f81962a52fc5a3703'] = 'Este producto ya tiene una configuración específica de FEDEX.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9c3eacca576fbfc5dca21b50d9f6ef8f'] = '¡Bienvenido al configurador del módulo FEDEX para PrestaShop!';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_92640c80a67da1782a18304336405dac'] = 'Esta sección le ayudará a entender cómo configurar este módulo correctamente.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ec0e6948e8f34818d80f27c309f46661'] = 'Vea a continuación la descripción de cada campo:';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_b12c6f84e131ed2192e9d9c6c531f239'] = 'Su cuenta de FedEx';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0ea2cd644fcacb9e8fe1d4c9c89a677b'] = 'Tendrá que inscribirse en el sitio web de FedEx en esta dirección';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_35ba940948fa0ea163fd01281de10e2f'] = 'Este campo debe ser el Código postal del punto de partida de su paquete.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_81822348ace1ceabad5e9f8992ce9ea4'] = 'Este campo debe ser el país punto de partida de su paquete.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_74395432668d0313b593712dfc40479a'] = 'Este campo corresponde al tipo de recogida por defecto (cuando no hay ninguna configuración específica para el producto o la categoría de productos).';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_b9bba478eb4348e49e672e944b072b68'] = 'Estas casillas corresponden a los servicios de entrega que desea que estén disponibles (cuando no hay ninguna configuración específica para el producto o la categoría de productos).';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_71ffd676000b4ec8ea95f4096adc3d3c'] = 'Esta sección le permite definir una configuración específica de FEDEX para cada categoría de productos (tales como tipo de embalaje y gastos adicionales).';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_89a9eabc8fc9335d484dcb1eb7ef4ac5'] = 'Esta sección le permite definir una configuración específica de FEDEX para cada producto (tales como tipo de embalaje y gastos adicionales).';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_902b0d55fddef6f8d651fe1035b7d4bd'] = 'Error';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5e303843029d99ced59415005037969d'] = 'El servicio web de Fedex parece estar fuera de servicio, por favor, espere unos minutos y vuelva a intentarlo';
diff --git a/modules/fedexcarrier/fedexcarrier.php b/modules/fedexcarrier/fedexcarrier.php
deleted file mode 100644
index 02bde5684..000000000
--- a/modules/fedexcarrier/fedexcarrier.php
+++ /dev/null
@@ -1,1806 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 7040 $
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-if (!defined('_PS_VERSION_'))
- exit;
-
-class FedexCarrier extends CarrierModule
-{
- public $id_carrier;
-
- private $_html = '';
- private $_postErrors = array();
- private $_webserviceTestResult = '';
- private $_webserviceError = '';
- private $_fieldsList = array();
- private $_pickupTypeList = array();
- private $_packagingTypeList = array();
- private $_calculModeList = array();
- private $_serviceTypeList = array();
- private $_dimensionUnit = '';
- private $_weightUnit = '';
- private $_dimensionUnitList = array('CM' => 'CM', 'IN' => 'IN', 'CMS' => 'CM', 'INC' => 'IN');
- private $_weightUnitList = array('KG' => 'KGS', 'KGS' => 'KGS', 'LBS' => 'LBS', 'LB' => 'LBS');
- private $_moduleName = 'fedexcarrier';
-
- /*
- ** Construct Method
- **
- */
-
- public function __construct()
- {
- $this->name = 'fedexcarrier';
- $this->tab = 'shipping_logistics';
- $this->version = '1.2.5';
- $this->author = 'PrestaShop';
- $this->limited_countries = array('us');
-
- parent::__construct ();
-
- $this->displayName = $this->l('Fedex Carrier');
- $this->description = $this->l('Offer your customers, different delivery methods with Fedex');
-
- if (self::isInstalled($this->name))
- {
- // Loading Var
- $warning = array();
- $this->loadingVar();
-
- // Check Class Soap availibility
- if (!extension_loaded('soap'))
- $warning[] = "'".$this->l('Class Soap')."', ";
-
- // Check Configuration Values
- foreach ($this->_fieldsList as $keyConfiguration => $name)
- if (!Configuration::get($keyConfiguration) && !empty($name))
- $warning[] = '\''.$name.'\' ';
-
- // Check calcul mode
- if (!Configuration::get('FEDEX_CARRIER_CALCUL_MODE'))
- Configuration::updateValue('FEDEX_CARRIER_CALCUL_MODE', 'onepackage');
-
- // Checking Unit
- $this->_dimensionUnit = $this->_dimensionUnitList[strtoupper(Configuration::get('PS_DIMENSION_UNIT'))];
- $this->_weightUnit = $this->_weightUnitList[strtoupper(Configuration::get('PS_WEIGHT_UNIT'))];
- if (!$this->_weightUnit || !$this->_weightUnitList[$this->_weightUnit])
- $warning[] = $this->l('\'Weight Unit (LB or KG).\'').' ';
- if (!$this->_dimensionUnit || !$this->_dimensionUnitList[$this->_dimensionUnit])
- $warning[] = $this->l('\'Dimension Unit (CM or IN).\'').' ';
-
- // Generate Warnings
- if (count($warning))
- $this->warning .= implode(' , ',$warning).$this->l('must be configured to use this module correctly').' ';
- }
- }
-
- public function loadingVar()
- {
- // Loading Fields List
- $this->_fieldsList = array(
- 'FEDEX_CARRIER_ACCOUNT' => $this->l('Fedex account'),
- 'FEDEX_CARRIER_METER' => $this->l('Fedex meter'),
- 'FEDEX_CARRIER_PASSWORD' => $this->l('Fedex password'),
- 'FEDEX_CARRIER_API_KEY' => $this->l('Fedex API Key'),
- 'FEDEX_CARRIER_PICKUP_TYPE' => $this->l('Fedex default pickup type'),
- 'FEDEX_CARRIER_PACKAGING_TYPE' => $this->l('Fedex default packaging type'),
- 'FEDEX_CARRIER_PACKAGING_WEIGHT' => $this->l('Packaging weight'),
- 'FEDEX_CARRIER_HANDLING_FEE' => $this->l('Handling fee'),
- 'FEDEX_CARRIER_ADDRESS1' => '',
- 'FEDEX_CARRIER_ADDRESS2' => '',
- 'FEDEX_CARRIER_POSTAL_CODE' => '',
- 'FEDEX_CARRIER_CITY' => '',
- 'FEDEX_CARRIER_STATE' => '',
- 'FEDEX_CARRIER_COUNTRY' => '',
- 'FEDEX_CARRIER_CALCUL_MODE' => '',
- );
-
- // Loading pickup type list
- $this->_pickupTypeList = array(
- 'BUSINESS_SERVICE_CENTER' => $this->l('Business service center'),
- 'DROP_BOX' => $this->l('Drop box'),
- 'REGULAR_PICKUP' => $this->l('Regular pickup'),
- 'REQUEST_COURIER' => $this->l('Request courier'),
- 'STATION' => $this->l('Station')
- );
-
- // Loading packaging type list
- $this->_packagingTypeList = array(
- 'FEDEX_10KG_BOX' => $this->l('Fedex 10Kg Box'),
- 'FEDEX_25KG_BOX' => $this->l('Fedex 25Kg Box'),
- 'FEDEX_BOX' => $this->l('Fedex Box'),
- 'FEDEX_ENVELOPE' => $this->l('Fedex Envelope'),
- 'FEDEX_PAK' => $this->l('Fedex Pak'),
- 'FEDEX_TUBE' => $this->l('Fedex Tube'),
- 'YOUR_PACKAGING' => $this->l('Your Packaging'),
- );
-
- // Loading service type list
- $this->_serviceTypeList = array(
- 'EUROPE_FIRST_INTERNATIONAL_PRIORITY' => $this->l('Europe first international priority'),
- 'FEDEX_1_DAY_FREIGHT' => $this->l('Fedex 1 day freight'),
- 'FEDEX_2_DAY' => $this->l('Fedex 2 day'),
- 'FEDEX_2_DAY_FREIGHT' => $this->l('Fedex 2 day freight'),
- 'FEDEX_3_DAY_FREIGHT' => $this->l('Fedex 3 day freight'),
- 'FEDEX_EXPRESS_SAVER' => $this->l('Fedex express saver'),
- 'FEDEX_FREIGHT' => $this->l('Fedex freight'),
- 'FEDEX_GROUND' => $this->l('Fedex ground'),
- 'FEDEX_NATIONAL_FREIGHT' => $this->l('Fedex national freight'),
- 'FIRST_OVERNIGHT' => $this->l('First overnight'),
- 'GROUND_HOME_DELIVERY' => $this->l('Ground home delivery'),
- 'INTERNATIONAL_ECONOMY' => $this->l('International economy'),
- 'INTERNATIONAL_ECONOMY_FREIGHT' => $this->l('International economy freight'),
- 'INTERNATIONAL_FIRST' => $this->l('International first'),
- 'INTERNATIONAL_GROUND' => $this->l('International ground'),
- 'INTERNATIONAL_PRIORITY' => $this->l('International priority'),
- 'INTERNATIONAL_PRIORITY_FREIGHT' => $this->l('International priority freight'),
- 'PRIORITY_OVERNIGHT' => $this->l('Priority overnight'),
- 'SMART_POST' => $this->l('Smart post'),
- 'STANDARD_OVERNIGHT' => $this->l('Standard overnight')
- );
-
- // Loading calcul mode list
- $this->_calculModeList = array(
- 'onepackage' => $this->l('All items in one package'),
- 'split' => $this->l('Split one item per package')
- );
- }
-
-
-
- /*
- ** Install / Uninstall Methods
- **
- */
-
- public function install()
- {
- // Install SQL
- include(dirname(__FILE__).'/sql-install.php');
- foreach ($sql as $s)
- if (!Db::getInstance()->execute($s))
- return false;
-
- // Install Carriers
- $this->installCarriers();
-
- // Install Module
- if (!parent::install() OR !$this->registerHook('updateCarrier'))
- return false;
-
- return true;
- }
-
- public function uninstall()
- {
- // Uninstall Carriers
- Db::getInstance()->autoExecute(_DB_PREFIX_.'carrier', array('deleted' => 1), 'UPDATE', '`external_module_name` = \'fedexcarrier\' OR `id_carrier` IN (SELECT DISTINCT(`id_carrier`) FROM `'._DB_PREFIX_.'fedex_rate_service_code`)');
-
- // Uninstall Config
- foreach ($this->_fieldsList as $keyConfiguration => $name)
- if (!Configuration::deleteByName($keyConfiguration))
- return false;
-
- // Uninstall SQL
- include(dirname(__FILE__).'/sql-uninstall.php');
- foreach ($sql as $s)
- if (!Db::getInstance()->execute($s))
- return false;
-
- // Uninstall Module
- if (!parent::uninstall() OR !$this->unregisterHook('updateCarrier'))
- return false;
-
- return true;
- }
-
- public function installCarriers()
- {
- // Unactive all FEDEX Carriers
- Db::getInstance()->autoExecute(_DB_PREFIX_.'fedex_rate_service_code', array('active' => 0), 'UPDATE');
-
- // Get all services availables
- $rateServiceList = Db::getInstance()->executeS('SELECT * FROM `'._DB_PREFIX_.'fedex_rate_service_code`');
- foreach ($rateServiceList as $rateService)
- if (!$rateService['id_carrier'])
- {
- $config = array(
- 'name' => $rateService['service'],
- 'id_tax_rules_group' => 0,
- 'active' => true,
- 'deleted' => 0,
- 'shipping_handling' => false,
- 'range_behavior' => 0,
- 'delay' => array('fr' => $rateService['service'], 'en' => $rateService['service'], Language::getIsoById(Configuration::get('PS_LANG_DEFAULT')) => $rateService['service']),
- 'id_zone' => 1,
- 'is_module' => true,
- 'shipping_external' => true,
- 'external_module_name' => $this->_moduleName,
- 'need_range' => true
- );
- $id_carrier = $this->installExternalCarrier($config);
- Db::getInstance()->autoExecute(_DB_PREFIX_.'fedex_rate_service_code', array('id_carrier' => (int)($id_carrier), 'id_carrier_history' => (int)($id_carrier)), 'UPDATE', '`id_fedex_rate_service_code` = '.(int)($rateService['id_fedex_rate_service_code']));
- }
- }
-
- public static function installExternalCarrier($config)
- {
- $carrier = new Carrier();
- $carrier->name = $config['name'];
- $carrier->id_tax_rules_group = $config['id_tax_rules_group'];
- $carrier->id_zone = $config['id_zone'];
- $carrier->active = $config['active'];
- $carrier->deleted = $config['deleted'];
- $carrier->delay = $config['delay'];
- $carrier->shipping_handling = $config['shipping_handling'];
- $carrier->range_behavior = $config['range_behavior'];
- $carrier->is_module = $config['is_module'];
- $carrier->shipping_external = $config['shipping_external'];
- $carrier->external_module_name = $config['external_module_name'];
- $carrier->need_range = $config['need_range'];
-
- $languages = Language::getLanguages(true);
- foreach ($languages as $language)
- {
- if ($language['iso_code'] == 'fr')
- $carrier->delay[(int)$language['id_lang']] = $config['delay'][$language['iso_code']];
- if ($language['iso_code'] == 'en')
- $carrier->delay[(int)$language['id_lang']] = $config['delay'][$language['iso_code']];
- if ($language['iso_code'] == Language::getIsoById(Configuration::get('PS_LANG_DEFAULT')))
- $carrier->delay[(int)$language['id_lang']] = $config['delay'][$language['iso_code']];
- }
-
- if ($carrier->add())
- {
- $groups = Group::getGroups(true);
- foreach ($groups as $group)
- Db::getInstance()->autoExecute(_DB_PREFIX_.'carrier_group', array('id_carrier' => (int)($carrier->id), 'id_group' => (int)($group['id_group'])), 'INSERT');
-
- $rangePrice = new RangePrice();
- $rangePrice->id_carrier = $carrier->id;
- $rangePrice->delimiter1 = '0';
- $rangePrice->delimiter2 = '10000';
- $rangePrice->add();
-
- $rangeWeight = new RangeWeight();
- $rangeWeight->id_carrier = $carrier->id;
- $rangeWeight->delimiter1 = '0';
- $rangeWeight->delimiter2 = '10000';
- $rangeWeight->add();
-
- $zones = Zone::getZones(true);
- foreach ($zones as $zone)
- {
- Db::getInstance()->autoExecute(_DB_PREFIX_.'carrier_zone', array('id_carrier' => (int)($carrier->id), 'id_zone' => (int)($zone['id_zone'])), 'INSERT');
- Db::getInstance()->autoExecuteWithNullValues(_DB_PREFIX_.'delivery', array('id_carrier' => (int)($carrier->id), 'id_range_price' => (int)($rangePrice->id), 'id_range_weight' => NULL, 'id_zone' => (int)($zone['id_zone']), 'price' => '0'), 'INSERT');
- Db::getInstance()->autoExecuteWithNullValues(_DB_PREFIX_.'delivery', array('id_carrier' => (int)($carrier->id), 'id_range_price' => NULL, 'id_range_weight' => (int)($rangeWeight->id), 'id_zone' => (int)($zone['id_zone']), 'price' => '0'), 'INSERT');
- }
-
- // Copy Logo
- if (!copy(dirname(__FILE__).'/carrier.jpg', _PS_SHIP_IMG_DIR_.'/'.(int)$carrier->id.'.jpg'))
- return false;
-
- // Return ID Carrier
- return (int)($carrier->id);
- }
-
- return false;
- }
-
-
-
- /*
- ** Global Form Config Methods
- **
- */
-
- public function getContent()
- {
- $this->_html .= '
' . $this->l('FEDEX Carrier').'
';
- if (!empty($_POST) AND Tools::isSubmit('submitSave'))
- {
- $this->_postValidation();
- if (!sizeof($this->_postErrors))
- $this->_postProcess();
- else
- foreach ($this->_postErrors AS $err)
- $this->_html .= '

'.$err.'
';
- }
- $this->_displayForm();
- return $this->_html;
- }
-
- private function _displayForm()
- {
- $this->_html .= '
';
- $this->_html .= $this->_displayFormConfig();
- }
-
- private function _postValidation()
- {
- if (Tools::getValue('section') == 'general')
- $this->_postValidationGeneral();
- elseif (Tools::getValue('section') == 'category')
- $this->_postValidationCategory();
- elseif (Tools::getValue('section') == 'product')
- $this->_postValidationProduct();
- }
-
- private function _postProcess()
- {
- if (Tools::getValue('section') == 'general')
- $this->_postProcessGeneral();
- elseif (Tools::getValue('section') == 'category')
- $this->_postProcessCategory();
- elseif (Tools::getValue('section') == 'product')
- $this->_postProcessProduct();
- }
-
-
-
-
- /*
- ** General Form Config Methods
- **
- */
-
- private function _displayFormConfig()
- {
- $html = '
-
-
-
-
-
-
-
-
-
-
-
- ';
- if (isset($_GET['id_tab']))
- $html .= '';
- return $html;
- }
-
- private function _displayFormGeneral()
- {
- $configCurrency = new Currency((int)Configuration::get('PS_CURRENCY_DEFAULT'));
-
- $html = '
-
-
-
-
-
- ';
- return $html;
- }
-
- private function _postValidationGeneral()
- {
- // Check configuration values
- if (Tools::getValue('fedex_carrier_account') == NULL)
- $this->_postErrors[] = $this->l('Your Fedex account is not specified');
- elseif (Tools::getValue('fedex_carrier_meter') == NULL)
- $this->_postErrors[] = $this->l('Your Fedex meter is not specified');
- elseif (Tools::getValue('fedex_carrier_password') == NULL)
- $this->_postErrors[] = $this->l('Your Fedex password is not specified');
- elseif (Tools::getValue('fedex_carrier_api_key') == NULL)
- $this->_postErrors[] = $this->l('Your Fedex API Key is not specified');
- elseif (Tools::getValue('fedex_carrier_pickup_type') == NULL OR Tools::getValue('fedex_carrier_pickup_type') == '0')
- $this->_postErrors[] = $this->l('Your pickup type is not specified');
- elseif (Tools::getValue('fedex_carrier_packaging_type') == NULL OR Tools::getValue('fedex_carrier_packaging_type') == '0')
- $this->_postErrors[] = $this->l('Your packaging type is not specified');
- elseif (Tools::getValue('fedex_carrier_postal_code') == NULL)
- $this->_postErrors[] = $this->l('Your Zip / Postal code is not specified');
- elseif (Tools::getValue('fedex_carrier_city') == NULL)
- $this->_postErrors[] = $this->l('Your city is not specified');
- elseif (Tools::getValue('fedex_carrier_country') == NULL OR Tools::getValue('fedex_carrier_country') == 0)
- $this->_postErrors[] = $this->l('Your country is not specified');
-
-
-
- // Check fedex webservice availibity
- if (!$this->_postErrors)
- {
- // Unactive all FEDEX Carriers
- Db::getInstance()->autoExecute(_DB_PREFIX_.'fedex_rate_service_code', array('active' => 0), 'UPDATE');
-
- // If no errors appear, the carrier is being activated, else, the carrier is being deactivated
- if (!$this->_postErrors)
- {
- // Get available services
- $serviceSelected = Tools::getValue('service');
-
- // Active available carrier
- if ($serviceSelected)
- foreach ($serviceSelected as $ss)
- {
- $id_carrier = Db::getInstance()->getValue('SELECT `id_carrier` FROM `'._DB_PREFIX_.'fedex_rate_service_code` WHERE `id_fedex_rate_service_code` = '.(int)($ss));
- Db::getInstance()->autoExecute(_DB_PREFIX_.'fedex_rate_service_code', array('active' => 1), 'UPDATE', '`id_fedex_rate_service_code` = '.(int)($ss));
- }
- }
-
- // All new configurations values are saved to be sure to test webservices with it
- Configuration::updateValue('FEDEX_CARRIER_ACCOUNT', Tools::getValue('fedex_carrier_account'));
- Configuration::updateValue('FEDEX_CARRIER_METER', Tools::getValue('fedex_carrier_meter'));
- Configuration::updateValue('FEDEX_CARRIER_PASSWORD', Tools::getValue('fedex_carrier_password'));
- Configuration::updateValue('FEDEX_CARRIER_API_KEY', Tools::getValue('fedex_carrier_api_key'));
- Configuration::updateValue('FEDEX_CARRIER_PICKUP_TYPE', Tools::getValue('fedex_carrier_pickup_type'));
- Configuration::updateValue('FEDEX_CARRIER_PACKAGING_TYPE', Tools::getValue('fedex_carrier_packaging_type'));
- Configuration::updateValue('FEDEX_CARRIER_PACKAGING_WEIGHT', Tools::getValue('fedex_carrier_packaging_weight'));
- Configuration::updateValue('FEDEX_CARRIER_HANDLING_FEE', Tools::getValue('fedex_carrier_handling_fee'));
- Configuration::updateValue('FEDEX_CARRIER_ADDRESS1', Tools::getValue('fedex_carrier_address1'));
- Configuration::updateValue('FEDEX_CARRIER_ADDRESS2', Tools::getValue('fedex_carrier_address2'));
- Configuration::updateValue('FEDEX_CARRIER_POSTAL_CODE', Tools::getValue('fedex_carrier_postal_code'));
- Configuration::updateValue('FEDEX_CARRIER_CITY', Tools::getValue('fedex_carrier_city'));
- Configuration::updateValue('FEDEX_CARRIER_STATE', Tools::getValue('fedex_carrier_state'));
- Configuration::updateValue('FEDEX_CARRIER_COUNTRY', Tools::getValue('fedex_carrier_country'));
- Configuration::updateValue('FEDEX_CARRIER_CALCUL_MODE', Tools::getValue('fedex_carrier_calcul_mode'));
- Configuration::updateValue('PS_WEIGHT_UNIT', $this->_weightUnitList[strtoupper(Tools::getValue('ps_weight_unit'))]);
- Configuration::updateValue('PS_DIMENSION_UNIT', $this->_dimensionUnitList[strtoupper(Tools::getValue('ps_dimension_unit'))]);
- if (isset($this->_weightUnitList[strtoupper(Tools::getValue('ps_weight_unit'))]))
- $this->_weightUnit = $this->_weightUnitList[strtoupper(Tools::getValue('ps_weight_unit'))];
- if (isset($this->_dimensionUnitList[strtoupper(Tools::getValue('ps_dimension_unit'))]))
- $this->_dimensionUnit = $this->_dimensionUnitList[strtoupper(Tools::getValue('ps_dimension_unit'))];
- if (!$this->webserviceTest())
- $this->_postErrors[] = $this->l('Prestashop could not connect to FEDEX webservices').' :
'.($this->_webserviceError ? $this->_webserviceError : $this->l('No error description found'));
- }
- }
-
- private function _postProcessGeneral()
- {
- // Saving new configurations
- if (Configuration::updateValue('FEDEX_CARRIER_ACCOUNT', Tools::getValue('fedex_carrier_account')) AND
- Configuration::updateValue('FEDEX_CARRIER_METER', Tools::getValue('fedex_carrier_meter')) AND
- Configuration::updateValue('FEDEX_CARRIER_PASSWORD', Tools::getValue('fedex_carrier_password')) AND
- Configuration::updateValue('FEDEX_CARRIER_API_KEY', Tools::getValue('fedex_carrier_api_key')) AND
- Configuration::updateValue('FEDEX_CARRIER_PACKAGING_WEIGHT', Tools::getValue('fedex_carrier_packaging_weight')) AND
- Configuration::updateValue('FEDEX_CARRIER_HANDLING_FEE', Tools::getValue('fedex_carrier_handling_fee')) AND
- Configuration::updateValue('FEDEX_CARRIER_PICKUP_TYPE', Tools::getValue('fedex_carrier_pickup_type')) AND
- Configuration::updateValue('FEDEX_CARRIER_PACKAGING_TYPE', Tools::getValue('fedex_carrier_packaging_type')) AND
- Configuration::updateValue('FEDEX_CARRIER_POSTAL_CODE', Tools::getValue('fedex_carrier_postal_code')) AND
- Configuration::updateValue('FEDEX_CARRIER_CITY', Tools::getValue('fedex_carrier_city')) AND
- Configuration::updateValue('FEDEX_CARRIER_STATE', Tools::getValue('fedex_carrier_state')) AND
- Configuration::updateValue('FEDEX_CARRIER_COUNTRY', Tools::getValue('fedex_carrier_country')) AND
- Configuration::updateValue('FEDEX_CARRIER_CALCUL_MODE', Tools::getValue('fedex_carrier_calcul_mode')) AND
- Configuration::updateValue('PS_WEIGHT_UNIT', $this->_weightUnitList[strtoupper(Tools::getValue('ps_weight_unit'))]) AND
- Configuration::updateValue('PS_DIMENSION_UNIT', $this->_dimensionUnitList[strtoupper(Tools::getValue('ps_dimension_unit'))]))
- $this->_html .= $this->displayConfirmation($this->l('Settings updated'));
- else
- $this->_html .= $this->displayErrors($this->l('Settings failed'));
- }
-
-
-
- /*
- ** Category Form Config Methods
- **
- */
-
- private function _getPathInTab($id_category)
- {
- $category = Db::getInstance()->getRow('
- SELECT id_category, level_depth, nleft, nright
- FROM '._DB_PREFIX_.'category
- WHERE id_category = '.(int)$id_category);
-
- if (isset($category['id_category']))
- {
- $categories = Db::getInstance()->executeS('
- SELECT c.id_category, cl.name, cl.link_rewrite
- FROM '._DB_PREFIX_.'category c
- LEFT JOIN '._DB_PREFIX_.'category_lang cl ON (cl.id_category = c.id_category'.$this->context->shop->addSqlRestrictionOnLang('cl').')
- WHERE c.nleft <= '.(int)$category['nleft'].' AND c.nright >= '.(int)$category['nright'].' AND cl.id_lang = '.(int)$this->context->language->id.'
- ORDER BY c.level_depth ASC
- LIMIT '.(int)($category['level_depth'] + 1));
-
- $n = 1;
- $pathTab = array();
- $nCategories = (int)sizeof($categories);
- foreach ($categories AS $category)
- $pathTab[] = htmlentities($category['name'], ENT_NOQUOTES, 'UTF-8');
-
- return $pathTab;
- }
- }
-
- private function _getChildCategories($categories, $id, $path = array(), $pathAdd = '')
- {
- $html = '';
- if ($pathAdd != '')
- $path[] = $pathAdd;
- if (isset($categories[$id]))
- foreach ($categories[$id] as $idc => $cc)
- {
- $html .= '
';
- $html .= $this->_getChildCategories($categories, $idc, $path, $cc['infos']['name']);
- }
- return $html;
- }
-
- private function _isPostCheck($id_fedex_rate_service_code)
- {
- $services = Tools::getValue('service');
- if ($services)
- foreach ($services as $s)
- if ($s == $id_fedex_rate_service_code)
- return 1;
- return 0;
- }
-
- private function _displayFormCategory()
- {
- // Check if the module is configured
- if (!$this->_webserviceTestResult)
- return '
'.$this->l('You have to configure "General Settings" tab before using this tab.').'
';
-
- // Display header
- $html = '
'.$this->l('In this tab, you can set a specific configuration for each category.').'
-
';
-
- // Add or Edit Category Configuration
- if (Tools::getValue('action') == 'edit' && Tools::getValue('section') == 'category')
- {
- // Loading config
- $configSelected = Db::getInstance()->getRow('SELECT * FROM `'._DB_PREFIX_.'fedex_rate_config` WHERE `id_fedex_rate_config` = '.(int)(Tools::getValue('id_fedex_rate_config')));
-
- // Category Path
- $path = '';
- $pathTab = $this->_getPathInTab($configSelected['id_category']);
- foreach ($pathTab as $p)
- {
- if (!empty($path)) { $path .= ' > '; }
- $path .= $p;
- }
-
- $html .= '
'.$this->l('Update a rule').' ('.$this->l('Add a rule').' ?)
-
';
- }
- else
- {
- $html .= '
'.$this->l('Add a rule').'
-
';
- }
-
- return $html;
- }
-
- private function _postValidationCategory()
- {
- // Check post values
- if (Tools::getValue('id_category') == NULL)
- $this->_postErrors[] = $this->l('You have to select a category.');
-
- if (!$this->_postErrors)
- {
- $id_fedex_rate_config = Db::getInstance()->getValue('SELECT `id_fedex_rate_config` FROM `'._DB_PREFIX_.'fedex_rate_config` WHERE `id_category` = '.(int)Tools::getValue('id_category'));
-
- // Check if a config does not exist in Add case
- if ($id_fedex_rate_config > 0 && Tools::getValue('action') == 'add')
- $this->_postErrors[] = $this->l('This category already has a specific FEDEX configuration.');
-
- // Check if a config exists and if the IDs config correspond in Upd case
- if (Tools::getValue('action') == 'edit' && (!isset($id_fedex_rate_config) || $id_fedex_rate_config != Tools::getValue('id_fedex_rate_config')))
- $this->_postErrors[] = $this->l('An error occurred, please try again.');
-
- // Check if a config exists in Delete case
- if (Tools::getValue('action') == 'delete' && !isset($id_fedex_rate_config))
- $this->_postErrors[] = $this->l('An error occurred, please try again.');
- }
- }
-
- private function _postProcessCategory()
- {
- // Init Var
- $date = date('Y-m-d H:i:s');
- $services = Tools::getValue('service');
-
- // Add Script
- if (Tools::getValue('action') == 'add')
- {
- $addTab = array(
- 'id_product' => 0,
- 'id_category' => (int)(Tools::getValue('id_category')),
- 'id_currency' => (int)(Configuration::get('PS_CURRENCY_DEFAULT')),
- 'pickup_type_code' => pSQL(Tools::getValue('pickup_type_code')),
- 'packaging_type_code' => pSQL(Tools::getValue('packaging_type_code')),
- 'additional_charges' => pSQL(Tools::getValue('additional_charges')),
- 'date_add' => pSQL($date),
- 'date_upd' => pSQL($date)
- );
- Db::getInstance()->autoExecute(_DB_PREFIX_.'fedex_rate_config', $addTab, 'INSERT');
- $id_fedex_rate_config = Db::getInstance()->Insert_ID();
- foreach ($services as $s)
- {
- $addTab = array('id_fedex_rate_service_code' => pSQL($s), 'id_fedex_rate_config' => (int)$id_fedex_rate_config, 'date_add' => pSQL($date), 'date_upd' => pSQL($date));
- Db::getInstance()->autoExecute(_DB_PREFIX_.'fedex_rate_config_service', $addTab, 'INSERT');
- }
-
- // Display Results
- if ($id_fedex_rate_config > 0)
- $this->_html .= $this->displayConfirmation($this->l('Settings updated'));
- else
- $this->_html .= $this->displayErrors($this->l('Settings failed'));
- }
-
- // Update Script
- if (Tools::getValue('action') == 'edit' && Tools::getValue('id_fedex_rate_config'))
- {
- $updTab = array(
- 'id_currency' => (int)(Configuration::get('PS_CURRENCY_DEFAULT')),
- 'pickup_type_code' => pSQL(Tools::getValue('pickup_type_code')),
- 'packaging_type_code' => pSQL(Tools::getValue('packaging_type_code')),
- 'additional_charges' => pSQL(Tools::getValue('additional_charges')),
- 'date_upd' => pSQL($date)
- );
- $result = Db::getInstance()->autoExecute(_DB_PREFIX_.'fedex_rate_config', $updTab, 'UPDATE', '`id_fedex_rate_config` = '.(int)Tools::getValue('id_fedex_rate_config'));
- Db::getInstance()->execute('DELETE FROM `'._DB_PREFIX_.'fedex_rate_config_service` WHERE `id_fedex_rate_config` = '.(int)Tools::getValue('id_fedex_rate_config'));
- foreach ($services as $s)
- {
- $addTab = array('id_fedex_rate_service_code' => pSQL($s), 'id_fedex_rate_config' => (int)Tools::getValue('id_fedex_rate_config'), 'date_add' => pSQL($date), 'date_upd' => pSQL($date));
- Db::getInstance()->autoExecute(_DB_PREFIX_.'fedex_rate_config_service', $addTab, 'INSERT');
- }
-
- // Display Results
- if ($result)
- $this->_html .= $this->displayConfirmation($this->l('Settings updated'));
- else
- $this->_html .= $this->displayErrors($this->l('Settings failed'));
- }
-
- // Delete Script
- if (Tools::getValue('action') == 'delete' && Tools::getValue('id_fedex_rate_config'))
- {
- $result1 = Db::getInstance()->execute('DELETE FROM `'._DB_PREFIX_.'fedex_rate_config` WHERE `id_fedex_rate_config` = '.(int)Tools::getValue('id_fedex_rate_config'));
- $result2 = Db::getInstance()->execute('DELETE FROM `'._DB_PREFIX_.'fedex_rate_config_service` WHERE `id_fedex_rate_config` = '.(int)Tools::getValue('id_fedex_rate_config'));
-
- // Display Results
- if ($result1)
- $this->_html .= $this->displayConfirmation($this->l('Settings updated'));
- else
- $this->_html .= $this->displayErrors($this->l('Settings failed'));
- }
- }
-
-
-
- /*
- ** Product Form Config Methods
- **
- */
-
- private function _displayFormProduct()
- {
- // Check if the module is configured
- if (!$this->_webserviceTestResult)
- return '
'.$this->l('You have to configure "General Settings" tab before using this tab.').'
';
-
- // Display header
- $html = '
'.$this->l('In this tab, you can set a specific configuration for each product.').'
-
';
-
- // Add or Edit Product Configuration
- if (Tools::getValue('action') == 'edit' && Tools::getValue('section') == 'product')
- {
- // Loading config
- $configSelected = Db::getInstance()->getRow('SELECT * FROM `'._DB_PREFIX_.'fedex_rate_config` WHERE `id_fedex_rate_config` = '.(int)(Tools::getValue('id_fedex_rate_config')));
- $product = new Product((int)$configSelected['id_product'], false, (int)$this->context->language->id);
-
- $html .= '
'.$this->l('Update a rule').' ('.$this->l('Add a rule').' ?)
-
';
- }
- else
- {
- $html .= '
'.$this->l('Add a rule').'
-
';
- }
-
- return $html;
- }
-
- private function _postValidationProduct()
- {
- // Check post values
- if (Tools::getValue('id_product') == NULL)
- $this->_postErrors[] = $this->l('You have to select a product.');
-
- if (!$this->_postErrors)
- {
- $id_fedex_rate_config = Db::getInstance()->getValue('SELECT `id_fedex_rate_config` FROM `'._DB_PREFIX_.'fedex_rate_config` WHERE `id_product` = '.(int)Tools::getValue('id_product'));
-
- // Check if a config does not exist in Add case
- if ($id_fedex_rate_config > 0 && Tools::getValue('action') == 'add')
- $this->_postErrors[] = $this->l('This product already has a specific FEDEX configuration.');
-
- // Check if a config exists and if the IDs config correspond in Upd case
- if (Tools::getValue('action') == 'edit' && (!isset($id_fedex_rate_config) || $id_fedex_rate_config != Tools::getValue('id_fedex_rate_config')))
- $this->_postErrors[] = $this->l('An error occurred, please try again.');
-
- // Check if a config exists in Delete case
- if (Tools::getValue('action') == 'delete' && !isset($id_fedex_rate_config))
- $this->_postErrors[] = $this->l('An error occurred, please try again.');
- }
- }
-
- private function _postProcessProduct()
- {
- // Init Var
- $date = date('Y-m-d H:i:s');
- $services = Tools::getValue('service');
-
- // Add Script
- if (Tools::getValue('action') == 'add')
- {
- $addTab = array(
- 'id_product' => (int)(Tools::getValue('id_product')),
- 'id_category' => 0,
- 'id_currency' => (int)(Configuration::get('PS_CURRENCY_DEFAULT')),
- 'pickup_type_code' => pSQL(Tools::getValue('pickup_type_code')),
- 'packaging_type_code' => pSQL(Tools::getValue('packaging_type_code')),
- 'additional_charges' => pSQL(Tools::getValue('additional_charges')),
- 'date_add' => pSQL($date),
- 'date_upd' => pSQL($date)
- );
- Db::getInstance()->autoExecute(_DB_PREFIX_.'fedex_rate_config', $addTab, 'INSERT');
- $id_fedex_rate_config = Db::getInstance()->Insert_ID();
- foreach ($services as $s)
- {
- $addTab = array('id_fedex_rate_service_code' => pSQL($s), 'id_fedex_rate_config' => (int)$id_fedex_rate_config, 'date_add' => pSQL($date), 'date_upd' => pSQL($date));
- Db::getInstance()->autoExecute(_DB_PREFIX_.'fedex_rate_config_service', $addTab, 'INSERT');
- }
-
- // Display Results
- if ($id_fedex_rate_config > 0)
- $this->_html .= $this->displayConfirmation($this->l('Settings updated'));
- else
- $this->_html .= $this->displayErrors($this->l('Settings failed'));
- }
-
- // Update Script
- if (Tools::getValue('action') == 'edit' && Tools::getValue('id_fedex_rate_config'))
- {
- $updTab = array(
- 'id_currency' => (int)(Configuration::get('PS_CURRENCY_DEFAULT')),
- 'pickup_type_code' => pSQL(Tools::getValue('pickup_type_code')),
- 'packaging_type_code' => pSQL(Tools::getValue('packaging_type_code')),
- 'additional_charges' => pSQL(Tools::getValue('additional_charges')),
- 'date_upd' => pSQL($date)
- );
- $result = Db::getInstance()->autoExecute(_DB_PREFIX_.'fedex_rate_config', $updTab, 'UPDATE', '`id_fedex_rate_config` = '.(int)Tools::getValue('id_fedex_rate_config'));
- Db::getInstance()->execute('DELETE FROM `'._DB_PREFIX_.'fedex_rate_config_service` WHERE `id_fedex_rate_config` = '.(int)Tools::getValue('id_fedex_rate_config'));
- foreach ($services as $s)
- {
- $addTab = array('id_fedex_rate_service_code' => pSQL($s), 'id_fedex_rate_config' => (int)Tools::getValue('id_fedex_rate_config'), 'date_add' => pSQL($date), 'date_upd' => pSQL($date));
- Db::getInstance()->autoExecute(_DB_PREFIX_.'fedex_rate_config_service', $addTab, 'INSERT');
- }
-
- // Display Results
- if ($result)
- $this->_html .= $this->displayConfirmation($this->l('Settings updated'));
- else
- $this->_html .= $this->displayErrors($this->l('Settings failed'));
- }
-
- // Delete Script
- if (Tools::getValue('action') == 'delete' && Tools::getValue('id_fedex_rate_config'))
- {
- $result1 = Db::getInstance()->execute('DELETE FROM `'._DB_PREFIX_.'fedex_rate_config` WHERE `id_fedex_rate_config` = '.(int)Tools::getValue('id_fedex_rate_config'));
- $result2 = Db::getInstance()->execute('DELETE FROM `'._DB_PREFIX_.'fedex_rate_config_service` WHERE `id_fedex_rate_config` = '.(int)Tools::getValue('id_fedex_rate_config'));
-
- // Display Results
- if ($result1)
- $this->_html .= $this->displayConfirmation($this->l('Settings updated'));
- else
- $this->_html .= $this->displayErrors($this->l('Settings failed'));
- }
- }
-
-
-
- /*
- ** Help Config Methods
- **
- */
-
- private function _displayHelp()
- {
- return '
'.$this->l('Welcome to the PrestaShop FEDEX Module configurator.').'
-
'.$this->l('This section will help you to understand how to configure this module correctly.').'
-
-
1. '.$this->l('General Settings').'
-
'.$this->l('See below for the description of each field :').'
-
'.$this->l('Your FEDEX Account').' : '.$this->l('You must subscribe to FEDEX website at this address').' http://www.fedex.com/webtools/
-
'.$this->l('Zip / Postal Code').' : '.$this->l('This field must be the Zip / Postal code of your package starting point.').'
-
'.$this->l('Country').' : '.$this->l('This field must be the country of your package starting point.').'
-
'.$this->l('Pickup Type').' : '.$this->l('This field corresponds to the default pickup type (when there is no specific configuration for the product or the category product).').'
-
'.$this->l('Delivery Service').' : '.$this->l('These checkboxes correspond to the delivery services you want to be available (when there is no specific configuration for the product or the category product).').'
-
-
2. '.$this->l('Categories Settings').'
-
'.$this->l('This section allows you to define a specific FEDEX configuration for each product category (such as Packaging Type and Additional charges).').'
-
-
3. '.$this->l('Products Settings').'
-
'.$this->l('This section allows you to define a specific FEDEX configuration for each product (such as Packaging Type and Additional charges).').'
-
- ';
- }
-
- public function hookupdateCarrier($params)
- {
- if ((int)($params['id_carrier']) != (int)($params['carrier']->id))
- {
- $serviceSelected = Db::getInstance()->getRow('SELECT * FROM `'._DB_PREFIX_.'fedex_rate_service_code` WHERE `id_carrier` = '.(int)$params['id_carrier']);
- $update = array('id_carrier' => (int)($params['carrier']->id), 'id_carrier_history' => pSQL($serviceSelected['id_carrier_history'].'|'.(int)($params['carrier']->id)));
- Db::getInstance()->autoExecute(_DB_PREFIX_.'fedex_rate_service_code', $update, 'UPDATE', '`id_carrier` = '.(int)$params['id_carrier']);
- }
- }
-
- public function displayInfoByCart()
- {
- }
-
-
-
- /*
- ** Front Methods
- **
- */
-
- public function getCartCurrencyRate($id_currency_origin, $id_cart)
- {
- $conversionRate = 1;
- $cart = new Cart($id_cart);
- if ($cart->id_currency != $id_currency_origin)
- {
- $currencyOrigin = new Currency((int)$id_currency_origin);
- $conversionRate /= $currencyOrigin->conversion_rate;
- $currencySelect = new Currency((int)$cart->id_currency);
- $conversionRate *= $currencySelect->conversion_rate;
- }
- return $conversionRate;
- }
-
- public function getOrderShippingCostHash($wsParams)
- {
- $paramHash = '';
- $productHash = '';
- foreach ($wsParams['products'] as $product)
- {
- if (!empty($productHash))
- $productHash .= '|';
- $productHash .= $product['id_product'].':'.$product['id_product_attribute'].':'.$product['cart_quantity'];
- }
- foreach ($wsParams as $k => $v)
- if ($k != 'products')
- $paramHash .= '/'.$v;
- return md5($productHash.$paramHash.Configuration::get('FEDEX_CARRIER_CALCUL_MODE'));
- }
-
- public function getOrderShippingCostCache($wsParams)
- {
- // Get Cache
- $row = Db::getInstance()->getRow("
- SELECT * FROM `"._DB_PREFIX_."fedex_cache`
- WHERE `id_cart` = ".(int)($wsParams['id_cart'])."
- AND `id_carrier` = ".(int)($this->id_carrier)."
- AND `hash` = '".pSQL($wsParams['hash'])."'");
-
- if ($row['id_currency'])
- {
- // Check Currency Rate And Calcul
- $conversionRate = $this->getCartCurrencyRate($row['id_currency'], (int)$wsParams['id_cart']);
- $row['total_charges'] = $row['total_charges'] * $conversionRate;
-
- // Return Cache
- return $row;
- }
-
- return false;
- }
-
- public function saveOrderShippingCostCache($wsParams, $wscost)
- {
- $is_available = 1;
- if (!$wscost)
- $is_available = 0;
- $date = date('Y-m-d H:i:s');
- $cart = new Cart((int)$wsParams['id_cart']);
- $insert = array(
- 'id_cart' => (int)($wsParams['id_cart']),
- 'id_carrier' => (int)($this->id_carrier),
- 'hash' => pSQL($wsParams['hash']),
- 'id_currency' => (int)($cart->id_currency),
- 'total_charges' => pSQL($wscost),
- 'is_available' => (int)($is_available),
- 'date_add' => pSQL($date),
- 'date_upd' => pSQL($date)
- );
- Db::getInstance()->autoExecute(_DB_PREFIX_.'fedex_cache', $insert, 'INSERT');
- }
-
- public function loadShippingCostConfig($product)
- {
- // Init var
- $config = array();
-
- // Check if there is a specific product configuration
- if ($product['id_product'] > 0)
- {
- $productConfiguration = Db::getInstance()->getRow('SELECT * FROM `'._DB_PREFIX_.'fedex_rate_config` WHERE `id_product` = '.(int)($product['id_product']));
- if ($productConfiguration['id_fedex_rate_config'])
- {
- $servicesConfiguration = Db::getInstance()->executeS('
- SELECT urcs.*, ursc.`id_carrier`
- FROM `'._DB_PREFIX_.'fedex_rate_config_service` urcs
- LEFT JOIN `'._DB_PREFIX_.'fedex_rate_service_code` ursc ON (ursc.`id_fedex_rate_service_code` = urcs.`id_fedex_rate_service_code`)
- WHERE `id_fedex_rate_config` = '.(int)($productConfiguration['id_fedex_rate_config']));
- foreach ($servicesConfiguration as $service)
- $productConfiguration['services'][$service['id_fedex_rate_service_code']] = $service;
- return $productConfiguration;
- }
- }
-
- // Check if there is a specific category configuration
- if ($product['id_category_default'] > 0)
- {
- $categoryConfiguration = Db::getInstance()->getRow('SELECT * FROM `'._DB_PREFIX_.'fedex_rate_config` WHERE `id_category` = '.(int)($product['id_category_default']));
- if ($categoryConfiguration['id_fedex_rate_config'])
- {
- $servicesConfiguration = Db::getInstance()->executeS('
- SELECT urcs.*, ursc.`id_carrier`
- FROM `'._DB_PREFIX_.'fedex_rate_config_service` urcs
- LEFT JOIN `'._DB_PREFIX_.'fedex_rate_service_code` ursc ON (ursc.`id_fedex_rate_service_code` = urcs.`id_fedex_rate_service_code`)
- WHERE `id_fedex_rate_config` = '.(int)($categoryConfiguration['id_fedex_rate_config']));
- foreach ($servicesConfiguration as $service)
- $categoryConfiguration['services'][$service['id_fedex_rate_service_code']] = $service;
- return $categoryConfiguration;
- }
- }
-
- // Return general config
- $config['pickup_type_code'] = Configuration::get('FEDEX_CARRIER_PICKUP_TYPE');
- $servicesConfiguration = Db::getInstance()->executeS('SELECT * FROM `'._DB_PREFIX_.'fedex_rate_service_code` WHERE `active` = 1');
- foreach ($servicesConfiguration as $service)
- $config['services'][$service['id_fedex_rate_service_code']] = $service;
- return $config;
- }
-
- public function getWebserviceShippingCost($wsParams)
- {
- // Init var
- $cost = 0;
-
- // Calcul mode condition
- if (Configuration::get('FEDEX_CARRIER_CALCUL_MODE') == 'onepackage')
- {
- $width = 0;
- $height = 0;
- $depth = 0;
- $weight = 0;
-
- foreach ($wsParams['products'] as $product)
- {
- if ($product['width'] && $product['width'] > $width) $width = $product['width'];
- if ($product['height'] && $product['height'] > $height) $height = $product['height'];
- if ($product['depth'] && $product['depth'] > $depth) $depth = $product['depth'];
- if ($product['weight'])
- $weight += ($product['weight'] * $product['quantity']);
- }
- $weight += Tools::getValue('fedex_carrier_packaging_weight', Configuration::get('FEDEX_CARRIER_PACKAGING_WEIGHT'));
-
- // Get service in adequation with carrier and check if available
- $servicesConfiguration = Db::getInstance()->executeS('SELECT * FROM `'._DB_PREFIX_.'fedex_rate_service_code` WHERE `active` = 1');
- foreach ($servicesConfiguration as $service)
- $config['services'][$service['id_fedex_rate_service_code']] = $service;
- $serviceSelected = Db::getInstance()->getRow('SELECT * FROM `'._DB_PREFIX_.'fedex_rate_service_code` WHERE `id_carrier` = '.(int)($this->id_carrier));
- if (!isset($config['services'][$serviceSelected['id_fedex_rate_service_code']]))
- return false;
-
- $wsParams['service'] = $serviceSelected['code'];
- $wsParams['package_list'] = array();
- $wsParams['package_list'][] = array(
- 'width' => ($width > 0 ? $width : 7),
- 'height' => ($height > 0 ? $height : 3),
- 'depth' => ($depth > 0 ? $depth : 5),
- 'weight' => ($weight > 0 ? $weight : .5),
- 'packaging_type' => Configuration::get('FEDEX_CARRIER_PACKAGING_TYPE'),
- );
- }
- else
- {
- // Getting shipping cost for each product
- foreach ($wsParams['products'] as $product)
- {
- // Load specific configuration
- $config = $this->loadShippingCostConfig($product);
-
- // Get service in adequation with carrier and check if available
- $serviceSelected = Db::getInstance()->getRow('SELECT * FROM `'._DB_PREFIX_.'fedex_rate_service_code` WHERE `id_carrier` = '.(int)($this->id_carrier));
- if (!isset($config['services'][$serviceSelected['id_fedex_rate_service_code']]))
- return false;
-
- // Load param product
- $wsParams['service'] = $serviceSelected['code'];
- for ($qty = 0; $qty < $product['quantity']; $qty++)
- $wsParams['package_list'][] = array(
- 'width' => ($product['width'] ? $product['width'] : 1),
- 'height' => ($product['height'] ? $product['height'] : 1),
- 'depth' => ($product['depth'] ? $product['depth'] : 1),
- 'weight' => ($product['weight'] > 0.1 ? $product['weight'] : 0.1),
- 'pickup_type' => (isset($config['pickup_type_code']) ? $config['pickup_type_code'] : Configuration::get('FEDEX_CARRIER_PICKUP_TYPE')),
- );
-
- // If Additional charges
- if (isset($config['id_currency']) && isset($config['additional_charges']))
- {
- $conversionRate = 1;
- $conversionRate = $this->getCartCurrencyRate((int)($config['id_currency']), (int)$wsParams['id_cart']);
- $cost += ($config['additional_charges'] * $conversionRate);
- }
- }
- }
-
-
- // If webservice return a cost, we add it, else, we return the original shipping cost
- $result = $this->getFedexShippingCost($wsParams);
- if ($result['connect'] && $result['cost'] > 0)
- return ($cost + $result['cost'] + Tools::getValue('fedex_carrier_handling_fee', Configuration::get('FEDEX_CARRIER_HANDLING_FEE')));
- return false;
- }
-
- public function getOrderShippingCost($params, $shipping_cost)
- {
- // Init var
- $address = new Address($params->id_address_delivery);
- if (!Validate::isLoadedObject($address))
- {
- // If address is not loaded, we take data from shipping estimator module (if installed)
- global $cookie;
- $address->id_country = $cookie->id_country;
- $address->id_state = $cookie->id_state;
- $address->postcode = $cookie->postcode;
- }
- $recipient_country = Db::getInstance()->getRow('SELECT `iso_code` FROM `'._DB_PREFIX_.'country` WHERE `id_country` = '.(int)($address->id_country));
- $recipient_state = Db::getInstance()->getRow('SELECT `iso_code` FROM `'._DB_PREFIX_.'state` WHERE `id_state` = '.(int)($address->id_state));
- $shipper_country = Db::getInstance()->getRow('SELECT `iso_code` FROM `'._DB_PREFIX_.'country` WHERE `id_country` = '.(int)(Configuration::get('FEDEX_CARRIER_COUNTRY')));
- $shipper_state = Db::getInstance()->getRow('SELECT `iso_code` FROM `'._DB_PREFIX_.'state` WHERE `id_state` = '.(int)(Configuration::get('FEDEX_CARRIER_STATE')));
- $products = $params->getProducts();
-
- // Webservices Params
- $wsParams = array(
- 'id_cart' => $params->id,
- 'id_address_delivery' => $params->id_address_delivery,
- 'recipient_address1' => $address->address1,
- 'recipient_address2' => $address->address2,
- 'recipient_postalcode' => $address->postcode,
- 'recipient_city' => $address->city,
- 'recipient_country_iso' => $recipient_country['iso_code'],
- 'recipient_state_iso' => $recipient_state['iso_code'],
- 'shipper_address1' => Configuration::get('FEDEX_CARRIER_ADDRESS1'),
- 'shipper_address2' => Configuration::get('FEDEX_CARRIER_ADDRESS2'),
- 'shipper_postalcode' => Configuration::get('FEDEX_CARRIER_POSTAL_CODE'),
- 'shipper_city' => Configuration::get('FEDEX_CARRIER_CITY'),
- 'shipper_country_iso' => $shipper_country['iso_code'],
- 'shipper_state_iso' => $shipper_state['iso_code'],
- 'products' => $params->getProducts()
- );
- $wsParams['hash'] = $this->getOrderShippingCostHash($wsParams);
-
- // Check cache
- $cache = $this->getOrderShippingCostCache($wsParams);
- if ($cache['id_fedex_cache'] > 0)
- {
- if ($cache['is_available'] == 0)
- return false;
- if ($cache['total_charges'])
- return $cache['total_charges'];
- }
-
- // Get Webservices Cost and Cache it
- $wscost = $this->getWebserviceShippingCost($wsParams);
- $this->saveOrderShippingCostCache($wsParams, $wscost);
-
- if ($wscost > 0)
- return $wscost + $shipping_cost;
- return false;
- }
-
- public function getOrderShippingCostExternal($params)
- {
- return $this->getOrderShippingCost($params, 23);
- }
-
-
-
- /*
- ** Webservices Methods
- **
- */
-
- public function webserviceTest($service = '')
- {
- // Check config
- if (!Configuration::get('FEDEX_CARRIER_API_KEY'))
- return false;
-
- // Check if class Soap is available
- if (!extension_loaded('soap'))
- return false;
-
- // Getting module directory
- $dir = dirname(__FILE__);
- if (preg_match('/classes/i', $dir))
- $dir .= '/../modules/fedexcarrier/';
-
- // Enable Php Soap
- ini_set("soap.wsdl_cache_enabled", "0");
- $client = new SoapClient($dir.'/RateService_v10.wsdl', array('trace' => 1)); // Refer to http://us3.php.net/manual/en/ref.soap.php for more information
-
- // Country / State
- $shipper_country = Db::getInstance()->getRow('SELECT `iso_code` FROM `'._DB_PREFIX_.'country` WHERE `id_country` = '.(int)(Configuration::get('FEDEX_CARRIER_COUNTRY')));
- $shipper_state = Db::getInstance()->getRow('SELECT `iso_code` FROM `'._DB_PREFIX_.'state` WHERE `id_state` = '.(int)(Configuration::get('FEDEX_CARRIER_STATE')));
-
- // Generating soap request
- $request['WebAuthenticationDetail']['UserCredential'] = array('Key' => Configuration::get('FEDEX_CARRIER_API_KEY'), 'Password' => Configuration::get('FEDEX_CARRIER_PASSWORD'));
- $request['ClientDetail'] = array('AccountNumber' => Configuration::get('FEDEX_CARRIER_ACCOUNT'), 'MeterNumber' => Configuration::get('FEDEX_CARRIER_METER'));
- $request['TransactionDetail'] = array('CustomerTransactionId' => ' *** Rate Available Services Request v10 using PHP ***');
- $request['Version'] = array('ServiceId' => 'crs', 'Major' => '10', 'Intermediate' => '0', 'Minor' => '0');
- $request['ReturnTransitAndCommit'] = true;
- $request['RequestedShipment']['DropoffType'] = Configuration::get('FEDEX_CARRIER_PICKUP_TYPE'); // valid values REGULAR_PICKUP, REQUEST_COURIER, ...
- $request['RequestedShipment']['ShipTimestamp'] = date('c');
- //$request['RequestedShipment']['ServiceType'] = 'PRIORITY_OVERNIGHT'; // valid values STANDARD_OVERNIGHT, PRIORITY_OVERNIGHT, FEDEX_GROUND, ...
- $request['RequestedShipment']['PackagingType'] = Configuration::get('FEDEX_CARRIER_PACKAGING_TYPE'); // valid values FEDEX_BOX, FEDEX_PAK, FEDEX_TUBE, YOUR_PACKAGING, ...
-
- // Service Type and Packaging Type are not passed in the request
- $request['RequestedShipment']['Shipper']['Address'] = array('StreetLines' => Configuration::get('FEDEX_CARRIER_ADDRESS1'), 'City' => Configuration::get('FEDEX_CARRIER_CITY'), 'StateOrProvinceCode' => $shipper_state['iso_code'], 'PostalCode' => Configuration::get('FEDEX_CARRIER_POSTAL_CODE'), 'CountryCode' => $shipper_country['iso_code']);
- $request['RequestedShipment']['Recipient']['Address'] = array('StreetLines' => Configuration::get('FEDEX_CARRIER_ADDRESS1'), 'City' => Configuration::get('FEDEX_CARRIER_CITY'), 'StateOrProvinceCode' => $shipper_state['iso_code'], 'PostalCode' => Configuration::get('FEDEX_CARRIER_POSTAL_CODE'), 'CountryCode' => $shipper_country['iso_code']);
- $request['RequestedShipment']['ShippingChargesPayment'] = array('PaymentType' => 'SENDER', 'Payor' => array('AccountNumber' => Configuration::get('FEDEX_CARRIER_ACCOUNT'), 'CountryCode' => 'US'));
- $request['RequestedShipment']['RateRequestTypes'] = 'ACCOUNT';
- $request['RequestedShipment']['RateRequestTypes'] = 'LIST';
- $request['RequestedShipment']['PackageCount'] = '1';
- $request['RequestedShipment']['RequestedPackageLineItems'] = array('0' => array('SequenceNumber' => 1, 'GroupPackageCount' => 1, 'Weight' => array('Value' => 2.0, 'Units' => 'LB'), 'Dimensions' => array('Length' => 10, 'Width' => 10, 'Height' => 3, 'Units' => 'IN')));
-
-
- // Unit or Large Test
- if (!empty($service))
- $servicesList = array(array('code' => $service));
- else
- $servicesList = Db::getInstance()->executeS('SELECT `code` FROM `'._DB_PREFIX_.'fedex_rate_service_code`');
-
-
- // Testing Service
- foreach ($servicesList as $service)
- {
- // Sending Request
- $request['RequestedShipment']['ServiceType'] = $service['code'];
- $requestHash = $request;
- $requestHash['RequestedShipment']['ShipTimestamp'] = 'none';
-
- $resultTabTmp = Db::getInstance()->getValue('SELECT `result` FROM `'._DB_PREFIX_.'fedex_cache_test` WHERE `hash` = \''.pSQL(md5(var_export($requestHash, true))).'\'');
- if ($resultTabTmp)
- $resultTab = unserialize($resultTabTmp);
- else
- {
- try { $resultTab = $client->getRates($request); }
- catch (Exception $e) { }
- }
-
- // Cache test result
- if (empty($resultTabTmp) && isset($resultTab->HighestSeverity) && ($resultTab->HighestSeverity == 'SUCCESS' OR $resultTab->HighestSeverity == 'ERROR'))
- Db::getInstance()->autoExecute(_DB_PREFIX_.'fedex_cache_test', array('hash' => pSQL(md5(var_export($requestHash, true))), 'result' => pSQL(serialize($resultTab)), 'date_add' => pSQL(date('Y-m-d H:i:s')), 'date_upd' => pSQL(date('Y-m-d H:i:s'))), 'INSERT');
-
- // Return results
- if (isset($resultTab->HighestSeverity) && $resultTab->HighestSeverity != 'ERROR' && isset($resultTab->RateReplyDetails->RatedShipmentDetails[0]->ShipmentRateDetail->TotalNetCharge->Amount))
- return true;
-
- if (isset($resultTab->HighestSeverity) && $resultTab->HighestSeverity == 'ERROR')
- $this->_webserviceError = $this->l('Error').' '.(isset($resultTab->Notifications->Code) ? $resultTab->Notifications->Code : '').' : '.(isset($resultTab->Notifications->Message) ? $resultTab->Notifications->Message : '');
- else
- {
- $this->_webserviceError = $this->l('Fedex Webservice seems to be down, please wait a few minutes and try again.');
- return false;
- }
- }
-
- return false;
- }
-
- public function getFedexShippingCost($wsParams)
- {
- // Check config
- if (!Configuration::get('FEDEX_CARRIER_API_KEY'))
- return array('connect' => false, 'cost' => 0);
-
- // Check if class Soap is available
- if (!extension_loaded('soap'))
- return array('connect' => false, 'cost' => 0);
-
- // Getting module directory
- $dir = dirname(__FILE__);
- if (preg_match('/classes/i', $dir))
- $dir .= '/../modules/fedexcarrier/';
-
- // Enable Php Soap
- ini_set("soap.wsdl_cache_enabled", "0");
- $client = new SoapClient($dir.'/RateService_v10.wsdl', array('trace' => 1)); // Refer to http://us3.php.net/manual/en/ref.soap.php for more information
-
- // Country / State
- $shipper_country = Db::getInstance()->getRow('SELECT `iso_code` FROM `'._DB_PREFIX_.'country` WHERE `id_country` = '.(int)(Configuration::get('FEDEX_CARRIER_COUNTRY')));
- $shipper_state = Db::getInstance()->getRow('SELECT `iso_code` FROM `'._DB_PREFIX_.'state` WHERE `id_state` = '.(int)(Configuration::get('FEDEX_CARRIER_STATE')));
-
- // Generating soap request
- $request['WebAuthenticationDetail']['UserCredential'] = array('Key' => Configuration::get('FEDEX_CARRIER_API_KEY'), 'Password' => Configuration::get('FEDEX_CARRIER_PASSWORD'));
- $request['ClientDetail'] = array('AccountNumber' => Configuration::get('FEDEX_CARRIER_ACCOUNT'), 'MeterNumber' => Configuration::get('FEDEX_CARRIER_METER'));
- $request['TransactionDetail'] = array('CustomerTransactionId' => ' *** Rate Available Services Request v10 using PHP ***');
- $request['Version'] = array('ServiceId' => 'crs', 'Major' => '10', 'Intermediate' => '0', 'Minor' => '0');
- $request['ReturnTransitAndCommit'] = true;
- $request['RequestedShipment']['DropoffType'] = Configuration::get('FEDEX_CARRIER_PICKUP_TYPE'); // valid values REGULAR_PICKUP, REQUEST_COURIER, ...
- $request['RequestedShipment']['ShipTimestamp'] = date('c');
- $request['RequestedShipment']['ServiceType'] = $wsParams['service']; // valid values STANDARD_OVERNIGHT, PRIORITY_OVERNIGHT, FEDEX_GROUND, ...
- $request['RequestedShipment']['PackagingType'] = Configuration::get('FEDEX_CARRIER_PACKAGING_TYPE'); // valid values FEDEX_BOX, FEDEX_PAK, FEDEX_TUBE, YOUR_PACKAGING, ...
-
- // Service Type and Packaging Type are not passed in the request
- $request['RequestedShipment']['Shipper']['Address'] = array('StreetLines' => $wsParams['shipper_address1'], 'City' => $wsParams['shipper_city'], 'StateOrProvinceCode' => $wsParams['shipper_state_iso'], 'PostalCode' => $wsParams['shipper_postalcode'], 'CountryCode' => $wsParams['shipper_country_iso']);
- $request['RequestedShipment']['Recipient']['Address'] = array('StreetLines' => $wsParams['recipient_address1'], 'City' => $wsParams['recipient_city'], 'StateOrProvinceCode' => $wsParams['recipient_state_iso'], 'PostalCode' => $wsParams['recipient_postalcode'], 'CountryCode' => $wsParams['recipient_country_iso']);
- $request['RequestedShipment']['ShippingChargesPayment'] = array('PaymentType' => 'SENDER', 'Payor' => array('AccountNumber' => Configuration::get('FEDEX_CARRIER_ACCOUNT'), 'CountryCode' => 'US'));
- $request['RequestedShipment']['RateRequestTypes'] = 'ACCOUNT';
- $request['RequestedShipment']['RateRequestTypes'] = 'LIST';
- $request['RequestedShipment']['PackageCount'] = '2';
- $count = 1;
- foreach ($wsParams['package_list'] as $p)
- {
- $request['RequestedShipment']['RequestedPackageLineItems'][] = array(
- 'SequenceNumber' => $count,
- 'GroupPackageCount' => $count,
- 'Weight' => array('Value' => $p['weight'], 'Units' => substr($this->_weightUnit, 0, 2)),
- 'Dimensions' => array('Length' => $p['depth'], 'Width' => $p['width'], 'Height' => $p['height'], 'Units' => $this->_dimensionUnit));
- $count++;
- }
- $request['RequestedShipment']['PackageCount'] = count($request['RequestedShipment']['RequestedPackageLineItems']);
-
-
- // Get Rates
- try { $resultTab = $client->getRates($request); }
- catch (Exception $e) { }
-
-
- // Check currency
- $conversionRate = 1;
- if (isset($resultTab->RateReplyDetails->RatedShipmentDetails[0]->ShipmentRateDetail->TotalNetCharge->Currency))
- {
- $id_currency_return = Db::getInstance()->getValue('SELECT `id_currency` FROM `'._DB_PREFIX_.'currency` WHERE `iso_code` = \''.pSQL($resultTab->RateReplyDetails->RatedShipmentDetails[0]->ShipmentRateDetail->TotalNetCharge->Currency).'\'');
- $conversionRate = $this->getCartCurrencyRate($id_currency_return, (int)$wsParams['id_cart']);
- }
-
- // Return results
- if (isset($resultTab->HighestSeverity) && $resultTab->HighestSeverity != 'ERROR' && isset($resultTab->RateReplyDetails->RatedShipmentDetails[0]->ShipmentRateDetail->TotalNetCharge->Amount))
- return array('connect' => true, 'cost' => number_format($resultTab->RateReplyDetails->RatedShipmentDetails[0]->ShipmentRateDetail->TotalNetCharge->Amount,2,'.',',') * $conversionRate);
-
- if (isset($resultTab->HighestSeverity) && $resultTab->HighestSeverity == 'ERROR')
- $this->_webserviceError = $this->l('Error').' '.(isset($resultTab->Notifications->Code) ? $resultTab->Notifications->Code : '').' : '.(isset($resultTab->Notifications->Message) ? $resultTab->Notifications->Message : '');
- else
- $this->_webserviceError = $this->l('Fedex Webservice seems to be down, please wait a few minutes and try again.');
-
- return array('connect' => false, 'cost' => 0);
- }
-
-}
-
-?>
diff --git a/modules/fedexcarrier/fr.php b/modules/fedexcarrier/fr.php
deleted file mode 100644
index 79e70ba25..000000000
--- a/modules/fedexcarrier/fr.php
+++ /dev/null
@@ -1,154 +0,0 @@
-fedexcarrier_c0d00fcb670ada42dad4698b865f40cd'] = 'Transporteur Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0aad1e954489f441f8824e1f990d4774'] = 'Propose à vos clients le transporteur Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ff86cba2f7fe4a2dec854d107a4d99d2'] = 'Class Soap';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_883fa0069f4b0454e2277dd567ab3991'] = '\'Unité de poids (LB ou KG)\'';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5a3ceec65d417f5d92c26dbf0dccc00d'] = '\'Unité de mesure (CM ou IN)\'';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_4d470fde8487e755a50e9235e3dc13ab'] = 'doivent être configurés correctement pour utiliser ce module';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_a1d8be175eff378884736e1b44da526e'] = 'Votre compte Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_c481cd53864462a87dcb89c33589ff8e'] = 'Votre Fedex meter number';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_918356c887962073f010ee06e1395713'] = 'Votre mot de passe Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_8c2b826b79539fa093a6db05ca5ec9e0'] = 'Votre API Key Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_3ef2f9d666a37f95d963a84c46bae646'] = 'Ramassage par défaut';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_72f18dde0a5c9f75dd487adeacb92b56'] = 'Type de colis par défaut';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_20449d3f0b6c6b9265a5cd2a470a6451'] = 'Poids du colis';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_bfc00de34bc04366e7fee516adf7dca5'] = 'Frais supplémentaire';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5bb8a37c6acccadf3e28a704d59f1f8a'] = 'Business service center';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_c0b3132d2759b40e8525f2466c477d1c'] = 'Drop box';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_22db7528d7c5df8e310bf19af75e61d3'] = 'Regular pickup';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_7e8eb99ef29d93f494ebdc27b59444f5'] = 'Request courier';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_394a844cc3d6d99eb45b4e71afde2c99'] = 'Station';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_57185ccd597e58ad9e4944f4356222b6'] = '10Kg Box Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9a8ccd685b767c927bca8501ae80d954'] = '25Kg Box Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_38f14cc3e27cc856e61e3a7f555148d2'] = 'Box Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_36aba1bfaa5062695e71a6524008dd8a'] = 'Enveloppe Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d0e6a558b4ce274905600856b20b471e'] = 'Pak Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5b2953c3343913eee2398c1fe2651be7'] = 'Tube Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_451400926783d7a47cd31025717bc97f'] = 'Votre type de colis';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_46f58e2a308b68cae9d5f5dd8a5d4ad6'] = 'Europe first international priority';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0fd6265588d27073ef45ed36d5c00c75'] = 'Fedex 1 day freight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_dfa184d2bf6a5d6ee8ffebfbaa25394c'] = 'Fedex 2 day';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_2c0f88b63bfbe05955db90f1dcccab2e'] = 'Fedex 2 day freight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_03aac4b90886eabd480cee819e24d09e'] = 'Fedex 3 day freight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_687009f2bc600c25a005b26f4cb4ab02'] = 'Fedex express saver';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_6e8cf654ec68d7391f5d673331e2c212'] = 'Fedex freight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_1497c5bee4dd896e0b84c442be1e8760'] = 'Fedex ground';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_23044a6996eda8ad80874f5bdd72a0bc'] = 'Fedex national freight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_4cee621e07c270fb1031f231e592a8cd'] = 'First overnight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_e1416870eb1cf36849393bf6ef6f6966'] = 'Ground home delivery';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_124dd98ba09563af1900c14885e97d6e'] = 'International economy';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_2751413ff6e957a3b6894929b008b123'] = 'International economy freight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_cebbbe47be59307e1751e2febe44fdc6'] = 'International first';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f3f9ee160906e71040b437410459ec79'] = 'International ground';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_759d99c1c032d4171c2f142af4f79436'] = 'International priority';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_a8c786474d046ba2b2b90b78a7b498cf'] = 'International priority freight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ec25bbf3daf58ec08920a781e25a3f3d'] = 'International priority freight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_e889962a8517669ba4ac839afa6384df'] = 'Smart post';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0a7bd01967a1874144b1b4fab2ee6a6f'] = 'Standard overnight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_386aad80d82f8245e9ef80352a2240e8'] = 'Tous les produits dans un colis';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f35eb2a913a3fd6fd8e661012cf0ebd8'] = 'Séparer chaque produit dans un colis';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d999f792aee7c730cdc95f6aff4aa436'] = 'Transporteur FEDEX';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_99e509958c21ac35438651547a7bb035'] = 'Statut du module FEDEX';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d23a9177c3c7256ede85643a19335afb'] = 'Le transporteur FEDEX est fonctionnel !';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5bc95bc43c48a735773d4182dcf526fb'] = 'Le transporteur FEDEX n\'est pas encore complètement configuré.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_3e203b9a16f360b88d90bba6eb61ce61'] = 'Veuillez remplir le formulaire \"Configuration Générale\"';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_8c0987b9315003df7dae7f130e3cf58e'] = 'Choississez vos services de livraison disponibles';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_e20f6d6f13fe70e78f6e2ab488493ccf'] = 'Test de connection webservice';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_807b063fceafae2c51dc6afb45612389'] = 'Extension Soap activée';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_52f4393e1b52ba63e27310ca92ba098c'] = 'Configuration générale';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_277d63a9b24a09697e3c64092eaf4353'] = 'Configuration des catégories';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_098eec2cabe2c39c6dec3fc522b6571a'] = 'Configuration des produits';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_6a26f548831e6a8c26bfbbd9f6ec61e0'] = 'Aide';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d2126da975d5b9a5b846efaf57d3fd53'] = 'Configuration générale';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_a50bb127f9b307757cf52ab86d70adac'] = 'Votre compte Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9a8b0ebd10992bd1576eccf605a84175'] = 'Votre Fedex meter number';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_c36a272a8778a2e85de52a01675fd521'] = 'Votre mot de passe Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5e2cd475470bc7b47bef8d4ecdae2a67'] = 'Votre Fedex Key API';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_cdfa1b01c330bf745f776f6c6c8afffd'] = 'Veuillez cliquer ici pour obtenir votre Fedex Key API';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_db06a2900c66a3a2cb78fe3a470f1b85'] = 'Poids du colis';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0274f749472f365e7d48a501e14793e6'] = 'Frais supplémentaire';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_83ad4fdaf06650e6d9d7ca18f82fb975'] = 'Configuration de localisation';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f489118ea95c746d648d36bb50c226f0'] = 'Unité de poids';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_659c95668841b7d6602ead454b28d4ba'] = 'L\'unité de poids de votre magasin (ex: kg ou lb)';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_cc13d156306185fd42a860da3049567c'] = 'Unité de mesure';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f804c2bdebc117d9cde3cddad3b49845'] = 'L\'unité de mesure de votre magasin (ex: cm ou in)';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_2481447d04ae756836d32e3ade240ff4'] = 'Configuration de l\'adresse';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5b179e75d464a04d8a04111131b3a3ca'] = 'Adresse (ligne 1)';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_281b2def1a9737b33f88013c94fdfeb8'] = 'Adresse (ligne 2)';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d30f507473129e70c4b962ceccf175cf'] = 'Code postal';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d0585aac6bb77bb49423b2effca0e067'] = 'Ville';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_59716c97497eb9694541f7c3d37b1a4d'] = 'Pays';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f8f5a972333ee726fbe5bb52409c0ed0'] = 'Choississez un pays ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_4e9863cf5326e6714388045321665d07'] = 'Choississez un pays dans la liste';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_46a2a41cc6e552044816a2d04634545d'] = 'Etat';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_cf1580798f7aba85d519afadf1ffd886'] = 'Choississez un état ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_02546d525ab356bd43c91e6b07447496'] = 'Il n\'y a pas de configuration d\'état pour ce pays';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0ddc2a5660f7d095fff34d6b93077c80'] = 'Configuration de service';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f405714368454e1f9c932432693aea42'] = 'Type de livraison par défault';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ce135482b30deedcc0046df41c12de79'] = 'Choisissez votre méthode de livraison par défault...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9a361a1f786db3dfe07aae42752d3446'] = 'Type de colis par défaut';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_4664d1ae1832bed2246e8a6850365075'] = 'Choississez un type de colis par défaut';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_8d6bd50f3fe3ee2f4513066c25e5fb4a'] = 'Méthode de calcul';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_c5238c5f72dee585afdf4bddf6de518e'] = 'Utiliser la méthode de calcul \"Tous les produits dans un colis\" utilisera automatiquement la taille de colis, le type de colis et les services de livraison par défaut. Les configurations spécifiques des catégories et des produits ne seront pas utilisés.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5cdd307ba6e260beb4801c0c10e22a3a'] = 'Services de livraison';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_78945de8de090e90045d299651a68a9b'] = 'Disponible';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_2d25c72c1b18e562f6654fff8e11711e'] = 'Non disponible';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d63e135774e62574e2a1921267dad142'] = 'Choissisez les services de livraison qui seront disponibles pour vos clients';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f1206f9fadc5ce41694f69129aecac26'] = 'Configurer';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9b8c4a7116e8c44e4ebc955fafd47586'] = 'Votre compte fedex n\'est pas spécifié';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_b9cc1a101547b3ece6d946dbbe3469d7'] = 'Votre Fedex meter number n\'est pas spécifié';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5ce0f66588bbbbbb3ef0634e5ea7da69'] = 'Votre mot de passe Fedex n\'est pas spécifié';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_7988c0adb770f0f945814c0fb2b5800b'] = 'Votre Fedex API Key n\'est pas spécifié';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5d5ae09e7b6041d3449ef2cbfc39f560'] = 'Votre méthode livraison n\'est pas spécifié';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_e794e452ed4d2cfa13083693a2c8810e'] = 'Votre type de colis n\'est pas spécifié';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_805353d2862ea0e658c9ddda871540fa'] = 'Votre code postal n\'est pas spécifié';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ef9bd955e165dfb0207877e9fe180aeb'] = 'Votre ville n\'est pas spécifié';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5ecc7697a320f93f3ee8fb4048dbd64c'] = 'Votre pays n\'est spécifié';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_729d4f7143a3de7b0ed18de667fdf4d5'] = 'Prestashop n\'a pas pu se connecter aux webservices FEDEX';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9d1b485edd50e6fbd288b340b386b07d'] = 'Aucune description d\'erreur correspondante';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_c888438d14855d7d96a2724ee9c306bd'] = 'Configuration mise à jour';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_b9284bff13acffdd879ef4ac7fca5234'] = 'Configuration non mise à jour';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_67e19ffdaa0a11e69349810403a9727e'] = 'Vous devez configurer l\'onglet \"Configuration Générale\" avant d\'utiliser cet onglet';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_a37b48e8684078c0620a997b3baeee9f'] = 'Vous devez configurer l\'onglet \"Configuration Générale\" avant d\'utiliser cet onglet';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f421827ff72ef9a61fb27aa0de62f1e4'] = 'Configuration ID';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_3adbdb3ac060038aa0e6e6c138ef9873'] = 'Catégorie';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ca2fb7f67355c05d2ffa963fac6e91e1'] = 'Type de ramassage';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d9bc28a26253438f5b16cea5eb35681a'] = 'Type de colis';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_20cde117cbc92b9ec1fb4e5bc4a7b9bd'] = 'Frais additionnels';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_992a0f0542384f1ee5ef51b7cf4ae6c4'] = 'Services';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_06df33001c1d7187fdd81ea1f5b277aa'] = 'Actions';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_4f8e00c5ae41d97ab62a947b8e806d55'] = 'Il n\'y pas de configuration FEDEX spécifiques pour les catégories pour le moment.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f1c611f93510bbee05663c82f6d439e2'] = 'Êtes vous sûr de vouloir effacer cette configuration FEDEX spécifiques pour cette catégorie ?';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_3e0cb9fd22b124c0839302fef54762d7'] = 'Mise à jour d\'une régle';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_dd593f8a542ab628cbba98c709255e60'] = 'Ajouter une régle';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_1debf905ac528b3f0615cd379ced0d38'] = 'Type de ramassage';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_b03dfe92d8c5b6a15d3f139998580563'] = 'Choississez un type de ramassage ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_da42caf26ef85de3d7e48e16ca60b891'] = 'Type de colis';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_8d2ee0603dfce09b57d60db628cde269'] = 'Choississez un type de colis ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_7fcafa7c47e984693fcb8a92c0fd1beb'] = 'Choississez une catégorie ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d725c0166e978cc30853996c70440873'] = 'Vous devez choisir une catégorie';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ff63f917e2a947d454bce41b104cfbd2'] = 'Cette catégorie a déjà une configuration FEDEX spécifique.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_fd0119c2a5fc18aa64887b5b7ab41c19'] = 'Une erreur est survenue, veuillez retenter ultérieurement.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_20f40087c53c662adfb4e780500eaa15'] = 'Dans cet onglet, vous pouvez enregistrer une configuration spécifique pour chaque produit.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_deb10517653c255364175796ace3553f'] = 'Produit';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_cef3da9171b7ac6d7a6e206e68a2a246'] = 'Il n\'y pas de configuration FEDEX spécifiques pour les produits pour le moment.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ceb0ede9c02d159aa2360a3d0694d9ed'] = 'Êtes vous sûr de vouloir effacer cette configuration FEDEX spécifiques pour ce produit ?';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_3c4d710b56f4318dae775cff80619f84'] = 'Choississez un produit ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9c07640370e4681bf98638d0c458cd2e'] = 'Vous devez choisir un produit.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_8fc3abc76f5a163f81962a52fc5a3703'] = 'Ce produit a déjà une configuration FEDEX spécifique';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9c3eacca576fbfc5dca21b50d9f6ef8f'] = 'Bienvenue dans le configurateur du module FEDEX pour PrestaShop';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_92640c80a67da1782a18304336405dac'] = 'Cette section vous aidera à comprendre comment configurer chaque module correctement.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ec0e6948e8f34818d80f27c309f46661'] = 'Ci-dessous, la description de chaque champs :';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_b12c6f84e131ed2192e9d9c6c531f239'] = 'Votre compte FEDEX';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0ea2cd644fcacb9e8fe1d4c9c89a677b'] = 'Vous devez vous inscrire sur le site de FEDEX à cette adresse';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_35ba940948fa0ea163fd01281de10e2f'] = 'Ce champ doit être le code postal du lieu de départ de vos colis.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_81822348ace1ceabad5e9f8992ce9ea4'] = 'Ce champ doit être le pays de départ de vos colis';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_74395432668d0313b593712dfc40479a'] = 'Ce champ correspond au ramassage par défaut (quand il n\'y a pas de configuration spécifique pour le produit ou la catégorie)';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_b9bba478eb4348e49e672e944b072b68'] = 'Ces champs correspondent aux services de livraison disponibles (quand il n\'y a pas de configuration spécifique pour le produit ou la catégorie)';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_71ffd676000b4ec8ea95f4096adc3d3c'] = 'Cette section vous permet de définir des configurations FEDEX spécifiques pour chaque catégorie de produit (tel que le type de colis et les frais additionnels)';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_89a9eabc8fc9335d484dcb1eb7ef4ac5'] = 'Cette section vous permet de définir des configurations FEDEX spécifiques pour chaque produit (tel que le type de colis et les frais additionnels)';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_902b0d55fddef6f8d651fe1035b7d4bd'] = 'Erreur';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5e303843029d99ced59415005037969d'] = 'Les webservices Fedex sont injoignables, veuillez patienter quelques minutes et réessayer.';
diff --git a/modules/fedexcarrier/index.php b/modules/fedexcarrier/index.php
deleted file mode 100644
index 4e2611d37..000000000
--- a/modules/fedexcarrier/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision$
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
\ No newline at end of file
diff --git a/modules/fedexcarrier/it.php b/modules/fedexcarrier/it.php
deleted file mode 100644
index f9e0db08a..000000000
--- a/modules/fedexcarrier/it.php
+++ /dev/null
@@ -1,154 +0,0 @@
-fedexcarrier_c0d00fcb670ada42dad4698b865f40cd'] = 'Corriere Fedex ';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0aad1e954489f441f8824e1f990d4774'] = 'Offri ai tuoi clienti modalità di consegna differenti con Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ff86cba2f7fe4a2dec854d107a4d99d2'] = 'Class Soap';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_883fa0069f4b0454e2277dd567ab3991'] = 'Unita \'di peso (LB o KG).\'';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5a3ceec65d417f5d92c26dbf0dccc00d'] = '\'Unità di Dimensione (CM o IN).\'';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_4d470fde8487e755a50e9235e3dc13ab'] = 'deve essere configurato per utilizzare questo modulo correttamente';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_a1d8be175eff378884736e1b44da526e'] = 'Account Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_c481cd53864462a87dcb89c33589ff8e'] = 'Fedex meter';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_918356c887962073f010ee06e1395713'] = 'Password Fedex ';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_8c2b826b79539fa093a6db05ca5ec9e0'] = 'Chiave API Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_3ef2f9d666a37f95d963a84c46bae646'] = 'Tipo di ritiro Fedex di default';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_72f18dde0a5c9f75dd487adeacb92b56'] = 'Tipo di confezione Fedex di default';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_20449d3f0b6c6b9265a5cd2a470a6451'] = 'Packaging peso';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_bfc00de34bc04366e7fee516adf7dca5'] = 'La tassa';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5bb8a37c6acccadf3e28a704d59f1f8a'] = 'Centro servizi Business';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_c0b3132d2759b40e8525f2466c477d1c'] = 'Drop box';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_22db7528d7c5df8e310bf19af75e61d3'] = 'Ritiro regolare';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_7e8eb99ef29d93f494ebdc27b59444f5'] = 'Corriere richiesto';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_394a844cc3d6d99eb45b4e71afde2c99'] = 'Stazione';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_57185ccd597e58ad9e4944f4356222b6'] = 'FedEx Box 10 kg';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9a8ccd685b767c927bca8501ae80d954'] = 'FedEx Box 25 kg';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_38f14cc3e27cc856e61e3a7f555148d2'] = 'Fedex Box';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_36aba1bfaa5062695e71a6524008dd8a'] = 'Busta Fedex ';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d0e6a558b4ce274905600856b20b471e'] = 'Pak Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5b2953c3343913eee2398c1fe2651be7'] = 'Tubo Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_451400926783d7a47cd31025717bc97f'] = 'La tua confezione';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_46f58e2a308b68cae9d5f5dd8a5d4ad6'] = 'Prima priorità internazionale in Europa';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0fd6265588d27073ef45ed36d5c00c75'] = 'Fedex 1 day freight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_dfa184d2bf6a5d6ee8ffebfbaa25394c'] = 'Fedex 2 day';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_2c0f88b63bfbe05955db90f1dcccab2e'] = 'Fedex 2 day freight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_03aac4b90886eabd480cee819e24d09e'] = 'Fedex 3 day freight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_687009f2bc600c25a005b26f4cb4ab02'] = 'Fedex express saver';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_6e8cf654ec68d7391f5d673331e2c212'] = 'Fedex freight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_1497c5bee4dd896e0b84c442be1e8760'] = 'Fedex ground';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_23044a6996eda8ad80874f5bdd72a0bc'] = 'Fedex national freight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_4cee621e07c270fb1031f231e592a8cd'] = 'First overnight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_e1416870eb1cf36849393bf6ef6f6966'] = 'Ground home delivery';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_124dd98ba09563af1900c14885e97d6e'] = 'International economy';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_2751413ff6e957a3b6894929b008b123'] = 'International economy freight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_cebbbe47be59307e1751e2febe44fdc6'] = 'International first';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f3f9ee160906e71040b437410459ec79'] = 'International ground';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_759d99c1c032d4171c2f142af4f79436'] = 'International priority';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_a8c786474d046ba2b2b90b78a7b498cf'] = 'International priority freight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ec25bbf3daf58ec08920a781e25a3f3d'] = 'Priority overnight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_e889962a8517669ba4ac839afa6384df'] = 'Smart post';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0a7bd01967a1874144b1b4fab2ee6a6f'] = 'Standard overnight';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_386aad80d82f8245e9ef80352a2240e8'] = 'Tutti gli articoli in un unico pacchetto';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f35eb2a913a3fd6fd8e661012cf0ebd8'] = 'Dividere un elemento per ogni pacchetto';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d999f792aee7c730cdc95f6aff4aa436'] = 'Corriere FEDEX ';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_99e509958c21ac35438651547a7bb035'] = 'Status modulo Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d23a9177c3c7256ede85643a19335afb'] = 'Corriere FEDEX è ben configurato e online!';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5bc95bc43c48a735773d4182dcf526fb'] = 'Corriere FEDEX non è ancora configurato, è necessario:';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_3e203b9a16f360b88d90bba6eb61ce61'] = 'Riempi il modulo \"Impostazioni generali\"';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_8c0987b9315003df7dae7f130e3cf58e'] = 'Seleziona il tuo servizio di consegna disponibile';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_e20f6d6f13fe70e78f6e2ab488493ccf'] = 'Test di connessione webservice';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_807b063fceafae2c51dc6afb45612389'] = 'Soap attivato';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_52f4393e1b52ba63e27310ca92ba098c'] = 'Impostazioni generali';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_277d63a9b24a09697e3c64092eaf4353'] = 'Impostazioni categorie';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_098eec2cabe2c39c6dec3fc522b6571a'] = 'Impostazioni prodotti';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_6a26f548831e6a8c26bfbbd9f6ec61e0'] = 'Aiuto';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d2126da975d5b9a5b846efaf57d3fd53'] = 'Configurazione generale';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_a50bb127f9b307757cf52ab86d70adac'] = 'Il tuo account Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9a8b0ebd10992bd1576eccf605a84175'] = 'Il tuo numero di Fedex meter';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_c36a272a8778a2e85de52a01675fd521'] = 'La tua password Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5e2cd475470bc7b47bef8d4ecdae2a67'] = 'La tua API Key Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_cdfa1b01c330bf745f776f6c6c8afffd'] = 'Fare clic qui per ottenere il tuo API Key Fedex';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_db06a2900c66a3a2cb78fe3a470f1b85'] = 'Imballo Peso';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0274f749472f365e7d48a501e14793e6'] = 'Handling Fee';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_83ad4fdaf06650e6d9d7ca18f82fb975'] = 'Configurazione di localizzazione ';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f489118ea95c746d648d36bb50c226f0'] = 'Unità di peso';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_659c95668841b7d6602ead454b28d4ba'] = 'Unità di peso del tuo negozio (es. kg o lb)';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_cc13d156306185fd42a860da3049567c'] = 'Unità di misura';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f804c2bdebc117d9cde3cddad3b49845'] = 'Unità di misura del tuo negozio (es. cm o in)';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_2481447d04ae756836d32e3ade240ff4'] = 'Configurazione indirizzo';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5b179e75d464a04d8a04111131b3a3ca'] = 'Indirizzo (linea 1)';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_281b2def1a9737b33f88013c94fdfeb8'] = 'Indirizzo (linea 2)';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d30f507473129e70c4b962ceccf175cf'] = 'CAP';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d0585aac6bb77bb49423b2effca0e067'] = 'La tua città';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_59716c97497eb9694541f7c3d37b1a4d'] = 'Paese';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f8f5a972333ee726fbe5bb52409c0ed0'] = 'Scegliere un paese ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_4e9863cf5326e6714388045321665d07'] = 'Seleziona il paese all\'interno della lista.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_46a2a41cc6e552044816a2d04634545d'] = 'Stato';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_cf1580798f7aba85d519afadf1ffd886'] = 'Seleziona uno stato ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_02546d525ab356bd43c91e6b07447496'] = 'Non vi è nessuna configurazione di stato per questo paese';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0ddc2a5660f7d095fff34d6b93077c80'] = 'Configurazione servizio';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f405714368454e1f9c932432693aea42'] = 'Tipo ritiro default';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ce135482b30deedcc0046df41c12de79'] = 'Seleziona un tipo di ritiro di default ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9a361a1f786db3dfe07aae42752d3446'] = 'Tipo di confezione di default';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_4664d1ae1832bed2246e8a6850365075'] = 'Seleziona un tipo di confezione di default ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_8d6bd50f3fe3ee2f4513066c25e5fb4a'] = 'Calcul modalità';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_c5238c5f72dee585afdf4bddf6de518e'] = 'Utilizzando la modalità di calcul \"Tutti gli elementi in un unico pacchetto\" utilizzerà automaticamente imballaggio dimensione predefinita, il tipo di confezionamento e di servizi di consegna. Configurazioni specifiche per le categorie o prodotto non sarà utilizzato.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5cdd307ba6e260beb4801c0c10e22a3a'] = 'Servizio di consegna';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_78945de8de090e90045d299651a68a9b'] = 'Disponibile';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_2d25c72c1b18e562f6654fff8e11711e'] = 'Non disponibile';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d63e135774e62574e2a1921267dad142'] = 'Scegli il servizio di consegna che sarà disponibile per i clienti.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f1206f9fadc5ce41694f69129aecac26'] = 'Configura';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9b8c4a7116e8c44e4ebc955fafd47586'] = 'Il tuo account Fedex non è specificato';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_b9cc1a101547b3ece6d946dbbe3469d7'] = 'Il tuo Fedex meter non è specificato';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5ce0f66588bbbbbb3ef0634e5ea7da69'] = 'La tua password Fedex non è specificata';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_7988c0adb770f0f945814c0fb2b5800b'] = 'La tua Fedex API Key non è specificata';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5d5ae09e7b6041d3449ef2cbfc39f560'] = 'Il tuo tipo di ritiro non è specificato';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_e794e452ed4d2cfa13083693a2c8810e'] = 'Il tuo tipo di confezione non è specificato';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_805353d2862ea0e658c9ddda871540fa'] = 'Il tuo CAP non è specificato';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ef9bd955e165dfb0207877e9fe180aeb'] = 'La tua città non è specificata';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5ecc7697a320f93f3ee8fb4048dbd64c'] = 'Il tuo paese non è specificato';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_729d4f7143a3de7b0ed18de667fdf4d5'] = 'Prestashop non può connettersi al webservices FEDEX';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9d1b485edd50e6fbd288b340b386b07d'] = 'Nessuna descrizione dell\'errore trovata';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_c888438d14855d7d96a2724ee9c306bd'] = 'Impostazioni aggiornate';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_b9284bff13acffdd879ef4ac7fca5234'] = 'Impostazioni non riuscite';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_67e19ffdaa0a11e69349810403a9727e'] = 'È necessario configurare il tab \"Impostazioni generali\" prima di utilizzare questo tab.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_a37b48e8684078c0620a997b3baeee9f'] = 'In questo tab è possibile impostare una configurazione specifica per ogni categoria.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f421827ff72ef9a61fb27aa0de62f1e4'] = 'Config ID';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_3adbdb3ac060038aa0e6e6c138ef9873'] = 'Categoria';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ca2fb7f67355c05d2ffa963fac6e91e1'] = 'Tipo di ritiro';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d9bc28a26253438f5b16cea5eb35681a'] = 'Tipo di confezione';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_20cde117cbc92b9ec1fb4e5bc4a7b9bd'] = 'Spese aggiuntive';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_992a0f0542384f1ee5ef51b7cf4ae6c4'] = 'Servizi';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_06df33001c1d7187fdd81ea1f5b277aa'] = 'Azioni';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_4f8e00c5ae41d97ab62a947b8e806d55'] = 'Non vi è alcuna configurazione specifica FEDEX per le categorie a questo punto.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_f1c611f93510bbee05663c82f6d439e2'] = 'Sei sicuro di voler cancellare questa specifica configurazione FEDEX per questa categoria?';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_3e0cb9fd22b124c0839302fef54762d7'] = 'Aggiorna di una regola';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_dd593f8a542ab628cbba98c709255e60'] = 'Aggiungi una regola';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_1debf905ac528b3f0615cd379ced0d38'] = 'Tipo ritiro';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_b03dfe92d8c5b6a15d3f139998580563'] = 'Seleziona un tipo di ritiro ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_da42caf26ef85de3d7e48e16ca60b891'] = 'Tipo di confezione';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_8d2ee0603dfce09b57d60db628cde269'] = 'Seleziona un tipo di confezione...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_7fcafa7c47e984693fcb8a92c0fd1beb'] = 'Seleziona una categoria ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_d725c0166e978cc30853996c70440873'] = 'Devi selezionare una categoria.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ff63f917e2a947d454bce41b104cfbd2'] = 'Questa categoria ha già una configurazione specifica FEDEX.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_fd0119c2a5fc18aa64887b5b7ab41c19'] = 'Si è verificato un errore, per favore riprova.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_20f40087c53c662adfb4e780500eaa15'] = 'In questo tab è possibile impostare una configurazione specifica per ogni prodotto.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_deb10517653c255364175796ace3553f'] = 'Prodotto';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_cef3da9171b7ac6d7a6e206e68a2a246'] = 'Non vi è alcuna configurazione specifica FEDEX per i prodotti a questo punto.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ceb0ede9c02d159aa2360a3d0694d9ed'] = 'Sei sicuro di voler cancellare questa specifica configurazione FEDEX per questo prodotto?';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_3c4d710b56f4318dae775cff80619f84'] = 'Scegli un prodotto ...';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9c07640370e4681bf98638d0c458cd2e'] = 'Devi selezionare un prodotto.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_8fc3abc76f5a163f81962a52fc5a3703'] = 'Questo prodotto ha già una configurazione specifica FEDEX.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_9c3eacca576fbfc5dca21b50d9f6ef8f'] = 'Benvenuti nel configuratore di modulo PrestaShop FEDEX!';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_92640c80a67da1782a18304336405dac'] = 'Questa sezione ti aiuterà a capire come configurare questo modulo correttamente.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_ec0e6948e8f34818d80f27c309f46661'] = 'Vedi sotto per la descrizione di ogni campo:';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_b12c6f84e131ed2192e9d9c6c531f239'] = 'Il tuo account FEDEX';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_0ea2cd644fcacb9e8fe1d4c9c89a677b'] = 'È necessario iscriversi sul sito web FEDEX a questo indirizzo';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_35ba940948fa0ea163fd01281de10e2f'] = 'Questo campo deve essere il CAP del punto di partenza del tuo pacco.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_81822348ace1ceabad5e9f8992ce9ea4'] = 'Questo campo deve essere il paese del punto di partenza del tuo pacco.';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_74395432668d0313b593712dfc40479a'] = 'Questo campo corrisponde al tipo di ritiro di default (quando non c\'è alcuna configurazione specifica per il prodotto o la categoria di prodotto).';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_b9bba478eb4348e49e672e944b072b68'] = 'Queste caselle corrispondono ai servizi di consegna che vuoi mettere a disposizione (quando non c\'è alcuna configurazione specifica per il prodotto o la categoria di prodotto).';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_71ffd676000b4ec8ea95f4096adc3d3c'] = 'Questa sezione ti permette di definire una configurazione specifica FEDEX per ogni categoria di prodotti (come il tipo di confezione e le spese supplementari).';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_89a9eabc8fc9335d484dcb1eb7ef4ac5'] = 'Questa sezione ti permette di definire una configurazione specifica FEDEX per ogni prodotto (come il tipo di confezione e le spese supplementari).';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_902b0d55fddef6f8d651fe1035b7d4bd'] = 'Errore';
-$_MODULE['<{fedexcarrier}prestashop>fedexcarrier_5e303843029d99ced59415005037969d'] = 'Fedex Webservice sembra non funzionare, attendi qualche minuto e riprova';
diff --git a/modules/fedexcarrier/logo.gif b/modules/fedexcarrier/logo.gif
deleted file mode 100644
index bcd02eb85..000000000
Binary files a/modules/fedexcarrier/logo.gif and /dev/null differ
diff --git a/modules/fedexcarrier/logo.png b/modules/fedexcarrier/logo.png
deleted file mode 100644
index 1973ec966..000000000
Binary files a/modules/fedexcarrier/logo.png and /dev/null differ
diff --git a/modules/fedexcarrier/sql-install.php b/modules/fedexcarrier/sql-install.php
deleted file mode 100755
index f8ea912b4..000000000
--- a/modules/fedexcarrier/sql-install.php
+++ /dev/null
@@ -1,89 +0,0 @@
-
diff --git a/modules/fedexcarrier/sql-uninstall.php b/modules/fedexcarrier/sql-uninstall.php
deleted file mode 100755
index 63b945d4a..000000000
--- a/modules/fedexcarrier/sql-uninstall.php
+++ /dev/null
@@ -1,11 +0,0 @@
-
diff --git a/modules/fianetfraud/config.xml b/modules/fianetfraud/config.xml
deleted file mode 100755
index c6d4db3e0..000000000
--- a/modules/fianetfraud/config.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
- fianetfraud
-
-
-
-
-
- 1
- 1
- fr
-
\ No newline at end of file
diff --git a/modules/fianetfraud/cron_reevaluate.php b/modules/fianetfraud/cron_reevaluate.php
deleted file mode 100644
index 391b30389..000000000
--- a/modules/fianetfraud/cron_reevaluate.php
+++ /dev/null
@@ -1,31 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 6844 $
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-include_once(dirname(__FILE__).'/../../config/config.inc.php');
-include_once(dirname(__FILE__).'/fianetfraud.php');
-
-FianetFraud::reEvaluateOrder();
-
diff --git a/modules/fianetfraud/cron_waiting.php b/modules/fianetfraud/cron_waiting.php
deleted file mode 100644
index 4d9ec9159..000000000
--- a/modules/fianetfraud/cron_waiting.php
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/php
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 6844 $
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-include_once(dirname(__FILE__).'/../../config/config.inc.php');
-include_once(dirname(__FILE__).'/fianetfraud.php');
-
-FianetFraud::checkWaitingOrders();
-
diff --git a/modules/fianetfraud/de.php b/modules/fianetfraud/de.php
deleted file mode 100644
index 2b3065af7..000000000
--- a/modules/fianetfraud/de.php
+++ /dev/null
@@ -1,33 +0,0 @@
-fianetfraud_740e53a0ed1b643f69c4aaa8ad4ae8d2'] = 'Ungültige Lieferanten-Code';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_7ccf58c950043c9fbfed668df13ce608'] = 'Die Einstellungen werden aktualisiert';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_380b4179d36bce6ca862459a43b217b5'] = 'Um sich anzumelden, melden Sie sich ab:';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_592fcfe937f6d58f70d0918ef6373afa'] = 'Fia-Net Website';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_f4f70727dc34561dfde1a3c529b6205c'] = 'Einstellungen';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_99dea78007133396a7b8ed70578ac6ae'] = 'Login';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_dc647eb65e6711e155375218212b3964'] = 'Kennwort';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_b250a007769c7ffe655c74cfb8176b8c'] = 'Seiten-ID';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_30dbd3dffa9dbd08b062436ba8dcbad7'] = 'Betriebsmodus';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_99dbbd4d0ac4c725f3b0d2ff29abaf63'] = 'Standard-Produkttyp';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_7bc873cba11f035df692c3549366c722'] = '-- bitte auswählen --';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_b16c6b201b9dea0dba4c5214e584d5a9'] = 'Kategoriedetails';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_3adbdb3ac060038aa0e6e6c138ef9873'] = 'Kategorie';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_32b1e872d533aced68e8fd06117c35d9'] = 'Kategorie Typ';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_bb8d6a9f57dcf8f450d8c8b6107cfabb'] = 'Wählen Sie eine Kategorie ...';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_5f001485711e47385cb84b10c888bbfd'] = 'Lieferanten-Konfiguration';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_84a4ee79ed85180a743340dceb2f98d1'] = 'Lieferant Detail';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_914419aa32f04011357d3b604a86d7eb'] = 'Lieferant';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_fecb07f7ab46e23e9b520a9a9af7b97b'] = 'Lieferantenart';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_b04ad61ad875f6e7149fdd51c2e60ce2'] = 'Wählen Sie eine Lieferantenart ...';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_803d8f90719db3a605cf4af72ab2d8ee'] = 'Standard-Lieferantenart';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_4a04490d2817c00012562df7bc43299d'] = 'Zahlungskonfiguration';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_ff18b8d27988b97ba1dd72120dd524ea'] = 'Zahlungsdetails';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_ec51b543e5a38f6044c83f21dce2b23d'] = 'Zahlungs-Modul';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_7c9a3504dd4ce74b8021267ae1802968'] = 'Zahlungsart';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_c9cc8cce247e49bae79f15173ce97354'] = 'Speichern';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_d13270d4831bb2a2723f0fb5b573807c'] = 'Fianet Bestätigung';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_e010021939a49b7cce07f0e546c1d54f'] = 'Detailansicht';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_b086843368d1c92d0a86cbee76b20b6f'] = 'Evaluate';
diff --git a/modules/fianetfraud/es.php b/modules/fianetfraud/es.php
deleted file mode 100644
index 7a0762f2a..000000000
--- a/modules/fianetfraud/es.php
+++ /dev/null
@@ -1,33 +0,0 @@
-fianetfraud_740e53a0ed1b643f69c4aaa8ad4ae8d2'] = 'Código transportista no válido';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_7ccf58c950043c9fbfed668df13ce608'] = 'Parámetros actualizados con éxito';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_380b4179d36bce6ca862459a43b217b5'] = 'Para conectarse, visita:';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_592fcfe937f6d58f70d0918ef6373afa'] = 'Web de FIA-net';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_f4f70727dc34561dfde1a3c529b6205c'] = 'Configuración';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_99dea78007133396a7b8ed70578ac6ae'] = 'Usuario';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_dc647eb65e6711e155375218212b3964'] = 'Contraseña';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_b250a007769c7ffe655c74cfb8176b8c'] = 'ID sitio Web';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_30dbd3dffa9dbd08b062436ba8dcbad7'] = 'Modo producción';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_99dbbd4d0ac4c725f3b0d2ff29abaf63'] = 'Tipo por defecto';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_7bc873cba11f035df692c3549366c722'] = '--Elija--';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_b16c6b201b9dea0dba4c5214e584d5a9'] = 'Detalle';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_3adbdb3ac060038aa0e6e6c138ef9873'] = 'Categoría';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_32b1e872d533aced68e8fd06117c35d9'] = 'Tipo';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_bb8d6a9f57dcf8f450d8c8b6107cfabb'] = 'Elegir la categoría';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_5f001485711e47385cb84b10c888bbfd'] = 'Configurar el transportista';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_84a4ee79ed85180a743340dceb2f98d1'] = 'Detalle';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_914419aa32f04011357d3b604a86d7eb'] = 'Transportista';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_fecb07f7ab46e23e9b520a9a9af7b97b'] = 'Tipo de transportista';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_b04ad61ad875f6e7149fdd51c2e60ce2'] = 'Elegir tipo de transportista';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_803d8f90719db3a605cf4af72ab2d8ee'] = 'Tipo de transportista por defecto';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_4a04490d2817c00012562df7bc43299d'] = 'Confuguración del pago';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_ff18b8d27988b97ba1dd72120dd524ea'] = 'Detalle del pago';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_ec51b543e5a38f6044c83f21dce2b23d'] = 'Módulo de pago';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_7c9a3504dd4ce74b8021267ae1802968'] = 'Tipo de pago';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_c9cc8cce247e49bae79f15173ce97354'] = 'Guardar';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_d13270d4831bb2a2723f0fb5b573807c'] = 'Validación Fia-Net';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_e010021939a49b7cce07f0e546c1d54f'] = 'Ver detalle';
-$_MODULE['<{fianetfraud}prestashop>fianetfraud_b086843368d1c92d0a86cbee76b20b6f'] = 'Evaluación';
diff --git a/modules/fianetfraud/fianet/classes/fianet_key_32bits.php b/modules/fianetfraud/fianet/classes/fianet_key_32bits.php
deleted file mode 100644
index e201eda54..000000000
--- a/modules/fianetfraud/fianet/classes/fianet_key_32bits.php
+++ /dev/null
@@ -1,274 +0,0 @@
-a = -279229019;
- $this->b = -1875190530;
- $this->c = 1737040641;
- $this->d = 315143286;
-
- $this->Save_a = $this->a;
- $this->Save_b = $this->b;
- $this->Save_c = $this->c;
- $this->Save_d = $this->d;
- }
-
- function FlushKey($k0, $k1, $k2, $k3) {
- $this->a = $k0;
- $this->b = $k1;
- $this->c = $k2;
- $this->d = $k3;
-
- $this->Save_a = $this->a;
- $this->Save_b = $this->b;
- $this->Save_c = $this->c;
- $this->Save_d = $this->d;
- }
-
- function Init() {
- $this->a = $this->Save_a;
- $this->b = $this->Save_b;
- $this->c = $this->Save_c;
- $this->d = $this->Save_d;
- }
-
- function rhex($num) {
- $hex_chr = "0123456789abcdef";
- $str = "";
- for($j = 0; $j <= 3; $j++)
- $str .= substr($hex_chr, ($num >> ($j * 8 + 4)) & 0x0F, 1) . substr($hex_chr, ($num >> ($j * 8)) & 0x0F, 1);
- return $str;
- }
-
- function str2blks_MD5($str) {
- $nblk = ((strlen($str) + 8) >> 6) + 1;
- for($i = 0; $i < $nblk * 16; $i++) $blks[$i] = 0;
- for($i = 0; $i < strlen($str); $i++)
- $blks[$i >> 2] |= ord(substr($str, $i, 1)) << (($i % 4) * 8);
- $blks[$i >> 2] |= 0x80 << (($i % 4) * 8);
- $blks[$nblk * 16 - 2] = strlen($str) * 8;
- return $blks;
- }
-
- function add($x, $y) {
- $lsw = ($x & 0xFFFF) + ($y & 0xFFFF);
- $msw = ($x >> 16) + ($y >> 16) + ($lsw >> 16);
- return ($msw << 16) | ($lsw & 0xFFFF);
- }
-
- function rol($num, $cnt) {
- return ($num << $cnt) | $this->zeroFill($num, 32 - $cnt);
- }
-
- function zeroFill($a, $b) {
- $bin = decbin($a);
- if (strlen($bin) < $b) $bin = 0;
- else $bin = substr($bin, 0, strlen($bin) - $b);
- for ($i=0; $i < $b; $i++) {
- $bin = "0".$bin;
- }
- return bindec($bin);
- }
-
- function cmn($q, $a, $b, $x, $s, $t) {
- return $this->add($this->rol($this->add($this->add($a, $q), $this->add($x, $t)), $s), $b);
- }
-
- function ff($a, $b, $c, $d, $x, $s, $t) {
- return $this->cmn(($b & $c) | ((~$b) & $d), $a, $b, $x, $s, $t);
- }
-
- function gg($a, $b, $c, $d, $x, $s, $t) {
- return $this->cmn(($b & $d) | ($c & (~$d)), $a, $b, $x, $s, $t);
- }
-
- function hh($a, $b, $c, $d, $x, $s, $t) {
- return $this->cmn($b ^ $c ^ $d, $a, $b, $x, $s, $t);
- }
-
- function ii($a, $b, $c, $d, $x, $s, $t) {
- return $this->cmn($c ^ ($b | (~$d)), $a, $b, $x, $s, $t);
- }
-
- function hash($str) {
- $x = $this->str2blks_MD5($str);
-
- $this->Init();
-
- for($i = 0; $i < sizeof($x); $i += 16) {
- $olda = $this->a;
- $oldb = $this->b;
- $oldc = $this->c;
- $oldd = $this->d;
-
- $this->a = $this->ff($this->a, $this->b, $this->c, $this->d, $x[$i+ 0], 7 , -680876936);
- $this->d = $this->ff($this->d, $this->a, $this->b, $this->c, $x[$i+ 1], 12, -389564586);
- $this->c = $this->ff($this->c, $this->d, $this->a, $this->b, $x[$i+ 2], 17, 606105819);
- $this->b = $this->ff($this->b, $this->c, $this->d, $this->a, $x[$i+ 3], 22, -1044525330);
- $this->a = $this->ff($this->a, $this->b, $this->c, $this->d, $x[$i+ 4], 7 , -176418897);
- $this->d = $this->ff($this->d, $this->a, $this->b, $this->c, $x[$i+ 5], 12, 1200080426);
- $this->c = $this->ff($this->c, $this->d, $this->a, $this->b, $x[$i+ 6], 17, -1473231341);
- $this->b = $this->ff($this->b, $this->c, $this->d, $this->a, $x[$i+ 7], 22, -45705983);
- $this->a = $this->ff($this->a, $this->b, $this->c, $this->d, $x[$i+ 8], 7 , 1770035416);
- $this->d = $this->ff($this->d, $this->a, $this->b, $this->c, $x[$i+ 9], 12, -1958414417);
- $this->c = $this->ff($this->c, $this->d, $this->a, $this->b, $x[$i+10], 17, -42063);
- $this->b = $this->ff($this->b, $this->c, $this->d, $this->a, $x[$i+11], 22, -1990404162);
- $this->a = $this->ff($this->a, $this->b, $this->c, $this->d, $x[$i+12], 7 , 1804603682);
- $this->d = $this->ff($this->d, $this->a, $this->b, $this->c, $x[$i+13], 12, -40341101);
- $this->c = $this->ff($this->c, $this->d, $this->a, $this->b, $x[$i+14], 17, -1502002290);
- $this->b = $this->ff($this->b, $this->c, $this->d, $this->a, $x[$i+15], 22, 1236535329);
-
- $this->a = $this->gg($this->a, $this->b, $this->c, $this->d, $x[$i+ 1], 5 , -165796510);
- $this->d = $this->gg($this->d, $this->a, $this->b, $this->c, $x[$i+ 6], 9 , -1069501632);
- $this->c = $this->gg($this->c, $this->d, $this->a, $this->b, $x[$i+11], 14, 643717713);
- $this->b = $this->gg($this->b, $this->c, $this->d, $this->a, $x[$i+ 0], 20, -373897302);
- $this->a = $this->gg($this->a, $this->b, $this->c, $this->d, $x[$i+ 5], 5 , -701558691);
- $this->d = $this->gg($this->d, $this->a, $this->b, $this->c, $x[$i+10], 9 , 38016083);
- $this->c = $this->gg($this->c, $this->d, $this->a, $this->b, $x[$i+15], 14, -660478335);
- $this->b = $this->gg($this->b, $this->c, $this->d, $this->a, $x[$i+ 4], 20, -405537848);
- $this->a = $this->gg($this->a, $this->b, $this->c, $this->d, $x[$i+ 9], 5 , 568446438);
- $this->d = $this->gg($this->d, $this->a, $this->b, $this->c, $x[$i+14], 9 , -1019803690);
- $this->c = $this->gg($this->c, $this->d, $this->a, $this->b, $x[$i+ 3], 14, -187363961);
- $this->b = $this->gg($this->b, $this->c, $this->d, $this->a, $x[$i+ 8], 20, 1163531501);
- $this->a = $this->gg($this->a, $this->b, $this->c, $this->d, $x[$i+13], 5 , -1444681467);
- $this->d = $this->gg($this->d, $this->a, $this->b, $this->c, $x[$i+ 2], 9 , -51403784);
- $this->c = $this->gg($this->c, $this->d, $this->a, $this->b, $x[$i+ 7], 14, 1735328473);
- $this->b = $this->gg($this->b, $this->c, $this->d, $this->a, $x[$i+12], 20, -1926607734);
-
- $this->a = $this->hh($this->a, $this->b, $this->c, $this->d, $x[$i+ 5], 4 , -378558);
- $this->d = $this->hh($this->d, $this->a, $this->b, $this->c, $x[$i+ 8], 11, -2022574463);
- $this->c = $this->hh($this->c, $this->d, $this->a, $this->b, $x[$i+11], 16, 1839030562);
- $this->b = $this->hh($this->b, $this->c, $this->d, $this->a, $x[$i+14], 23, -35309556);
- $this->a = $this->hh($this->a, $this->b, $this->c, $this->d, $x[$i+ 1], 4 , -1530992060);
- $this->d = $this->hh($this->d, $this->a, $this->b, $this->c, $x[$i+ 4], 11, 1272893353);
- $this->c = $this->hh($this->c, $this->d, $this->a, $this->b, $x[$i+ 7], 16, -155497632);
- $this->b = $this->hh($this->b, $this->c, $this->d, $this->a, $x[$i+10], 23, -1094730640);
- $this->a = $this->hh($this->a, $this->b, $this->c, $this->d, $x[$i+13], 4 , 681279174);
- $this->d = $this->hh($this->d, $this->a, $this->b, $this->c, $x[$i+ 0], 11, -358537222);
- $this->c = $this->hh($this->c, $this->d, $this->a, $this->b, $x[$i+ 3], 16, -722521979);
- $this->b = $this->hh($this->b, $this->c, $this->d, $this->a, $x[$i+ 6], 23, 76029189);
- $this->a = $this->hh($this->a, $this->b, $this->c, $this->d, $x[$i+ 9], 4 , -640364487);
- $this->d = $this->hh($this->d, $this->a, $this->b, $this->c, $x[$i+12], 11, -421815835);
- $this->c = $this->hh($this->c, $this->d, $this->a, $this->b, $x[$i+15], 16, 530742520);
- $this->b = $this->hh($this->b, $this->c, $this->d, $this->a, $x[$i+ 2], 23, -995338651);
-
- $this->a = $this->ii($this->a, $this->b, $this->c, $this->d, $x[$i+ 0], 6 , -198630844);
- $this->d = $this->ii($this->d, $this->a, $this->b, $this->c, $x[$i+ 7], 10, 1126891415);
- $this->c = $this->ii($this->c, $this->d, $this->a, $this->b, $x[$i+14], 15, -1416354905);
- $this->b = $this->ii($this->b, $this->c, $this->d, $this->a, $x[$i+ 5], 21, -57434055);
- $this->a = $this->ii($this->a, $this->b, $this->c, $this->d, $x[$i+12], 6 , 1700485571);
- $this->d = $this->ii($this->d, $this->a, $this->b, $this->c, $x[$i+ 3], 10, -1894986606);
- $this->c = $this->ii($this->c, $this->d, $this->a, $this->b, $x[$i+10], 15, -1051523);
- $this->b = $this->ii($this->b, $this->c, $this->d, $this->a, $x[$i+ 1], 21, -2054922799);
- $this->a = $this->ii($this->a, $this->b, $this->c, $this->d, $x[$i+ 8], 6 , 1873313359);
- $this->d = $this->ii($this->d, $this->a, $this->b, $this->c, $x[$i+15], 10, -30611744);
- $this->c = $this->ii($this->c, $this->d, $this->a, $this->b, $x[$i+ 6], 15, -1560198380);
- $this->b = $this->ii($this->b, $this->c, $this->d, $this->a, $x[$i+13], 21, 1309151649);
- $this->a = $this->ii($this->a, $this->b, $this->c, $this->d, $x[$i+ 4], 6 , -145523070);
- $this->d = $this->ii($this->d, $this->a, $this->b, $this->c, $x[$i+11], 10, -1120210379);
- $this->c = $this->ii($this->c, $this->d, $this->a, $this->b, $x[$i+ 2], 15, 718787259);
- $this->b = $this->ii($this->b, $this->c, $this->d, $this->a, $x[$i+ 9], 21, -343485551);
-
- $this->a = $this->add($this->a, $olda);
- $this->b = $this->add($this->b, $oldb);
- $this->c = $this->add($this->c, $oldc);
- $this->d = $this->add($this->d, $oldd);
- }
- return $this->rhex($this->a) . $this->rhex($this->b) . $this->rhex($this->c) . $this->rhex($this->d);
- }
-}
-Class EncodingKey {
- var $clMD5;
-
- function EncodingKey() {
- $this->clMD5 = new HashMD5();
- }
-
- function giveHashCode($pkey, $second, $email, $refid, $montant, $nom) {
-
- $modulo = $second % 4;
-
- switch($modulo) {
- case 0:
- $select = $montant;
- break;
- case 1:
- $select = $email;
- break;
- case 2:
- $select = $refid;
- break;
- case 3:
- $select = $nom;
- break;
- default:
- break;
- }
-
- return $this->clMD5->hash($pkey.$refid.$select);
-
- }
-
- function giveHashCode2($pkey, $second, $email, $refid, $montant, $nom) {
- $modulo = $second % 4;
-
-$montant = sprintf("%01.2f",$montant);
-
- switch($modulo) {
- case 0:
- $select = $montant;
- break;
- case 1:
- $select = $email;
- break;
- case 2:
- $select = $refid;
- break;
- case 3:
- $select = $nom;
- break;
- default:
- break;
- }
-/*
- $fp = fopen('/var/www/fianet/test_greg.txt','ab');
- fwrite($fp,"second=".$second."\n");
- fwrite($fp,"montant=".$montant."\n");
- fwrite($fp,"email=".$email."\n");
- fwrite($fp,"refid=".$refid."\n");
- fwrite($fp,"nom=".$nom."\n");
- fclose($fp);
-*/
-
- return $this->clMD5->hash($pkey.$refid.$montant.$email.$select);
-
- }
-}
diff --git a/modules/fianetfraud/fianet/classes/fianet_key_64bits.php b/modules/fianetfraud/fianet/classes/fianet_key_64bits.php
deleted file mode 100644
index ecffe63a1..000000000
--- a/modules/fianetfraud/fianet/classes/fianet_key_64bits.php
+++ /dev/null
@@ -1,279 +0,0 @@
-a = -279229019;
- $this->b = -1875190530;
- $this->c = 1737040641;
- $this->d = 315143286;
-
- $this->Save_a = $this->a;
- $this->Save_b = $this->b;
- $this->Save_c = $this->c;
- $this->Save_d = $this->d;
- }
-
- function FlushKey($k0, $k1, $k2, $k3) {
- $this->a = $k0;
- $this->b = $k1;
- $this->c = $k2;
- $this->d = $k3;
-
- $this->Save_a = $this->a;
- $this->Save_b = $this->b;
- $this->Save_c = $this->c;
- $this->Save_d = $this->d;
- }
-
- function Init() {
- $this->a = $this->Save_a;
- $this->b = $this->Save_b;
- $this->c = $this->Save_c;
- $this->d = $this->Save_d;
- }
-
- function rhex($num) {
- $hex_chr = "0123456789abcdef";
- $str = "";
- for($j = 0; $j <= 3; $j++)
- $str .= substr($hex_chr, ($num >> ($j * 8 + 4)) & 0x0F, 1) . substr($hex_chr, ($num >> ($j * 8)) & 0x0F, 1);
- return $str;
- }
-
- function str2blks_MD5($str) {
- $nblk = ((strlen($str) + 8) >> 6) + 1;
- for($i = 0; $i < $nblk * 16; $i++) $blks[$i] = 0;
- for($i = 0; $i < strlen($str); $i++)
- $blks[$i >> 2] |= ord(substr($str, $i, 1)) << (($i % 4) * 8);
- $blks[$i >> 2] |= 0x80 << (($i % 4) * 8);
- $blks[$nblk * 16 - 2] = strlen($str) * 8;
- return $blks;
- }
-
- function parse_unsigned_int($s) {
- $x = (float)$s;
- if($x > (float)2147483647)
- $x -= (float)"4294967296";
- if($x < (float)-2147483648)
- $x += (float)"4294967296";
- return (int)$x;
- }
-
- function add($x, $y) {
- $lsw = ($x & 0xFFFF) + ($y & 0xFFFF);
- $msw = ($x >> 16) + ($y >> 16) + ($lsw >> 16);
- return $this->parse_unsigned_int(($msw << 16) | ($lsw & 0xFFFF));
- }
-
- function rol($num, $cnt) {
- $num = $num & 0xFFFFFFFF;
- return $this->parse_unsigned_int(($num << $cnt) & 0xFFFFFFFF | $this->zeroFill($num, 32 - $cnt));
- }
-
- function zeroFill($a, $b) {
- $bin = decbin($a);
- if (strlen($bin) < $b) $bin = 0;
- else $bin = substr($bin, 0, strlen($bin) - $b);
- for ($i=0; $i < $b; $i++) {
- $bin = "0".$bin;
- }
- return bindec($bin);
- }
-
- function cmn($q, $a, $b, $x, $s, $t) {
- return $this->add($this->rol($this->add($this->add($a, $q), $this->add($x, $t)), $s), $b);
- }
-
- function ff($a, $b, $c, $d, $x, $s, $t) {
- return $this->cmn(($b & $c) | ((~$b) & $d), $a, $b, $x, $s, $t);
- }
-
- function gg($a, $b, $c, $d, $x, $s, $t) {
- return $this->cmn(($b & $d) | ($c & (~$d)), $a, $b, $x, $s, $t);
- }
-
- function hh($a, $b, $c, $d, $x, $s, $t) {
- return $this->cmn($b ^ $c ^ $d, $a, $b, $x, $s, $t);
- }
-
- function ii($a, $b, $c, $d, $x, $s, $t) {
- return $this->cmn($c ^ ($b | (~$d)), $a, $b, $x, $s, $t);
- }
-
- function hash($str) {
-
- $x = $this->str2blks_MD5($str);
- $this->Init();
-
- for($i = 0; $i < sizeof($x); $i += 16) {
- $olda = $this->a;
- $oldb = $this->b;
- $oldc = $this->c;
- $oldd = $this->d;
-
- $this->a = $this->ff($this->a, $this->b, $this->c, $this->d, $x[$i+ 0], 7 , -680876936);
- $this->d = $this->ff($this->d, $this->a, $this->b, $this->c, $x[$i+ 1], 12, -389564586);
- $this->c = $this->ff($this->c, $this->d, $this->a, $this->b, $x[$i+ 2], 17, 606105819);
- $this->b = $this->ff($this->b, $this->c, $this->d, $this->a, $x[$i+ 3], 22, -1044525330);
- $this->a = $this->ff($this->a, $this->b, $this->c, $this->d, $x[$i+ 4], 7 , -176418897);
- $this->d = $this->ff($this->d, $this->a, $this->b, $this->c, $x[$i+ 5], 12, 1200080426);
- $this->c = $this->ff($this->c, $this->d, $this->a, $this->b, $x[$i+ 6], 17, -1473231341);
- $this->b = $this->ff($this->b, $this->c, $this->d, $this->a, $x[$i+ 7], 22, -45705983);
- $this->a = $this->ff($this->a, $this->b, $this->c, $this->d, $x[$i+ 8], 7 , 1770035416);
- $this->d = $this->ff($this->d, $this->a, $this->b, $this->c, $x[$i+ 9], 12, -1958414417);
- $this->c = $this->ff($this->c, $this->d, $this->a, $this->b, $x[$i+10], 17, -42063);
- $this->b = $this->ff($this->b, $this->c, $this->d, $this->a, $x[$i+11], 22, -1990404162);
- $this->a = $this->ff($this->a, $this->b, $this->c, $this->d, $x[$i+12], 7 , 1804603682);
- $this->d = $this->ff($this->d, $this->a, $this->b, $this->c, $x[$i+13], 12, -40341101);
- $this->c = $this->ff($this->c, $this->d, $this->a, $this->b, $x[$i+14], 17, -1502002290);
- $this->b = $this->ff($this->b, $this->c, $this->d, $this->a, $x[$i+15], 22, 1236535329);
-
- $this->a = $this->gg($this->a, $this->b, $this->c, $this->d, $x[$i+ 1], 5 , -165796510);
- $this->d = $this->gg($this->d, $this->a, $this->b, $this->c, $x[$i+ 6], 9 , -1069501632);
- $this->c = $this->gg($this->c, $this->d, $this->a, $this->b, $x[$i+11], 14, 643717713);
- $this->b = $this->gg($this->b, $this->c, $this->d, $this->a, $x[$i+ 0], 20, -373897302);
- $this->a = $this->gg($this->a, $this->b, $this->c, $this->d, $x[$i+ 5], 5 , -701558691);
- $this->d = $this->gg($this->d, $this->a, $this->b, $this->c, $x[$i+10], 9 , 38016083);
- $this->c = $this->gg($this->c, $this->d, $this->a, $this->b, $x[$i+15], 14, -660478335);
- $this->b = $this->gg($this->b, $this->c, $this->d, $this->a, $x[$i+ 4], 20, -405537848);
- $this->a = $this->gg($this->a, $this->b, $this->c, $this->d, $x[$i+ 9], 5 , 568446438);
- $this->d = $this->gg($this->d, $this->a, $this->b, $this->c, $x[$i+14], 9 , -1019803690);
- $this->c = $this->gg($this->c, $this->d, $this->a, $this->b, $x[$i+ 3], 14, -187363961);
- $this->b = $this->gg($this->b, $this->c, $this->d, $this->a, $x[$i+ 8], 20, 1163531501);
- $this->a = $this->gg($this->a, $this->b, $this->c, $this->d, $x[$i+13], 5 , -1444681467);
- $this->d = $this->gg($this->d, $this->a, $this->b, $this->c, $x[$i+ 2], 9 , -51403784);
- $this->c = $this->gg($this->c, $this->d, $this->a, $this->b, $x[$i+ 7], 14, 1735328473);
- $this->b = $this->gg($this->b, $this->c, $this->d, $this->a, $x[$i+12], 20, -1926607734);
-
- $this->a = $this->hh($this->a, $this->b, $this->c, $this->d, $x[$i+ 5], 4 , -378558);
- $this->d = $this->hh($this->d, $this->a, $this->b, $this->c, $x[$i+ 8], 11, -2022574463);
- $this->c = $this->hh($this->c, $this->d, $this->a, $this->b, $x[$i+11], 16, 1839030562);
- $this->b = $this->hh($this->b, $this->c, $this->d, $this->a, $x[$i+14], 23, -35309556);
- $this->a = $this->hh($this->a, $this->b, $this->c, $this->d, $x[$i+ 1], 4 , -1530992060);
- $this->d = $this->hh($this->d, $this->a, $this->b, $this->c, $x[$i+ 4], 11, 1272893353);
- $this->c = $this->hh($this->c, $this->d, $this->a, $this->b, $x[$i+ 7], 16, -155497632);
- $this->b = $this->hh($this->b, $this->c, $this->d, $this->a, $x[$i+10], 23, -1094730640);
- $this->a = $this->hh($this->a, $this->b, $this->c, $this->d, $x[$i+13], 4 , 681279174);
- $this->d = $this->hh($this->d, $this->a, $this->b, $this->c, $x[$i+ 0], 11, -358537222);
- $this->c = $this->hh($this->c, $this->d, $this->a, $this->b, $x[$i+ 3], 16, -722521979);
- $this->b = $this->hh($this->b, $this->c, $this->d, $this->a, $x[$i+ 6], 23, 76029189);
- $this->a = $this->hh($this->a, $this->b, $this->c, $this->d, $x[$i+ 9], 4 , -640364487);
- $this->d = $this->hh($this->d, $this->a, $this->b, $this->c, $x[$i+12], 11, -421815835);
- $this->c = $this->hh($this->c, $this->d, $this->a, $this->b, $x[$i+15], 16, 530742520);
- $this->b = $this->hh($this->b, $this->c, $this->d, $this->a, $x[$i+ 2], 23, -995338651);
-
- $this->a = $this->ii($this->a, $this->b, $this->c, $this->d, $x[$i+ 0], 6 , -198630844);
- $this->d = $this->ii($this->d, $this->a, $this->b, $this->c, $x[$i+ 7], 10, 1126891415);
- $this->c = $this->ii($this->c, $this->d, $this->a, $this->b, $x[$i+14], 15, -1416354905);
- $this->b = $this->ii($this->b, $this->c, $this->d, $this->a, $x[$i+ 5], 21, -57434055);
- $this->a = $this->ii($this->a, $this->b, $this->c, $this->d, $x[$i+12], 6 , 1700485571);
- $this->d = $this->ii($this->d, $this->a, $this->b, $this->c, $x[$i+ 3], 10, -1894986606);
- $this->c = $this->ii($this->c, $this->d, $this->a, $this->b, $x[$i+10], 15, -1051523);
- $this->b = $this->ii($this->b, $this->c, $this->d, $this->a, $x[$i+ 1], 21, -2054922799);
- $this->a = $this->ii($this->a, $this->b, $this->c, $this->d, $x[$i+ 8], 6 , 1873313359);
- $this->d = $this->ii($this->d, $this->a, $this->b, $this->c, $x[$i+15], 10, -30611744);
- $this->c = $this->ii($this->c, $this->d, $this->a, $this->b, $x[$i+ 6], 15, -1560198380);
- $this->b = $this->ii($this->b, $this->c, $this->d, $this->a, $x[$i+13], 21, 1309151649);
- $this->a = $this->ii($this->a, $this->b, $this->c, $this->d, $x[$i+ 4], 6 , -145523070);
- $this->d = $this->ii($this->d, $this->a, $this->b, $this->c, $x[$i+11], 10, -1120210379);
- $this->c = $this->ii($this->c, $this->d, $this->a, $this->b, $x[$i+ 2], 15, 718787259);
- $this->b = $this->ii($this->b, $this->c, $this->d, $this->a, $x[$i+ 9], 21, -343485551);
-
- $this->a = $this->add($this->a, $olda);
- $this->b = $this->add($this->b, $oldb);
- $this->c = $this->add($this->c, $oldc);
- $this->d = $this->add($this->d, $oldd);
- }
-
- return $this->rhex($this->a) . $this->rhex($this->b) . $this->rhex($this->c) . $this->rhex($this->d);
- }
-}
-
-Class EncodingKey {
- var $clMD5;
-
- function EncodingKey() {
- $this->clMD5 = new HashMD5();
- }
-
- function giveHashCode($pkey, $second, $email, $refid, $montant, $nom) {
-
- $modulo = $second % 4;
-
- switch($modulo) {
- case 0:
- $select = $montant;
- break;
- case 1:
- $select = $email;
- break;
- case 2:
- $select = $refid;
- break;
- case 3:
- $select = $nom;
- break;
- default:
- break;
- }
-
- return $this->clMD5->hash($pkey.$refid.$select);
- }
-
- function giveHashCode2($pkey, $second, $email, $refid, $montant, $nom) {
- $modulo = $second % 4;
-
- switch($modulo) {
- case 0:
- $select = $montant;
- break;
- case 1:
- $select = $email;
- break;
- case 2:
- $select = $refid;
- break;
- case 3:
- $select = $nom;
- break;
- default:
- break;
- }
- //echo "String PHP : ".$pkey.$refid.$montant.$email.$select."
";
-
- return $this->clMD5->hash($pkey.$refid.$montant.$email.$select);
-
- }
-}
-?>
diff --git a/modules/fianetfraud/fianet/classes/fianet_sender.php b/modules/fianetfraud/fianet/classes/fianet_sender.php
deleted file mode 100644
index 431ad97e6..000000000
--- a/modules/fianetfraud/fianet/classes/fianet_sender.php
+++ /dev/null
@@ -1,473 +0,0 @@
-orders[] = $order;
- }
- }
- else
- {
- foreach ($order as $o)
- {
- if (var_is_object_of_class($o, 'fianet_order_xml'))
- {
- $this->orders[] = $o;
- }
- }
- }
- }
-
- //Envoie toutes les commandes une par une
- function send_orders_singet()
- {
- if (!count($this->orders) > 0)
- {
- fianet_insert_log("fianet_sender.php - send_orders_singet()
\nNo order to send.");
- return;
- }
- if (!$this->check_order_data())
- {
- fianet_insert_log("fianet_sender.php - send_orders_singet()
\nOrders list is not valid.");
- return;
- }
-
- foreach ($this->orders as $order)
- {
- $xml = '' . "\n";
- $xml .= $order->get_xml();
- $data['siteid'] = $order->info_commande->siteid;
- $data['controlcallback'] = clean_xml($xml);
- $this->send_fsock_singet($data);
- }
- }
-
- //Envoie les commandes par lot de 25
- function send_orders_stacking()
- {
- if (!count($this->orders) > 0)
- {
- fianet_insert_log("fianet_sender.php - send_orders_stackfast()
\nNo order to send.");
- return;
- }
- if (!$this->check_order_data())
- {
- fianet_insert_log("fianet_sender.php - send_orders_stackfast()
\nOrders list is not valid.");
- return;
- }
- $stack = array();
- $count = 0;
- $results = array();
- foreach ($this->orders as $order)
- {
- if ($count < 25)
- {
- $count++;
- $stack[] = $order;
- }
- elseif ($count == 25)
- {
-
- $results = array_merge($results, $this->process_stack($stack));
- $stack = array();
- $stack[] = $order;
- $count = 1;
- }
- }
- $results = array_merge($results, $this->process_stack($stack));
- return ($results);
- }
-
- //Recupre une liste d'valuations
- function get_evaluation($order_list, $Separ = ',')
- {
- $evaluations = array();
- if (count($order_list) > 0)
- {
- $order_list_by_stack = array_chunk($order_list, 50, true);
- foreach ($order_list_by_stack as $stack)
- {
- $evaluations = array_merge($this->get_evaluation_by_stack($stack, $Separ), $evaluations);
- }
- }
- return ($evaluations);
- }
-
-
- function get_evaluation_by_stack($order_list, $Separ = ',')
- {
- if (count($order_list) > 0)
- {
- if ($this->mode == 'production')
- {
- $url = URL_SAC_PROD;
- }
- else
- {
- $url = URL_SAC_TEST;
- }
- $siteid = FIANET_SAC_SITE_ID;
- $pwd = FIANET_SAC_PWD;
- $mode = 'mini';
- $repFT = '0';
- $listID = '';
- foreach ($order_list as $id_order)
- {
- if ($listID != '')
- {
- $listID .= $Separ . $id_order;
- }
- else
- {
- $listID .= $id_order;
- }
- }
- $data['SiteID'] = $siteid;
- $data['Pwd'] = $pwd;
- $data['Mode'] = $mode;
- $data['RepFT'] = $repFT;
- $data['ListID'] = $listID;
- $data['Separ'] = $Separ;
-
- $s = new fianet_socket($url, URl_SAC_GETVALIDSTACK, 'POST', $data);
- $result = $s->send();
- $evaluations = array();
- if ($result === false)
- {
- fianet_insert_log("fianet_sender.php - get_evaluation()
\nError when opening file :
\n".$url);
- }
- else
- {
- $xmldata = $result['data'];
- $xml_array = xml2array($xmldata);
- //debug($xml_array);
- $evaluations = $this->process_result($xml_array);
- return ($evaluations);
- }
- return ($evaluations);
- }
- }
-
- /*
- mthodes prives
- */
-
- function process_result($xml_array)
- {
- $evaluations = array();
- //debug($xml_array, 'xml_array');
- if (isset($xml_array['stack']['result']))
- {
- if (isset($xml_array['stack']['result'][0]))
- {
- foreach ($xml_array['stack']['result'] as $res)
- {
- if (eregi("error", $res['attr']['retour']))
- {
- fianet_insert_log("fianet_sender.php - process_result()
\nErreur :
\n".$res['attr']['message']);
- }
- else
- {
- //$index = count($evaluations);
- //$evaluations[$index] = $this->process_result_array($res);
- $eval = $this->process_result_array($res);
- if ($eval['refid'] != null)
- {
- $evaluations[$eval['refid']] = $eval;
- }
- }
- }
- }
- else
- {
- $res = $xml_array['stack']['result'];
- if (eregi("error", $res['attr']['retour']))
- {
- fianet_insert_log("fianet_sender.php - process_result()
\nErreur :
\n".$res['attr']['message']);
- }
- else
- {
- //$index = count($evaluations);
- $eval = $this->process_result_array($res);
- if ($eval['refid'] != null)
- {
- $evaluations[$eval['refid']] = $eval;
- }
- }
- }
- }
- else if (isset($xml_array['result']['transaction']))
- {
- if (isset($xml_array['result']['transaction'][0]))
- {
- foreach ($xml_array['result']['transaction'] as $transaction)
- {
- $eval = $this->process_transaction_array($transaction);
- //debug($eval);
- if ($eval['refid'] != null)
- {
- $evaluations[$eval['refid']] = $eval;
- }
- }
- }
- else
- {
- $transaction = $xml_array['result']['transaction'];
- $eval = $this->process_transaction_array($transaction);
- if ($eval['refid'] != null)
- {
- $evaluations[$eval['refid']] = $eval;
- }
- }
- }
-
- return ($evaluations);
- }
-
- function process_result_array($res)
- {
- //debug($res, 'Result');
- $eval['refid'] = $res['attr']['refid'];
- if ( $res['attr']['retour'] == 'absente')
- {
- $eval['info'] = 'absente';
- }
- else
- {
- if (isset($res['transaction'][0]))
- {
- $transaction = end($res['transaction']);
- }
- else
- {
- $transaction = $res['transaction'];
- }
- $etat = $this->process_transaction_array($transaction);
- $eval['eval'] = $etat['eval'];
- $eval['info'] = $etat['info'];
- $eval['cid'] = $etat['cid'];
- }
- return ($eval);
- }
-
- function process_transaction_array($transaction)
- {
- $eval = array();
- //debug($transaction);
-
- if ($transaction['attr']['avancement'] == 'error')
- {
- $eval['eval'] = 'error';
- $eval['info'] = $transaction['detail']['value'];
- $eval['cid'] = '';
- $eval['refid'] = $transaction['attr']['refid'];
- }
- elseif ($transaction['attr']['avancement'] == 'encours')
- {
- $eval['eval'] = 'encours';
- $eval['info'] = $transaction['detail']['value'];
- $eval['cid'] = '';
- $eval['refid'] = $transaction['attr']['refid'];
- }
- elseif ($transaction['attr']['avancement'] == 'traitee')
- {
- $eval['eval'] = $transaction['analyse']['eval']['value'];
- $eval['info'] = $transaction['analyse']['eval']['attr']['info'];
- $eval['cid'] = $transaction['attr']['cid'];
- $eval['refid'] = $transaction['attr']['refid'];
- }
-
- return ($eval);
- }
-
- function process_stack($stack)
- {
- $xml = '' . "\n";
- $xml .= '
' . "\n";
- foreach ($stack as $order)
- {
- $xml .= $order->get_xml();
- if (!isset($siteid))
- {
- $siteid = $order->info_commande->siteid;
- }
- }
- $xml .= '';
- $data['siteid'] = $siteid;
- $data['controlcallback'] = clean_xml($xml);
- $result = array();
- $result = $this->send_fsock_stacking($data);
- return ($result);
- }
-
- function process_result_stacking($xml_data)
- {
- $result = array();
- $xml_array = xml2array($xml_data);
- //debug($xml_array);
- if (isset($xml_array['validstack']['unluck']))
- {
- fianet_insert_log("fianet_sender.php - process_result_stacking()
\nError :
\n".$xml_array['validstack']['unluck']['value']);
- return ($result);
- }
- elseif (isset($xml_array['validstack']['result']))
- {
- $xml_array = $xml_array['validstack']['result'];
- //debug($xml_array);
- if (isset($xml_array[0]))
- {
- foreach ($xml_array as $transaction_result)
- {
- $index = count($result);
- $result[$index]['refid'] = $transaction_result['attr']['refid'];
- $result[$index]['etat'] = $transaction_result['attr']['avancement'];
- $result[$index]['details'] = $transaction_result['detail']['value'];
- }
- }
- else
- {
- $index = count($result);
- $result[$index]['refid'] = $xml_array['attr']['refid'];
- $result[$index]['etat'] = $xml_array['attr']['avancement'];
- $result[$index]['details'] = $xml_array['detail']['value'];
- }
- }
- return ($result);
- }
-
- function check_order_data()
- {
- $res = true;
- foreach ($this->orders as $order)
- {
- if (!var_is_object_of_class($order, 'fianet_order_xml'))
- {
- $res = false;
- }
- }
- return ($res);
- }
-
- function send_fsock_singet($data)
- {
- if ($this->mode == 'production')
- {
- $url_action = URL_SAC_PROD;
- }
- else
- {
- $url_action = URL_SAC_TEST;
- }
- $path = URl_SAC_SINGET;
-
- $s = new fianet_socket($url_action, $path, 'GET', $data);
- $res = $s->send();
- if ($res === false)
- {
- fianet_insert_log("fianet_sender.php - send_fsock_post()
\nError when connecting :
\n".$url_action . $path);
- return (false);
- }
- return (true);
- }
-
- function send_fsock_stacking($data)
- {
- if ($this->mode == 'production')
- {
- $url_action = URL_SAC_PROD;
- }
- else
- {
- $url_action = URL_SAC_TEST;
- }
- $path = URl_SAC_STACKING;
-
- $s = new fianet_socket($url_action, $path, 'POST', $data);
- $res = $s->send();
- if ($res === false)
- {
- fianet_insert_log("fianet_sender.php - send_fsock_post()
\nError when connecting :
\n".$url_action . $path);
- return (false);
- }
- else
- {
- $result = $this->process_result_stacking($res['data']);
- return ($result);
- }
- }
-
- function get_reevaluated_order()
- {
- if ($this->mode == 'production')
- {
- $url_action = URL_SAC_PROD;
- }
- else
- {
- $url_action = URL_SAC_TEST;
- }
- $path = URl_SAC_GETALERT;
- $mode = 'new';
- $output = 'mini';
- $repFT = '0';
-
- $data['SiteID'] = FIANET_SAC_SITE_ID;
- $data['Pwd'] = FIANET_SAC_PWD;
- $data['Mode'] = $mode;
- $data['Output'] = $output;
- $data['RepFT'] = $repFT;
-
- $s = new fianet_socket($url_action, $path, "POST", $data);
- $res = $s->send();
- $evaluations = array();
- if ($res === false)
- {
- fianet_insert_log("fianet_sender.php - get_reevaluated_order()
\nError when opening file :
\n".$url);
- }
- else
- {
- $xmldata = $res['data'];
- //Le code comment suivant permet de tester la rception d'une revaluation
- /*$xmldata = '
-
-
- Paiement valid
-
- 100
- Transactions traiter/Nouvelles/Contrle visuel
-
-
-
- Paiement valid
-
- 100
- Transactions traiter/Nouvelles/Contrle visuel
-
-
- ';*/
- $xml_array = xml2array($xmldata);
- if (isset($xml_array['result']['attr']['retour']))
- {
- if ($xml_array['result']['attr']['retour'] == "param_error")
- {
- fianet_insert_log("fianet_sender.php - get_reevaluated_order()
\nParam_error :
\n".$xml_array['result']['attr']['message']."\n
$url_action");
- }
- }
- $evaluations = $this->process_result($xml_array);
- }
- return ($evaluations);
- }
-}
-
diff --git a/modules/fianetfraud/fianet/classes/fianet_sender.private.inc.php b/modules/fianetfraud/fianet/classes/fianet_sender.private.inc.php
deleted file mode 100644
index 6bfd22f76..000000000
--- a/modules/fianetfraud/fianet/classes/fianet_sender.private.inc.php
+++ /dev/null
@@ -1,235 +0,0 @@
-\nErreur :
\n".$res['attr']['message']);
- }
- else
- {
- $index = count($evaluations);
- $evaluations[$index] = $this->process_result_array($res);
- }
- }
- }
- else
- {
- $res = $xml_array['stack']['result'];
- if (eregi("error", $res['attr']['retour']))
- {
- fianet_insert_log("fianet_sender.php - process_result()
\nErreur :
\n".$res['attr']['message']);
- }
- else
- {
- $index = count($evaluations);
- $evaluations[$index] = $this->process_result_array($res);
- }
- }
- return ($evaluations);
-}
-
-function process_result_array($res)
-{
- //debug($res, 'Result');
- $eval['refid'] = $res['attr']['refid'];
- if ( $res['attr']['retour'] == 'absente')
- {
- $eval['info'] = 'absente';
- }
- else
- {
- if (isset($res['transaction'][0]))
- {
- $transaction = end($res['transaction']);
- }
- else
- {
- $transaction = $res['transaction'];
- }
- $etat = $this->process_transaction_array($transaction);
- $eval['eval'] = $etat['eval'];
- $eval['info'] = $etat['info'];
- $eval['cid'] = $etat['cid'];
- }
- return ($eval);
-}
-
-function process_transaction_array($transaction)
-{
- $eval = array();
- //debug($transaction);
-
- if ($transaction['attr']['avancement'] == 'error')
- {
- $eval['refid'] = $transaction['attr']['refid'];
- $eval['eval'] = 'error';
- $eval['info'] = $transaction['detail']['value'];
- $eval['cid'] = '';
- }
- elseif ($transaction['attr']['avancement'] == 'encours')
- {
- $eval['refid'] = $transaction['attr']['refid'];
- $eval['eval'] = 'encours';
- $eval['info'] = $transaction['detail']['value'];
- $eval['cid'] = '';
- }
- elseif ($transaction['attr']['avancement'] == 'traitee')
- {
- $eval['refid'] = $transaction['attr']['refid'];
- $eval['eval'] = $transaction['analyse']['eval']['value'];
- $eval['info'] = $transaction['analyse']['eval']['attr']['info'];
- $eval['cid'] = $transaction['attr']['cid'];
- }
-
- return ($eval);
-}
-
-function process_stack($stack)
-{
- $xml = '' . "\n";
- $xml .= '
' . "\n";
- foreach ($stack as $order)
- {
- $xml .= $order->get_xml();
- if (!isset($siteid))
- {
- $siteid = $order->info_commande->siteid;
- }
- }
- $xml .= '';
- $data['siteid'] = $siteid;
- $data['controlcallback'] = clean_xml($xml);
- $this->send_fsock_stacking($data);
-}
-
-function process_result_stacking($xml_data)
-{
- $result = array();
- $xml_array = xml2array($xml_data);
- //debug($xml_array);
- if (isset($xml_array['validstack']['unluck']))
- {
- fianet_insert_log("fianet_sender.php - process_result_stacking()
\nError :
\n".$xml_array['validstack']['unluck']['value']);
- return ($result);
- }
- elseif (isset($xml_array['validstack']['result']))
- {
- $xml_array = $xml_array['validstack']['result'];
- //debug($xml_array);
- if (isset($xml_array[0]))
- {
- foreach ($xml_array as $transaction_result)
- {
- $index = count($result);
- $result[$index]['refid'] = $transaction_result['attr']['refid'];
- $result[$index]['etat'] = $transaction_result['attr']['avancement'];
- $result[$index]['details'] = $transaction_result['detail']['value'];
- }
- }
- else
- {
- $index = count($result);
- $result[$index]['refid'] = $xml_array['attr']['refid'];
- $result[$index]['etat'] = $xml_array['attr']['avancement'];
- $result[$index]['details'] = $xml_array['detail']['value'];
- }
- }
- return ($result);
-}
-
-function check_order_data()
-{
- $res = true;
- foreach ($this->orders as $order)
- {
- if (!var_is_object_of_class($order, 'fianet_order_xml'))
- {
- $res = false;
- }
- }
- return ($res);
-}
-
-function send_fsock_singet($data)
-{
- if ($mode == 'production')
- {
- $url_action = URL_SAC_PROD;
- }
- else
- {
- $url_action = URL_SAC_TEST;
- }
- $path = URl_SAC_SINGET;
-
- $s = new fianet_socket($url_action, $path, 'GET', $data);
- $res = $s->send();
- if ($res === false)
- {
- fianet_insert_log("fianet_sender.php - send_fsock_post()
\nError when connecting :
\n".$url_action . $path);
- return (false);
- }
- return (true);
-}
-
-function send_fsock_stacking($data)
-{
- if ($this->mode == 'production')
- {
- $url_action = URL_SAC_PROD;
- }
- else
- {
- $url_action = URL_SAC_TEST;
- }
- $path = URl_SAC_STACKING;
-
- $s = new fianet_socket($url_action, $path, 'POST', $data);
- $res = $s->send();
- if ($res === false)
- {
- fianet_insert_log("fianet_sender.php - send_fsock_post()
\nError when connecting :
\n".$url_action . $path);
- return (false);
- }
- else
- {
- $result = $this->process_result_stacking($res['data']);
- //debug($result);
- return ($result);
- }
-}
-
-function process_result_nostack($xml_array)
-{
- $evaluations = array();
- //debug($xml_array, 'xml_array');
- if (isset($xml_array['result']['transaction'][0]))
- {
- foreach ($xml_array['result']['transaction'] as $res)
- {
- $eval = $this->process_transaction_array($res);
- if ($eval['refid'] != null)
- {
- $evaluations[$eval['refid']] = $eval;
- }
- }
- }
- else
- {
- $res = $xml_array['result']['transaction'];
- $eval = $this->process_transaction_array($res);
- if ($eval['refid'] != null)
- {
- $evaluations[$eval['refid']] = $eval;
- }
- }
- return ($evaluations);
-}
-
diff --git a/modules/fianetfraud/fianet/classes/fianet_socket.php b/modules/fianetfraud/fianet/classes/fianet_socket.php
deleted file mode 100644
index 4d8a8ab1d..000000000
--- a/modules/fianetfraud/fianet/classes/fianet_socket.php
+++ /dev/null
@@ -1,172 +0,0 @@
-data = $data;
- }
- $this->parse_fianet_url($fianet_url, $fianet_file);
- if (strtoupper($method) == 'GET' || strtoupper($method) == 'POST')
- {
- $this->method = strtoupper($method);
- }
- }
-
- function parse_fianet_url($fianet_url, $fianet_file)
- {
- if (ereg("^http://", $fianet_url))
- {
- $this->is_ssl = false;
- $this->host = eregi_replace("http://([^/]+)/.+", "\\1", $fianet_url);
- $this->port = 80;
- $this->path = eregi_replace("http://[^/]+/", "/", $fianet_url) . $fianet_file;
- }
- if (ereg("^https://", $fianet_url))
- {
- $this->is_ssl = true;
- $this->host = eregi_replace("https://([^/]+)/.+", "\\1", $fianet_url);
- $this->port = 443;
- $this->path = eregi_replace("https://[^/]+/", "/", $fianet_url) . $fianet_file;
- }
- //debug($this->path);
- }
-
- function determine_boundary()
- {
- srand((double)microtime() * 1000000);
- return ("---------------------".substr(md5(rand(0,32000)),0,10));
- }
-
- function build_header($boundary, $data)
- {
- if ($this->method == 'POST')
- {
- $header = "POST ".$this->path." HTTP/1.0\r\n";
- $header .= "Host: ".$this->host."\r\n";
- $header .= "Content-type: application/x-www-form-urlencoded; boundary=$boundary\r\n";
- $header .= "Content-length: " . strlen($data) . "\r\n\r\n";
- }
- elseif ($this->method == 'GET')
- {
- if ($data != '')
- {
- if (strlen($this->path."?".$data) > 2048)
- {
- fianet_insert_log("fianet_socket.php - build_header()
\nMaximum length in get method reached(".strlen($this->path."?".$data).") :
\n".$this->path."?".$data);
- }
- $header = "GET ".$this->path."?".$data." HTTP/1.1\r\n";
- }
- else
- {
- $header = "GET ".$this->path." HTTP/1.1\r\n";
- }
- $header .= "Host: ".$this->host."\r\n";
- $header .= "Connection: close\r\n\r\n";
- }
- return ($header);
- }
-
- function build_data($boundary)
- {
- $data = "";
- foreach($this->data as $index => $value)
- {
- if ($data == '')
- {
- $data .= $index . '='. urlencode($value);
- }
- else
- {
- $data .= '&'.$index . '='. urlencode($value);
- }
- }
- return ($data);
- }
-
- function send()
- {
- $boundary = $this->determine_boundary();
- $data = $this->build_data($boundary);
- $header = $this->build_header($boundary, $data);
-
- //debug($header, 'header');
- //debug(htmlentities($data), 'data');
- $response = $this->connect($header, $data);
- if ($response != false)
- {
- $d['header'] = $response['header'];
- $d['data'] = htmlentities($response['data']);
- //debug($d, 'Rponse');
- }
-
- return ($response);
- }
-
- function connect($header, $data)
- {
- $res['header'] = "";
- $res['data'] = "";
- if ($this->is_ssl)
- {
- $host = 'ssl://'.$this->host . ':'.$this->port;
- $socket = fsockopen ('ssl://'.$this->host, $this->port);
- }
- else
- {
- $host = $this->host . ':' . $this->port;
- $socket = fsockopen ($this->host, $this->port);
- }
- if ($socket !== false)
- {
- $data_reached = false;
- if (@fputs($socket, $header.$data))
- {
- while (!feof($socket))
- {
- $line = fgets($socket);
- if (!$data_reached)
- {
- if ($line == "\r\n")
- {
- $data_reached = true;
- }
- else
- {
- $res['header'] .= $line;
- }
- }
- else
- {
- $res['data'] .= $line;
- }
- }
- }
- else
- {
- fianet_insert_log("fianet_socket.php - connect()
\nEnvoie des donnes impossible sur :
\n".$host);
- $res = false;
- }
- fclose($socket);
- }
- else
- {
- fianet_insert_log("fianet_socket.php - connect()
\nConnexion socket impossible :
\n".$host);
- $res = false;
- }
- return ($res);
- }
- }
diff --git a/modules/fianetfraud/fianet/classes/index.php b/modules/fianetfraud/fianet/classes/index.php
deleted file mode 100644
index 4e2611d37..000000000
--- a/modules/fianetfraud/fianet/classes/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision$
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
\ No newline at end of file
diff --git a/modules/fianetfraud/fianet/classes/order/fianet_adress_xml.php b/modules/fianetfraud/fianet/classes/order/fianet_adress_xml.php
deleted file mode 100644
index 2740b5de9..000000000
--- a/modules/fianetfraud/fianet/classes/order/fianet_adress_xml.php
+++ /dev/null
@@ -1,76 +0,0 @@
-type != null)
- {
- $xml .= "\t" . '
' . "\n";
- if ($this->rue1 != '')
- {
- $xml .= "\t\t" . ''.clean_invalid_char($this->rue1).'' . "\n";
- }
- else
- {
- fianet_insert_log("fianet_adress_xml.php - get_xml()
\n rue1 is undefined");
- return;
- }
- if ($this->rue2 != "")
- {
- $xml .= "\t\t" . ''.clean_invalid_char($this->rue2).'' . "\n";
- }
- if ($this->cpostal != "")
- {
- $xml .= "\t\t" . ''.clean_invalid_char($this->cpostal).'' . "\n";
- }
- else
- {
- fianet_insert_log("fianet_adress_xml.php - get_xml()
\n cpostal is undefined");
- return;
- }
- if ($this->ville != "")
- {
- $xml .= "\t\t" . ''.clean_invalid_char($this->ville).'' . "\n";
- }
- else
- {
- fianet_insert_log("fianet_adress_xml.php - get_xml()
\n ville is undefined");
- return;
- }
- if ($this->pays != "")
- {
- $xml .= "\t\t" . ''.clean_invalid_char($this->pays).'' . "\n";
- }
- else
- {
- fianet_insert_log("fianet_adress_xml.php - get_xml()
\n pays is undefined");
- return;
- }
- if ($this->appartement != null)
- {
- if (var_is_object_of_class($this->appartement, 'fianet_appartment_xml'))
- {
- $xml .= $this->appartement->get_xml();
- }
- else
- {
- fianet_insert_log("fianet_adress_xml.php - get_xml()
\nAppartement is not an object of type fianet_appartment_xml");
- }
- }
- $xml .= "\t" . '' . "\n";
- }
- return ($xml);
- }
- }
-
diff --git a/modules/fianetfraud/fianet/classes/order/fianet_appartment_xml.php b/modules/fianetfraud/fianet/classes/order/fianet_appartment_xml.php
deleted file mode 100644
index 73e003ea6..000000000
--- a/modules/fianetfraud/fianet/classes/order/fianet_appartment_xml.php
+++ /dev/null
@@ -1,44 +0,0 @@
-' . "\n";
- if ($this->digicode1 != '')
- {
- $xml .= "\t\t\t" . '
'.clean_invalid_char($this->digicode1).'' . "\n";
- }
- if ($this->digicode2 != '')
- {
- $xml .= "\t\t\t" . '
'.clean_invalid_char($this->digicode2).'' . "\n";
- }
- if ($this->escalier != '')
- {
- $xml .= "\t\t\t" . '
'.clean_invalid_char($this->escalier).'' . "\n";
- }
- if ($this->etage != '')
- {
- $xml .= "\t\t\t" . '
'.clean_invalid_char($this->etage).'' . "\n";
- }
- if ($this->nporte != '')
- {
- $xml .= "\t\t\t" . '
'.clean_invalid_char($this->nporte).'' . "\n";
- }
- if ($this->batiment != '')
- {
- $xml .= "\t\t\t" . '
'.clean_invalid_char($this->batiment).'' . "\n";
- }
- $xml .= "\t\t" . '' . "\n";
- return ($xml);
- }
- }
-
diff --git a/modules/fianetfraud/fianet/classes/order/fianet_billing_adress_xml.php b/modules/fianetfraud/fianet/classes/order/fianet_billing_adress_xml.php
deleted file mode 100644
index f808b986d..000000000
--- a/modules/fianetfraud/fianet/classes/order/fianet_billing_adress_xml.php
+++ /dev/null
@@ -1,13 +0,0 @@
-list = new fianet_product_list_xml();
- $this->transport = new fianet_transport_xml();
- $this->siteid = FIANET_SAC_SITE_ID;
- }
-
-
- function get_xml()
- {
- $xml = '';
- if (!($this->siteid != "" && $this->refid != "" && $this->montant > 0 && $this->devise != ""))
- {
- fianet_insert_log("fianet_info_order_xml.php - get_xml()
Somes values are undefined\n");
- }
- if ($this->transport == null)
- {
- fianet_insert_log("fianet_info_order_xml.php - get_xml()
Transport is undefined\n");
- }
- if ($this->list == null)
- {
- fianet_insert_log("fianet_info_order_xml.php - get_xml()
List products is undefined\n");
- }
- $xml .= "\t" . '
' . "\n";
- $xml .= "\t\t" . ''.$this->siteid.'' . "\n";
- $xml .= "\t\t" . ''.$this->refid.'' . "\n";
- $xml .= "\t\t" . ''.number_format($this->montant, 2, '.', '').'' . "\n";
- if ($this->ip != null && $this->timestamp != null)
- {
- $xml .= "\t\t" . ''.$this->ip.'' . "\n";
- }
- $xml .= $this->transport->get_xml();
- $xml .= $this->list->get_xml();
- $xml .= "\t" . '' . "\n";
- return ($xml);
- }
- }
-
diff --git a/modules/fianetfraud/fianet/classes/order/fianet_order_xml.php b/modules/fianetfraud/fianet/classes/order/fianet_order_xml.php
deleted file mode 100644
index c6832c26a..000000000
--- a/modules/fianetfraud/fianet/classes/order/fianet_order_xml.php
+++ /dev/null
@@ -1,68 +0,0 @@
-billing_user = new fianet_billing_user_xml();
- $this->billing_adress = new fianet_billing_adress_xml();
- $this->info_commande = new fianet_info_order_xml();
- $this->payment = new fianet_payment_xml();
- }
-
- function reset()
- {
- $this->billing_user = new fianet_billing_user_xml();
- $this->delivery_user = null;
- $this->billing_adress = new fianet_billing_adress_xml();
- $this->delivery_adress = null;
- $this->info_commande = new fianet_info_order_xml();
- $this->payment = new fianet_payment_xml();
- }
-
- function get_xml()
- {
- $xml = '';
- $xml .= '
' . "\n";
- $xml .= $this->billing_user->get_xml();
- $xml .= $this->billing_adress->get_xml();
- if ($this->delivery_user != null)
- {
- if (var_is_object_of_class($this->delivery_user, 'fianet_delivery_user_xml'))
- {
- $xml .= $this->delivery_user->get_xml();
- }
- else
- {
- fianet_insert_log("fianet_order_xml.php - get_xml()
\nDelivery user is not an object of type fianet_delivery_user_xml");
- }
- }
- if ($this->delivery_adress != null && ($this->info_commande->transport->type == 4 || $this->info_commande->transport->type == 5))
- {
- if (var_is_object_of_class($this->delivery_adress, 'fianet_delivery_adress_xml'))
- {
- $xml .= $this->delivery_adress->get_xml();
- }
- else
- {
- fianet_insert_log("fianet_order_xml.php - get_xml()
\nDelivery adress is not an object of type fianet_delivery_adress_xml");
- }
- }
- $xml .= $this->info_commande->get_xml();
- $xml .= $this->payment->get_xml();
- $xml .= '';
-
- save_flux_xml($xml, $this->info_commande->refid);
- return ($xml);
- }
-
- }
-
diff --git a/modules/fianetfraud/fianet/classes/order/fianet_paraobject_xml.php b/modules/fianetfraud/fianet/classes/order/fianet_paraobject_xml.php
deleted file mode 100644
index 181438f73..000000000
--- a/modules/fianetfraud/fianet/classes/order/fianet_paraobject_xml.php
+++ /dev/null
@@ -1,23 +0,0 @@
-name = $name;
- $this->value = $value;
- }
-
- function get_xml()
- {
- $xml = "\t". '
' . "\n";
- $xml .= "\t\t". ''.$this->name.'' . "\n";
- $xml .= "\t\t". ''.$this->value.'' . "\n";
- $xml .= "\t". '' . "\n";
- return ($xml);
- }
-}
-
diff --git a/modules/fianetfraud/fianet/classes/order/fianet_payment_xml.php b/modules/fianetfraud/fianet/classes/order/fianet_payment_xml.php
deleted file mode 100644
index 73c4642cc..000000000
--- a/modules/fianetfraud/fianet/classes/order/fianet_payment_xml.php
+++ /dev/null
@@ -1,76 +0,0 @@
-Cb number format is invalid, must be 00001111222233334444\n");
- }
- else if (!eregi("^[0-9]{2}/[0-9]{4}$", $dateval))
- {
- fianet_insert_log("fianet_payment_xml.php - set_cb_number()
Validity date format is invalid, must be MM/YYYY\n");
- }
- else
- {
- $crypt = new HashMD5();
- $this->numcb = $crypt->hash($cb);
- $this->dateval = $crypt->hash($dateval);
- }
- }
-
- function get_xml()
- {
- $xml = '';
- if ($this->type != null)
- {
- $xml .= "\t".'
'."\n";
-
- $xml .= "\t\t".''.$this->type.''."\n";
- if ($this->type == 'carte' || $this->type == 'paypal')
- {
- if ($this->numcb != null)
- {
- $xml .= "\t\t".''.$this->numcb.''."\n";
- }
- if ($this->dateval != null)
- {
- $xml .= "\t\t".''.$this->dateval.''."\n";
- }
- if ($this->bin != null)
- {
- $xml .= "\t\t".''.$this->bin.''."\n";
- }
- if ($this->bin4 != null)
- {
- $xml .= "\t\t".''.$this->bin4.''."\n";
- }
- if ($this->bin42 != null)
- {
- $xml .= "\t\t".''.$this->bin42.''."\n";
- }
- }
- $xml .= "\t".''."\n";
- }
- else
- {
- fianet_insert_log("fianet_payment_xml.php - get_xml()
Type is undefined\n");
- return;
- }
- return ($xml);
- }
- }
-
diff --git a/modules/fianetfraud/fianet/classes/order/fianet_product_list_xml.php b/modules/fianetfraud/fianet/classes/order/fianet_product_list_xml.php
deleted file mode 100644
index 52a47dfe5..000000000
--- a/modules/fianetfraud/fianet/classes/order/fianet_product_list_xml.php
+++ /dev/null
@@ -1,49 +0,0 @@
-products_list[] = $product;
- }
- else
- {
- fianet_insert_log("fianet_product_list_xml.php - add_product()
Data are not a valid fianet_product_xml type\n");
- }
- }
-
- function get_xml()
- {
- $xml = '';
- if (count($this->products_list) > 0)
- {
-
- $xml .= "\t\t". '
' . "\n";
- foreach ($this->products_list as $product)
- {
- $xml .= $product->get_xml();
- }
- $xml .= "\t\t". '
' . "\n";
- }
- return ($xml);
- }
-
- function count_nbproduct()
- {
- $n = 0;
- foreach ($this->products_list as $product)
- {
- $n += $product->nb;
- }
- return ($n);
- }
- }
-
diff --git a/modules/fianetfraud/fianet/classes/order/fianet_product_xml.php b/modules/fianetfraud/fianet/classes/order/fianet_product_xml.php
deleted file mode 100644
index 5b42e7963..000000000
--- a/modules/fianetfraud/fianet/classes/order/fianet_product_xml.php
+++ /dev/null
@@ -1,59 +0,0 @@
-name != null)
- {
- $nb = '';
- $prixunit = '';
- if ($this->type != null)
- {
- $type = ' type="'.$this->type.'"';
- }
- else
- {
- fianet_insert_log("fianet_product_xml.php - get_xml()
\nproduct type is missing");
- return;
- }
- if ($this->ref != null)
- {
- $ref = ' ref="'.clean_invalid_char($this->ref).'"';
- }
- else
- {
- fianet_insert_log("fianet_product_xml.php - get_xml()
\nproduct ref is missing");
- return;
- }
- if ($this->nb != null)
- {
- $nb = ' nb="'.$this->nb.'"';
- }
- if ($this->prixunit != null)
- {
- $prixunit = ' prixunit="'.number_format($this->prixunit, 2, '.', '').'"';
- }
- $xml .= "\t\t\t
".clean_invalid_char($this->name)."\n";
- }
- else
- {
- fianet_insert_log("fianet_product_xml.php - get_xml()
\nproduct name is missing");
- return;
- }
- return ($xml);
- }
- }
-
diff --git a/modules/fianetfraud/fianet/classes/order/fianet_rnp_info_order_xml.php b/modules/fianetfraud/fianet/classes/order/fianet_rnp_info_order_xml.php
deleted file mode 100644
index b46b4a54e..000000000
--- a/modules/fianetfraud/fianet/classes/order/fianet_rnp_info_order_xml.php
+++ /dev/null
@@ -1,36 +0,0 @@
-list = new fianet_product_list_xml();
- $this->transport = new fianet_transport_xml();
- $this->siteid = FIANET_RNP_SITE_ID;
- }
-
- function get_xml()
- {
- $xml = '';
-
- if ($this->siteid == '' || $this->refid == '' || $this->montant <= 0 || $this->devise == '')
- {
- fianet_insert_log("fianet_rnp_info_order_xml.php - get_xml()
Somes values are undefined\n");
- }
- $xml .= "\t" . '
' . "\n";
- $xml .= "\t\t" . ''.$this->siteid.'' . "\n";
- $xml .= "\t\t" . ''.$this->refid.'' . "\n";
- $xml .= "\t\t" . ''.number_format($this->montant, 2, '.', '').'' . "\n";
- $xml .= $this->transport->get_xml();
- $xml .= $this->list->get_xml();
- $xml .= "\t" . '' . "\n";
- return ($xml);
- }
- }
-
diff --git a/modules/fianetfraud/fianet/classes/order/fianet_rnp_order_xml.php b/modules/fianetfraud/fianet/classes/order/fianet_rnp_order_xml.php
deleted file mode 100644
index 4bbd0ca3b..000000000
--- a/modules/fianetfraud/fianet/classes/order/fianet_rnp_order_xml.php
+++ /dev/null
@@ -1,142 +0,0 @@
-billing_user = new fianet_billing_user_xml();
- $this->billing_adress = new fianet_billing_adress_xml();
- $this->info_commande = new fianet_rnp_info_order_xml();
- $this->wallet = new fianet_rnp_wallet_xml();
- }
-
- function reset()
- {
- $this->billing_user = new fianet_billing_user_xml();
- $this->delivery_user = null;
- $this->billing_adress = new fianet_billing_adress_xml();
- $this->delivery_adress = null;
- $this->info_commande = new fianet_rnp_info_order_xml();
- $this->wallet = new fianet_rnp_wallet_xml();
- }
-
- function get_xml()
- {
- $xml = '';
- $xml .= '' . "\n";
- $xml .= '
' . "\n";
- $xml .= $this->billing_user->get_xml();
- $xml .= $this->billing_adress->get_xml();
- if ($this->delivery_user != null)
- {
- if (var_is_object_of_class($this->delivery_user, 'fianet_delivery_user_xml'))
- {
- $xml .= $this->delivery_user->get_xml();
- }
- else
- {
- fianet_insert_log("fianet_rnp_order_xml.php - get_xml()
\nDelivery user is not an object of type fianet_delivery_user_xml");
- }
- }
- if ($this->delivery_adress != null && ($this->info_commande->transport->type == 4 || $this->info_commande->transport->type == 5))
- {
- if (var_is_object_of_class($this->delivery_adress, 'fianet_delivery_adress_xml'))
- {
- $xml .= $this->delivery_adress->get_xml();
- }
- else
- {
- fianet_insert_log("fianet_rnp_order_xml.php - get_xml()
\nDelivery adress is not an object of type fianet_delivery_adress_xml");
- }
- }
- $xml .= $this->info_commande->get_xml();
-
- $this->wallet->generate_wallet_crypt_data($this->info_commande->refid, $this->billing_user->nom, $this->billing_user->email, $this->info_commande->montant);
- $xml .= $this->wallet->get_xml();
-
- $xml .= '';
-
- save_flux_xml($xml, $this->info_commande->refid);
- return ($xml);
- }
-
- /*
- Cette fonction gnre le formulaire de redirection vers ReceiveAndPay
- Elle prends des paramtres optionnels
- url_call : url de retour sur le site marchand
- url_sys : url de rponse des tags asynchrone pour le serveur ReceiveAndPay
- ParamCallBack : tableau associatif des donnes que vous souhaitez voir retourner par le serveur ReceiveAndPay sur url_sys et url_call
- typeIHM : 1 pour carte bancaire seulement, 2 pour crdit uniquement, 3 pour les deux en mme temps
- enProd : mettre true pour rediriger vers ReceiveAndPay de production
- auto_send : si true : gnre un javascript qui soumettra immdiatement le formulaire
- */
- function get_formular($url_call = null, $url_sys = null, $ParamCallBack = array(), $typeIHM = 3, $enProd = false, $auto_send = true)
- {
-
- $flux = $this->get_xml();
- $flux = clean_xml($flux);
- $flux = str_replace('"', "'", $flux);
- $flux = str_replace('&', '&', $flux);
- $flux = str_replace('<', '<', $flux);
- $flux = str_replace('>', '>', $flux);
- $my_hashmd5 = new HashMD5();
- //$toto = html_entity_decode($flux);
- //debug($toto);
- $checksum = $my_hashmd5->hash(html_entity_decode($flux));
-
- if (is_array($ParamCallBack) && count($ParamCallBack) > 0)
- {
- $XMLParam = new fianet_xml_paracallback_builder();
- foreach ($ParamCallBack as $index => $value)
- {
- $XMLParam->add_param(new fianet_paraobject_xml($index, urlencode(htmlentities($value))));
- }
- }
-
- if ($enProd)
- {
- $url = URL_RNP_PROD;
- }
- else
- {
- $url = URL_RNP_TEST;
- }
- $url .= URL_RNP_FRONTLINE;
-
- $form = '';
- $form .= '
';
- if ($auto_send)
- {
- $form .= '';
- }
-
- return ($form);
- }
-
- }
-
diff --git a/modules/fianetfraud/fianet/classes/order/fianet_rnp_wallet_xml.php b/modules/fianetfraud/fianet/classes/order/fianet_rnp_wallet_xml.php
deleted file mode 100644
index 851c50668..000000000
--- a/modules/fianetfraud/fianet/classes/order/fianet_rnp_wallet_xml.php
+++ /dev/null
@@ -1,60 +0,0 @@
-datecom = "2008-05-28 14:25:31";
- $this->datecom = date("Y-m-d H:i:s");
- $this->order_date_time_seconds = substr($this->datecom, -2, 2);
- }
-
- function generate_wallet_crypt_data($order_id, $billing_lastname, $customer_email, $total)
- {
- $total = number_format($total, 2, '.', '');
- $this->generate_crypt_key($order_id, $billing_lastname, $customer_email, $total);
- }
-
- function get_xml()
- {
- $xml = '';
-
- $xml .= "\t" . '
' . "\n";
- $xml .= "\t\t" . ''.$this->datelivr.'' . "\n";
- $xml .= "\t\t" . ''.$this->datecom.'' . "\n";
- $xml .= "\t\t" . ''.$this->crypt.'' . "\n";
- $xml .= "\t" . '' . "\n";
-
- return ($xml);
- }
-
- function generate_crypt_key($order_id, $billing_lastname, $customer_email, $total)
- {
- if (FIANET_ENCODING == 'UTF-8')
- {
- $billing_lastname = utf8_decode($billing_lastname);
- }
- else
- {
- $billing_lastname = $billing_lastname;
- }
- $key = FIANET_RNP_KEY;
-
- $encodingKey = new EncodingKey();
- $this->crypt = $encodingKey->giveHashCode2( $key,
- $this->order_date_time_seconds,
- $customer_email,
- $order_id,
- $total,
- $billing_lastname);
- }
- }
-
diff --git a/modules/fianetfraud/fianet/classes/order/fianet_transport_xml.php b/modules/fianetfraud/fianet/classes/order/fianet_transport_xml.php
deleted file mode 100644
index 6cb36f729..000000000
--- a/modules/fianetfraud/fianet/classes/order/fianet_transport_xml.php
+++ /dev/null
@@ -1,42 +0,0 @@
-type == null)
- {
- fianet_insert_log("fianet_transport_xml.php - get_xml()
\nTransport type undefined");
- return;
- }
- if ($this->nom == null)
- {
- fianet_insert_log("fianet_transport_xml.php - get_xml()
\nTransport name undefined");
- return;
- }
- if ($this->rapidite == null)
- {
- fianet_insert_log("fianet_transport_xml.php - get_xml()
\nTransport time undefined");
- return;
- }
- $xml .= "\t\t". '
' . "\n";
-
- $xml .= "\t\t\t". ''.$this->type.'' . "\n";
- $xml .= "\t\t\t". ''.clean_invalid_char($this->nom).'' . "\n";
- $xml .= "\t\t\t". ''.$this->rapidite.'' . "\n";
-
- $xml .= "\t\t". '' . "\n";
- return ($xml);
- }
- }
-
diff --git a/modules/fianetfraud/fianet/classes/order/fianet_user_siteconso_xml.php b/modules/fianetfraud/fianet/classes/order/fianet_user_siteconso_xml.php
deleted file mode 100644
index 42aa48988..000000000
--- a/modules/fianetfraud/fianet/classes/order/fianet_user_siteconso_xml.php
+++ /dev/null
@@ -1,29 +0,0 @@
-nb > 0)
- {
- $xml .= "\t\t" . '
' . "\n";
- $xml .= "\t\t\t" . ''.$this->nb.'' . "\n";
- $xml .= "\t\t\t" . ''.number_format($this->ca, 2, '.', '').'' . "\n";
- $xml .= "\t\t\t" . ''.$this->datepremcmd.'' . "\n";
- $xml .= "\t\t\t" . ''.$this->datederncmd.'' . "\n";
- $xml .= "\t\t" . '' . "\n";
- }
- return ($xml);
- }
- }
-
diff --git a/modules/fianetfraud/fianet/classes/order/fianet_user_xml.php b/modules/fianetfraud/fianet/classes/order/fianet_user_xml.php
deleted file mode 100644
index a5ad312bd..000000000
--- a/modules/fianetfraud/fianet/classes/order/fianet_user_xml.php
+++ /dev/null
@@ -1,80 +0,0 @@
-qualite = 1;
- }
-
- function set_quality_nonprofessional()
- {
- $this->qualite = 2;
- }
-
- function get_xml()
- {
- $xml = '';
- $xml .= "\t" . '
' . "\n";
- if ($this->titre != '')
- {
- if ($this->titre == 'f')
- {
- $this->titre = 'mme';
- }
- $xml .= "\t\t" . ''.clean_invalid_char($this->nom).'' . "\n";
- }
- else
- {
- $xml .= "\t\t" . ''.clean_invalid_char($this->nom).'' . "\n";
- }
- $xml .= "\t\t" . ''.clean_invalid_char($this->prenom).'' . "\n";
- if ($this->societe != '')
- {
- $xml .= "\t\t" . ''.clean_invalid_char($this->societe).'' . "\n";
- }
- if ($this->telhome != '')
- {
- $xml .= "\t\t" . ''.clean_invalid_char($this->telhome).'' . "\n";
- }
- if ($this->teloffice != '')
- {
- $xml .= "\t\t" . ''.clean_invalid_char($this->teloffice).'' . "\n";
- }
- if ($this->telmobile != '')
- {
- $xml .= "\t\t" . ''.clean_invalid_char($this->telmobile).'' . "\n";
- }
- if ($this->telfax != '')
- {
- $xml .= "\t\t" . ''.clean_invalid_char($this->telfax).'' . "\n";
- }
- if ($this->email != '')
- {
- $xml .= "\t\t" . ''.clean_invalid_char($this->email).'' . "\n";
- }
- if ($this->site_conso != null)
- {
- $xml .= $this->site_conso->get_xml();
- }
- $xml .= "\t" . '' . "\n";
-
- return ($xml);
- }
-
- }
-
diff --git a/modules/fianetfraud/fianet/classes/order/fianet_xml_paracallback_builder.php b/modules/fianetfraud/fianet/classes/order/fianet_xml_paracallback_builder.php
deleted file mode 100644
index bc46e7d36..000000000
--- a/modules/fianetfraud/fianet/classes/order/fianet_xml_paracallback_builder.php
+++ /dev/null
@@ -1,44 +0,0 @@
-param_list[] = $param;
- }
- else
- {
- fianet_insert_log("Erreur : le paramtre n'est pas un objet fianet_paraobject_xml mais un objet : ".get_class($param)."
");
- }
- }
-
- function get_xml()
- {
- $xml = '';
-
- if (count($this->param_list) > 0)
- {
- $xml .= '
-
' . "\n";
-
- foreach ($this->param_list as $param)
- {
- $xml .= $param->get_xml();
- }
-
- $xml .= '' . "\n";
- }
-
- return($xml);
- }
- }
-
diff --git a/modules/fianetfraud/fianet/classes/order/index.php b/modules/fianetfraud/fianet/classes/order/index.php
deleted file mode 100644
index 4e2611d37..000000000
--- a/modules/fianetfraud/fianet/classes/order/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision$
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
\ No newline at end of file
diff --git a/modules/fianetfraud/fianet/const/fianet.php b/modules/fianetfraud/fianet/const/fianet.php
deleted file mode 100644
index 35bdd5c4a..000000000
--- a/modules/fianetfraud/fianet/const/fianet.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision$
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
\ No newline at end of file
diff --git a/modules/fianetfraud/fianet/const/url_rnp.php b/modules/fianetfraud/fianet/const/url_rnp.php
deleted file mode 100644
index 344c5c84c..000000000
--- a/modules/fianetfraud/fianet/const/url_rnp.php
+++ /dev/null
@@ -1,6 +0,0 @@
- $val) if($val === $new) $vname = $key;
- $var = $old;
-
- echo "
";
- if($info != FALSE) echo "$info:
";
- do_dump($var, '$'.$vname);
- echo "
";
-}
-
-
-function do_dump(&$var, $var_name = NULL, $indent = NULL, $reference = NULL)
-{
- $do_dump_indent = "
| ";
- $reference = $reference.$var_name;
- $keyvar = 'the_do_dump_recursion_protection_scheme'; $keyname = 'referenced_object_name';
-
- if (is_array($var) && isset($var[$keyvar]))
- {
- $real_var = &$var[$keyvar];
- $real_name = &$var[$keyname];
- $type = ucfirst(gettype($real_var));
- echo "$indent$var_name
$type =
&$real_name";
- }
- else
- {
- $var = array($keyvar => $var, $keyname => $reference);
- $avar = &$var[$keyvar];
-
- $type = ucfirst(gettype($avar));
- if($type == "String") $type_color = "
";
- elseif($type == "Integer") $type_color = "";
- elseif($type == "Double"){ $type_color = ""; $type = "Float"; }
- elseif($type == "Boolean") $type_color = "";
- elseif($type == "NULL") $type_color = "";
-
- if(is_array($avar))
- {
- $count = count($avar);
- echo "$indent" . ($var_name ? "$var_name => ":"") . "$type ($count)
$indent(
";
- $keys = array_keys($avar);
- foreach($keys as $name)
- {
- $value = &$avar[$name];
- do_dump($value, "['$name']", $indent.$do_dump_indent, $reference);
- }
- echo "$indent)
";
- }
- elseif(is_object($avar))
- {
- echo "$indent$var_name $type
$indent(
";
- foreach($avar as $name=>$value) do_dump($value, "$name", $indent.$do_dump_indent, $reference);
- echo "$indent)
";
- }
- elseif(is_int($avar)) echo "$indent$var_name = $type(".strlen($avar).") $type_color$avar
";
- elseif(is_string($avar)) echo "$indent$var_name = $type(".strlen($avar).") $type_color\"$avar\"
";
- elseif(is_float($avar)) echo "$indent$var_name = $type(".strlen($avar).") $type_color$avar
";
- elseif(is_bool($avar)) echo "$indent$var_name = $type(".strlen($avar).") $type_color".($avar == 1 ? "TRUE":"FALSE")."
";
- elseif(is_null($avar)) echo "$indent$var_name = $type(".strlen($avar).") {$type_color}NULL";
- else echo "$indent$var_name =
$type(".strlen($avar).") $avar
";
-
- $var = $var[$keyvar];
- }
-}
-
diff --git a/modules/fianetfraud/fianet/includes/general.php b/modules/fianetfraud/fianet/includes/general.php
deleted file mode 100644
index 5e25dd3ae..000000000
--- a/modules/fianetfraud/fianet/includes/general.php
+++ /dev/null
@@ -1,71 +0,0 @@
-", ">", $var);
- $var = trim($var);
- return ($var);
-}
-
-function var_is_object_of_class($var, $class_name)
-{
- $res = false;
- if (is_object($var))
- {
- $name = get_class($var);
- if ($name == $class_name)
- {
- $res = true;
- }
- }
- return ($res);
-}
-
-//Calcule la date de livraison en jour ouvr partir de la date courante
-function get_delivery_date($delivery_times)
-{
- define('H', date("H"));
- define('i', date("i"));
- define('s', date("s"));
- define('m', date("m"));
- define('d', date("d"));
- define('Y', date("Y"));
- define('SUNDAY', 0);
- define('SATURDAY', 6);
-
- $nb_days = 0;
- $j = 0;
- while ($nb_days < $delivery_times)
- {
- $j++;
- $date = mktime(H, i, s, m, d + $j, Y);
- $day = date("w", $date);
- if ($day != SUNDAY && $day != SATURDAY)
- {
- $nb_days++;
- }
- }
- if ($j > FIANET_MAX_DELIVERY_TIME)
- {//si on dpasse le dlais de livraison max causes des samedi et dimanche on remet le dlais de livraison son maximum
- $j = FIANET_MAX_DELIVERY_TIME;
- }
- $date = mktime(H, i, s, m, d + $j, Y);
- return (date("Y-m-d", $date));
-}
-
diff --git a/modules/fianetfraud/fianet/includes/index.php b/modules/fianetfraud/fianet/includes/index.php
deleted file mode 100644
index 4e2611d37..000000000
--- a/modules/fianetfraud/fianet/includes/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision$
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
\ No newline at end of file
diff --git a/modules/fianetfraud/fianet/includes/xml2array.php b/modules/fianetfraud/fianet/includes/xml2array.php
deleted file mode 100644
index de296f600..000000000
--- a/modules/fianetfraud/fianet/includes/xml2array.php
+++ /dev/null
@@ -1,119 +0,0 @@
- $val)
- {
- if($get_attributes == 1) $result['attr'][$attr] = $val; //Set all the attributes in a array called 'attr'
- /** :TODO: should we change the key name to '_attr'? Someone may use the tagname 'attr'. Same goes for 'value' too */
- }
- }
- }
- elseif(isset($value))
- {
- $result = $value;
- }
-
- //See tag status and do the needed.
- if($type == "open")
- {//The starting of the tag '
'
- $parent[$level-1] = &$current;
- if(!is_array($current) or (!in_array($tag, array_keys($current))))
- { //Insert New tag
- $current[$tag] = $result;
- $current = &$current[$tag];
-
- }
- else
- { //There was another element with the same tag name
- if(isset($current[$tag][0]))
- {
- array_push($current[$tag], $result);
- }
- else
- {
- $current[$tag] = array($current[$tag],$result);
- }
- $last = count($current[$tag]) - 1;
- $current = &$current[$tag][$last];
- }
-
- }
- elseif($type == "complete")
- { //Tags that ends in 1 line ''
- //See if the key is already taken.
- if(!isset($current[$tag]))
- { //New Key
- $current[$tag] = $result;
- //array_push($current[$tag],$result);
- }
- else
- { //If taken, put all things inside a list(array)
- if((is_array($current[$tag]) and $get_attributes == 0)//If it is already an array...
- or (isset($current[$tag][0]) and is_array($current[$tag][0]) and $get_attributes == 1))
- {
- array_push($current[$tag],$result); // ...push the new element into that array.
- }
- else
- { //If it is not an array...
- $current[$tag] = array($current[$tag],$result); //...Make it an array using using the existing value and the new value
- }
- }
-
- }
- elseif ($type == 'close')
- { //End of tag ''
- $current = &$parent[$level-1];
- }
- }
- return($xml_array);
-}
-
-
diff --git a/modules/fianetfraud/fianet/index.php b/modules/fianetfraud/fianet/index.php
deleted file mode 100644
index 4e2611d37..000000000
--- a/modules/fianetfraud/fianet/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision$
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
\ No newline at end of file
diff --git a/modules/fianetfraud/fianet/to_implement/implement.php b/modules/fianetfraud/fianet/to_implement/implement.php
deleted file mode 100644
index 665bdc703..000000000
--- a/modules/fianetfraud/fianet/to_implement/implement.php
+++ /dev/null
@@ -1,12 +0,0 @@
-';
-}
-
-//Cette fonction est appele ds qu'une flux xml est gnr. Le premier paramtre est le flux lui-mme, le second paramtre est la rfrence de la commande
-function save_flux_xml($xml, $ref_id)
-{
-}
-
diff --git a/modules/fianetfraud/fianet/to_implement/index.php b/modules/fianetfraud/fianet/to_implement/index.php
deleted file mode 100644
index 4e2611d37..000000000
--- a/modules/fianetfraud/fianet/to_implement/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision$
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
-
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
-header("Location: ../");
-exit;
\ No newline at end of file
diff --git a/modules/fianetfraud/fianetfraud.php b/modules/fianetfraud/fianetfraud.php
deleted file mode 100644
index 586a645fd..000000000
--- a/modules/fianetfraud/fianetfraud.php
+++ /dev/null
@@ -1,626 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 6844 $
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-if (!defined('_PS_VERSION_'))
- exit;
-
-if ((basename(__FILE__) == 'fianetfraud.php'))
- require_once(dirname(__FILE__).'/fianet/fianet.php');
-
-class Fianetfraud extends Module
-{
- const INSTALL_SQL_FILE = 'install.sql';
-
- private $_html;
- private $_product_type = array(
- '1' => 'Alimentation & gastronomie',
- '2' => 'Auto & moto',
- '3' => 'Culture & divertissements',
- '4' => 'Maison & jardin',
- '5' => 'Electromenager',
- '6' => 'Enchers et achats groupés',
- '7' => 'Fleurs & cadeaux',
- '8' => 'Informatique & logiciels',
- '9' => 'Santé & beauté',
- '10' => 'Services aux particuliers',
- '11' => 'Services aux professionnels',
- '12' => 'Sport',
- '13' => 'Vetements & accessoires',
- '14' => 'Voyage & tourisme',
- '15' => 'Hifi, photo & videos',
- '16' => 'Telephonie & communication',
- '17' => 'Bijoux & Métaux précieux',
- '18' => 'Articles et Accessoires pour bébé',
- '19' => 'Sonorisation & Lumière'
- );
-
- private $_carrier_type = array(
- 1 => 'Retrait de la marchandise chez le marchand',
- 2 => 'Utilisation d\'un réseau de points-retrait tiers (type kiala, alveol, etc.)',
- 3 => 'Retrait dans un aéroport, une gare ou une agence de voyage',
- 4 => 'Transporteur (La Poste, Colissimo, UPS, DHL... ou tout transporteur privé)',
- 5 => 'Emission d’un billet électronique, téléchargements'
- );
-
- private $_payement_type = array(
- 1 => 'carte',
- 2 => 'cheque',
- 3 => 'contre-remboursement',
- 4 => 'virement',
- 5 => 'cb en n fois',
- 6 => 'paypal',
- 7 => '1euro.com'
- );
-
- public function __construct()
- {
- $this->name = 'fianetfraud';
- $this->tab = 'payment_security';
- $this->version = '1.1';
- $this->limited_countries = array('fr');
-
- parent::__construct();
-
- $this->displayName = 'FIA-NET - Système d\'Analyse des Commandes';
- $this->description = "Protégez vous contre la fraude à la carte bancaire sans perturber l'acte d'achat";
- }
-
- public function install()
- {
- if (!parent::install())
- return false;
-
- if (!file_exists(dirname(__FILE__).'/'.self::INSTALL_SQL_FILE))
- return false;
- elseif (!$sql = file_get_contents(dirname(__FILE__).'/'.self::INSTALL_SQL_FILE))
- return false;
- $sql = str_replace('PREFIX_', _DB_PREFIX_, $sql);
- $sql = preg_split("/;\s*[\r\n]+/", $sql);
- foreach ($sql AS $query)
- if ($query AND sizeof($query) AND !Db::getInstance()->execute(trim($query)))
- return false;
- $langs = Language::getLanguages();
-
- $orderState = new OrderState();
- foreach ($langs AS $lang)
- $orderState->name[$lang['id_lang']] = 'Waiting FIA-NET checking';
- $orderState->name[2] = 'Attente validation commande FIA-NET';
- $orderState->invoice = false;
- $orderState->send_email = false;
- $orderState->logable = false;
- $orderState->color = '#FF9999';
- $orderState->hidden = true;
- $orderState->save();
- Configuration::updateValue('SAC_ID_WAITING', (int)($orderState->id));
-
- $orderState = new OrderState();
- foreach ($langs AS $lang)
- $orderState->name[$lang['id_lang']] = 'Fraud Detected By FIA-NET';
- $orderState->name[2] = 'Fraude détectée par FIA-NET';
- $orderState->invoice = false;
- $orderState->send_email = false;
- $orderState->logable = false;
- $orderState->color = '#FF6666';
- $orderState->hidden = true;
- $orderState->save();
- Configuration::updateValue('SAC_ID_FRAUD', (int)($orderState->id));
-
- if (!$this->registerHook('updateCarrier'))
- return false;
- if (!Configuration::updateValue('SAC_SITEID', '') OR
- !Configuration::updateValue('SAC_LOGIN', '') OR
- !Configuration::updateValue('SAC_PASSWORD', '') OR
- !Configuration::updateValue('SAC_MINIMAL_ORDER', 0))
- return false;
-
- return ($this->registerHook('cart') AND
- $this->registerHook('newOrder') AND
- $this->registerHook('adminOrder') AND
- $this->registerHook('updateOrderStatus')
- );
- }
-
- public function uninstall()
- {
- $orderState = new OrderState((int)(Configuration::get('SAC_ID_FRAUD')), Configuration::get('PS_LANG_DEFAULT'));
- if (!$orderState->delete())
- return false;
- $orderState = new OrderState((int)(Configuration::get('SAC_ID_WAITING')), Configuration::get('PS_LANG_DEFAULT'));
- if (!$orderState->delete())
- return false;
-
- return parent::uninstall();
- }
-
- private function _postProcess()
- {
- $error = false;
-
- Configuration::updateValue('SAC_PRODUCTION', ((Tools::getValue('fianetfraud_production') == 1 ) ? 1 : 0));
- Configuration::updateValue('SAC_LOGIN', Tools::getValue('fianetfraud_login'));
- Configuration::updateValue('SAC_PASSWORD', Tools::getValue('fianetfraud_password'));
- Configuration::updateValue('SAC_SITEID', Tools::getValue('fianetfraud_siteid'));
- Configuration::updateValue('SAC_DEFAULT_PRODUCT_TYPE', Tools::getValue('fianetfraud_product_type'));
- Configuration::updateValue('SAC_DEFAULT_CARRIER_TYPE', Tools::getValue('fianetfraud_default_carrier'));
- Configuration::updateValue('SAC_MINIMAL_ORDER', Tools::getValue('fianetfraud_minimal_order'));
-
- if (isset($_POST['payementBox']))
- {
- Configuration::updateValue('SAC_PAYMENT_MODULE', implode(',', $_POST['payementBox']));
- foreach ($_POST['payementBox'] as $payment)
- Configuration::updateValue('SAC_PAYMENT_TYPE_'.$payment,Tools::getValue($payment));
- }
-
- $categories = Category::getSimpleCategories($this->context->language->id);
- foreach ($categories AS $category)
- Configuration::updateValue('SAC_CATEGORY_TYPE_'.$category['id_category'],Tools::getValue('cat_'.$category['id_category']));
-
- $carriers = Carrier::getCarriers($this->context->language->id);
- foreach ($carriers as $carrier)
- {
- if (isset($_POST['carrier_'.$carrier['id_carrier']]))
- Configuration::updateValue('SAC_CARRIER_TYPE_'.$carrier['id_carrier'], $_POST['carrier_'.$carrier['id_carrier']]);
- else
- {
- $error = true;
- $this->_html .= '
'.$this->l('Invalid carrier code').'
';
- }
- }
-
- if (!$error)
- {
- $dataSync = ((($site_id = Configuration::get('SAC_SITEID')) AND Configuration::get('SAC_PRODUCTION'))
- ? '
.')
'
- : ''
- );
- $this->_html .= '
'.$this->l('Settings are updated').$dataSync.'
';
- }
-
- }
-
- public function getContent()
- {
- if (isset($_POST['submitSettings']))
- $this->_postProcess();
- $id_lang = Configuration::get('PS_LANG_DEFAULT');
- $categories = Category::getSimpleCategories($id_lang);
-
- $carriers = Carrier::getCarriers($id_lang);
- $this->_html .= '
-
-