[*] PROJECT : Moving partner module to another repository
@@ -1,232 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @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;
|
||||
|
||||
class authorizeAIM extends PaymentModule
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
$this->name = 'authorizeaim';
|
||||
$this->tab = 'payments_gateways';
|
||||
$this->version = '1.3';
|
||||
$this->author = 'PrestaShop';
|
||||
$this->limited_countries = array('us');
|
||||
$this->need_instance = 0;
|
||||
|
||||
parent::__construct();
|
||||
|
||||
$this->displayName = 'Authorize.net AIM (Advanced Integration Method)';
|
||||
$this->description = $this->l('Receive payment with Authorize.net');
|
||||
|
||||
/* 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 cURL is enabled */
|
||||
if (!is_callable('curl_exec'))
|
||||
$this->warning = $this->l('cURL extension must be enabled on your server to use this module.');
|
||||
}
|
||||
|
||||
public function install()
|
||||
{
|
||||
return (parent::install() && $this->registerHook('orderConfirmation') && $this->registerHook('payment')
|
||||
AND $this->registerHook('header') && Configuration::updateValue('AUTHORIZE_AIM_DEMO', 1));
|
||||
}
|
||||
|
||||
public function uninstall()
|
||||
{
|
||||
Configuration::deleteByName('AUTHORIZE_AIM_LOGIN_ID');
|
||||
Configuration::deleteByName('AUTHORIZE_AIM_KEY');
|
||||
Configuration::deleteByName('AUTHORIZE_AIM_DEMO');
|
||||
Configuration::deleteByName('AUTHORIZE_AIM_CARD_VISA');
|
||||
Configuration::deleteByName('AUTHORIZE_AIM_CARD_MASTERCARD');
|
||||
Configuration::deleteByName('AUTHORIZE_AIM_CARD_DISCOVER');
|
||||
Configuration::deleteByName('AUTHORIZE_AIM_CARD_AX');
|
||||
|
||||
return parent::uninstall();
|
||||
}
|
||||
|
||||
public function hookOrderConfirmation($params)
|
||||
{
|
||||
if ($params['objOrder']->module != $this->name)
|
||||
return;
|
||||
|
||||
if ($params['objOrder']->getCurrentState() != Configuration::get('PS_OS_ERROR'))
|
||||
$this->context->smarty->assign(array('status' => 'ok', 'id_order' => intval($params['objOrder']->id)));
|
||||
else
|
||||
$this->context->smarty->assign('status', 'failed');
|
||||
|
||||
return $this->display(__FILE__, 'hookorderconfirmation.tpl');
|
||||
}
|
||||
|
||||
public function getContent()
|
||||
{
|
||||
if (Tools::isSubmit('submitModule'))
|
||||
{
|
||||
Configuration::updateValue('AUTHORIZE_AIM_LOGIN_ID', Tools::getvalue('authorizeaim_login_id'));
|
||||
Configuration::updateValue('AUTHORIZE_AIM_KEY', Tools::getvalue('authorizeaim_key'));
|
||||
Configuration::updateValue('AUTHORIZE_AIM_DEMO', Tools::getvalue('authorizeaim_demo_mode'));
|
||||
Configuration::updateValue('AUTHORIZE_AIM_CARD_VISA', Tools::getvalue('authorizeaim_card_visa'));
|
||||
Configuration::updateValue('AUTHORIZE_AIM_CARD_MASTERCARD', Tools::getvalue('authorizeaim_card_mastercard'));
|
||||
Configuration::updateValue('AUTHORIZE_AIM_CARD_DISCOVER', Tools::getvalue('authorizeaim_card_discover'));
|
||||
Configuration::updateValue('AUTHORIZE_AIM_CARD_AX', Tools::getvalue('authorizeaim_card_ax'));
|
||||
|
||||
echo $this->displayConfirmation($this->l('Configuration updated'));
|
||||
}
|
||||
|
||||
return '
|
||||
<h2>'.$this->displayName.'</h2>
|
||||
<fieldset><legend><img src="../modules/'.$this->name.'/logo.gif" alt="" /> '.$this->l('Help').'</legend>
|
||||
<a href="http://www.authorize.net/signupnow/" style="float: right;"><img src="../modules/'.$this->name.'/logo_authorize.png" alt="" /></a>
|
||||
<h3>'.$this->l('In your PrestaShop admin panel').'</h3>
|
||||
- '.$this->l('Fill the Login ID field with the one provided by Authorize.net').'<br />
|
||||
- '.$this->l('Fill the key field with the transaction key provided by Authorize.net').'<br />
|
||||
<span style="color: red;" >- '.$this->l('Warning: Your website must possess a SSL certificate to use the Authorize.net AIM payment system. You are responsible for the safety of your customers\' bank information. PrestaShop cannot be blamed for any security issue on your website.').'</span><br />
|
||||
<br />
|
||||
</fieldset><br />
|
||||
<form action="'.Tools::htmlentitiesutf8($_SERVER['REQUEST_URI']).'" method="post">
|
||||
<fieldset class="width2">
|
||||
<legend><img src="../img/admin/contact.gif" alt="" />'.$this->l('Settings').'</legend>
|
||||
<label for="authorizeaim_login_id">'.$this->l('Login ID').'</label>
|
||||
<div class="margin-form"><input type="text" size="20" id="authorizeaim_login_id" name="authorizeaim_login_id" value="'.Configuration::get('AUTHORIZE_AIM_LOGIN_ID').'" /></div>
|
||||
<label for="authorizeaim_key">'.$this->l('Key').'</label>
|
||||
<div class="margin-form"><input type="text" size="20" id="authorizeaim_login_id" name="authorizeaim_key" value="'.Configuration::get('AUTHORIZE_AIM_KEY').'" /></div>
|
||||
<label for="authorizeaim_demo_mode">'.$this->l('Mode:').'</label>
|
||||
<div class="margin-form" id="authorizeaim_demo">
|
||||
<input type="radio" name="authorizeaim_demo_mode" value="0" style="vertical-align: middle;" '.(!Tools::getValue('authorizeaim_demo_mode', Configuration::get('AUTHORIZE_AIM_DEMO')) ? 'checked="checked"' : '').' />
|
||||
<span style="color: #080;">'.$this->l('Production').'</span>
|
||||
<input type="radio" name="authorizeaim_demo_mode" value="1" style="vertical-align: middle;" '.(Tools::getValue('authorizeaim_demo_mode', Configuration::get('AUTHORIZE_AIM_DEMO')) ? 'checked="checked"' : '').' />
|
||||
<span style="color: #900;">'.$this->l('Test').'</span>
|
||||
</div>
|
||||
<label for="authorizeaim_cards">'.$this->l('Cards:').'</label>
|
||||
<div class="margin-form" id="authorizeaim_cards">
|
||||
<input type="checkbox" name="authorizeaim_card_visa" '.(Configuration::get('AUTHORIZE_AIM_CARD_VISA') ? 'checked="checked"' : '').' />
|
||||
<img src="../modules/'.$this->name.'/cards/visa.gif" alt="visa" />
|
||||
<input type="checkbox" name="authorizeaim_card_mastercard" '.(Configuration::get('AUTHORIZE_AIM_CARD_MASTERCARD') ? 'checked="checked"' : '').' />
|
||||
<img src="../modules/'.$this->name.'/cards/mastercard.gif" alt="visa" />
|
||||
<input type="checkbox" name="authorizeaim_card_discover" '.(Configuration::get('AUTHORIZE_AIM_CARD_DISCOVER') ? 'checked="checked"' : '').' />
|
||||
<img src="../modules/'.$this->name.'/cards/discover.gif" alt="visa" />
|
||||
<input type="checkbox" name="authorizeaim_card_ax" '.(Configuration::get('AUTHORIZE_AIM_CARD_AX') ? 'checked="checked"' : '').' />
|
||||
<img src="../modules/'.$this->name.'/cards/ax.gif" alt="visa" />
|
||||
</div>
|
||||
<br /><center><input type="submit" name="submitModule" value="'.$this->l('Update settings').'" class="button" /></center>
|
||||
</fieldset>
|
||||
</form>';
|
||||
}
|
||||
|
||||
public function hookPayment($params)
|
||||
{
|
||||
if (Configuration::get('PS_SSL_ENABLED') || (!empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) != 'off'))
|
||||
{
|
||||
$invoiceAddress = new Address((int)$params['cart']->id_address_invoice);
|
||||
|
||||
$authorizeAIMParams = array();
|
||||
$authorizeAIMParams['x_login'] = Configuration::get('AUTHORIZE_AIM_LOGIN_ID');
|
||||
$authorizeAIMParams['x_tran_key'] = Configuration::get('AUTHORIZE_AIM_KEY');
|
||||
$authorizeAIMParams['x_version'] = '3.1';
|
||||
$authorizeAIMParams['x_delim_data'] = 'TRUE';
|
||||
$authorizeAIMParams['x_delim_char'] = '|';
|
||||
$authorizeAIMParams['x_relay_response'] = 'FALSE';
|
||||
$authorizeAIMParams['x_type'] = 'AUTH_CAPTURE';
|
||||
$authorizeAIMParams['x_method'] = 'CC';
|
||||
$authorizeAIMParams['x_test_request'] = Configuration::get('AUTHORIZE_AIM_DEMO');
|
||||
$authorizeAIMParams['x_invoice_num'] = (int)$params['cart']->id;
|
||||
$authorizeAIMParams['x_amount'] = number_format($params['cart']->getOrderTotal(true, 3), 2, '.', '');
|
||||
$authorizeAIMParams['x_address'] = $invoiceAddress->address1.' '.$invoiceAddress->address2;
|
||||
$authorizeAIMParams['x_zip'] = $invoiceAddress->postcode;
|
||||
$authorizeAIMParams['x_first_name'] = $this->context->customer->firstname;
|
||||
$authorizeAIMParams['x_last_name'] = $this->context->customer->lastname;
|
||||
|
||||
$isFailed = Tools::getValue('aimerror');
|
||||
|
||||
$cards = array();
|
||||
$cards['visa'] = Configuration::get('AUTHORIZE_AIM_CARD_VISA') == 'on' ? 1 : 0;
|
||||
$cards['mastercard'] = Configuration::get('AUTHORIZE_AIM_CARD_MASTERCARD') == 'on' ? 1 : 0;
|
||||
$cards['discover'] = Configuration::get('AUTHORIZE_AIM_CARD_DISCOVER') == 'on' ? 1 : 0;
|
||||
$cards['ax'] = Configuration::get('AUTHORIZE_AIM_CARD_AX') == 'on' ? 1 : 0;
|
||||
|
||||
$this->context->smarty->assign('p', $authorizeAIMParams);
|
||||
$this->context->smarty->assign('cards', $cards);
|
||||
$this->context->smarty->assign('isFailed', $isFailed);
|
||||
|
||||
return $this->display(__FILE__, 'authorizeaim.tpl');
|
||||
}
|
||||
}
|
||||
|
||||
public function hookHeader()
|
||||
{
|
||||
$this->context->controller->addJqueryPlugin('validate-creditcard');
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the detail of a payment - Call before the validate order init
|
||||
* correctly the pcc object
|
||||
* See Authorize documentation to know the associated key => value
|
||||
* @param array fields
|
||||
*/
|
||||
public function setTransactionDetail($response)
|
||||
{
|
||||
// If Exist we can store the details
|
||||
if (isset($this->pcc))
|
||||
{
|
||||
$this->pcc->transaction_id = (string)$response[6];
|
||||
|
||||
// 50 => Card number (XXXX0000)
|
||||
$this->pcc->card_number = (string)substr($response[50], -4);
|
||||
|
||||
// 51 => Card Mark (Visa, Master card)
|
||||
$this->pcc->card_brand = (string)$response[51];
|
||||
|
||||
$this->pcc->card_expiration = (string)Tools::getValue('x_exp_date');
|
||||
|
||||
// 68 => Owner name
|
||||
$this->pcc->card_holder = (string)$response[68];
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,133 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @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
|
||||
*}
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{$module_dir}secure.png" />
|
||||
<p class="payment_module" >
|
||||
|
||||
{if $isFailed == 1}
|
||||
<p style="color: red;">{l s='Error, please verify the card information' mod='authorizeaim'}</p>
|
||||
{/if}
|
||||
|
||||
<form id="aut" name="authorizeaim_form" id="authorizeaim_form" action="{$module_dir}validation.php" method="post">
|
||||
<span style="border: 1px solid #595A5E;display: block;padding: 0.6em;text-decoration: none;margin-left: 0.7em;">
|
||||
<a id="click_authorizeaim" href="#" title="{l s='Pay with authorizeaim' mod='authorizeaim'}" style="display: block;text-decoration: none; font-weight: bold;">
|
||||
{if $cards.visa == 1}<img src="{$module_dir}cards/visa.gif" alt="{l s='visa logo' mod='authorizeaim'}" style="vertical-align: middle;" />{/if}
|
||||
{if $cards.mastercard == 1}<img src="{$module_dir}cards/mastercard.gif" alt="{l s='mastercard logo' mod='authorizeaim'}" style="vertical-align: middle;" />{/if}
|
||||
{if $cards.discover == 1}<img src="{$module_dir}cards/discover.gif" alt="{l s='discover logo' mod='authorizeaim'}" style="vertical-align: middle;" />{/if}
|
||||
{if $cards.ax == 1}<img src="{$module_dir}cards/ax.gif" alt="{l s='american express logo' mod='authorizeaim'}" style="vertical-align: middle;" />{/if}
|
||||
{l s='Secured credit card payment with Authorize.net' mod='authorizeaim'}
|
||||
</a>
|
||||
|
||||
{if $isFailed == 0}
|
||||
<div id="aut2"style="display:none">
|
||||
{else}
|
||||
<div id="aut2">
|
||||
{/if}
|
||||
<br /><br />
|
||||
|
||||
<div style="width: 136px; height: 165px; float: left; padding-top:40px; padding-right: 20px; border-right: 1px solid #DDD;">
|
||||
<img src="{$module_dir}logoa.gif" alt="secure payment" />
|
||||
</div>
|
||||
{foreach from=$p key=k item=v}
|
||||
<input type="hidden" name="{$k}" value="{$v}" />
|
||||
{/foreach}
|
||||
|
||||
<label style="margin-top: 4px; margin-left: 40px;display: block;width: 90px;float: left;">{l s='Full name' mod='authorizeaim'}</label> <input type="text" name="name" id="fullname" size="30" maxlength="25S" /><img src="{$module_dir}secure.png" alt="" style="margin-left: 5px;" /><br /><br />
|
||||
|
||||
<label style="margin-top: 4px; margin-left: 40px;display: block;width: 90px;float: left;">{l s='Card Type' mod='authorizeaim'}</label>
|
||||
<select id="cardType">
|
||||
{if $cards.ax == 1}<option value="AmEx">American Express</option>{/if}
|
||||
{if $cards.visa == 1}<option value="Visa">Visa</option>{/if}
|
||||
{if $cards.mastercard == 1}<option value="MasterCard">MasterCard</option>{/if}
|
||||
{if $cards.discover == 1}<option value="Discover">Discover</option>{/if}
|
||||
</select>
|
||||
<img src="{$module_dir}secure.png" alt="" style="margin-left: 5px;" /><br /><br />
|
||||
|
||||
<label style="margin-top: 4px; margin-left: 40px;display: block;width: 90px;float: left;">{l s='Card number' mod='authorizeaim'}</label> <input type="text" name="x_card_num" id="cardnum" size="30" maxlength="16" autocomplete="Off" /><img src="{$module_dir}secure.png" alt="" style="margin-left: 5px;" /><br /><br />
|
||||
<label style="margin-top: 4px; margin-left: 40px;display: block;width: 90px;float: left;">{l s='Expiration date' mod='authorizeaim'}</label>
|
||||
<select id="x_exp_date_m" name="x_exp_date_m" style="width:60px;">{section name=date_m start=01 loop=13}
|
||||
<option value="{$smarty.section.date_m.index}">{$smarty.section.date_m.index}</option>{/section}
|
||||
</select>
|
||||
/
|
||||
<select name="x_exp_date_y">{section name=date_y start=11 loop=20}
|
||||
<option value="{$smarty.section.date_y.index}">20{$smarty.section.date_y.index}</option>{/section}
|
||||
</select>
|
||||
<img src="{$module_dir}secure.png" alt="" style="margin-left: 5px;" /><br /><br />
|
||||
<label style="margin-top: 4px; margin-left: 40px;display: block;width: 90px;float: left;">{l s='CVV' mod='authorizeaim'}</label> <input type="text" name="x_card_code" id="x_card_code" size="4" maxlength="4" /><img src="{$module_dir}secure.png" alt="" style="margin-left: 5px;"/> <img src="{$module_dir}help.png" id="cvv_help" title="{l s='the 3 last digits on the back of your credit card' mod='authorizeaim'}" alt="" /><br /><br />
|
||||
<img src="{$module_dir}cvv.png" id="cvv_help_img" alt=""style="display: none;margin-left: 211px;" />
|
||||
<input type="button" id="asubmit" value="{l s='Validate order' mod='authorizeaim'}" style="margin-left: 129px; padding-left: 25px; padding-right: 25px;" class="button" />
|
||||
</div>
|
||||
</span>
|
||||
</form>
|
||||
</p>
|
||||
<script type="text/javascript">
|
||||
var mess_error = "{l s='Please check your credit card information (Credit card type, number and expiration date)' mod='authorizeaim' js=1}";
|
||||
var mess_error2 = "{l s='Please specify your Full Name' mod='authorizeaim' js=1}";
|
||||
{literal}
|
||||
$(document).ready(function(){
|
||||
$('#x_exp_date_m').children('option').each(function()
|
||||
{
|
||||
if ($(this).val() < 10)
|
||||
{
|
||||
$(this).val('0' + $(this).val());
|
||||
$(this).html($(this).val())
|
||||
}
|
||||
});
|
||||
$('#click_authorizeaim').click(function(e){
|
||||
e.preventDefault();
|
||||
$('#click_authorizeaim').fadeOut("fast",function(){
|
||||
$("#aut2").show();
|
||||
$('#click_authorizeaim').fadeIn('fast');
|
||||
});
|
||||
$('#click_authorizeaim').unbind();
|
||||
$('#click_authorizeaim').click(function(e){
|
||||
e.preventDefault();
|
||||
});
|
||||
});
|
||||
|
||||
$('#cvv_help').click(function(){
|
||||
$("#cvv_help_img").show();
|
||||
$('#cvv_help').unbind();
|
||||
});
|
||||
|
||||
$('#asubmit').click(function()
|
||||
{
|
||||
if ($('#fullname').val() == '')
|
||||
{
|
||||
alert(mess_error2);
|
||||
}
|
||||
else if (!validateCC($('#cardnum').val(), $('#cardType').val()) || $('#x_card_code').val() == '')
|
||||
{
|
||||
alert(mess_error);
|
||||
}
|
||||
else
|
||||
{
|
||||
$('#aut').submit();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
{/literal}
|
||||
</script>
|
||||
|
Before Width: | Height: | Size: 560 B |
|
Before Width: | Height: | Size: 504 B |
@@ -1,36 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @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;
|
||||
|
Before Width: | Height: | Size: 595 B |
|
Before Width: | Height: | Size: 451 B |
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<module>
|
||||
<name>authorizeaim</name>
|
||||
<displayName><![CDATA[Authorize.net AIM (Advanced Integration Method)]]></displayName>
|
||||
<version><![CDATA[1.3]]></version>
|
||||
<description><![CDATA[Receive payment with Authorize.net]]></description>
|
||||
<author><![CDATA[PrestaShop]]></author>
|
||||
<tab><![CDATA[payments_gateways]]></tab>
|
||||
<is_configurable>1</is_configurable>
|
||||
<need_instance>0</need_instance>
|
||||
<limited_countries>us</limited_countries>
|
||||
</module>
|
||||
|
Before Width: | Height: | Size: 8.3 KiB |
@@ -1,39 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_cb313e911b15b21b57f4fc7b53058e4f'] = 'Zahlung mit Authorize.net erhalten ';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_9d5b40ff49295ac0b4a5a13a88ccd285'] = 'cURL-Erweiterung muss auf dem Server aktiviert sein, um dieses Modul verwenden.';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_20015706a8cbd457cbb6ea3e7d5dc9b3'] = 'Konfiguration aktualisiert';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_6a26f548831e6a8c26bfbbd9f6ec61e0'] = 'Hilfe';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_11a4b229c0e206b831f729572618553f'] = 'In Ihrem PrestaShop Admin-Panel';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_bc6781f2b59d4e973bd0075baab62a40'] = 'Füllen Sie das Login-ID-Feld mit der von Authorize.net vorgesehenen Kennung aus';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_95eb440b753d6505aad5c3f72b50eec9'] = 'Füllen Sie das Schlüsselfeld mit dem Transaktionsschlüssel von Authorize.net aus';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_a7180ba675bb293f415aab47e52a1732'] = 'Achtung: Ihre Website muss ein SSL-Zertifikat auf die Authorize.net AIM-Zahlungssystem nutzen zu besitzen. Sie sind verantwortlich für die Sicherheit Ihrer Kunden Bankdaten. PrestaShop kann nicht für jede Frage der Sicherheit auf Ihrer Website verantwortlich gemacht werden.';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_f4f70727dc34561dfde1a3c529b6205c'] = 'Einstellungen';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_f3ef34226d51e9ca88eaa2f20d7ffb91'] = 'Login-ID';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_897356954c2cd3d41b221e3f24f99bba'] = 'Schlüssel';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_1ee1c44c2dc81681f961235604247b81'] = 'Modus:';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_756d97bb256b8580d4d71ee0c547804e'] = 'Produktion';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_0cbc6611f5540bd0809a388dc95a615b'] = 'Test';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_291cdb0a8abb42484f5d44dc20540ce6'] = 'Karten:';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_b17f3f4dcf653a5776792498a9b44d6a'] = 'Aktualisierungseinstellungen';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_f745351b1387473d3d2de5bfe18d3562'] = 'Fehler, bitte Kreditkarteninformationen überprüfen';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_1814fc250eea61e13aa95e81b61bf72a'] = 'Bezahlen Sie mit authorizeaim';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_442155d68aea78b4ef707796d76ca48c'] = 'Visa-Logo';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_f65943f43529e119969e533dc6f691f9'] = 'MasterCard-Logo';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_2937b5dab08029b1055b37c98a98d740'] = 'Discover-Logo';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_3b8a6fa58a71e7448c264c9dc61e6904'] = 'American Express Logo';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_1edaf23879c3b52a8df80069d2af3cef'] = 'Sichere Kreditkartenzahlung mit Authorize.net';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_f11b368cddfe37c47af9b9d91c6ba4f0'] = 'Vollständiger Name';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_a44217022190f5734b2f72ba1e4f8a79'] = 'Kartennummer';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_8c1279db4db86553e4b9682f78cf500e'] = 'Verfallsdatum';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_60a104dc50579d60cbc90158fada1dcf'] = 'CVV';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_6149e52c36edb9ee4494d5412e42eef2'] = 'die letzten drei Ziffern auf der Rückseite Ihrer Kreditkarte';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_40566b26dcc126bce704f2c1d622a6a3'] = 'Bestellung bestätigen';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Ihre Bestellung vom';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_75fbf512d744977d62599cc3f0ae2bb4'] = ' ist abgeschlossen.';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_30163d8fc3068e8297e7ab5bf32aec87'] = 'Ihre Bestellung wird so schnell wie möglich zugeschickt.';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_0db71da7150c27142eef9d22b843b4a9'] = 'Bei Fragen oder für weitere Informationen, kontaktieren Sie bitte unseren';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_64430ad2835be8ad60c59e7d44e4b0b1'] = 'Kunden-Support';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_8de637e24570c1edb0357826a2ad5aea'] = 'Wir haben ein Problem bei Ihrer Bestellung festgestellt. Wenn Sie denken, dies sei ein Fehler, können Sie an unseren';
|
||||
@@ -1,4 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
@@ -1,38 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_cb313e911b15b21b57f4fc7b53058e4f'] = 'Recibir pagos con Authorize.net';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_20015706a8cbd457cbb6ea3e7d5dc9b3'] = 'Configuración actualizada';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_6a26f548831e6a8c26bfbbd9f6ec61e0'] = 'Ayuda';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_11a4b229c0e206b831f729572618553f'] = 'En su panel de PrestaShop admin';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_bc6781f2b59d4e973bd0075baab62a40'] = 'Rellene el ID de campo con el proporcionado por Authorize.net';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_95eb440b753d6505aad5c3f72b50eec9'] = 'Rellene el campo clave con la clave de operación facilitada por Authorize.net';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_a7180ba675bb293f415aab47e52a1732'] = 'Atención: Su sitio web debe poseer un certificado SSL para utilizar el módulo Authorize.net AIM. Usted es responsable de la seguridad de los datos bancarios de sus clientes. PrestaShop no podrá ser responsable en caso de problemas de seguridad en su sitio web.';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_f4f70727dc34561dfde1a3c529b6205c'] = 'Parámetros';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_f3ef34226d51e9ca88eaa2f20d7ffb91'] = 'Nombre de usuario';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_897356954c2cd3d41b221e3f24f99bba'] = 'Clave';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_1ee1c44c2dc81681f961235604247b81'] = 'Modo:';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_756d97bb256b8580d4d71ee0c547804e'] = 'Producción';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_0cbc6611f5540bd0809a388dc95a615b'] = 'Prueba';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_291cdb0a8abb42484f5d44dc20540ce6'] = 'Tarjetas:';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_b17f3f4dcf653a5776792498a9b44d6a'] = 'Actualizar la configuración';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_f745351b1387473d3d2de5bfe18d3562'] = 'Error, por favor compruebe sus datos bancarios';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_1814fc250eea61e13aa95e81b61bf72a'] = 'Pagar con authorizeaim';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_442155d68aea78b4ef707796d76ca48c'] = 'visa logo';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_f65943f43529e119969e533dc6f691f9'] = 'logotipo de MasterCard';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_2937b5dab08029b1055b37c98a98d740'] = 'descubrir logotipo';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_3b8a6fa58a71e7448c264c9dc61e6904'] = 'Logo American Express ';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_1edaf23879c3b52a8df80069d2af3cef'] = 'Pago seguro con Authorize.net';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_f11b368cddfe37c47af9b9d91c6ba4f0'] = 'Nombre y apellidos';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_a44217022190f5734b2f72ba1e4f8a79'] = 'Número de tarjeta';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_8c1279db4db86553e4b9682f78cf500e'] = 'Fecha de caducidad';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_60a104dc50579d60cbc90158fada1dcf'] = 'CVV';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_6149e52c36edb9ee4494d5412e42eef2'] = 'los 3 últimos dígitos de la parte posterior de su tarjeta de crédito';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_40566b26dcc126bce704f2c1d622a6a3'] = 'Validar el pedido';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Su pedido de';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_75fbf512d744977d62599cc3f0ae2bb4'] = 'se ha completado.';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_30163d8fc3068e8297e7ab5bf32aec87'] = 'Su pedido será enviado tan pronto como sea posible.';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_0db71da7150c27142eef9d22b843b4a9'] = 'Para cualquier duda o para más información, póngase en contacto con nuestro servicio de';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_64430ad2835be8ad60c59e7d44e4b0b1'] = 'atención al cliente';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_8de637e24570c1edb0357826a2ad5aea'] = 'Hemos constatado un problema con su pedido. Si usted piensa que esto es un error, puede contactar con nuestro';
|
||||
@@ -1,39 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_cb313e911b15b21b57f4fc7b53058e4f'] = 'Recevoir des paiments avec Authorize.net';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_9d5b40ff49295ac0b4a5a13a88ccd285'] = 'L\'extension cURL doit être activé sur votre serveur pour utiliser ce module.';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_20015706a8cbd457cbb6ea3e7d5dc9b3'] = 'Configuration mise a jour';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_6a26f548831e6a8c26bfbbd9f6ec61e0'] = 'Aide';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_11a4b229c0e206b831f729572618553f'] = 'Dans votre panneau d\'aministration PrestaShop';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_bc6781f2b59d4e973bd0075baab62a40'] = 'Indiquez le login avec celui fourni par Authorize.net';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_95eb440b753d6505aad5c3f72b50eec9'] = 'Indiquez la clé avec la clé de transaction indiquée par Authorize.net';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_a7180ba675bb293f415aab47e52a1732'] = 'Attention : votre site doit posséder un certificat SSL pour utiliser le module Authorize.net AIM. Vous êtes responsable de la sécurité des informations bancaires de vos clients. PrestaShop ne peut être tenu responsable en cas de problème de sécurité sur votre site.';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_f4f70727dc34561dfde1a3c529b6205c'] = 'Parametres';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_f3ef34226d51e9ca88eaa2f20d7ffb91'] = 'Login';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_897356954c2cd3d41b221e3f24f99bba'] = 'Clé';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_1ee1c44c2dc81681f961235604247b81'] = 'Mode';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_756d97bb256b8580d4d71ee0c547804e'] = 'Production';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_0cbc6611f5540bd0809a388dc95a615b'] = 'Test';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_291cdb0a8abb42484f5d44dc20540ce6'] = 'Cartes';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_b17f3f4dcf653a5776792498a9b44d6a'] = 'Mettre a jour la configuration';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_f745351b1387473d3d2de5bfe18d3562'] = 'Erreur, veuillez verifier vos informations bancaires';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_1814fc250eea61e13aa95e81b61bf72a'] = 'Payer avec AuthorizeAIM';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_442155d68aea78b4ef707796d76ca48c'] = 'logo visa';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_f65943f43529e119969e533dc6f691f9'] = 'logo mastercard';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_2937b5dab08029b1055b37c98a98d740'] = 'logo discover';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_3b8a6fa58a71e7448c264c9dc61e6904'] = 'logo american express';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_1edaf23879c3b52a8df80069d2af3cef'] = 'Paiement sécurisé avec Authorize.net';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_f11b368cddfe37c47af9b9d91c6ba4f0'] = 'Nom';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_a44217022190f5734b2f72ba1e4f8a79'] = 'Numero de CB';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_8c1279db4db86553e4b9682f78cf500e'] = 'Date d\'expiration';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_60a104dc50579d60cbc90158fada1dcf'] = 'Code CVV';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_6149e52c36edb9ee4494d5412e42eef2'] = 'les 3 derniers chifres au dos de votre carte';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_40566b26dcc126bce704f2c1d622a6a3'] = 'Confirmer la commande';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Votre commande sur';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_75fbf512d744977d62599cc3f0ae2bb4'] = 'Est reussie';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_30163d8fc3068e8297e7ab5bf32aec87'] = 'Votre commende vous sera expedié le plus rapidement possible';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_0db71da7150c27142eef9d22b843b4a9'] = 'Pour toute question, contactez nous';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_64430ad2835be8ad60c59e7d44e4b0b1'] = 'Service client';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_8de637e24570c1edb0357826a2ad5aea'] = 'Nous avons remarqué une erreur avec votre commande. Si vous pensez que c\'est une erreur, vous pouvez contacter notre';
|
||||
|
Before Width: | Height: | Size: 911 B |
@@ -1,11 +0,0 @@
|
||||
{if $status == 'ok'}
|
||||
<p>{l s='Your order on' mod='authorizeaim'} <span class="bold">{$shop_name}</span> {l s='is complete.' mod='authorizeaim'}
|
||||
<br /><br /><span class="bold">{l s='Your order will be sent as soon as possible.' mod='authorizeaim'}</span>
|
||||
<br /><br />{l s='For any questions or for further information, please contact our' mod='authorizeaim'} <a href="{$link->getPageLink('contact', true)}">{l s='customer support' mod='authorizeaim'}</a>.
|
||||
</p>
|
||||
{else}
|
||||
<p class="warning">
|
||||
{l s='We noticed a problem with your order. If you think this is an error, you can contact our' mod='authorizeaim'}
|
||||
<a href="{$link->getPageLink('contact', true)}">{l s='customer support' mod='authorizeaim'}</a>.
|
||||
</p>
|
||||
{/if}
|
||||
@@ -1,36 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @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;
|
||||
@@ -1,39 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_cb313e911b15b21b57f4fc7b53058e4f'] = 'Ricevi il pagamento con Authorize.net';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_9d5b40ff49295ac0b4a5a13a88ccd285'] = 'estensione cURL deve essere abilitato sul server per utilizzare questo modulo.';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_20015706a8cbd457cbb6ea3e7d5dc9b3'] = 'Configurazione aggiornata';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_6a26f548831e6a8c26bfbbd9f6ec61e0'] = 'Aiuto';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_11a4b229c0e206b831f729572618553f'] = 'Nel tuo pannello admin PrestaShop';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_bc6781f2b59d4e973bd0075baab62a40'] = 'Riempi il campo ID Login con quello fornito da Authorize.net';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_95eb440b753d6505aad5c3f72b50eec9'] = 'Riempire il campo chiave con la chiave di transazione fornita da Authorize.net';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_a7180ba675bb293f415aab47e52a1732'] = 'Attenzione: Il tuo sito web deve possedere un certificato SSL per utilizzare il sistema AIM Authorize.net pagamento. L\'utente è responsabile per la sicurezza dei dati bancari dei vostri clienti \'. PrestaShop non possono essere incolpati per qualsiasi problema di sicurezza nel tuo sito web.';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_f4f70727dc34561dfde1a3c529b6205c'] = 'Impostazioni';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_f3ef34226d51e9ca88eaa2f20d7ffb91'] = 'ID Login ';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_897356954c2cd3d41b221e3f24f99bba'] = 'Chiave';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_1ee1c44c2dc81681f961235604247b81'] = 'Modalità:';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_756d97bb256b8580d4d71ee0c547804e'] = 'Produzione';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_0cbc6611f5540bd0809a388dc95a615b'] = 'Test';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_291cdb0a8abb42484f5d44dc20540ce6'] = 'Carte di credito:';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_b17f3f4dcf653a5776792498a9b44d6a'] = 'Aggiorna le impostazioni';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_f745351b1387473d3d2de5bfe18d3562'] = 'Errore, vi preghiamo di verificare le informazioni della carta';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_1814fc250eea61e13aa95e81b61bf72a'] = 'Paga con authorizeaim';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_442155d68aea78b4ef707796d76ca48c'] = 'logo visa';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_f65943f43529e119969e533dc6f691f9'] = 'logo mastercard';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_2937b5dab08029b1055b37c98a98d740'] = 'logo discover';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_3b8a6fa58a71e7448c264c9dc61e6904'] = 'logo american express';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_1edaf23879c3b52a8df80069d2af3cef'] = 'Pagamento sicuro con carta di credito con Authorize.net';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_f11b368cddfe37c47af9b9d91c6ba4f0'] = 'Nome completo';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_a44217022190f5734b2f72ba1e4f8a79'] = 'Numero di carta';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_8c1279db4db86553e4b9682f78cf500e'] = 'Data di scadenza';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_60a104dc50579d60cbc90158fada1dcf'] = 'CVV';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_6149e52c36edb9ee4494d5412e42eef2'] = 'le ultime 3 cifre sul retro della vostra carta di credito';
|
||||
$_MODULE['<{authorizeaim}prestashop>authorizeaim_40566b26dcc126bce704f2c1d622a6a3'] = 'Convalida ordine';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Il tuo ordine';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_75fbf512d744977d62599cc3f0ae2bb4'] = 'è completo.';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_30163d8fc3068e8297e7ab5bf32aec87'] = 'Il tuo ordine verrà inviato al più presto.';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_0db71da7150c27142eef9d22b843b4a9'] = 'Per eventuali domande o per ulteriori informazioni, contatta la nostra';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_64430ad2835be8ad60c59e7d44e4b0b1'] = 'assistenza clienti';
|
||||
$_MODULE['<{authorizeaim}prestashop>hookorderconfirmation_8de637e24570c1edb0357826a2ad5aea'] = 'Abbiamo notato un problema con il tuo ordine. Se pensi che questo sia un errore, contatta la nostra';
|
||||
|
Before Width: | Height: | Size: 79 B |
|
Before Width: | Height: | Size: 6.4 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 611 B |
@@ -1,94 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 7091 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
include(dirname(__FILE__). '/../../config/config.inc.php');
|
||||
include(dirname(__FILE__). '/../../init.php');
|
||||
include(dirname(__FILE__). '/authorizeaim.php');
|
||||
|
||||
/* Transform the POST from the template to a GET for the CURL */
|
||||
if (isset($_POST['x_exp_date_m']) && isset($_POST['x_exp_date_y']))
|
||||
{
|
||||
$_POST['x_exp_date'] = $_POST['x_exp_date_m'].$_POST['x_exp_date_y'];
|
||||
unset($_POST['x_exp_date_m']);
|
||||
unset($_POST['x_exp_date_y']);
|
||||
}
|
||||
$postString = '';
|
||||
foreach ($_POST as $key => $value)
|
||||
$postString .= $key.'='.urlencode($value).'&';
|
||||
|
||||
$postString = trim($postString, '&');
|
||||
|
||||
$url = 'https://secure.authorize.net/gateway/transact.dll';
|
||||
if (Configuration::get('AUTHORIZE_AIM_DEMO'))
|
||||
{
|
||||
$postString .= '&x_test_request=TRUE';
|
||||
$url = 'https://test.authorize.net/gateway/transact.dll';
|
||||
}
|
||||
|
||||
/* Do the CURL request ro Authorize.net */
|
||||
$request = curl_init($url);
|
||||
curl_setopt($request, CURLOPT_HEADER, 0);
|
||||
curl_setopt($request, CURLOPT_RETURNTRANSFER, 1);
|
||||
curl_setopt($request, CURLOPT_POSTFIELDS, $postString);
|
||||
curl_setopt($request, CURLOPT_SSL_VERIFYPEER, FALSE);
|
||||
$postResponse = curl_exec($request);
|
||||
curl_close($request);
|
||||
|
||||
$response = explode('|', $postResponse);
|
||||
if (!isset($response[7]) OR !isset($response[3]) OR !isset($response[9]))
|
||||
{
|
||||
Logger::addLog('Authorize.net returned a malformed response for cart '.$response[7], 4);
|
||||
die('Authorize.net returned a malformed response, aborted.');
|
||||
}
|
||||
|
||||
if ($response[0] == 3)
|
||||
Tools::redirect('index.php?controller=order&step=3&aimerror=1');
|
||||
else
|
||||
{
|
||||
/* Does the cart exist and is valid? */
|
||||
$cart = new Cart((int)$response[7]);
|
||||
if (!Validate::isLoadedObject($cart))
|
||||
{
|
||||
Logger::addLog('Cart loading failed for cart '.$response[7], 4);
|
||||
exit;
|
||||
}
|
||||
|
||||
$customer = new Customer((int)$cart->id_customer);
|
||||
|
||||
/* Loading the object */
|
||||
$authorizeaim = new authorizeaim();
|
||||
$message = $response[3];
|
||||
if ($response[0] == 1)
|
||||
{
|
||||
$authorizeaim->setTransactionDetail($response);
|
||||
$authorizeaim->validateOrder((int)$cart->id, Configuration::get('PS_OS_PAYMENT'), (float)$response[9], $authorizeaim->displayName, $message, NULL, NULL, false, $customer->secure_key);
|
||||
}
|
||||
else
|
||||
$authorizeaim->validateOrder((int)$cart->id, Configuration::get('PS_OS_ERROR'), (float)$response[9], $authorizeaim->displayName, $message, NULL, NULL, false, $customer->secure_key);
|
||||
|
||||
Tools::redirect('index.php?controller=order-confirmation&id_module='.(int)$authorizeaim->id.'&id_cart='.(int)$cart->id.'&key='.$customer->secure_key);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 6.5 KiB |
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<module>
|
||||
<name>canadapost</name>
|
||||
<displayName><![CDATA[Canada Post Carrier]]></displayName>
|
||||
<version><![CDATA[0.5]]></version>
|
||||
<description><![CDATA[Offer your customers, different delivery methods with Canada Post]]></description>
|
||||
<author><![CDATA[PrestaShop]]></author>
|
||||
<tab><![CDATA[shipping_logistics]]></tab>
|
||||
<is_configurable>1</is_configurable>
|
||||
<need_instance>1</need_instance>
|
||||
<limited_countries>ca</limited_countries>
|
||||
</module>
|
||||
@@ -1,97 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_77946efda9f40f6bbcd0e697de948e65'] = 'Kanada Beitrag Träger';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_a5daea18a1d4214028a538c3bf5a41cc'] = 'Bieten Sie Ihren Kunden, abweichende Lieferadresse Methoden mit Kanada Beitrag';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_9d7d8be1feb0bc026fffd29bc536364e'] = 'cURL-Option';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_883fa0069f4b0454e2277dd567ab3991'] = '\"Gewicht Unit (LB oder KG).\"';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_5a3ceec65d417f5d92c26dbf0dccc00d'] = '\"Dimension Unit (cm oder in).\"';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_4d470fde8487e755a50e9235e3dc13ab'] = 'muss so konfiguriert sein, um dieses Modul korrekt verwenden';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_2056ed4f6b76a94035f12c041350aa2f'] = 'Kanada Postkonto';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_20449d3f0b6c6b9265a5cd2a470a6451'] = 'Gewicht der Verpackung';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_bfc00de34bc04366e7fee516adf7dca5'] = 'Bearbeitungsgebühr';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_386aad80d82f8245e9ef80352a2240e8'] = 'Alle Artikel in einem Paket';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_f35eb2a913a3fd6fd8e661012cf0ebd8'] = 'Split ein Stück pro Paket';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_9c536dc938b99309eab40c9a06fc1c00'] = 'Kanada Beitrag Modulstatus';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_428a446c88625404645d482927d90b31'] = 'Kanada Beitrag Carrier ist konfiguriert und online!';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_c31be897c51c899fe1da81c31403e2a4'] = 'Kanada Beitrag Carrier ist noch nicht konfiguriert, müssen Sie:';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_3e203b9a16f360b88d90bba6eb61ce61'] = 'Füllen Sie die \"Allgemeine Einstellungen\" Form';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_8c0987b9315003df7dae7f130e3cf58e'] = 'Wählen Sie Ihre verfügbare Lieferservice';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_e20f6d6f13fe70e78f6e2ab488493ccf'] = 'Webservice-Test-Verbindung';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_5378f4ad5f6616fda3ef972deba67f8a'] = 'cURL ist aktiviert';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_52f4393e1b52ba63e27310ca92ba098c'] = 'General Settings';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_277d63a9b24a09697e3c64092eaf4353'] = 'Kategorien Einstellungen';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_098eec2cabe2c39c6dec3fc522b6571a'] = 'Produkte Settings';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_6a26f548831e6a8c26bfbbd9f6ec61e0'] = 'Hilfe';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_d2126da975d5b9a5b846efaf57d3fd53'] = 'Allgemeine Konfiguration';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_4af6ad356ba7dd056b265944ef91cb5b'] = 'Ihre kanadische Post-Konto';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_db06a2900c66a3a2cb78fe3a470f1b85'] = 'Verpackung Gewicht';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_0274f749472f365e7d48a501e14793e6'] = 'Handling Fee';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_83ad4fdaf06650e6d9d7ca18f82fb975'] = 'Localization Konfiguration';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_f489118ea95c746d648d36bb50c226f0'] = 'Gewichtseinheit';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_659c95668841b7d6602ead454b28d4ba'] = 'Die Gewichtseinheit Ihres Shops (zB kg oder lbs)';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_cc13d156306185fd42a860da3049567c'] = 'Dimension-Einheit';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_f804c2bdebc117d9cde3cddad3b49845'] = 'Die Maßeinheit Ihres Shops (zB cm oder Zoll)';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_2481447d04ae756836d32e3ade240ff4'] = 'Address-Konfiguration';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_5b179e75d464a04d8a04111131b3a3ca'] = 'Ihre Adresse Zeile 1';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_281b2def1a9737b33f88013c94fdfeb8'] = 'Ihre Adresse Zeile 2';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_d30f507473129e70c4b962ceccf175cf'] = 'Zip / Postal Code';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_d0585aac6bb77bb49423b2effca0e067'] = 'Your City';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_59716c97497eb9694541f7c3d37b1a4d'] = 'Land';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_f8f5a972333ee726fbe5bb52409c0ed0'] = 'Wählen Sie ein Land ...';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_4e9863cf5326e6714388045321665d07'] = 'Wählen Sie ein Land aus der Liste.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_46a2a41cc6e552044816a2d04634545d'] = 'Zustand';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_cf1580798f7aba85d519afadf1ffd886'] = 'Wählen Sie einen Zustand ...';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_02546d525ab356bd43c91e6b07447496'] = 'Es gibt keinen Staat Konfiguration für dieses Land';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_0ddc2a5660f7d095fff34d6b93077c80'] = 'Service-Konfiguration';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_8d6bd50f3fe3ee2f4513066c25e5fb4a'] = 'Calcul Modus';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_79a7b64f7e16759d93ef3e74f1916815'] = 'Mit dem calcul Modus \"Alle Elemente in einem Paket\" verwendet automatisch Standard-Packungsgröße und Lieferdienste. Besonderheiten Konfigurationen für Kategorien oder das Produkt nicht verwenden.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_5cdd307ba6e260beb4801c0c10e22a3a'] = 'Delivery Service';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_78945de8de090e90045d299651a68a9b'] = 'Verfügbar';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_2d25c72c1b18e562f6654fff8e11711e'] = 'Nicht verfügbar';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_d63e135774e62574e2a1921267dad142'] = 'Wählen Sie den Lieferservice, die zur Verfügung stehen für die Kunden.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_a438cfa1a870740754c9f4b35130cc04'] = 'Ihre kanadische Post-Konto nicht angegeben';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_805353d2862ea0e658c9ddda871540fa'] = 'Ihr Zip / Postal Code ist nicht angegeben';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_ef9bd955e165dfb0207877e9fe180aeb'] = 'Deine Stadt ist nicht angegeben';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_5ecc7697a320f93f3ee8fb4048dbd64c'] = 'Ihr Land ist nicht angegeben';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_e7bb7d2ee4d79c9b48cfc443781f00b5'] = 'Prestashop konnte nicht nach Kanada Beitrag webservices verbinden';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_9d1b485edd50e6fbd288b340b386b07d'] = 'Kein Fehler Beschreibung gefunden';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_c888438d14855d7d96a2724ee9c306bd'] = 'Einstellungen aktualisiert';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_b9284bff13acffdd879ef4ac7fca5234'] = 'Einstellungen fehlgeschlagen';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_67e19ffdaa0a11e69349810403a9727e'] = 'Sie haben auf \"Allgemeine Einstellungen\" Registerkarte, bevor Sie diese Registerkarte konfigurieren.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_a37b48e8684078c0620a997b3baeee9f'] = 'In dieser Registerkarte können Sie eine spezielle Konfiguration für jede Kategorie.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_f421827ff72ef9a61fb27aa0de62f1e4'] = 'ID Config';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_3adbdb3ac060038aa0e6e6c138ef9873'] = 'Kategorie';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_20cde117cbc92b9ec1fb4e5bc4a7b9bd'] = 'Zusätzliche Gebühren';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_992a0f0542384f1ee5ef51b7cf4ae6c4'] = 'Dienstleistungen';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_06df33001c1d7187fdd81ea1f5b277aa'] = 'Aktionen';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_66001bafca8edd8343802bd20cddc10e'] = 'Es gibt keine spezifische kanadischen Post-Konfiguration für die Kategorien an dieser Stelle.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_605c5ae9959cfe9cc0b0d630b8d3144f'] = 'Sind Sie sicher, dass Sie diese spezielle kanadischen Post-Konfiguration für diese Kategorie löschen?';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_3e0cb9fd22b124c0839302fef54762d7'] = 'Update-Regel';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_dd593f8a542ab628cbba98c709255e60'] = 'Fügen Sie eine Regel';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_7fcafa7c47e984693fcb8a92c0fd1beb'] = 'Wählen Sie eine Kategorie ...';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_d725c0166e978cc30853996c70440873'] = 'Sie müssen eine Kategorie auswählen.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_882830cb67e4069370c1be3a1ba4e12a'] = 'Diese Kategorie hat bereits einen bestimmten kanadischen Post-Konfiguration.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_fd0119c2a5fc18aa64887b5b7ab41c19'] = 'Ein Fehler ist aufgetreten, bitte versuchen Sie es erneut.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_20f40087c53c662adfb4e780500eaa15'] = 'In dieser Registerkarte können Sie eine spezielle Konfiguration für jedes Produkt.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_deb10517653c255364175796ace3553f'] = 'Produkt';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_2119cb0eeb7e202767f9fa56566efc50'] = 'Es gibt keine spezifische kanadischen Post-Konfiguration für Produkte an dieser Stelle.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_d53b004866635789a76380f66c87e3df'] = 'Sind Sie sicher, dass Sie diese spezielle kanadischen Post-Konfiguration für dieses Produkt zu löschen?';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_3c4d710b56f4318dae775cff80619f84'] = 'Wählen Sie ein Produkt ...';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_9c07640370e4681bf98638d0c458cd2e'] = 'Sie haben ein Produkt auszuwählen.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_c018b9a37818d15477285eb915590d19'] = 'Dieses Produkt hat schon einen bestimmten kanadischen Post-Konfiguration.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_73e383f703902e137c2e6d8e2e85cc22'] = 'Willkommen auf der PrestaShop kanadischen Post Modulkonfigurator.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_92640c80a67da1782a18304336405dac'] = 'Dieser Abschnitt wird Ihnen helfen, zu verstehen, wie dieses Modul richtig konfigurieren.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_ec0e6948e8f34818d80f27c309f46661'] = 'Siehe unten für die Beschreibung der einzelnen Felder:';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_a5f7df92d8088761b0727fb1ce0a013a'] = 'Ihre kanadische Post-Konto';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_742e9dca63ccb97a592727c4c2c9abc8'] = 'Sie müssen nach Kanada Post-Website unter dieser Adresse abonnieren';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_35ba940948fa0ea163fd01281de10e2f'] = 'Dieses Feld muss die Zip / Postal Code des Pakets Ausgangspunkt sein.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_81822348ace1ceabad5e9f8992ce9ea4'] = 'Dieses Feld muss das Land Ihres Pakets Ausgangspunkt sein.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_b9bba478eb4348e49e672e944b072b68'] = 'Diese Kontrollkästchen, um die Zustelldienste Sie verfügbar sein sollen (wenn es keine spezielle Konfiguration für das Produkt oder der Kategorie Produkt) entsprechen.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_b7c1051bdf970e718e2a3664ad3e31ac'] = 'Dieser Abschnitt erlaubt Ihnen, einen bestimmten kanadischen Post-Konfiguration für jede Produktkategorie (zB Zuschläge) zu definieren.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_2911404cfaf6a4c3a6756e157b0edb62'] = 'Dieser Abschnitt erlaubt Ihnen, einen bestimmten kanadischen Post-Konfiguration für jedes Produkt (z. B. zusätzliche Kosten) zu definieren.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_902b0d55fddef6f8d651fe1035b7d4bd'] = 'Fehler';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_43c9c583cfcb8523ad269708ddcde8b8'] = 'Kanada Beitrag Webservice scheint down zu sein, bitte warten Sie ein paar Minuten und versuchen Sie es erneut.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_f1c83c0ed9e0f992f7f448f7321d9743'] = 'Kanada Beitrag Webservice eine Zeitüberschreitung aufgetreten.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_b7f155fe0169108902b447f572639d0b'] = 'Konnte keine Verbindung zum CanadaPost.com';
|
||||
@@ -1,4 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
@@ -1,4 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
@@ -1,97 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_77946efda9f40f6bbcd0e697de948e65'] = 'Transporteur Canada Post';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_a5daea18a1d4214028a538c3bf5a41cc'] = 'Offrez à vos clients différentes méthodes de livraison avec Canada Post';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_9d7d8be1feb0bc026fffd29bc536364e'] = 'option cURL';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_883fa0069f4b0454e2277dd567ab3991'] = '\'Unité de poids (LB ou KG)\'';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_5a3ceec65d417f5d92c26dbf0dccc00d'] = '\'Unité de mesure (CM ou IN)\'';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_4d470fde8487e755a50e9235e3dc13ab'] = 'doit être configuré pour que le module fonctionne correctement';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_2056ed4f6b76a94035f12c041350aa2f'] = 'compte Canada Post';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_20449d3f0b6c6b9265a5cd2a470a6451'] = 'Poids du colis';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_bfc00de34bc04366e7fee516adf7dca5'] = 'Frais additionnels';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_386aad80d82f8245e9ef80352a2240e8'] = 'Tous les produits dans un colis';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_f35eb2a913a3fd6fd8e661012cf0ebd8'] = 'Un produit par colis';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_9c536dc938b99309eab40c9a06fc1c00'] = 'Statut du module Canada Post';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_428a446c88625404645d482927d90b31'] = 'Le module Canada Post est correctement configuré.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_c31be897c51c899fe1da81c31403e2a4'] = 'Le module Canada Post n\'est pas configuré, vous devez :';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_3e203b9a16f360b88d90bba6eb61ce61'] = 'Remplir le formlaire de l\'onglet \"Configuration générale\"';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_8c0987b9315003df7dae7f130e3cf58e'] = 'Choississez les services de livraison disponible';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_e20f6d6f13fe70e78f6e2ab488493ccf'] = 'Test de connection webservice';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_5378f4ad5f6616fda3ef972deba67f8a'] = 'cURL est activé';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_52f4393e1b52ba63e27310ca92ba098c'] = 'Configuration Général';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_277d63a9b24a09697e3c64092eaf4353'] = 'Configuration des Catégories';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_098eec2cabe2c39c6dec3fc522b6571a'] = 'Configuration des Produits';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_6a26f548831e6a8c26bfbbd9f6ec61e0'] = 'Aide';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_d2126da975d5b9a5b846efaf57d3fd53'] = 'Configuration générale';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_4af6ad356ba7dd056b265944ef91cb5b'] = 'Votre compte Canada Post';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_db06a2900c66a3a2cb78fe3a470f1b85'] = 'Poids du colis';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_0274f749472f365e7d48a501e14793e6'] = 'Frais additionnels';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_83ad4fdaf06650e6d9d7ca18f82fb975'] = 'Configuration de localisation';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_f489118ea95c746d648d36bb50c226f0'] = 'Unité de poids';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_659c95668841b7d6602ead454b28d4ba'] = 'L\'unité de poids de votre magasin (ex: KG ou LBS)';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_cc13d156306185fd42a860da3049567c'] = 'Unité de dimension';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_f804c2bdebc117d9cde3cddad3b49845'] = 'L\'unité de dimension de votre magasin (ex: CM ou IN)';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_2481447d04ae756836d32e3ade240ff4'] = 'Configuration de l\'adresse';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_5b179e75d464a04d8a04111131b3a3ca'] = 'Votre adresse ligne 1';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_281b2def1a9737b33f88013c94fdfeb8'] = 'Votre adresse ligne 2';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_d30f507473129e70c4b962ceccf175cf'] = 'Code postal / zip code';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_d0585aac6bb77bb49423b2effca0e067'] = 'Votre ville';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_59716c97497eb9694541f7c3d37b1a4d'] = 'Pays';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_f8f5a972333ee726fbe5bb52409c0ed0'] = 'Choississez votre pays ...';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_4e9863cf5326e6714388045321665d07'] = 'Choississez votre pays dans la liste';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_46a2a41cc6e552044816a2d04634545d'] = 'Etat';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_cf1580798f7aba85d519afadf1ffd886'] = 'Choississez votre état ...';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_02546d525ab356bd43c91e6b07447496'] = 'Il n\'y a pas d\'état pour ce pays';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_0ddc2a5660f7d095fff34d6b93077c80'] = 'Configuration du service';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_8d6bd50f3fe3ee2f4513066c25e5fb4a'] = 'Mode de calcul';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_79a7b64f7e16759d93ef3e74f1916815'] = 'Utilisation du mode calcul \"Tous les produits dans un seul colis\" utilisera automatiquement la taille et les services de livraison par défaut. Les configurations spécifiques pour les catégories et les produits ne seront pas utilisées.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_5cdd307ba6e260beb4801c0c10e22a3a'] = 'Service de livraison';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_78945de8de090e90045d299651a68a9b'] = 'Disponible';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_2d25c72c1b18e562f6654fff8e11711e'] = 'Indisponible';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_d63e135774e62574e2a1921267dad142'] = 'Choisissez les services de livraison qui seront disponibles pour vos clients.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_a438cfa1a870740754c9f4b35130cc04'] = 'Votre compte Canada Post n\'est pas spécifié';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_805353d2862ea0e658c9ddda871540fa'] = 'Votre code postal / zip code n\'est pas spécifié';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_ef9bd955e165dfb0207877e9fe180aeb'] = 'Votre ville n\'est pas spécifié';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_5ecc7697a320f93f3ee8fb4048dbd64c'] = 'Votre pays n\'est pas spécifié';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_e7bb7d2ee4d79c9b48cfc443781f00b5'] = 'PrestaShop ne peut pas se connecter aux webservices Canada Post';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_9d1b485edd50e6fbd288b340b386b07d'] = 'Pas de description d\'erreur trouvé';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_c888438d14855d7d96a2724ee9c306bd'] = 'Configuration mise à jour';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_b9284bff13acffdd879ef4ac7fca5234'] = 'Configuration non mise à jour';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_67e19ffdaa0a11e69349810403a9727e'] = 'Vous devez configurer l\'onglet \"Configuration Générale\"';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_a37b48e8684078c0620a997b3baeee9f'] = 'Dans cet onglet, vous pouvez faire une configuration spécifique pour chaque catégorie';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_f421827ff72ef9a61fb27aa0de62f1e4'] = 'ID Configuration';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_3adbdb3ac060038aa0e6e6c138ef9873'] = 'Catégorie';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_20cde117cbc92b9ec1fb4e5bc4a7b9bd'] = 'Frais additionnels';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_992a0f0542384f1ee5ef51b7cf4ae6c4'] = 'Services';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_06df33001c1d7187fdd81ea1f5b277aa'] = 'Actions';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_66001bafca8edd8343802bd20cddc10e'] = 'Il n\'y a pas de configuration spécifique pour les catégories.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_605c5ae9959cfe9cc0b0d630b8d3144f'] = 'Êtes vous sûr de vouloir effacer cette configuration spécifique ?';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_3e0cb9fd22b124c0839302fef54762d7'] = 'Mettre à jour une règle';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_dd593f8a542ab628cbba98c709255e60'] = 'Ajouter une règle';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_7fcafa7c47e984693fcb8a92c0fd1beb'] = 'Choississez une catégorie';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_d725c0166e978cc30853996c70440873'] = 'Vous devez choisir une catégorie';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_882830cb67e4069370c1be3a1ba4e12a'] = 'Cette catégorie a déjà une configuration spécifique.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_fd0119c2a5fc18aa64887b5b7ab41c19'] = 'Une erreur est survenue, essayez encore.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_20f40087c53c662adfb4e780500eaa15'] = 'Dans cet onglet, vous pouvez faire une configuration spécifique par produit.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_deb10517653c255364175796ace3553f'] = 'Produit';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_2119cb0eeb7e202767f9fa56566efc50'] = 'Il n\'y a pas de configuration spécifique pour les produits.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_d53b004866635789a76380f66c87e3df'] = 'Êtes vous sûr de vouloir effacer cette configuration spécifique ?';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_3c4d710b56f4318dae775cff80619f84'] = 'Choississez un produit...';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_9c07640370e4681bf98638d0c458cd2e'] = 'Vous devez choisir un produit.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_c018b9a37818d15477285eb915590d19'] = 'Ce produit a une configuration spécifique';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_73e383f703902e137c2e6d8e2e85cc22'] = 'Bienvenue dans le configateur du module Canada Post';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_92640c80a67da1782a18304336405dac'] = 'Cette section vous aidera à comprendre comment configurer votre module correctement.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_ec0e6948e8f34818d80f27c309f46661'] = 'Ci-dessous la description de chaque champs :';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_a5f7df92d8088761b0727fb1ce0a013a'] = 'Votre compte Canada Post';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_742e9dca63ccb97a592727c4c2c9abc8'] = 'Vous devez vous inscrire au site Web de Canada Post à cette adresse';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_35ba940948fa0ea163fd01281de10e2f'] = 'Ce champ doit être le Zip / code postal de votre point de départ de vos colis.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_81822348ace1ceabad5e9f8992ce9ea4'] = 'Ce champ doit être le pays de votre point de départ de vos colis.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_b9bba478eb4348e49e672e944b072b68'] = 'Ces cases correspondent aux services de livraison que vous voulez rendre disponibles (quand il n\'y a pas de configuration spécifique pour les produits ou les catégories de produits).';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_b7c1051bdf970e718e2a3664ad3e31ac'] = 'Cette section vous permet de définir une configuration Canada Post spécifique pour chaque catégorie de produits (tels que les frais supplémentaires).';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_2911404cfaf6a4c3a6756e157b0edb62'] = 'Cette section vous permet de définir une configuration Canada Post spécifique pour chaque produit (tels que les frais supplémentaires).';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_902b0d55fddef6f8d651fe1035b7d4bd'] = 'Erreur';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_43c9c583cfcb8523ad269708ddcde8b8'] = 'Les webservices de Canada Post semblent être injoignables, veuillez reessayer ultérieurement.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_f1c83c0ed9e0f992f7f448f7321d9743'] = 'Les webservices de Canada Post ne répondent pas.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_b7f155fe0169108902b447f572639d0b'] = 'N\'a pas pu se connecter à CanadaPost.com';
|
||||
@@ -1,36 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 7233 $
|
||||
* @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;
|
||||
@@ -1,97 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_77946efda9f40f6bbcd0e697de948e65'] = 'Canada Post Carrier';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_a5daea18a1d4214028a538c3bf5a41cc'] = 'Offrire ai vostri clienti, modalità di consegna diversi post con il Canada';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_9d7d8be1feb0bc026fffd29bc536364e'] = 'cURL opzione';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_883fa0069f4b0454e2277dd567ab3991'] = '\'Unità di Peso (LB o KG).\'';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_5a3ceec65d417f5d92c26dbf0dccc00d'] = '\'Unità Dimensioni (CM o IN).\'';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_4d470fde8487e755a50e9235e3dc13ab'] = 'deve essere configurato per utilizzare questo modulo correttamente';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_2056ed4f6b76a94035f12c041350aa2f'] = 'Canada Post conto';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_20449d3f0b6c6b9265a5cd2a470a6451'] = 'Packaging peso';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_bfc00de34bc04366e7fee516adf7dca5'] = 'La tassa';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_386aad80d82f8245e9ef80352a2240e8'] = 'Tutti gli articoli in un unico pacchetto';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_f35eb2a913a3fd6fd8e661012cf0ebd8'] = 'Dividere un elemento per ogni pacchetto';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_9c536dc938b99309eab40c9a06fc1c00'] = 'Canada Post Modulo di stato';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_428a446c88625404645d482927d90b31'] = 'Carrier Canada Post è configurato e online!';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_c31be897c51c899fe1da81c31403e2a4'] = 'Carrier Canada Post non è ancora configurato, è necessario:';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_3e203b9a16f360b88d90bba6eb61ce61'] = 'Riempire il \"Impostazioni generali\" forma';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_8c0987b9315003df7dae7f130e3cf58e'] = 'Selezionare il servizio di consegna';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_e20f6d6f13fe70e78f6e2ab488493ccf'] = 'Webservice test di connessione';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_5378f4ad5f6616fda3ef972deba67f8a'] = 'cURL è abilitato';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_52f4393e1b52ba63e27310ca92ba098c'] = 'Impostazioni generali';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_277d63a9b24a09697e3c64092eaf4353'] = 'Categorie Impostazioni';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_098eec2cabe2c39c6dec3fc522b6571a'] = 'Prodotti Impostazioni';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_6a26f548831e6a8c26bfbbd9f6ec61e0'] = 'Aiuto';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_d2126da975d5b9a5b846efaf57d3fd53'] = 'Configurazione generale';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_4af6ad356ba7dd056b265944ef91cb5b'] = 'Apri il tuo conto in Canada';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_db06a2900c66a3a2cb78fe3a470f1b85'] = 'Imballo Peso';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_0274f749472f365e7d48a501e14793e6'] = 'Handling Fee';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_83ad4fdaf06650e6d9d7ca18f82fb975'] = 'Localizzazione di configurazione';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_f489118ea95c746d648d36bb50c226f0'] = 'Unità di peso';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_659c95668841b7d6602ead454b28d4ba'] = 'L\'unità di peso del tuo negozio (es. kg o lbs)';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_cc13d156306185fd42a860da3049567c'] = 'Dimensioni unità';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_f804c2bdebc117d9cde3cddad3b49845'] = 'L\'unità di dimensione del tuo negozio (cm ad esempio o in)';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_2481447d04ae756836d32e3ade240ff4'] = 'Indirizzo di configurazione';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_5b179e75d464a04d8a04111131b3a3ca'] = 'La tua linea indirizzo 1';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_281b2def1a9737b33f88013c94fdfeb8'] = 'La tua linea indirizzo 2';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_d30f507473129e70c4b962ceccf175cf'] = '/ Codice postale';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_d0585aac6bb77bb49423b2effca0e067'] = 'Il tuo Comune';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_59716c97497eb9694541f7c3d37b1a4d'] = 'Paese';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_f8f5a972333ee726fbe5bb52409c0ed0'] = 'Scegliere un paese ...';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_4e9863cf5326e6714388045321665d07'] = 'Seleziona il paese all\'interno della lista.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_46a2a41cc6e552044816a2d04634545d'] = 'Stato';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_cf1580798f7aba85d519afadf1ffd886'] = 'Seleziona uno stato ...';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_02546d525ab356bd43c91e6b07447496'] = 'Non c\'è nessuna configurazione di stato per questo paese';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_0ddc2a5660f7d095fff34d6b93077c80'] = 'Servizio di configurazione';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_8d6bd50f3fe3ee2f4513066c25e5fb4a'] = 'Calcul modalità';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_79a7b64f7e16759d93ef3e74f1916815'] = 'Utilizzando la modalità di calcul \"Tutti gli elementi in un unico pacchetto\" utilizzerà automaticamente imballaggio dimensioni predefinite e servizi di consegna. Configurazioni specifiche per le categorie o prodotto non sarà utilizzato.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_5cdd307ba6e260beb4801c0c10e22a3a'] = 'Service Delivery';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_78945de8de090e90045d299651a68a9b'] = 'Disponibile';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_2d25c72c1b18e562f6654fff8e11711e'] = 'Non disponibile';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_d63e135774e62574e2a1921267dad142'] = 'Scegliere il servizio di consegna che sarà disponibile per i clienti.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_a438cfa1a870740754c9f4b35130cc04'] = 'Il tuo account Invia il Canada non è specificato';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_805353d2862ea0e658c9ddda871540fa'] = 'Il tuo codice Zip / Postal non è specificato';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_ef9bd955e165dfb0207877e9fe180aeb'] = 'La tua città non è specificato';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_5ecc7697a320f93f3ee8fb4048dbd64c'] = 'Il vostro paese non è specificato';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_e7bb7d2ee4d79c9b48cfc443781f00b5'] = 'Prestashop Impossibile connettersi al Canada Post webservices';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_9d1b485edd50e6fbd288b340b386b07d'] = 'Nessuna descrizione dell\'errore trovato';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_c888438d14855d7d96a2724ee9c306bd'] = 'Impostazioni aggiornate';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_b9284bff13acffdd879ef4ac7fca5234'] = 'Impostazioni fallito';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_67e19ffdaa0a11e69349810403a9727e'] = 'È necessario configurare \"Impostazioni generali\" sulla scheda prima di utilizzare questa scheda.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_a37b48e8684078c0620a997b3baeee9f'] = 'In questa scheda è possibile impostare una configurazione specifica per ogni categoria.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_f421827ff72ef9a61fb27aa0de62f1e4'] = 'ID Config';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_3adbdb3ac060038aa0e6e6c138ef9873'] = 'Categoria';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_20cde117cbc92b9ec1fb4e5bc4a7b9bd'] = 'Costi aggiuntivi';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_992a0f0542384f1ee5ef51b7cf4ae6c4'] = 'Servizi';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_06df33001c1d7187fdd81ea1f5b277aa'] = 'Azioni';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_66001bafca8edd8343802bd20cddc10e'] = 'Non c\'è configurazione specifica Canada Post per le categorie a questo punto.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_605c5ae9959cfe9cc0b0d630b8d3144f'] = 'Sei sicuro di voler cancellare questa specifica configurazione Canada Post per questa categoria?';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_3e0cb9fd22b124c0839302fef54762d7'] = 'Aggiornamento di una regola';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_dd593f8a542ab628cbba98c709255e60'] = 'Aggiungere una regola';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_7fcafa7c47e984693fcb8a92c0fd1beb'] = 'Seleziona una categoria ...';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_d725c0166e978cc30853996c70440873'] = 'È necessario selezionare una categoria.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_882830cb67e4069370c1be3a1ba4e12a'] = 'Questa categoria ha già una specifica configurazione Canada Post.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_fd0119c2a5fc18aa64887b5b7ab41c19'] = 'È verificato un errore, riprova.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_20f40087c53c662adfb4e780500eaa15'] = 'In questa scheda è possibile impostare una configurazione specifica per ogni prodotto.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_deb10517653c255364175796ace3553f'] = 'Prodotto';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_2119cb0eeb7e202767f9fa56566efc50'] = 'Non c\'è configurazione specifica Canada Post per i prodotti a questo punto.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_d53b004866635789a76380f66c87e3df'] = 'Sei sicuro di voler cancellare questa specifica configurazione Canada Post per questo prodotto?';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_3c4d710b56f4318dae775cff80619f84'] = 'Selezionare un prodotto ...';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_9c07640370e4681bf98638d0c458cd2e'] = 'È necessario selezionare un prodotto.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_c018b9a37818d15477285eb915590d19'] = 'Questo prodotto ha già una specifica configurazione Canada Post.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_73e383f703902e137c2e6d8e2e85cc22'] = 'Benvenuti nel PrestaShop Canada Invia modulo configuratore.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_92640c80a67da1782a18304336405dac'] = 'Questa sezione vi aiuterà a capire come configurare questo modulo in modo corretto.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_ec0e6948e8f34818d80f27c309f46661'] = 'Vedi sotto per la descrizione di ogni campo:';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_a5f7df92d8088761b0727fb1ce0a013a'] = 'Il tuo account Canada Post';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_742e9dca63ccb97a592727c4c2c9abc8'] = 'È necessario iscriversi al sito Canada messaggio a questo indirizzo';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_35ba940948fa0ea163fd01281de10e2f'] = 'Questo campo deve essere lo Zip / CAP del punto di pacchetto di partenza.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_81822348ace1ceabad5e9f8992ce9ea4'] = 'Questo campo deve essere il paese del punto di pacchetto di partenza.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_b9bba478eb4348e49e672e944b072b68'] = 'Queste caselle corrispondono ai servizi di consegna si vuole essere a disposizione (quando non c\'è nessuna configurazione specifica per il prodotto o la categoria di prodotto).';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_b7c1051bdf970e718e2a3664ad3e31ac'] = 'Questa sezione consente di definire una specifica configurazione Canada Post per categoria di prodotti (quali oneri aggiuntivi).';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_2911404cfaf6a4c3a6756e157b0edb62'] = 'Questa sezione consente di definire una specifica configurazione Canada Post per ogni prodotto (quali oneri aggiuntivi).';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_902b0d55fddef6f8d651fe1035b7d4bd'] = 'Errore';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_43c9c583cfcb8523ad269708ddcde8b8'] = 'Canada Webservice messaggio sembra essere il basso, si prega di attendere alcuni minuti e riprovare.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_f1c83c0ed9e0f992f7f448f7321d9743'] = 'Canada Webservice Messaggio scaduta.';
|
||||
$_MODULE['<{canadapost}prestashop>canadapost_b7f155fe0169108902b447f572639d0b'] = 'Impossibile connettersi al CanadaPost.com';
|
||||
|
Before Width: | Height: | Size: 1005 B |
|
Before Width: | Height: | Size: 1.4 KiB |
@@ -1,81 +0,0 @@
|
||||
<?php
|
||||
|
||||
// Init
|
||||
$sql = array();
|
||||
|
||||
// Create Service Table in Database
|
||||
$sql[] = 'CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'cp_rate_service_code` (
|
||||
`id_cp_rate_service_code` int(10) NOT NULL AUTO_INCREMENT,
|
||||
`id_carrier` int(10) NOT NULL,
|
||||
`id_carrier_history` text NOT NULL,
|
||||
`code` varchar(64) NOT NULL,
|
||||
`service` varchar(255) NOT NULL,
|
||||
`delay` varchar(255) NOT NULL,
|
||||
`active` tinyint(1) NOT NULL,
|
||||
UNIQUE(`code`, `service`),
|
||||
PRIMARY KEY (`id_cp_rate_service_code`)
|
||||
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;';
|
||||
|
||||
// Insert Service in database
|
||||
$sql[] = "INSERT INTO `"._DB_PREFIX_."cp_rate_service_code` (`id_carrier`, `id_carrier_history`, `code`, `service`, `delay`, `active`) VALUES
|
||||
('0', '', 'PRIORITY_COURIER', 'Priority Courier', 'Priority Courier: 2 days', '0'),
|
||||
('0', '', 'REGULAR', 'Regular', 'Regular: 4 days', '0'),
|
||||
('0', '', 'XPRESSPOST', 'Xpresspost', 'Xpresspost: 1 day', '0'),
|
||||
('0', '', 'EXPEDITED', 'Expedited', 'Expedited: 1 day', '0'),
|
||||
('0', '', 'PRIORITY_WORLDWIDE_USA', 'Priority Worldwide USA', 'Priority Worldwide USA', '0'),
|
||||
('0', '', 'Xpresspost_USA', 'Xpresspost USA', 'Xpresspost USA', '0'),
|
||||
('0', '', 'Expedited_US_Business', 'Expedited US Business', 'Expedited US Business', '0'),
|
||||
('0', '', 'Small_Packets_Air', 'Small Packets Air', 'Small Packets Air', '0'),
|
||||
('0', '', 'Small_Packets_Surface', 'Small Packets Surface', 'Small Packets Surface', '0'),
|
||||
('0', '', 'U.S.A_Letter-post', 'U.S.A Letter-post', 'U.S.A Letter-post', '0'),
|
||||
('0', '', 'Priority_Worldwide INTL', 'Priority Worldwide INTL', 'Priority Worldwide INTL', '0'),
|
||||
('0', '', 'XPressPost_International', 'XPressPost International', 'XPressPost International', '0'),
|
||||
('0', '', 'Parcel_Surface', 'Parcel Surface', 'Parcel Surface', '0'),
|
||||
('0', '', 'Small_Packets Surface', 'Small Packets Surface', 'Small Packets Surface', '0'),
|
||||
('0', '', 'INTL_Letter-post', 'INTL Letter-post', 'INTL Letter-post', '0');";
|
||||
|
||||
// Create Cache Table in Database
|
||||
$sql[] = 'CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'cp_cache` (
|
||||
`id_cp_cache` int(10) NOT NULL AUTO_INCREMENT,
|
||||
`id_cart` int(10) NOT NULL,
|
||||
`id_carrier` int(10) NOT NULL,
|
||||
`hash` varchar(32) NOT NULL,
|
||||
`id_currency` int(10) NOT NULL,
|
||||
`total_charges` double(10,2) NOT NULL,
|
||||
`is_available` tinyint(1) NOT NULL,
|
||||
`date_add` datetime NOT NULL,
|
||||
`date_upd` datetime NOT NULL,
|
||||
PRIMARY KEY (`id_cp_cache`)
|
||||
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;';
|
||||
|
||||
// Create Test Cache Table in Database
|
||||
$sql[] = 'CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'cp_cache_test` (
|
||||
`id_cp_cache_test` int(10) NOT NULL AUTO_INCREMENT,
|
||||
`hash` varchar(1024) NOT NULL,
|
||||
`result` text NOT NULL,
|
||||
`date_add` datetime NOT NULL,
|
||||
`date_upd` datetime NOT NULL,
|
||||
PRIMARY KEY (`id_cp_cache_test`)
|
||||
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;';
|
||||
|
||||
// Create Config Table in Database
|
||||
$sql[] = 'CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'cp_rate_config` (
|
||||
`id_cp_rate_config` int(10) NOT NULL AUTO_INCREMENT,
|
||||
`id_product` int(10) NOT NULL,
|
||||
`id_category` int(10) NOT NULL,
|
||||
`id_currency` int(10) NOT NULL,
|
||||
`additional_charges` double(6,2) NOT NULL,
|
||||
`date_add` datetime NOT NULL,
|
||||
`date_upd` datetime NOT NULL,
|
||||
PRIMARY KEY (`id_cp_rate_config`)
|
||||
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;';
|
||||
|
||||
// Create Config (Service) Table in Database
|
||||
$sql[] = 'CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'cp_rate_config_service` (
|
||||
`id_cp_rate_config_service` int(10) NOT NULL AUTO_INCREMENT,
|
||||
`id_cp_rate_service_code` int(10) NOT NULL,
|
||||
`id_cp_rate_config` int(10) NOT NULL,
|
||||
`date_add` datetime NOT NULL,
|
||||
`date_upd` datetime NOT NULL,
|
||||
PRIMARY KEY (`id_cp_rate_config_service`)
|
||||
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;';
|
||||
@@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
// Init
|
||||
$sql = array();
|
||||
$sql[] = 'DROP TABLE IF EXISTS `'._DB_PREFIX_.'cp_rate_service_code`;';
|
||||
$sql[] = 'DROP TABLE IF EXISTS `'._DB_PREFIX_.'cp_cache`;';
|
||||
$sql[] = 'DROP TABLE IF EXISTS `'._DB_PREFIX_.'cp_cache_test`;';
|
||||
$sql[] = 'DROP TABLE IF EXISTS `'._DB_PREFIX_.'cp_rate_config`;';
|
||||
$sql[] = 'DROP TABLE IF EXISTS `'._DB_PREFIX_.'cp_rate_config_service`;';
|
||||
@@ -1,8 +0,0 @@
|
||||
<item>
|
||||
<quantity>[[Quantity]]</quantity>
|
||||
<weight>[[PackageWeight]]</weight>
|
||||
<length>[[Length]]</length>
|
||||
<width>[[Width]]</width>
|
||||
<height>[[Height]]</height>
|
||||
<description>[[Name]]</description>
|
||||
</item>
|
||||
@@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<eparcel>
|
||||
<language>[[IsoCode]]</language>
|
||||
<ratesAndServicesRequest>
|
||||
<merchantCPCID>[[UserLogin]]</merchantCPCID>
|
||||
<fromPostalCode>[[ShipFromPostalCode]]</fromPostalCode>
|
||||
<itemsPrice>[[ItemsPrice]]</itemsPrice>
|
||||
<lineItems>
|
||||
[[PackageList]]
|
||||
</lineItems>
|
||||
<city>[[ShipToCity]]</city>
|
||||
<provOrState>[[ShipToStateCode]]</provOrState>
|
||||
<country>[[ShipToCountryCode]]</country>
|
||||
<postalCode>[[ShipToPostalCode]]</postalCode>
|
||||
</ratesAndServicesRequest>
|
||||
</eparcel>
|
||||
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.9 KiB |
@@ -1,90 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @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;
|
||||
|
||||
class CashOnDelivery extends PaymentModule
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
$this->name = 'cashondelivery';
|
||||
$this->tab = 'payments_gateways';
|
||||
$this->version = '0.4';
|
||||
$this->author = 'PrestaShop';
|
||||
$this->need_instance = 0;
|
||||
|
||||
$this->currencies = false;
|
||||
|
||||
parent::__construct();
|
||||
|
||||
$this->displayName = $this->l('Cash on delivery (COD)');
|
||||
$this->description = $this->l('Accept cash on delivery payments');
|
||||
|
||||
/* 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()
|
||||
{
|
||||
if (!parent::install() OR !$this->registerHook('payment') OR !$this->registerHook('paymentReturn'))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
public function hookPayment($params)
|
||||
{
|
||||
if (!$this->active)
|
||||
return ;
|
||||
|
||||
// Check if cart has product download
|
||||
foreach ($params['cart']->getProducts() AS $product)
|
||||
{
|
||||
$pd = ProductDownload::getIdFromIdProduct((int)($product['id_product']));
|
||||
if ($pd AND Validate::isUnsignedInt($pd))
|
||||
return false;
|
||||
}
|
||||
|
||||
$this->context->smarty->assign(array(
|
||||
'this_path' => $this->_path,
|
||||
'this_path_ssl' => Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'modules/'.$this->name.'/'
|
||||
));
|
||||
return $this->display(__FILE__, 'payment.tpl');
|
||||
}
|
||||
|
||||
public function hookPaymentReturn($params)
|
||||
{
|
||||
if (!$this->active)
|
||||
return ;
|
||||
|
||||
return $this->display(__FILE__, 'confirmation.tpl');
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<module>
|
||||
<name>cashondelivery</name>
|
||||
<displayName><![CDATA[Cash on delivery (COD)]]></displayName>
|
||||
<version><![CDATA[0.4]]></version>
|
||||
<description><![CDATA[Accept cash on delivery payments]]></description>
|
||||
<author><![CDATA[PrestaShop]]></author>
|
||||
<tab><![CDATA[payments_gateways]]></tab>
|
||||
<is_configurable>0</is_configurable>
|
||||
<need_instance>0</need_instance>
|
||||
<limited_countries></limited_countries>
|
||||
</module>
|
||||
@@ -1,32 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 7471 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<p>{l s='Your order on' mod='cashondelivery'} <span class="bold">{$shop_name}</span> {l s='is complete.' mod='cashondelivery'}
|
||||
<br /><br />
|
||||
{l s='You have chosen the cash on delivery method.' mod='cashondelivery'}
|
||||
<br /><br /><span class="bold">{l s='Your order will be sent very soon.' mod='cashondelivery'}</span>
|
||||
<br /><br />{l s='For any questions or for further information, please contact our' mod='cashondelivery'} <a href="{$link->getPageLink('contact', true)}">{l s='customer support' mod='cashondelivery'}</a>.
|
||||
</p>
|
||||
@@ -1,23 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{cashondelivery}prestashop>cashondelivery_1f9497d3e8bac9b50151416f04119cec'] = 'Nachnahme (COD)';
|
||||
$_MODULE['<{cashondelivery}prestashop>cashondelivery_7a3ef27eb0b1895ebf263ad7dd949fb6'] = 'Zahlungen per Nachnahme akzeptieren ';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Ihre Bestellung von';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_75fbf512d744977d62599cc3f0ae2bb4'] = 'ist abgeschlossen.';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_8861c5d3fa54b330d1f60ba50fcc4aab'] = 'Sie haben die Nachnahme-Methode gewählt.';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_e6dc7945b557a1cd949bea92dd58963e'] = 'Ihre Bestellung wird sehr bald geschickt werden.';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_0db71da7150c27142eef9d22b843b4a9'] = 'Bei Fragen oder für weitere Informationen, kontaktieren Sie bitte unseren';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_64430ad2835be8ad60c59e7d44e4b0b1'] = 'Kunden-Support';
|
||||
$_MODULE['<{cashondelivery}prestashop>payment_b7ada96a0da7ee7fb5371cca0b036d5c'] = 'Zahlung per Nachnahme (COD)';
|
||||
$_MODULE['<{cashondelivery}prestashop>payment_536dc7424180872c8c2488ae0286fb53'] = 'Sie bezahlen die Ware bei der Lieferung';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_ea9cf7e47ff33b2be14e6dd07cbcefc6'] = 'Versand';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_0c25b529b4d690c39b0831840d0ed01c'] = 'Bestellsumme';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_d538c5b86e9a71455ba27412f4e9ab51'] = 'Nachnahme-Zahlung (COD)';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_8861c5d3fa54b330d1f60ba50fcc4aab'] = 'Sie haben die Nachnahme-Methode gewählt.';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_e2867a925cba382f1436d1834bb52a1c'] = 'Der Gesamtbetrag Ihrer Bestellung beträgt';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_1f87346a16cf80c372065de3c54c86d9'] = '(Inkl. St.)';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_0881a11f7af33bc1b43e437391129d66'] = 'Bitte bestätigen Sie Ihre Bestellung durch Klicken auf \"BESTELLEN\"';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_569fd05bdafa1712c4f6be5b153b8418'] = 'Andere Zahlungsmethoden';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_46b9e3665f187c739c55983f757ccda0'] = 'BESTELLEN';
|
||||
@@ -1,4 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
@@ -1,23 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{cashondelivery}prestashop>cashondelivery_1f9497d3e8bac9b50151416f04119cec'] = 'Pago contra reembolso';
|
||||
$_MODULE['<{cashondelivery}prestashop>cashondelivery_7a3ef27eb0b1895ebf263ad7dd949fb6'] = 'Aceptar pagos contra reembolso';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Su pedido en';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_75fbf512d744977d62599cc3f0ae2bb4'] = 'ha sido registrado.';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_8861c5d3fa54b330d1f60ba50fcc4aab'] = 'Ha elegido pagar en el momento de la entrega.';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_e6dc7945b557a1cd949bea92dd58963e'] = 'Le enviaremos su pedido en breve plazo.';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_0db71da7150c27142eef9d22b843b4a9'] = 'Para cualquier pregunta, póngase en contacto con nuestro';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_64430ad2835be8ad60c59e7d44e4b0b1'] = 'servicio clientela';
|
||||
$_MODULE['<{cashondelivery}prestashop>payment_b7ada96a0da7ee7fb5371cca0b036d5c'] = 'Pagra contra reembolso';
|
||||
$_MODULE['<{cashondelivery}prestashop>payment_536dc7424180872c8c2488ae0286fb53'] = 'Usted paga la mercancía a la entrega';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_ea9cf7e47ff33b2be14e6dd07cbcefc6'] = 'transporte';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_0c25b529b4d690c39b0831840d0ed01c'] = 'Suma del pedido';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_d538c5b86e9a71455ba27412f4e9ab51'] = 'Pago contra reembolso';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_8861c5d3fa54b330d1f60ba50fcc4aab'] = 'Ha elegido el pago contra reembolso';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_e2867a925cba382f1436d1834bb52a1c'] = 'El importe total de su pedido es';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_1f87346a16cf80c372065de3c54c86d9'] = '(tasas incluídas)';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_0881a11f7af33bc1b43e437391129d66'] = 'Por favor acepte su pedido pulsando en \'confirmo mi pedido\'';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_569fd05bdafa1712c4f6be5b153b8418'] = 'Otros modos de pago';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_46b9e3665f187c739c55983f757ccda0'] = 'Confirmo mi pedido';
|
||||
@@ -1,23 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{cashondelivery}prestashop>cashondelivery_1f9497d3e8bac9b50151416f04119cec'] = 'Comptant à la livraison';
|
||||
$_MODULE['<{cashondelivery}prestashop>cashondelivery_7a3ef27eb0b1895ebf263ad7dd949fb6'] = 'Accepte le paiement lors de la livraison';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Votre commande sur';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_75fbf512d744977d62599cc3f0ae2bb4'] = 'est bien enregistrée.';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_8861c5d3fa54b330d1f60ba50fcc4aab'] = 'Vous avez choisi le paiement lors de la livraison.';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_e6dc7945b557a1cd949bea92dd58963e'] = 'Votre commande vous sera envoyée très prochainement.';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_0db71da7150c27142eef9d22b843b4a9'] = 'Pour toute question ou information complémentaire merci de contacter notre';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_64430ad2835be8ad60c59e7d44e4b0b1'] = 'support client';
|
||||
$_MODULE['<{cashondelivery}prestashop>payment_b7ada96a0da7ee7fb5371cca0b036d5c'] = 'Payer comptant à la livraison';
|
||||
$_MODULE['<{cashondelivery}prestashop>payment_536dc7424180872c8c2488ae0286fb53'] = 'Vous payez lors de la livraison de votre commande';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_ea9cf7e47ff33b2be14e6dd07cbcefc6'] = 'Frais d\'expédition';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_0c25b529b4d690c39b0831840d0ed01c'] = 'Récapitulatif de commande';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_d538c5b86e9a71455ba27412f4e9ab51'] = 'Paiement comptant à la livraison';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_8861c5d3fa54b330d1f60ba50fcc4aab'] = 'Vous avez choisi de régler comptant lors de la livraison de la commande.';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_e2867a925cba382f1436d1834bb52a1c'] = 'Le montant total de votre commande s\'élève à';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_1f87346a16cf80c372065de3c54c86d9'] = 'TTC';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_0881a11f7af33bc1b43e437391129d66'] = 'Merci de confirmer votre commande en cliquant sur \"Je confirme ma commande\"';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_569fd05bdafa1712c4f6be5b153b8418'] = 'Autres moyens de paiement';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_46b9e3665f187c739c55983f757ccda0'] = 'Je confirme ma commande';
|
||||
@@ -1,36 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @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;
|
||||
@@ -1,23 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{cashondelivery}prestashop>cashondelivery_1f9497d3e8bac9b50151416f04119cec'] = 'Pagamento alla consegna (COD)';
|
||||
$_MODULE['<{cashondelivery}prestashop>cashondelivery_7a3ef27eb0b1895ebf263ad7dd949fb6'] = 'Accetta pagamenti COD (alla consegna)';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Il tuo ordine sul';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_75fbf512d744977d62599cc3f0ae2bb4'] = 'è completa.';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_8861c5d3fa54b330d1f60ba50fcc4aab'] = 'Hai scelto la modalità di pagamento alla consegna.';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_e6dc7945b557a1cd949bea92dd58963e'] = 'Il tuo ordine verrà inviato al più presto.';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_0db71da7150c27142eef9d22b843b4a9'] = 'Per eventuali domande o per ulteriori informazioni, contatta la nostra';
|
||||
$_MODULE['<{cashondelivery}prestashop>confirmation_64430ad2835be8ad60c59e7d44e4b0b1'] = 'assistenza clienti';
|
||||
$_MODULE['<{cashondelivery}prestashop>payment_b7ada96a0da7ee7fb5371cca0b036d5c'] = 'Paga in contanti alla consegna (COD)';
|
||||
$_MODULE['<{cashondelivery}prestashop>payment_536dc7424180872c8c2488ae0286fb53'] = 'Si paga per la merce al momento della consegna';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_ea9cf7e47ff33b2be14e6dd07cbcefc6'] = 'Spedizione';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_0c25b529b4d690c39b0831840d0ed01c'] = 'Riepilogo ordine';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_d538c5b86e9a71455ba27412f4e9ab51'] = 'Pagamento in contanti alla consegna (COD)';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_8861c5d3fa54b330d1f60ba50fcc4aab'] = 'Hai scelto la modalità pagamento alla consegna.';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_e2867a925cba382f1436d1834bb52a1c'] = 'L\'importo totale del tuo ordine è';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_1f87346a16cf80c372065de3c54c86d9'] = '(Tasse incl.)';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_0881a11f7af33bc1b43e437391129d66'] = 'Si prega di confermare l\'ordine cliccando su \'confermo il mio ordine\'';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_569fd05bdafa1712c4f6be5b153b8418'] = 'Altri metodi di pagamento';
|
||||
$_MODULE['<{cashondelivery}prestashop>validation_46b9e3665f187c739c55983f757ccda0'] = 'Confermo il mio ordine';
|
||||
|
Before Width: | Height: | Size: 425 B |
|
Before Width: | Height: | Size: 1.4 KiB |
@@ -1,34 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @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
|
||||
*}
|
||||
|
||||
<p class="payment_module">
|
||||
<a href="{$this_path_ssl}validation.php" title="{l s='Pay with cash on delivery (COD)' mod='cashondelivery'}">
|
||||
<img src="{$this_path}cashondelivery.gif" alt="{l s='Pay with cash on delivery (COD)' mod='cashondelivery'}" style="float:left;" />
|
||||
<br />{l s='Pay with cash on delivery (COD)' mod='cashondelivery'}
|
||||
<br />{l s='You pay for the merchandise upon delivery' mod='cashondelivery'}
|
||||
<br style="clear:both;" />
|
||||
</a>
|
||||
</p>
|
||||
@@ -1,74 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 7091 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
include(dirname(__FILE__).'/../../config/config.inc.php');
|
||||
include(dirname(__FILE__).'/../../header.php');
|
||||
include(dirname(__FILE__).'/cashondelivery.php');
|
||||
|
||||
$cashOnDelivery = new CashOnDelivery();
|
||||
if ($cart->id_customer == 0 OR $cart->id_address_delivery == 0 OR $cart->id_address_invoice == 0 OR !$cashOnDelivery->active)
|
||||
Tools::redirect('index.php?controller=order&step=1');
|
||||
|
||||
// Check that this payment option is still available in case the customer changed his address just before the end of the checkout process
|
||||
$authorized = false;
|
||||
foreach (Module::getPaymentModules() as $module)
|
||||
if ($module['name'] == 'cashondelivery')
|
||||
{
|
||||
$authorized = true;
|
||||
break;
|
||||
}
|
||||
if (!$authorized)
|
||||
die(Tools::displayError('This payment method is not available.'));
|
||||
|
||||
$customer = new Customer((int)$cart->id_customer);
|
||||
|
||||
if (!Validate::isLoadedObject($customer))
|
||||
Tools::redirect('index.php?controller=order&step=1');
|
||||
|
||||
/* Validate order */
|
||||
if (Tools::getValue('confirm'))
|
||||
{
|
||||
$customer = new Customer((int)$cart->id_customer);
|
||||
$total = $cart->getOrderTotal(true, Cart::BOTH);
|
||||
$cashOnDelivery->validateOrder((int)$cart->id, Configuration::get('PS_OS_PREPARATION'), $total, $cashOnDelivery->displayName, NULL, array(), NULL, false, $customer->secure_key);
|
||||
$order = new Order((int)$cashOnDelivery->currentOrder);
|
||||
Tools::redirect('index.php?controller=order-confirmation&key='.$customer->secure_key.'&id_cart='.(int)($cart->id).'&id_module='.(int)$cashOnDelivery->id.'&id_order='.(int)$cashOnDelivery->currentOrder);
|
||||
}
|
||||
else
|
||||
{
|
||||
/* or ask for confirmation */
|
||||
$smarty->assign(array(
|
||||
'total' => $cart->getOrderTotal(true, Cart::BOTH),
|
||||
'this_path_ssl' => Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'modules/cashondelivery/'
|
||||
));
|
||||
|
||||
$smarty->assign('this_path', __PS_BASE_URI__.'modules/cashondelivery/');
|
||||
$template = 'validation.tpl';
|
||||
echo $cashOnDelivery->display('cashondelivery', $template);
|
||||
}
|
||||
|
||||
include(dirname(__FILE__).'/../../footer.php');
|
||||
@@ -1,58 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 7465 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
{capture name=path}{l s='Shipping' mod='cashondelivery'}{/capture}
|
||||
{include file="$tpl_dir./breadcrumb.tpl"}
|
||||
|
||||
<h2>{l s='Order summation' mod='cashondelivery'}</h2>
|
||||
|
||||
{assign var='current_step' value='payment'}
|
||||
{include file="$tpl_dir./order-steps.tpl"}
|
||||
|
||||
<h3>{l s='Cash on delivery (COD) payment' mod='cashondelivery'}</h3>
|
||||
|
||||
<form action="{$this_path_ssl}validation.php" method="post">
|
||||
<input type="hidden" name="confirm" value="1" />
|
||||
<p>
|
||||
<img src="{$this_path}cashondelivery.jpg" alt="{l s='Cash on delivery (COD) payment' mod='cashondelivery'}" style="float:left; margin: 0px 10px 5px 0px;" />
|
||||
{l s='You have chosen the cash on delivery method.' mod='cashondelivery'}
|
||||
<br/><br />
|
||||
{l s='The total amount of your order is' mod='cashondelivery'}
|
||||
<span id="amount_{$currencies.0.id_currency}" class="price">{convertPrice price=$total}</span>
|
||||
{if $use_taxes == 1}
|
||||
{l s='(tax incl.)' mod='cashondelivery'}
|
||||
{/if}
|
||||
</p>
|
||||
<p>
|
||||
<br /><br />
|
||||
<br /><br />
|
||||
<b>{l s='Please confirm your order by clicking \'I confirm my order\'' mod='cashondelivery'}.</b>
|
||||
</p>
|
||||
<p class="cart_navigation">
|
||||
<a href="{$link->getPageLink('order', true, NULL, "step=3")}" class="button_large">{l s='Other payment methods' mod='cashondelivery'}</a>
|
||||
<input type="submit" name="submit" value="{l s='I confirm my order' mod='cashondelivery'}" class="exclusive_large" />
|
||||
</p>
|
||||
</form>
|
||||
@@ -1,82 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @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
|
||||
*/
|
||||
|
||||
class Disposition
|
||||
{
|
||||
const TABLE_NAME = 'disposition';
|
||||
|
||||
public static function create($id_cart, $mtid, $amount, $currency)
|
||||
{
|
||||
return Db::getInstance()->execute(
|
||||
'INSERT INTO `'._DB_PREFIX_.self::TABLE_NAME.'` (`id_cart`, `mtid`, `amount`, `currency`)
|
||||
VALUES ('.(int)($id_cart).',\''.pSQL($mtid).'\','.(float)($amount).',\''.pSQL($currency).'\')');
|
||||
}
|
||||
|
||||
public static function delete($id)
|
||||
{
|
||||
return Db::getInstance()->execute('DELETE FROM `'._DB_PREFIX_.self::TABLE_NAME.'` WHERE `id_disposition` = '.(int)($id));
|
||||
}
|
||||
|
||||
public static function deleteByCartId($id_cart)
|
||||
{
|
||||
return Db::getInstance()->execute('DELETE FROM `'._DB_PREFIX_.self::TABLE_NAME.'` WHERE `id_cart` = '.(int)($id_cart));
|
||||
}
|
||||
|
||||
public static function getByCartId($id_cart)
|
||||
{
|
||||
return Db::getInstance()->getRow('SELECT * FROM `'._DB_PREFIX_.self::TABLE_NAME.'` WHERE `id_cart` = '.(int)($id_cart));
|
||||
}
|
||||
|
||||
public static function createTable()
|
||||
{
|
||||
return Db::getInstance()->execute(
|
||||
'CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.self::TABLE_NAME.'` (
|
||||
`id_disposition` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`id_cart` int(11) NOT NULL,
|
||||
`mtid` varchar(20) NOT NULL,
|
||||
`amount` float NOT NULL,
|
||||
`currency` varchar(3) NOT NULL,
|
||||
PRIMARY KEY (`id_disposition`),
|
||||
UNIQUE KEY `id_cart` (`id_cart`)
|
||||
) ENGINE = '._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8');
|
||||
}
|
||||
|
||||
public static function dropTable()
|
||||
{
|
||||
return Db::getInstance()->execute('DROP TABLE IF EXISTS `'._DB_PREFIX_.self::TABLE_NAME.'`');
|
||||
}
|
||||
|
||||
public static function updateAmount($id_disposition, $amount)
|
||||
{
|
||||
return Db::getInstance()->execute(
|
||||
'UPDATE `'._DB_PREFIX_.self::TABLE_NAME.'` SET `amount` = `amount` - '.(float)($amount).' WHERE `id_disposition` = '.(int)($id_disposition));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,675 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 7091 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
$module_name = 'cashticket';
|
||||
|
||||
include(_PS_MODULE_DIR_.$module_name.'/Disposition.php');
|
||||
include(_PS_MODULE_DIR_.$module_name.'/PrepaidServicesAPI.php');
|
||||
|
||||
abstract class PrepaidServices extends PaymentModule
|
||||
{
|
||||
protected $max_amount = 1000;
|
||||
protected $max_amount_currency = 'EUR';
|
||||
protected $default_language = 'en';
|
||||
|
||||
protected $prefix = '';
|
||||
|
||||
protected $environments = array('P' => 'Production',
|
||||
'T' => 'Test');
|
||||
|
||||
protected $business_types = array('I' => 'Intangible',
|
||||
'T' => 'Tangible');
|
||||
|
||||
// abstract
|
||||
protected $supported_languages;
|
||||
protected $allowed_currencies;
|
||||
protected $supported_currencies;
|
||||
protected $payment_url;
|
||||
protected $prepaid_api_configuration;
|
||||
protected $register_url;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
if ($this->active AND !extension_loaded('curl'))
|
||||
$this->warning = $this->getL('curl_required');
|
||||
}
|
||||
|
||||
public function install()
|
||||
{
|
||||
$ps_ct_immediat_payment = Configuration::get($this->prefix.'IMMEDIAT_PAYMENT') ? Configuration::get($this->prefix.'IMMEDIAT_PAYMENT') : '1';
|
||||
$ps_ct_salt = Configuration::get($this->prefix.'SALT') ? Configuration::get($this->prefix.'SALT') : strtoupper(Tools::passwdGen(8));
|
||||
$ps_ct_business_type = Configuration::get($this->prefix.'BUSINESS_TYPE') ? Configuration::get($this->prefix.'BUSINESS_TYPE') : 'I';
|
||||
$ps_ct_environment = Configuration::get($this->prefix.'ENVIRONMENT') ? Configuration::get($this->prefix.'ENVIRONMENT') : 'T';
|
||||
|
||||
return parent::install() AND Disposition::createTable() AND $this->_createOrderState() AND
|
||||
$this->registerHook('payment') AND $this->registerHook('paymentReturn') AND $this->registerHook('adminOrder')
|
||||
AND Configuration::updateValue($this->prefix.'IMMEDIAT_PAYMENT', $ps_ct_immediat_payment)
|
||||
AND Configuration::updateValue($this->prefix.'SALT', $ps_ct_salt)
|
||||
AND Configuration::updateValue($this->prefix.'BUSINESS_TYPE', $ps_ct_business_type)
|
||||
AND Configuration::updateValue($this->prefix.'ENVIRONMENT', $ps_ct_environment);
|
||||
}
|
||||
|
||||
private function _createOrderState()
|
||||
{
|
||||
|
||||
if (Configuration::get($this->prefix.'ORDER_STATE_ID') && Configuration::get($this->prefix.'ORDER_STATE_PART_ID')) return true;
|
||||
|
||||
// Awaiting payment
|
||||
$os = new OrderState();
|
||||
$os->name = array('1' => 'Awaiting '.$this->displayName.' payment',
|
||||
'2' => 'En attente du paiement par '.$this->displayName,
|
||||
'3' => 'En espera de pago por '.$this->displayName);
|
||||
|
||||
$os->invoice = false;
|
||||
$os->color = 'lightblue';
|
||||
$os->logable = true;
|
||||
|
||||
if ($os->save())
|
||||
{
|
||||
Configuration::updateValue($this->prefix.'ORDER_STATE_ID', $os->id);
|
||||
|
||||
copy(_PS_MODULE_DIR_.$this->name.'/logo.gif',_PS_IMG_DIR_.'os/'.$os->id.'.gif');
|
||||
} else
|
||||
return false;
|
||||
|
||||
// Partially paid
|
||||
$os1 = new OrderState();
|
||||
$os1->name = array('1' => 'Partially paid by '.$this->displayName,
|
||||
'2' => 'Payé partiellement via '.$this->displayName,
|
||||
'3' => 'Pagado parcialmente con '.$this->displayName);
|
||||
|
||||
$os1->invoice = false;
|
||||
$os1->color = 'lightblue';
|
||||
$os1->logable = true;
|
||||
|
||||
if ($os1->save())
|
||||
{
|
||||
Configuration::updateValue($this->prefix.'ORDER_STATE_PART_ID', $os1->id);
|
||||
copy(_PS_MODULE_DIR_.$this->name.'/logo.gif',_PS_IMG_DIR_.'os/'.$os1->id.'.gif');
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
private function _deleteOrderState()
|
||||
{
|
||||
DB::getInstance()->Execute('DELETE FROM `'._DB_PREFIX_.'order_state` WHERE `id_order_state` = '.(int)(Configuration::get($this->prefix.'ORDER_STATE_ID')));
|
||||
DB::getInstance()->Execute('DELETE FROM `'._DB_PREFIX_.'order_state_lang` WHERE `id_order_state` = '.(int)(Configuration::get($this->prefix.'ORDER_STATE_ID')));
|
||||
|
||||
DB::getInstance()->Execute('DELETE FROM `'._DB_PREFIX_.'order_state` WHERE `id_order_state` = '.(int)(Configuration::get($this->prefix.'ORDER_STATE_PART_ID')));
|
||||
DB::getInstance()->Execute('DELETE FROM `'._DB_PREFIX_.'order_state_lang` WHERE `id_order_state` = '.(int)(Configuration::get($this->prefix.'ORDER_STATE_PART_ID')));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public function getPaymentUrlBase()
|
||||
{
|
||||
return $this->payment_url[Configuration::get($this->prefix.'ENVIRONMENT')];
|
||||
}
|
||||
|
||||
private function _getSupportedLanguageIsoById($id_lang)
|
||||
{
|
||||
$lang = Language::getIsoById((int)($id_lang));
|
||||
|
||||
return in_array($lang, $this->supported_languages) ? $lang : $this->default_language;
|
||||
}
|
||||
|
||||
private function _getRegisterLink($id_lang)
|
||||
{
|
||||
$lang = Language::getIsoById((int)($id_lang));
|
||||
return array_key_exists($lang, $this->register_url) ? $this->register_url[$lang] : $this->register_url[$this->default_language];
|
||||
}
|
||||
|
||||
private function _getAllowedCurrencies()
|
||||
{
|
||||
if (empty($this->allowed_currencies))
|
||||
$this->allowed_currencies = DB::getInstance()->executeS(
|
||||
'SELECT c.id_currency, c.iso_code, c.name, c.sign
|
||||
FROM '._DB_PREFIX_.'currency c
|
||||
WHERE c.deleted = 0
|
||||
AND iso_code IN (\''.implode('\',\'', $this->supported_currencies).'\')');
|
||||
|
||||
return $this->allowed_currencies;
|
||||
}
|
||||
|
||||
public function isCurrencyActive($currency_iso_code)
|
||||
{
|
||||
$mid = Configuration::get($this->prefix.'MERCHANT_ID_'.$currency_iso_code);
|
||||
return ($mid && file_exists($this->certificat_dir.$mid.'.pem') && Configuration::get($this->prefix.'KEYRING_PW_'.$currency_iso_code));
|
||||
}
|
||||
|
||||
public function createDisposition($cart)
|
||||
{
|
||||
|
||||
$currency = new Currency((int)($cart->id_currency));
|
||||
$language = $this->_getSupportedLanguageIsoById($this->context->language->id);
|
||||
$mid = Configuration::get($this->prefix.'MERCHANT_ID_'.$currency->iso_code);
|
||||
$mtid = $cart->id.'-'.time();
|
||||
$amount = number_format((float)($cart->getOrderTotal(true, Cart::BOTH)), 2, '.','');
|
||||
$currency_iso = $currency->iso_code;
|
||||
$business_type = Configuration::get($this->prefix.'BUSINESS_TYPE');
|
||||
$reporting_criteria = '';
|
||||
|
||||
$hash = md5(Configuration::get($this->prefix.'SALT') + $amount + $currency_iso);
|
||||
|
||||
$ok_url = Tools::getShopDomainSsl(true, true)._MODULE_DIR_.$this->name.'/payment.php?hash='.$hash;
|
||||
$nok_url = Tools::getShopDomainSsl(true, true).'index.php?controller=order&step=3';
|
||||
|
||||
list($return_code, $error_code, $message) = PrepaidServicesAPI::createDisposition($this->getAPIConfiguration($currency_iso), $mid, $mtid, $amount, $currency_iso, $ok_url, $nok_url, $business_type, $reporting_criteria);
|
||||
|
||||
if ($return_code == 0)
|
||||
{
|
||||
Disposition::deleteByCartId((int)($cart->id)); // Avoid duplicate disposition (canceled orders in CT for example)
|
||||
Disposition::create((int)($cart->id), $mtid, $amount, $currency_iso);
|
||||
$message = $this->getPaymentUrlBase().'?currency='.$currency->iso_code.'&mid='.$mid.'&mtid='.$mtid.'&amount='.$amount.'&language='.$language;
|
||||
}
|
||||
|
||||
return array('return_code' => $return_code, 'message' => $message);
|
||||
}
|
||||
|
||||
public function getDispositionState($id_cart)
|
||||
{
|
||||
$disposition = Disposition::getByCartId((int)($id_cart));
|
||||
|
||||
if (!array_key_exists('id_disposition', $disposition))
|
||||
die(Tools::displayError());
|
||||
|
||||
return PrepaidServicesAPI::getSerialNumbers($this->getAPIConfiguration($disposition['currency']), Configuration::get($this->prefix.'MERCHANT_ID_'.$disposition['currency']), $disposition['mtid'], $disposition['currency']);
|
||||
}
|
||||
|
||||
public function executeDebit($id_cart, $amount = NULL, $close_flag = 1)
|
||||
{
|
||||
$disposition = Disposition::getByCartId((int)($id_cart));
|
||||
if (!array_key_exists('id_disposition', $disposition))
|
||||
die(Tools::displayError());
|
||||
|
||||
if (!isset($amount) || $amount === '')
|
||||
$amount = $disposition['amount'];
|
||||
|
||||
$result = PrepaidServicesAPI::executeDebit($this->getAPIConfiguration($disposition['currency']), Configuration::get($this->prefix.'MERCHANT_ID_'.$disposition['currency']), $disposition['mtid'], number_format($amount, 2, '.', ''), $disposition['currency'], $close_flag);
|
||||
|
||||
if ($result[0] == 0)
|
||||
{
|
||||
if ($amount == $disposition['amount'] || $close_flag)
|
||||
Disposition::delete((int)($disposition['id_disposition']));
|
||||
else
|
||||
Disposition::updateAmount((int)($disposition['id_disposition']), (float)($amount));
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
||||
public function getContent()
|
||||
{
|
||||
$out = '<h2>'.$this->displayName.'</h2>';
|
||||
$err_req = false;
|
||||
|
||||
// check requirements
|
||||
if (!extension_loaded('curl'))
|
||||
{
|
||||
$out .= $this->displayError($this->getL('curl_required'));
|
||||
$err_req = true;
|
||||
}
|
||||
|
||||
|
||||
if (!is_writable($this->certificat_dir))
|
||||
{
|
||||
$out .= $this->displayError($this->certificat_dir.' '.$this->getL('not_writable'));
|
||||
$err_req = true;
|
||||
}
|
||||
|
||||
$id_currency = Currency::getIdByIsoCode($this->max_amount_currency);
|
||||
if (empty($id_currency))
|
||||
{
|
||||
$out .= $this->displayError($this->getL('currency_required').'['.$this->max_amount_currency.']');
|
||||
$err_req = true;
|
||||
}
|
||||
|
||||
if (!$err_req && Tools::isSubmit('submitCtConfiguration'))
|
||||
{
|
||||
$errors = $this->_validateForm();
|
||||
|
||||
if (empty($errors))
|
||||
$out .= $this->_postProcess();
|
||||
else
|
||||
$out .= $errors;
|
||||
}
|
||||
|
||||
$out .= $this->_displayStyleAndJS();
|
||||
$out .= $this->_displayInfos();
|
||||
$out .= $this->_displayForm();
|
||||
|
||||
return $out;
|
||||
}
|
||||
|
||||
private function _displayStyleAndJS()
|
||||
{
|
||||
return '<script type="text/javascript" src="'._MODULE_DIR_.$this->name.'/prepaidservices.js" ></script>
|
||||
<style>
|
||||
.currencies_configuration { border: 2px solid #DFD5C3; border-collapse: collapse; }
|
||||
.currencies_configuration td { width: 200px; padding: 20px; border: 2px solid #DFD5C3 }
|
||||
.currency_label { font-weight: bold; }
|
||||
.currencies_label { font-weight: bold; padding: 0px; }
|
||||
#infos_cashticket { width: 420px; float: left}
|
||||
</style>';
|
||||
}
|
||||
|
||||
private function _displayForm()
|
||||
{
|
||||
$business_type_options = '';
|
||||
foreach ($this->business_types AS $key => $value)
|
||||
$business_type_options .= '<option value="'.$key.'" '.(Configuration::get($this->prefix.'BUSINESS_TYPE') == $key ? 'selected' : '').'>'.$value.'</option>';
|
||||
|
||||
$currencies_configuration = '<p class="currencies_label">'.$this->getL('configure_currency').'</p>
|
||||
<p>'.$this->getL('payment_not_displayed').'</p>
|
||||
<table class="currencies_configuration">';
|
||||
|
||||
$environment_radio = '';
|
||||
foreach ($this->environments AS $key => $value)
|
||||
$environment_radio .= '<input type="radio" id="ct_environment" name="ct_environment" value="'.Tools::htmlentitiesUTF8($key).'" '.(Configuration::get($this->prefix.'ENVIRONMENT') == $key ? 'checked' : '').'>'. $value. '<br />';
|
||||
|
||||
foreach ($this->_getAllowedCurrencies() AS $currency)
|
||||
{
|
||||
$mid = Configuration::get($this->prefix.'MERCHANT_ID_'.$currency['iso_code']);
|
||||
$certificateExiste = '';
|
||||
$passwordExist = '';
|
||||
if (file_exists($this->certificat_dir.$mid.'.pem'))
|
||||
$certificateExiste = '<div style="color:#00b511; text-align:center;">'.$this->l('A certificate has been found for this configuration').' : '.$mid.'.pem'.'</div><br />';
|
||||
if (Configuration::get($this->prefix.'KEYRING_PW_'.$currency['iso_code']))
|
||||
$passwordExist = '<div style="color:#00b511; text-align:center;">'.$this->l('A password has already been saved');
|
||||
|
||||
$currencies_configuration .= '
|
||||
<tr>
|
||||
<td class="currency_label">'.$this->getL('configuration_in').' '.$currency['name'].' '.$currency['sign'].'</td>
|
||||
<td>
|
||||
<label>'.$this->getL('merchant_id').'</label>
|
||||
<div class="margin-form">
|
||||
<input type="text" name="ct_merchant_id_'.$currency['iso_code'].'" value="'.Tools::htmlentitiesUTF8(Configuration::get($this->prefix.'MERCHANT_ID_'.$currency['iso_code'])).'"/>
|
||||
</div>
|
||||
<br />
|
||||
<label>'.$this->getL('keyring_certificate').'</label>
|
||||
<div class="margin-form">
|
||||
<input type="file" name="ct_keyring_certificate_'.$currency['iso_code'].'" />
|
||||
</div>
|
||||
'.$certificateExiste.'
|
||||
<label>'.$this->getL('keyring_pw').'</label>
|
||||
<div class="margin-form">
|
||||
<input type="password" name="ct_keyring_pw_'.$currency['iso_code'].'" value=""/>
|
||||
</div>
|
||||
'.$passwordExist.'
|
||||
</td>
|
||||
</tr>';
|
||||
}
|
||||
$currencies_configuration .= '</table>';
|
||||
|
||||
return '<form enctype="multipart/form-data" action="'.Tools::htmlentitiesUTF8($_SERVER['REQUEST_URI']).'" method="post">
|
||||
<fieldset>
|
||||
<legend><img src="../img/admin/cog.gif" alt="" />'.$this->getL('configuration').'</legend>
|
||||
<label>'.$this->getL('environment').'</label>
|
||||
<div class="margin-form">
|
||||
'.$environment_radio.'
|
||||
</div>
|
||||
<hr class="clear" />
|
||||
<label>'.$this->getL('business_type').'</label>
|
||||
<div class="margin-form">
|
||||
<select id="ct_business_type" name="ct_business_type" onchange="toggleImediatPayment()">
|
||||
'.$business_type_options.'
|
||||
</select>
|
||||
</div>
|
||||
<div id="imediat_payment">
|
||||
<label>'.$this->getL('immediat_payment').'</label>
|
||||
<div class="margin-form">
|
||||
<input type="checkbox" name="ct_immediat_payment" value="1" '.(Configuration::get($this->prefix.'IMMEDIAT_PAYMENT') ? 'checked' : '').' />
|
||||
</div>
|
||||
</div>
|
||||
<hr class="clear" />
|
||||
'.$currencies_configuration.'
|
||||
<br />
|
||||
<div>
|
||||
<input type="submit" value="'.$this->getL('update_configuration').'" name="submitCtConfiguration" class="button" />
|
||||
</div>
|
||||
</label>
|
||||
</fieldset>
|
||||
</form>';
|
||||
}
|
||||
|
||||
private function _displayInfos()
|
||||
{
|
||||
|
||||
return '<fieldset id="infos_cashticket">
|
||||
<legend><img src="'._MODULE_DIR_.$this->name.'/img/payment-small.png" alt="" />'.$this->displayName.'</legend>
|
||||
<center><img src="'._MODULE_DIR_.$this->name.'/img/payment.png" alt="" class="logo" /></center>
|
||||
'.$this->getL('introduction').'
|
||||
<br /><br />
|
||||
<a style="color: blue; text-decoration: underline" href="'.$this->_getRegisterLink($this->context->language->id).'">'.$this->getL('register').'</a>
|
||||
</fieldset>
|
||||
<div class="clear" /><br />';
|
||||
}
|
||||
|
||||
private function _validateForm()
|
||||
{
|
||||
$errors = '';
|
||||
|
||||
foreach ($this->_getAllowedCurrencies() AS $currency)
|
||||
{
|
||||
$mid = trim(Tools::getValue('ct_merchant_id_'.$currency['iso_code']));
|
||||
|
||||
if (preg_match('/^[0-9]{10}$/', $mid))
|
||||
{
|
||||
$mid_certificat = $_FILES['ct_keyring_certificate_'.$currency['iso_code']];
|
||||
|
||||
if (!$mid_certificat || $mid_certificat['error'] == 4 || $mid_certificat['error'] == 3)
|
||||
{
|
||||
if (!file_exists($this->certificat_dir.$mid.'.pem'))
|
||||
$errors .= $this->displayError($this->getL('certificate_required').' ['.$currency['iso_code'].']');
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($mid_certificat['error'])
|
||||
{
|
||||
switch ($mid_certificat['error'])
|
||||
{
|
||||
case 3: // UPLOAD_ERR_PARTIAL
|
||||
$errors .= $this->displayError($this->getL('file_partialy_uploaded'));
|
||||
break;
|
||||
|
||||
case 4: // UPLOAD_ERR_NO_FILE
|
||||
$errors .= $this->displayError($this->getL('file_empty'));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (substr($mid_certificat['name'], -4) != '.pem')
|
||||
$errors .= $this->displayError($this->getL('invalid_file').' ['.$currency['iso_code'].']');
|
||||
}
|
||||
}
|
||||
elseif (!empty($mid))
|
||||
{
|
||||
$errors .= $this->displayError($this->getL('invalid_merchant_id').' ['.$currency['iso_code'].']');
|
||||
}
|
||||
}
|
||||
|
||||
if (!array_key_exists(Tools::getValue('ct_business_type'), $this->business_types))
|
||||
$errors .= $this->getL('invalid_business_type');
|
||||
|
||||
if (!array_key_exists(Tools::getValue('ct_environment'), $this->environments))
|
||||
$errors .= $this->getL('invalid_environment');
|
||||
|
||||
return $errors;
|
||||
}
|
||||
|
||||
private function _acceptPayment($order, $disposition, $currency_sign, $amount = NULL)
|
||||
{
|
||||
$isCorrect = true;
|
||||
if (!$disposition)
|
||||
die(Tools::displayError());
|
||||
|
||||
if (!isset($amount) || $amount === '')
|
||||
$amount = $disposition['amount'];
|
||||
|
||||
$amount = number_format($amount, 2, '.', '');
|
||||
$close_flag = (int)($amount == $disposition['amount']);
|
||||
|
||||
list($resultcode, $errorcode, $errormessage) = $this->executeDebit($disposition['id_cart'], $amount, $close_flag);
|
||||
|
||||
$param = '';
|
||||
if ($resultcode != 0)
|
||||
{
|
||||
$message = $this->getL('payment_error').' '.$errormessage;
|
||||
$isCorrect = false;
|
||||
}
|
||||
else
|
||||
$message = $this->getL('payment_accepted') .'('.$amount.' '.$currency_sign.') '.($close_flag ? $this->getL('disposition_consumed') : '') ;
|
||||
|
||||
$msg = new Message();
|
||||
$msg->message = $message;
|
||||
$msg->id_order = (int)($order->id);
|
||||
$msg->private = 1;
|
||||
$msg->add();
|
||||
|
||||
if ($isCorrect)
|
||||
{
|
||||
if ($order->total_paid == $order->total_paid_real)
|
||||
$order->total_paid_real = $amount;
|
||||
else
|
||||
$order->total_paid_real += $amount;
|
||||
|
||||
$os = Configuration::get('PS_OS_PAYMENT');
|
||||
if ($order->total_paid != $order->total_paid_real)
|
||||
$os = Configuration::get($this->prefix.'ORDER_STATE_PART_ID');
|
||||
|
||||
$history = new OrderHistory();
|
||||
$history->id_order = (int)($order->id);
|
||||
$history->changeIdOrderState($os, (int)($order->id));
|
||||
$history->save();
|
||||
|
||||
$order->save();
|
||||
}
|
||||
|
||||
return $isCorrect;
|
||||
}
|
||||
|
||||
public function _releasePayment($order, $disposition)
|
||||
{
|
||||
if (!$disposition)
|
||||
die(Tools::displayError());
|
||||
|
||||
list($resultcode, $errorcode, $errormessage) = $this->executeDebit($disposition['id_cart'], 0, 1);
|
||||
|
||||
$param = '';
|
||||
if ($resultcode != 0)
|
||||
{
|
||||
$message = $this->getL('release_error').' '.$errormessage;
|
||||
$isCorrect = false;
|
||||
}
|
||||
else
|
||||
$message = $this->getL('payment_released');
|
||||
|
||||
$msg = new Message();
|
||||
$msg->message = $message;
|
||||
$msg->id_order = (int)($order->id);
|
||||
$msg->private = 1;
|
||||
$msg->add();
|
||||
|
||||
return $errorcode;
|
||||
}
|
||||
|
||||
private function _postProcess()
|
||||
{
|
||||
Configuration::updateValue($this->prefix.'BUSINESS_TYPE', Tools::getValue('ct_business_type'));
|
||||
Configuration::updateValue($this->prefix.'ENVIRONMENT', Tools::getValue('ct_environment'));
|
||||
|
||||
$immediat_payment = Tools::getValue('ct_immediat_payment');
|
||||
if (Configuration::get($this->prefix.'BUSINESS_TYPE') == 'I')
|
||||
$immediat_payment = 1;
|
||||
|
||||
Configuration::updateValue($this->prefix.'IMMEDIAT_PAYMENT', $immediat_payment);
|
||||
|
||||
$params = '';
|
||||
$dataSync = '';
|
||||
$delim = '?';
|
||||
$key = 1;
|
||||
foreach ($this->_getAllowedCurrencies() AS $currency)
|
||||
{
|
||||
$mid = trim(Tools::getValue('ct_merchant_id_'.$currency['iso_code']));
|
||||
|
||||
Configuration::updateValue($this->prefix.'MERCHANT_ID_'.$currency['iso_code'], $mid);
|
||||
|
||||
$pass = Tools::getValue('ct_keyring_pw_'.$currency['iso_code']);
|
||||
if (!empty($pass))
|
||||
Configuration::updateValue($this->prefix.'KEYRING_PW_'.$currency['iso_code'], Tools::getValue('ct_keyring_pw_'.$currency['iso_code']));
|
||||
|
||||
Configuration::updateValue($this->prefix.'KEYRING_PW_'.$currency['iso_code'], Tools::getValue('ct_keyring_pw_'.$currency['iso_code']));
|
||||
|
||||
if (isset($_FILES['ct_keyring_certificate_'.$currency['iso_code']]))
|
||||
move_uploaded_file($_FILES['ct_keyring_certificate_'.$currency['iso_code']]['tmp_name'], $this->certificat_dir.$mid.'.pem');
|
||||
|
||||
if ($mid)
|
||||
{
|
||||
$params .= $delim.'mid'.$key.'='.urlencode($mid).'¤cy'.$key.'='.urlencode($currency['iso_code']);
|
||||
$delim = '&';
|
||||
$key++;
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($params))
|
||||
$dataSync = '<img src="http://api.prestashop.com/modules/'.$this->name.'.png'.$params.'" style="float:right" />';
|
||||
|
||||
return $this->displayConfirmation($this->getL('settings_updated').$dataSync);
|
||||
}
|
||||
|
||||
public function hookPayment($params)
|
||||
{
|
||||
|
||||
// check currency
|
||||
$currency = new Currency((int)($params['cart']->id_currency));
|
||||
|
||||
if (!$this->isCurrencyActive($currency->iso_code))
|
||||
return false;
|
||||
|
||||
// check max amount
|
||||
$amount = (float)($params['cart']->getOrderTotal(true, Cart::BOTH));
|
||||
$id_currency_max = Currency::getIdByIsoCode($this->max_amount_currency);
|
||||
|
||||
if ($currency->id != $id_currency_max)
|
||||
{
|
||||
$amount = $amount / $currency->conversion_rate;
|
||||
$amount = Tools::convertPrice($amount, new Currency((int)($id_currency_max)));
|
||||
}
|
||||
|
||||
if ($amount > $this->max_amount)
|
||||
return false;
|
||||
|
||||
$this->context->smarty->assign(array('pic_url' => _MODULE_DIR_.'/'.$this->name.'/img/payment-logo.png',
|
||||
'payment_name' => $this->displayName,
|
||||
'module_name' => $this->name));
|
||||
|
||||
return $this->display(dirname(__FILE__), 'payment.tpl');
|
||||
}
|
||||
|
||||
|
||||
public function hookPaymentReturn($params)
|
||||
{
|
||||
|
||||
if ($params['objOrder']->module != $this->name)
|
||||
return;
|
||||
|
||||
$this->context->smarty->assign('payment_name', $this->displayName);
|
||||
return $this->display(__FILE__, $this->name.'-confirmation.tpl');
|
||||
}
|
||||
|
||||
|
||||
public function hookAdminOrder($params)
|
||||
{
|
||||
$error = 0;
|
||||
$order = new Order((int)($params['id_order']));
|
||||
|
||||
if (!Validate::isLoadedObject($order))
|
||||
die(Tools::displayError());
|
||||
|
||||
if ($order->module != $this->name)
|
||||
return false;
|
||||
|
||||
$disposition = Disposition::getByCartId((int)($order->id_cart));
|
||||
if (!$disposition) // No disposition = Order paid
|
||||
return false;
|
||||
|
||||
// check disposition state
|
||||
$res = PrepaidServicesAPI::getSerialNumbers($this->getAPIConfiguration($disposition['currency']), Configuration::get($this->prefix.'MERCHANT_ID_'.$disposition['currency']), $disposition['mtid'], $disposition['currency']);
|
||||
$currency = $this->context->currency;
|
||||
|
||||
// if the disposition is not "active"
|
||||
if ($res[5] != PrepaidServicesAPI::DISPOSITION_DISPOSED && $res[5] != PrepaidServicesAPI::DISPOSITION_DEBITED)
|
||||
{
|
||||
$this->context->smarty->assign(array('disposition_state' => $res[5], 'payment_name' => $order->payment));
|
||||
return $this->display($this->module_dir.'/'.$this->name, 'disposition-error.tpl');
|
||||
}
|
||||
|
||||
if (Tools::isSubmit('acceptPayment'))
|
||||
{
|
||||
$amount = Tools::getValue('ps_amount');
|
||||
if (isset($amount) && !empty($amount) && $amount <= $res[3] && $amount > 0)
|
||||
{
|
||||
if (!$this->_acceptPayment($order, $disposition, $currency->getSign('right'), $amount))
|
||||
$error = 1;
|
||||
}
|
||||
else
|
||||
$error = 2;
|
||||
|
||||
$query_string = $error ? self::changeQueryStringParameter($_SERVER['QUERY_STRING'], 'pp_error', (int)($error)) : self::removeQueryStringParameter($_SERVER['QUERY_STRING'], 'pp_error');
|
||||
Tools::redirectAdmin(Tools::safeOutput($_SERVER['PHP_SELF']).'?'.$query_string);
|
||||
}
|
||||
elseif (Tools::isSubmit('releasePayment'))
|
||||
{
|
||||
if (!$this->_releasePayment($order, $disposition))
|
||||
$error = 1;
|
||||
|
||||
$query_string = $error ? self::changeQueryStringParameter($_SERVER['QUERY_STRING'], 'pp_error', (int)($error)) : $_SERVER['QUERY_STRING'];
|
||||
Tools::redirectAdmin(Tools::safeOutput($_SERVER['PHP_SELF']).'?'.$query_string);
|
||||
}
|
||||
|
||||
$error_msg = '';
|
||||
if (Tools::getIsset('pp_error'))
|
||||
$error_msg = $this->_getErrorMsgFromErrorCode(Tools::getValue('pp_error'));
|
||||
|
||||
$this->context->smarty->assign(array('action' => Tools::safeOutput($_SERVER['PHP_SELF']).'?'.$_SERVER['QUERY_STRING'],
|
||||
'payment_name' => $order->payment,
|
||||
'error' => $error_msg,
|
||||
'currency' => $currency->getSign('right'),
|
||||
'amount' => $res[3]
|
||||
));
|
||||
|
||||
return $this->display($this->module_dir.'/'.$this->name, $this->name.'-accept-payment.tpl');
|
||||
}
|
||||
|
||||
public function getAPIConfiguration($iso_currency)
|
||||
{
|
||||
return array('keyring_file' => $this->certificat_dir.Configuration::get($this->prefix.'MERCHANT_ID_'.strtoupper($iso_currency)).'.pem',
|
||||
'keyring_pw' => Configuration::get($this->prefix.'KEYRING_PW_'.strtoupper($iso_currency)),
|
||||
'keyring_prepaid' => $this->certificat_dir.'paysafecard-CA.pem',
|
||||
'env' => Configuration::get($this->prefix.'ENVIRONMENT'));
|
||||
}
|
||||
|
||||
public static function changeQueryStringParameter($query_string, $param, $value)
|
||||
{
|
||||
parse_str($query_string, $output);
|
||||
$output[$param] = $value;
|
||||
return http_build_query($output);
|
||||
}
|
||||
|
||||
public static function removeQueryStringParameter($query_string, $param)
|
||||
{
|
||||
parse_str($query_string, $output);
|
||||
unset($output[$param]);
|
||||
return http_build_query($output);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,206 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @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
|
||||
*/
|
||||
|
||||
class PrepaidServicesAPI
|
||||
{
|
||||
const DISPOSITION_CREATED = 'R';
|
||||
const DISPOSITION_DISPOSED = 'S';
|
||||
const DISPOSITION_DEBITED = 'E';
|
||||
const DISPOSITION_CONSUMED = 'O';
|
||||
const DISPOSITION_CANCELLED = 'L';
|
||||
const DISPOSITION_INVALID = 'I';
|
||||
const DISPOSITION_EXPIRED = 'X';
|
||||
|
||||
// Test & Production environment (shared between CT & PSC)
|
||||
private static $base_url = array('T' => array('create_disposition_url' => 'https://shops.test.at.paysafecard.com/pscmerchant/CreateDispositionServlet',
|
||||
'get_disposition_state_url' => 'https://shops.test.at.paysafecard.com/pscmerchant/GetDispositionStateServlet',
|
||||
'execute_debit_url' => 'https://shops.test.at.paysafecard.com/pscmerchant/DebitServlet',
|
||||
'get_serial_number_url' => 'https://shops.test.at.paysafecard.com/pscmerchant/GetSerialNumbersServlet'
|
||||
),
|
||||
'P' => array('create_disposition_url' => 'https://shops.cc.at.paysafecard.com/pscmerchant/CreateDispositionServlet',
|
||||
'get_disposition_state_url' => 'https://shops.cc.at.paysafecard.com/pscmerchant/GetDispositionStateServlet',
|
||||
'execute_debit_url' => 'https://shops.cc.at.paysafecard.com/pscmerchant/DebitServlet',
|
||||
'get_serial_number_url' => 'https://shops.cc.at.paysafecard.com/pscmerchant/GetSerialNumbersServlet'
|
||||
));
|
||||
|
||||
public static function getBaseUrl($key, $env)
|
||||
{
|
||||
$base_url = self::$base_url[$env];
|
||||
|
||||
if (array_key_exists($key, $base_url))
|
||||
return $base_url[$key];
|
||||
|
||||
return '';
|
||||
}
|
||||
|
||||
public static function createDisposition($configuration, $mid, $mtid, $amount, $currency, $okurl, $nokurl, $businesstype, $reportingcriteria)
|
||||
{
|
||||
$language = 'en';
|
||||
$params = 'currency='.$currency.'&mid='.$mid.'&mtid='.$mtid.'&amount='.$amount.'&businesstype='.$businesstype.
|
||||
'&reportingcriteria='.$reportingcriteria.'&okurl='.$okurl.'&nokurl='.$nokurl.'&language='.$language;
|
||||
|
||||
|
||||
list ($rc, $msg, $data) = self::_doHttpRequest(self::getBaseUrl('create_disposition_url', $configuration['env']), $params, $configuration['keyring_file'], $configuration['keyring_pw'], $configuration['keyring_prepaid']);
|
||||
|
||||
if ($rc == 0)
|
||||
{
|
||||
$data_array = explode("\n", $data,7);
|
||||
$resultcode = trim($data_array[0]);
|
||||
$errorcode = trim($data_array[1]);
|
||||
//$errormessage = trim($data_array[2]);
|
||||
// Todo : Find a way to have translation
|
||||
$errormessage = 'Transaction could not be initiated due to connection problems. If the problem persists, please contact our support.';
|
||||
|
||||
return array($resultcode, $errorcode, $errormessage);
|
||||
}
|
||||
else
|
||||
{
|
||||
$resultcode = '9001';
|
||||
$errorcode = $rc;
|
||||
$errormessage = 'libcurl error: '.$msg;
|
||||
|
||||
return array($resultcode,$errorcode,$errormessage);
|
||||
}
|
||||
}
|
||||
|
||||
public static function getDispositionState($configuration, $mid, $mtid, $currency_iso_code)
|
||||
{
|
||||
$language = 'en';
|
||||
$params = 'mid='.$mid.'&mtid='.$mtid.'&language='.$language;
|
||||
|
||||
list ($rc, $msg, $data) = self::_doHttpRequest(self::getBaseUrl('get_disposition_state_url', $configuration['env']), $params, $configuration['keyring_file'], $configuration['keyring_pw'], $configuration['keyring_prepaid']);
|
||||
|
||||
if ($rc == 0)
|
||||
{
|
||||
$dataarray = explode("\n", $data,7);
|
||||
$resultcode = trim($dataarray[0]);
|
||||
$errorcode = trim($dataarray[1]);
|
||||
$errormessage = trim($dataarray[2]);
|
||||
$amount = trim($dataarray[3]);
|
||||
$currency = trim($dataarray[4]);
|
||||
$state = trim($dataarray[5]);
|
||||
|
||||
return array($resultcode, $errorcode, $errormessage, $amount, $currency, $state);
|
||||
}
|
||||
else
|
||||
{
|
||||
$resultcode = '9001';
|
||||
$errorcode = $rc;
|
||||
$errormessage = 'libcurl error: '.$msg;
|
||||
|
||||
return array($resultcode, $errorcode, $errormessage);
|
||||
}
|
||||
}
|
||||
|
||||
public static function getSerialNumbers($configuration, $mid, $mtid, $currency_iso_code)
|
||||
{
|
||||
$language = 'en';
|
||||
$params = 'mid='.$mid.'&mtid='.$mtid.'&language='.$language;
|
||||
|
||||
list ($rc, $msg, $data) = self::_doHttpRequest(self::getBaseUrl('get_serial_number_url', $configuration['env']), $params, $configuration['keyring_file'], $configuration['keyring_pw'], $configuration['keyring_prepaid']);
|
||||
if ($rc == 0)
|
||||
{
|
||||
/* read and return data from paysafecard server */
|
||||
$dataarray = explode("\n", $data,7);
|
||||
$resultcode = trim($dataarray[0]);
|
||||
$errorcode = trim($dataarray[1]);
|
||||
$errormessage = trim($dataarray[2]);
|
||||
$amount = trim($dataarray[3]);
|
||||
$currency = trim($dataarray[4]);
|
||||
$state = trim($dataarray[5]);
|
||||
$snamount = trim($dataarray[6]);
|
||||
return array ($resultcode, $errorcode, $errormessage, $amount, $currency, $state, $snamount);
|
||||
}
|
||||
else
|
||||
{
|
||||
$resultcode = '9001';
|
||||
$errorcode = $rc;
|
||||
$errormessage = 'libcurl error: '.$msg;
|
||||
|
||||
return array ($resultcode, $errorcode, $errormessage);
|
||||
}
|
||||
}
|
||||
|
||||
public static function executeDebit($configuration, $mid, $mtid, $amount, $currency, $close_flag = 1)
|
||||
{
|
||||
$language = 'en';
|
||||
$params = 'currency='.$currency.'&mid='.$mid.'&mtid='.$mtid.'&amount='.$amount.'&close='.$close_flag.'&language='.$language;
|
||||
|
||||
list ($rc, $msg, $data) = self::_doHttpRequest(self::getBaseUrl('execute_debit_url', $configuration['env']), $params, $configuration['keyring_file'], $configuration['keyring_pw'], $configuration['keyring_prepaid']);
|
||||
|
||||
if ($rc == 0)
|
||||
{
|
||||
$dataarray=explode("\n", $data,7);
|
||||
$resultcode=trim($dataarray[0]);
|
||||
$errorcode=trim($dataarray[1]);
|
||||
//$errormessage=trim($dataarray[2]);
|
||||
|
||||
$errormessage = 'The transaction could not be completed. This may have happened due to a temporary connection problem.'.
|
||||
' Please press the "reload" button in your browser or the link below to reload this page to retry completing your transaction. ';
|
||||
return array ($resultcode, $errorcode, $errormessage);
|
||||
}
|
||||
else
|
||||
{
|
||||
$resultcode = '9001';
|
||||
$errorcode = $rc;
|
||||
$errormessage = 'libcurl error: '.$msg;
|
||||
|
||||
return array ($resultcode, $errorcode, $errormessage);
|
||||
}
|
||||
}
|
||||
|
||||
private static function _doHttpRequest($url, $urlparam, $keyringfile, $keyringpw, $cakeyringfile)
|
||||
{
|
||||
/* some prerquisites for the connection */
|
||||
$ch = curl_init($url);
|
||||
curl_setopt($ch, CURLOPT_POST, 1); // a non-zero parameter tells the library to do a regular HTTP post.
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $urlparam); // add POST fields
|
||||
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0); // don't allow redirects
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // return into a variable
|
||||
curl_setopt($ch, CURLOPT_TIMEOUT, 240); // maximum time, in seconds, that you'll allow the CURL functions to take
|
||||
curl_setopt($ch, CURLOPT_SSLCERT, $keyringfile); // filename of PEM formatted certificate
|
||||
curl_setopt($ch, CURLOPT_SSLCERTTYPE, "PEM"); // format of certificate, "PEM" or "DER"
|
||||
curl_setopt($ch, CURLOPT_SSLCERTPASSWD, $keyringpw); // password required to use the CURLOPT_SSLCERT certificate
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1); // verify the peer's certificate
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2); // verify the Common name from the peer certificate
|
||||
curl_setopt($ch, CURLOPT_CAINFO, $cakeyringfile); // file holding one or more certificates to verify the peer with
|
||||
|
||||
$data = curl_exec($ch);
|
||||
$errno = curl_errno($ch);
|
||||
$errmsg = curl_error($ch);
|
||||
|
||||
/* bug fix for PHP 4.1.0/4.1.2 (curl_errno() returns high negative
|
||||
* value in case of successful termination) */
|
||||
if ($errno < 0) $errno = 0;
|
||||
|
||||
curl_close($ch);
|
||||
|
||||
return array ($errno,$errmsg,$data);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @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
|
||||
*}
|
||||
|
||||
<br />
|
||||
<fieldset style="width: 400px">
|
||||
<legend><img src="../img/admin/tab-customers.gif" />{$payment_name}</legend>
|
||||
{if $error}
|
||||
<span style="color: red; font-weight: bold;">{$error}</span>
|
||||
{/if}
|
||||
|
||||
<p style="font-weight: bold;">{l s='Payment has not been accepted yet:' mod='cashticket'}</p>
|
||||
<p>
|
||||
<form action="{$action}" method="POST">
|
||||
<input type="text" name="ps_amount" size="8" value="{$amount}" />{$currency}
|
||||
<input type="submit" class="button" name="acceptPayment" value="{l s='Accept Payment' mod='cashticket'}" />
|
||||
<input type="submit" class="button" name="releasePayment" value="{l s='Release amount' mod='cashticket'}" />
|
||||
</form>
|
||||
</p>
|
||||
</fieldset>
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 7471 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<p>{l s='Your order on' mod='cashticket'} <span class="bold">{$shop_name}</span> {l s='is complete.' mod='cashticket'}
|
||||
<br /><br />
|
||||
{l s='You have chosen the' mod='cashticket'} {$payment_name} {l s='method.' mod='cashticket'}
|
||||
<br /><br /><span class="bold">{l s='Your order will be sent very soon.' mod='cashticket'}</span>
|
||||
<br /><br />{l s='For any questions or for further information, please contact our' mod='cashticket'} <a href="{$link->getPageLink('contact', true)}">{l s='customer support' mod='cashticket'}</a>.
|
||||
</p>
|
||||
@@ -1,142 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @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 (!in_array('PrepaidServices', get_declared_classes())) include_once(_PS_MODULE_DIR_.'cashticket/PrepaidServices.php');
|
||||
|
||||
class CashTicket extends PrepaidServices
|
||||
{
|
||||
public $prefix = 'PS_CT_';
|
||||
protected $supported_languages = array('de', 'en', 'gr', 'el', 'es', 'it', 'fr', 'nl', 'pl', 'pt', 'si', 'sk', 'tr');
|
||||
protected $allowed_currencies = array();
|
||||
|
||||
protected $environments = array('P' => 'Production',
|
||||
'T' => 'Test');
|
||||
|
||||
protected $business_types = array('I' => 'Intangible',
|
||||
'T' => 'Tangible');
|
||||
|
||||
protected $payment_url = array('T' => 'https://customer.test.at.cash-ticket.com/ctcustomer/GetCustomerPanelServlet',
|
||||
'P' => 'https://customer.cc.at.cash-ticket.com/ctcustomer/GetCustomerPanelServlet');
|
||||
|
||||
protected $supported_currencies = array('CHF', 'DKK', 'SEK', 'PLN', 'GBP', 'EUR', 'USD', 'CZK');
|
||||
|
||||
protected $certificat_dir;
|
||||
|
||||
protected $register_url = array('en' => 'http://api.prestashop.com/partner/url.php?to=http://www.cash-ticket.com/uk',
|
||||
'fr' => 'http://api.prestashop.com/partner/url.php?to=http://www.cash-ticket.com/fr',
|
||||
'es' => 'http://api.prestashop.com/partner/url.php?to=http://www.cash-ticket.com/es');
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->name = 'cashticket';
|
||||
$this->tab = 'payments_gateways';
|
||||
$this->version = '1.4';
|
||||
$this->module_dir = dirname(__FILE__);
|
||||
$this->certificat_dir = dirname(__FILE__).'/keyring/';
|
||||
$this->need_instance = 0;
|
||||
|
||||
parent::__construct();
|
||||
|
||||
$this->displayName = $this->l('CashTicket');
|
||||
$this->description = $this->l('Accepts payments by CashTicket');
|
||||
|
||||
/* 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 getL($key)
|
||||
{
|
||||
$translations = array(
|
||||
'disposition_created' => $this->l('Disposition created. Waiting for debit.'),
|
||||
'disposition_invalid' => $this->l('Invalid disposition state:'),
|
||||
'payment_error' => $this->l('An error has occurred during payment:'),
|
||||
'payment_accepted' => $this->l('Payment accepted.'),
|
||||
'curl_required' => $this->l('This module requires the curl PHP extension to function properly.'),
|
||||
'not_writable' => $this->l('is not writable!'),
|
||||
'currency_required' => $this->l('This module requires the currency: '),
|
||||
'configure_currency' => $this->l('Configure each currency individually:'),
|
||||
'payment_not_displayed' => $this->l('(The payment module won\'t be displayed for customers using non configured currency.)'),
|
||||
'configuration_in' => $this->l('Configuration in '),
|
||||
'merchant_id' => $this->l('Merchant ID'),
|
||||
'keyring_certificate' => $this->l('Keyring Certificate'),
|
||||
'keyring_pw' => $this->l('Keyring PW'),
|
||||
'configuration' => $this->l('Configuration'),
|
||||
'environment' => $this->l('Environment'),
|
||||
'business_type' => $this->l('Business Type'),
|
||||
'immediat_payment' => $this->l('Immediate Payment'),
|
||||
'update_configuration' => $this->l('Update configuration'),
|
||||
'certificate_required' => $this->l('You must provide a certificate for MERCHANT ID'),
|
||||
'invalid_file' => $this->l('Invalid file'),
|
||||
'invalid_merchant_id' => $this->l('Invalid Merchant ID'),
|
||||
'invalid_business_type' => $this->displayError('Invalid business type'),
|
||||
'invalid_environment' => $this->displayError('Invalid environment'),
|
||||
'settings_updated' => $this->l('Settings updated'),
|
||||
'file_partialy_uploaded' => $this->l('The file was partially uploaded'),
|
||||
'file_empty' => $this->l('The file is empty'),
|
||||
'cant_create_dispo' => $this->l('Transaction could not be initiated due to connection problems. If the problem persists, please contact our support.'),
|
||||
'disposition_consumed' => $this->l('Disposition consumed'),
|
||||
'payment_released' => $this->l('Disposition released'),
|
||||
'release_error' => $this->l('An error has occurred during the release.'),
|
||||
'introduction' => $this->l('Accept prepaid payments in your webshop. All that is required is the Cash-Ticket’s 16 digit pin code. This way, consumers can make online payments without a credit card or a bank account.'),
|
||||
'register' => $this->l('Learn more')
|
||||
);
|
||||
|
||||
return $translations[$key];
|
||||
}
|
||||
|
||||
protected function _getErrorMsgFromErrorCode($error_code)
|
||||
{
|
||||
$error_msg = array(1 => $this->l('An error has occurred, check Messages for more info.'),
|
||||
2 => $this->l('Invalid amount'));
|
||||
|
||||
return $error_msg[$error_code];
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the detail of a payment - Call before the validate order init
|
||||
* correctly the pcc object
|
||||
* See Authorize documentation to know the associated key => value
|
||||
* @param array fields
|
||||
*/
|
||||
public function setTransactionDetail($response)
|
||||
{
|
||||
// If Exist we can store the details
|
||||
if (isset($this->pcc))
|
||||
{
|
||||
$this->pcc->transaction_id = (string)$response['transaction_id'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<module>
|
||||
<name>cashticket</name>
|
||||
<displayName><![CDATA[CashTicket]]></displayName>
|
||||
<version><![CDATA[1.4]]></version>
|
||||
<description><![CDATA[Accepts payments by CashTicket]]></description>
|
||||
<author><![CDATA[]]></author>
|
||||
<tab><![CDATA[payments_gateways]]></tab>
|
||||
<is_configurable>1</is_configurable>
|
||||
<need_instance>0</need_instance>
|
||||
<limited_countries></limited_countries>
|
||||
</module>
|
||||
@@ -1,53 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{cashticket}prestashop>prepaidservices_3e8e30e75887d2f3b02da669ebd5b380'] = 'Ein Zertifikat ist für diese Konfiguration gefunden';
|
||||
$_MODULE['<{cashticket}prestashop>prepaidservices_515f3d11e66f6fc5f7bb453e6030241a'] = 'Ein Passwort wurde bereits gespeichert';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-accept-payment_330bf06fb43e715e5d03c9fd016df4cd'] = 'Die Zahlung wurde noch nicht akzeptiert:';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-accept-payment_486cb12e1ec3c8b28b80a8eb9f2db2c0'] = 'Zahlung akzeptieren ';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-accept-payment_e9b3579d8e877bcd29ab436f2ef87cc8'] = 'Zu zahlender Betrag';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Ihre Bestellung vom';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_75fbf512d744977d62599cc3f0ae2bb4'] = 'ist abgeschlossen.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_91675397c13245179e4bc959514fc2ca'] = 'Sie haben die ';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_2c987f462c2ab7fc63e061e871e6a97d'] = 'Methode gewählt.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_e6dc7945b557a1cd949bea92dd58963e'] = 'Ihre Bestellung wird sehr bald geschickt werden.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_0db71da7150c27142eef9d22b843b4a9'] = 'Bei Fragen oder für weitere Informationen, kontaktieren Sie bitte unser';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_64430ad2835be8ad60c59e7d44e4b0b1'] = 'Kunden-Support';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_4512bbd48918c03027387a6c8e911342'] = 'CashTicket';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_21d3d890383dc93343ce57c221ce5b3d'] = 'Akzeptiert Zahlungen per CashTicket';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_bed51f5187d4bf98e08f44d93f3098d9'] = 'Disposition erstellt. Wartet auf Abbuchung.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_894f0316a71ef67255369c82bf8a0e5b'] = 'Ungültiger Dispositionsstatus:';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_c1c25198721552ea8ddd963c7278d4ab'] = 'Ein Fehler ist bei der Zahlung aufgetreten:';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_36ec50c0e914dd2fb48a1b27540512ce'] = 'Zahlung akzeptiert.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_d6ca44369efe062cec0c09f392465f55'] = 'Dieses Modul erfordert die Locke PHP-Erweiterung, um ordnungsgemäß zu funktionieren.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_fe9da2c5e2e153d2415b4cd5d91166a4'] = 'ist nicht beschreibbar!';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_139cfa047b503ac5b9a6b4b1b03090ad'] = 'Dieses Modul erfordert die Währung:';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_ef5d34b04ab3b2eaaf7cb9d0f51267ed'] = 'Konfigurieren Sie jede Währung einzeln:';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_69a530f77bb82f704b9ff5e18bbdea6f'] = '(Dias Zahlungsmodul wird Kunden, die eine nicht konfigurierte Währung nutzen, nicht angezeigt.)';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_7d3d009ac1b9d1e826a1a72c046ea635'] = 'Konfiguration im';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_229a7ec501323b94db7ff3157a7623c9'] = 'Händler-ID';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_845314022daaa8b665e718c4b51738aa'] = 'Keyring-Zertifikat';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_a01813de717585e9ac9458bbfc54485a'] = 'ing-PW';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_254f642527b45bc260048e30704edb39'] = 'Konfiguration';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_0ba29c6a1afacf586b03a26162c72274'] = 'Umgebung';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_1d5ad3d37f236c9eebda547690373bba'] = 'Geschäftsart';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_b024248d9fecf8c34f629e89a9fb93b4'] = 'Sofortige Zahlung';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_c80a51a60c5ee43553c3881459b8f431'] = 'Konfiguration aktualisieren';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_86f28c996ee9075e9fc9a97dc8d5f254'] = 'Sie müssen ein Zertifikat für die HÄNDLER-ID vorweisen';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_bbced877c13c763f0141ff906c8ed0e5'] = 'Ungültige Datei';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_97e5793f511c7930ab295997cb28553a'] = 'Ungültige Verkäufer-ID';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_c888438d14855d7d96a2724ee9c306bd'] = 'Einstellungen aktualisiert';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_a98658e7f6aa80803873db3a3e982f4d'] = 'Die Datei wurde teilweise hochgeladen';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_d2bbf245e9591814fe994df3cae95964'] = 'Die Datei ist leer';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_ebbe99d835c79ead89db1b2b9e4fe70f'] = 'Transaktion konnte nicht initiiert werden aufgrund von Problemen mit der Verbindung. Wenn das Problem weiterhin besteht, wenden Sie sich bitte an unseren Support.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_99f6765a05b697eb78e8c2e5e228f2fc'] = 'Disposition verbraucht';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_c3e260f43a99b6fd907538953fe700d0'] = 'Disposition freigegeben';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_12879ec2c367483dd59ef7442178d124'] = 'Ein Fehler ist aufgetreten während der Freigabe';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_d929c5e5e5643c622400e837914206da'] = 'Akzeptieren Sie Prepaid-Zahlungen in Ihrem Webshop. Alles, was man benötigt, um in einem Web-Shop zu bezahlen, ist der 16-stellige PIN-Code von Cash-Ticket . Auf diese Weise können die Verbraucher Online-Zahlungen ohne Kreditkarte oder Bankkonto vornehmen.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_d59048f21fd887ad520398ce677be586'] = 'Erfahren Sie mehr';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_930320ced1b8c376237844049b570a7f'] = 'Ein Fehler ist aufgetreten, überprüfen Sie die Nachrichten für mehr Infos';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_a9ced76f2dd6907220fa95b3a136b04a'] = 'Ungültiger Betrag';
|
||||
$_MODULE['<{cashticket}prestashop>disposition-error_393988def796f78c4b673b90548f3afa'] = 'Der Dispositionsstauts ist ungültig';
|
||||
$_MODULE['<{cashticket}prestashop>disposition-error_5db89f2bf67f2c7dbd86cac101c3c1b8'] = '. Sie sind nicht berechtigt, die Zahlung durchzuführen.';
|
||||
$_MODULE['<{cashticket}prestashop>payment_da9c72b9e543135f3f59e3c8ac68ef35'] = 'Bezahlen Sie mit';
|
||||
@@ -1,37 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @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
|
||||
*}
|
||||
|
||||
<br />
|
||||
<fieldset style="width: 400px">
|
||||
<legend><img src="../img/admin/tab-customers.gif" />{$payment_name}</legend>
|
||||
|
||||
<p style="color: red; font-weight: bold;">
|
||||
{l s='The disposition state is invalid' mod='cahsticket'} ({$disposition_state})
|
||||
{l s='. You are not allowed to perform the payment.' mod='cashticket'}
|
||||
|
||||
</p>
|
||||
</fieldset>
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-accept-payment_330bf06fb43e715e5d03c9fd016df4cd'] = 'El pago aún no ha sido aceptado';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-accept-payment_486cb12e1ec3c8b28b80a8eb9f2db2c0'] = 'Aceptar el pago';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-accept-payment_e9b3579d8e877bcd29ab436f2ef87cc8'] = 'Rechazar el pago';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Su pedido en';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_75fbf512d744977d62599cc3f0ae2bb4'] = 'ha sido registrado.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_91675397c13245179e4bc959514fc2ca'] = 'Ha elegido pagar con';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_2c987f462c2ab7fc63e061e871e6a97d'] = 'modo';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_e6dc7945b557a1cd949bea92dd58963e'] = 'Le enviaremos su pedido rápidamente';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_0db71da7150c27142eef9d22b843b4a9'] = 'Para cualquier pregunta, póngase en contacto con ';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_64430ad2835be8ad60c59e7d44e4b0b1'] = 'el servicio clientela';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_4512bbd48918c03027387a6c8e911342'] = 'CashTicket';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_21d3d890383dc93343ce57c221ce5b3d'] = 'Aceptar los pagos a través de CashTicket';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_bed51f5187d4bf98e08f44d93f3098d9'] = 'Disposición creada. En espera del débito';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_894f0316a71ef67255369c82bf8a0e5b'] = 'El estado de la disposición no es válido:';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_c1c25198721552ea8ddd963c7278d4ab'] = 'Se ha producido un error durante el pago:';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_36ec50c0e914dd2fb48a1b27540512ce'] = 'Pago aceptado.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_d6ca44369efe062cec0c09f392465f55'] = 'Este módulo requiere la librería PHP cURL para funcionar correctamente.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_fe9da2c5e2e153d2415b4cd5d91166a4'] = 'No tiene derechos de escritura.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_139cfa047b503ac5b9a6b4b1b03090ad'] = 'Para funcionar correctamente, este módulo necesita la divisa:';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_ef5d34b04ab3b2eaaf7cb9d0f51267ed'] = 'Configurar cada divisa independientemente:';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_69a530f77bb82f704b9ff5e18bbdea6f'] = '(El módulo de pago no se mostrará a los clientes que utilicen una divisa no configurada';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_7d3d009ac1b9d1e826a1a72c046ea635'] = 'Configuración en';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_229a7ec501323b94db7ff3157a7623c9'] = 'ID vendedor';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_845314022daaa8b665e718c4b51738aa'] = 'Certificado Keyring';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_a01813de717585e9ac9458bbfc54485a'] = 'Keyring PW';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_254f642527b45bc260048e30704edb39'] = 'Configuración';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_0ba29c6a1afacf586b03a26162c72274'] = 'Entorno';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_1d5ad3d37f236c9eebda547690373bba'] = 'Tipo de negocio';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_b024248d9fecf8c34f629e89a9fb93b4'] = 'Pago inmediato';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_c80a51a60c5ee43553c3881459b8f431'] = 'Actualizar la configuración';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_86f28c996ee9075e9fc9a97dc8d5f254'] = 'Debe disponer de un certificado para el ID vendedor';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_bbced877c13c763f0141ff906c8ed0e5'] = 'Archivo no válido';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_97e5793f511c7930ab295997cb28553a'] = 'ID vendedor no válida';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_c888438d14855d7d96a2724ee9c306bd'] = 'Configuración actualizada';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_a98658e7f6aa80803873db3a3e982f4d'] = 'El archivo no se ha descargado correctamente';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_d2bbf245e9591814fe994df3cae95964'] = 'El archivo está vacío';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_ebbe99d835c79ead89db1b2b9e4fe70f'] = 'La transacción no ha podido inicializarse debido a problemas de conexión. Si el problema persiste, contáctenos.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_99f6765a05b697eb78e8c2e5e228f2fc'] = 'Disposición consumida';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_c3e260f43a99b6fd907538953fe700d0'] = 'Disposición abandonada';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_12879ec2c367483dd59ef7442178d124'] = 'Se ha producido un error en el momento de abandonar.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_d929c5e5e5643c622400e837914206da'] = 'Acepte los pagos con prepago en su tienda en línea. Cash-Ticket es un método de pago seguro y sencillo para Internet. Cash-Ticket permite pagos sin tarjeta de crédito ni datos bancarios personales. Lo único que se necesita para pagar en una tienda en línea es un código PIN de 16 cifras. Así, los consumidores pueden realizar pagos en línea sin tarjeta de crédito ni cuenta bancaria. ';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_d59048f21fd887ad520398ce677be586'] = 'Más información';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_930320ced1b8c376237844049b570a7f'] = 'Se ha producido un error. Consulte el apartado \"Mensajes\" para más información';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_a9ced76f2dd6907220fa95b3a136b04a'] = 'Importe incorrecto';
|
||||
$_MODULE['<{cashticket}prestashop>disposition-error_393988def796f78c4b673b90548f3afa'] = 'La disposición se encuentra en un estado no válido';
|
||||
$_MODULE['<{cashticket}prestashop>disposition-error_5db89f2bf67f2c7dbd86cac101c3c1b8'] = 'No tiene autorización para recuperar el pago.';
|
||||
$_MODULE['<{cashticket}prestashop>payment_da9c72b9e543135f3f59e3c8ac68ef35'] = 'Pagar con';
|
||||
@@ -1,53 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{cashticket}prestashop>prepaidservices_3e8e30e75887d2f3b02da669ebd5b380'] = 'Un certificat n\'a été trouvé pour cette configuration';
|
||||
$_MODULE['<{cashticket}prestashop>prepaidservices_515f3d11e66f6fc5f7bb453e6030241a'] = 'Un mot de passe a déjà été enregistré';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-accept-payment_330bf06fb43e715e5d03c9fd016df4cd'] = 'Le paiement n\'a pas encore été accepté : ';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-accept-payment_486cb12e1ec3c8b28b80a8eb9f2db2c0'] = 'Accepter le paiement';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-accept-payment_e9b3579d8e877bcd29ab436f2ef87cc8'] = 'Relacher le paiement';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Votre commande sur ';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_75fbf512d744977d62599cc3f0ae2bb4'] = 'a bien été enregistrée.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_91675397c13245179e4bc959514fc2ca'] = 'Vous avez choisi de payer avec ';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_2c987f462c2ab7fc63e061e871e6a97d'] = ' ';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_e6dc7945b557a1cd949bea92dd58963e'] = 'Votre commande va être expediée rapidement.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_0db71da7150c27142eef9d22b843b4a9'] = 'Pour toutes questions ou informations complémentaires, contactez notre';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_64430ad2835be8ad60c59e7d44e4b0b1'] = 'service client';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_4512bbd48918c03027387a6c8e911342'] = 'CashTicket';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_21d3d890383dc93343ce57c221ce5b3d'] = 'Accepter les paiements via CashTicket';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_bed51f5187d4bf98e08f44d93f3098d9'] = 'Disposition crée. En attente du débit.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_894f0316a71ef67255369c82bf8a0e5b'] = 'L\'état de la disposition est invalide :';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_c1c25198721552ea8ddd963c7278d4ab'] = 'Une erreur est survenue pendant le paiement :';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_36ec50c0e914dd2fb48a1b27540512ce'] = 'Paiement accepté.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_d6ca44369efe062cec0c09f392465f55'] = 'Ce module requiert la librairie PHP cURL pour fonctionner correctement.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_fe9da2c5e2e153d2415b4cd5d91166a4'] = 'n\'a pas les droits en écriture.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_139cfa047b503ac5b9a6b4b1b03090ad'] = 'Ce module pour fonctionner correctement requiert la devise :';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_ef5d34b04ab3b2eaaf7cb9d0f51267ed'] = 'Configurer chaque devise indépendament :';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_69a530f77bb82f704b9ff5e18bbdea6f'] = '(Le module de paiement ne sera pas affiché pour les clients qui utilisent une devise non configurée)';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_7d3d009ac1b9d1e826a1a72c046ea635'] = 'Configuration en';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_229a7ec501323b94db7ff3157a7623c9'] = 'ID Marchand';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_845314022daaa8b665e718c4b51738aa'] = 'Keyring Certificat';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_a01813de717585e9ac9458bbfc54485a'] = 'Keyring PW';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_254f642527b45bc260048e30704edb39'] = 'Configuration';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_0ba29c6a1afacf586b03a26162c72274'] = 'Environement';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_1d5ad3d37f236c9eebda547690373bba'] = 'Business Type';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_b024248d9fecf8c34f629e89a9fb93b4'] = 'Paiement immédiat';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_c80a51a60c5ee43553c3881459b8f431'] = 'Mettre à jour la configuration';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_86f28c996ee9075e9fc9a97dc8d5f254'] = 'Vous devez fournir un certificat pour l\'ID marchand';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_bbced877c13c763f0141ff906c8ed0e5'] = 'Fichier invalide';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_97e5793f511c7930ab295997cb28553a'] = 'ID marchand invalide';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_c888438d14855d7d96a2724ee9c306bd'] = 'Configuration mise à jour';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_a98658e7f6aa80803873db3a3e982f4d'] = 'Le fichier n\'a pas été téléchargé correctement';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_d2bbf245e9591814fe994df3cae95964'] = 'Le fichier est vide';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_ebbe99d835c79ead89db1b2b9e4fe70f'] = 'La transaction n\'a pu être initialisée du à des problèmes de connexions. Si le problème persiste, merci de nous contacter.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_99f6765a05b697eb78e8c2e5e228f2fc'] = 'Disposition consommée';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_c3e260f43a99b6fd907538953fe700d0'] = 'Disposition relachée';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_12879ec2c367483dd59ef7442178d124'] = 'Une erreur est survenue au moment de la relache.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_d929c5e5e5643c622400e837914206da'] = 'Acceptez les paiements prépayés dans votre boutique en ligne. Cash-Ticket est une méthode de paiement simple et sécurisée pour l’internet. Cash-Ticket permet des paiements sans carte bancaires ni coordonnées bancaires personnelles. Tout ce qui est nécessaire pour payer dans une boutique en ligne est un code PIN de 16 chiffres. De cette façon les consommateurs peuvent réaliser des paiements en ligne sans carte de crédit ni même compte bancaire.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_d59048f21fd887ad520398ce677be586'] = 'En savoir plus';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_930320ced1b8c376237844049b570a7f'] = 'Une erreur est survenue. Consulter la partie \"Messages\" ci-dessous pour plus d\'informations';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_a9ced76f2dd6907220fa95b3a136b04a'] = 'Montant incorrect';
|
||||
$_MODULE['<{cashticket}prestashop>disposition-error_393988def796f78c4b673b90548f3afa'] = 'La disposition est dans un état invalide';
|
||||
$_MODULE['<{cashticket}prestashop>disposition-error_5db89f2bf67f2c7dbd86cac101c3c1b8'] = '. Vous n\'êtes pas authorisé à récupérer le paiement.';
|
||||
$_MODULE['<{cashticket}prestashop>payment_da9c72b9e543135f3f59e3c8ac68ef35'] = 'Payer avec';
|
||||
@@ -1,36 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @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;
|
||||
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 633 B |
|
Before Width: | Height: | Size: 14 KiB |
@@ -1,36 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @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;
|
||||
@@ -1,53 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{cashticket}prestashop>prepaidservices_3e8e30e75887d2f3b02da669ebd5b380'] = 'Un certificato è stato trovato per questa configurazione';
|
||||
$_MODULE['<{cashticket}prestashop>prepaidservices_515f3d11e66f6fc5f7bb453e6030241a'] = 'Una password è già stato salvato';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-accept-payment_330bf06fb43e715e5d03c9fd016df4cd'] = 'Il pagamento non è stato ancora accettato:';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-accept-payment_486cb12e1ec3c8b28b80a8eb9f2db2c0'] = 'Accetta il pagamento';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-accept-payment_e9b3579d8e877bcd29ab436f2ef87cc8'] = 'Emetti il pagamento';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Il tuo ordine sul';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_75fbf512d744977d62599cc3f0ae2bb4'] = 'è completo.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_91675397c13245179e4bc959514fc2ca'] = 'Hai scelto il';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_2c987f462c2ab7fc63e061e871e6a97d'] = 'metodo.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_e6dc7945b557a1cd949bea92dd58963e'] = 'Il tuo ordine verrà inviato al più presto.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_0db71da7150c27142eef9d22b843b4a9'] = 'Per eventuali domande o per ulteriori informazioni, contatta la nostra';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket-confirmation_64430ad2835be8ad60c59e7d44e4b0b1'] = 'assistenza clienti';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_4512bbd48918c03027387a6c8e911342'] = 'CashTicket';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_21d3d890383dc93343ce57c221ce5b3d'] = 'Si accettano pagamenti tramite CashTicket';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_bed51f5187d4bf98e08f44d93f3098d9'] = 'Disposizione creata. In attesa di addebito.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_894f0316a71ef67255369c82bf8a0e5b'] = 'Stato della disposizione non valido:';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_c1c25198721552ea8ddd963c7278d4ab'] = 'Si è verificato un errore durante il pagamento:';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_36ec50c0e914dd2fb48a1b27540512ce'] = 'Pagamento accettato.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_d6ca44369efe062cec0c09f392465f55'] = 'Questo modulo richiede che l\'estensione curl di PHP funzioni correttamente.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_fe9da2c5e2e153d2415b4cd5d91166a4'] = 'non è scrivibile!';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_139cfa047b503ac5b9a6b4b1b03090ad'] = 'Questo modulo richiede la valuta:';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_ef5d34b04ab3b2eaaf7cb9d0f51267ed'] = 'Configura ogni valuta singolarmente:';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_69a530f77bb82f704b9ff5e18bbdea6f'] = '(Il modulo di pagamento non sarà visualizzato per i clienti che utilizzano una valuta non configurata.)';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_7d3d009ac1b9d1e826a1a72c046ea635'] = 'Configurazione in';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_229a7ec501323b94db7ff3157a7623c9'] = 'ID commerciante';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_845314022daaa8b665e718c4b51738aa'] = 'Certificato keyring';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_a01813de717585e9ac9458bbfc54485a'] = 'Keyring PW';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_254f642527b45bc260048e30704edb39'] = 'Configurazione';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_0ba29c6a1afacf586b03a26162c72274'] = 'Ambiente';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_1d5ad3d37f236c9eebda547690373bba'] = 'Tipo di business';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_b024248d9fecf8c34f629e89a9fb93b4'] = 'Pagamento immediato';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_c80a51a60c5ee43553c3881459b8f431'] = 'Aggiorna la configurazione';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_86f28c996ee9075e9fc9a97dc8d5f254'] = 'Devi fornire un certificato per ID COMMERCIANTE';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_bbced877c13c763f0141ff906c8ed0e5'] = 'File non valido';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_97e5793f511c7930ab295997cb28553a'] = 'ID commerciante non valido';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_c888438d14855d7d96a2724ee9c306bd'] = 'Impostazioni aggiornate';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_a98658e7f6aa80803873db3a3e982f4d'] = 'Il file è stato parzialmente caricato';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_d2bbf245e9591814fe994df3cae95964'] = 'Il file è vuoto';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_ebbe99d835c79ead89db1b2b9e4fe70f'] = 'Operazione non avviata a causa di problemi di connessione. Se il problema persiste, si prega di contattare il nostro supporto.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_99f6765a05b697eb78e8c2e5e228f2fc'] = 'Disposizione consumata';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_c3e260f43a99b6fd907538953fe700d0'] = 'Disposizione emessa';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_12879ec2c367483dd59ef7442178d124'] = 'Si è verificato un errore durante l\'emissione';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_d929c5e5e5643c622400e837914206da'] = 'Accetta pagamenti prepagati nel tuo shop online. Tutto ciò che è richiesto per pagare in un negozio web è codice PIN a 16 cifre di Cash-Ticket. In questo modo, i consumatori possono effettuare pagamenti online senza carta di credito o un conto bancario.';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_d59048f21fd887ad520398ce677be586'] = 'Per saperne di più';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_930320ced1b8c376237844049b570a7f'] = 'Si verificato un errore, controlla i messaggi per maggiori informazioni';
|
||||
$_MODULE['<{cashticket}prestashop>cashticket_a9ced76f2dd6907220fa95b3a136b04a'] = 'Importo non valido';
|
||||
$_MODULE['<{cashticket}prestashop>disposition-error_393988def796f78c4b673b90548f3afa'] = 'Stato della disposizione non valido';
|
||||
$_MODULE['<{cashticket}prestashop>disposition-error_5db89f2bf67f2c7dbd86cac101c3c1b8'] = '. Non sei autorizzato ad effettuare il pagamento.';
|
||||
$_MODULE['<{cashticket}prestashop>payment_da9c72b9e543135f3f59e3c8ac68ef35'] = 'Paga con';
|
||||
@@ -1 +0,0 @@
|
||||
Deny from all
|
||||
@@ -1,36 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @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;
|
||||
@@ -1,227 +0,0 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIFszCCBJugAwIBAgIBADANBgkqhkiG9w0BAQQFADCB7zEhMB8GCSqGSIb3DQEJ
|
||||
ARYSY2FAcGF5c2FmZWNhcmQuY29tMQswCQYDVQQGEwJBVDEPMA0GA1UECBMGVmll
|
||||
bm5hMQ8wDQYDVQQHEwZWaWVubmExHDAaBgNVBAsTE3BheXNhZmVjYXJkIFJvb3Qg
|
||||
Q0ExLDAqBgNVBAsTI3BheXNhZmVjYXJkIENlcnRpZmljYXRpb24gQXV0aG9yaXR5
|
||||
MSYwJAYDVQQKEx1wYXlzYWZlY2FyZC5jb20gV2VydGthcnRlbiBBRzEnMCUGA1UE
|
||||
AxMecGF5c2FmZWNhcmQgUm9vdCBDQSAtIFN5c3RlbSBQMB4XDTAyMDExMDE2NDU0
|
||||
M1oXDTM4MDExMDE2NDU0M1owge8xITAfBgkqhkiG9w0BCQEWEmNhQHBheXNhZmVj
|
||||
YXJkLmNvbTELMAkGA1UEBhMCQVQxDzANBgNVBAgTBlZpZW5uYTEPMA0GA1UEBxMG
|
||||
Vmllbm5hMRwwGgYDVQQLExNwYXlzYWZlY2FyZCBSb290IENBMSwwKgYDVQQLEyNw
|
||||
YXlzYWZlY2FyZCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEmMCQGA1UEChMdcGF5
|
||||
c2FmZWNhcmQuY29tIFdlcnRrYXJ0ZW4gQUcxJzAlBgNVBAMTHnBheXNhZmVjYXJk
|
||||
IFJvb3QgQ0EgLSBTeXN0ZW0gUDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
|
||||
ggEBALRAMIFNZR16P4ggPR6hlyXGSONVOklx7U3Xg9zihKA4vmzVMwXUJPP+lHCU
|
||||
OKiYUSU+cQ+BMfTJCJPvJlqOHH36+ugyGQLI2M9Lq7ILxkGJ3+iQJx4ON1Yf3lJh
|
||||
uyPLMjvRVCOoN29fUOROfdBxlAGNG33kKYNEh+VJ+ibxX5DmZApsMu6lJJ7LUZvs
|
||||
2Rho6r9wKQVZaPNeWzJb+7dgLlW7XLIQIv6Fp/bMhZDPhCrX4rN0iiR7I9o5DZiJ
|
||||
OXwRmWhroRUEo9pPf44XMfdEyaWDK6tbnIsEa7gTOPY3Zt5SMFeSYw1E0OjkUyFo
|
||||
WL0NoAT7beVqJar+zzwvOjVaeMUCAwEAAaOCAVYwggFSMA8GA1UdEwEB/wQFMAMB
|
||||
Af8wHQYDVR0OBBYEFCgXaDOdI1dXvmnxpQ1ZM3M/BK07MIIBHgYDVR0jBIIBFTCC
|
||||
ARGAFCgXaDOdI1dXvmnxpQ1ZM3M/BK07oYH1pIHyMIHvMSEwHwYJKoZIhvcNAQkB
|
||||
FhJjYUBwYXlzYWZlY2FyZC5jb20xCzAJBgNVBAYTAkFUMQ8wDQYDVQQIEwZWaWVu
|
||||
bmExDzANBgNVBAcTBlZpZW5uYTEcMBoGA1UECxMTcGF5c2FmZWNhcmQgUm9vdCBD
|
||||
QTEsMCoGA1UECxMjcGF5c2FmZWNhcmQgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkx
|
||||
JjAkBgNVBAoTHXBheXNhZmVjYXJkLmNvbSBXZXJ0a2FydGVuIEFHMScwJQYDVQQD
|
||||
Ex5wYXlzYWZlY2FyZCBSb290IENBIC0gU3lzdGVtIFCCAQAwDQYJKoZIhvcNAQEE
|
||||
BQADggEBAEkGu19kW0cROxNmEIhlF2LMFA8Jj9Y5aPPDwM1tMIoZtFWCH1g1g0Zl
|
||||
PDrp9+ihDFimiXfhIosGvnrclbQ5yIJnxoNmDptkCKTAB+4rPoHSIz8rjCHHTOU2
|
||||
rJMVdFvS8hcVkallN1g9o8g7ryA2vRltum5NZUBwAFq986Cur4l2koRzz1UyOkrT
|
||||
0G0i8cQIR9trGuCaUbhIFTBe/QvSNkIEqDWRDPLfBQnYnBFSwObH5uXiToUXlTnM
|
||||
/aOuY+p2D8Oh6MneD6nh8turvFTMkLqLS7DzjQAYmF7HWGkRFPsHi2EtLFVIwM9q
|
||||
FioR7mWBcKh2lZr18AtzGIkKQSQWQkI=
|
||||
-----END CERTIFICATE-----
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIFujCCBKKgAwIBAgIEIAAABjANBgkqhkiG9w0BAQQFADCB7zEhMB8GCSqGSIb3
|
||||
DQEJARYSY2FAcGF5c2FmZWNhcmQuY29tMQswCQYDVQQGEwJBVDEPMA0GA1UECBMG
|
||||
Vmllbm5hMQ8wDQYDVQQHEwZWaWVubmExHDAaBgNVBAsTE3BheXNhZmVjYXJkIFJv
|
||||
b3QgQ0ExLDAqBgNVBAsTI3BheXNhZmVjYXJkIENlcnRpZmljYXRpb24gQXV0aG9y
|
||||
aXR5MSYwJAYDVQQKEx1wYXlzYWZlY2FyZC5jb20gV2VydGthcnRlbiBBRzEnMCUG
|
||||
A1UEAxMecGF5c2FmZWNhcmQgUm9vdCBDQSAtIFN5c3RlbSBQMB4XDTAyMDExNjEy
|
||||
MTUxN1oXDTM0MDExNjEyMTUxN1owgfMxCzAJBgNVBAYTAkFUMQ8wDQYDVQQIEwZW
|
||||
aWVubmExDzANBgNVBAcTBlZpZW5uYTEmMCQGA1UEChMdcGF5c2FmZWNhcmQuY29t
|
||||
IFdlcnRrYXJ0ZW4gQUcxHjAcBgNVBAsTFXBheXNhZmVjYXJkIFNlcnZlciBDQTEs
|
||||
MCoGA1UECxMjcGF5c2FmZWNhcmQgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxKTAn
|
||||
BgNVBAMTIHBheXNhZmVjYXJkIFNlcnZlciBDQSAtIFN5c3RlbSBQMSEwHwYJKoZI
|
||||
hvcNAQkBFhJjYUBwYXlzYWZlY2FyZC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IB
|
||||
DwAwggEKAoIBAQDGbD6yVmszQYpuUX0zVyam8DdqPXfY5c8OSQK7u8I7mPoEw0SG
|
||||
lxSbHy7Aywlx5rhSr6j1k0HgmnOsO6j6bup5CXGvGBWkiahN1TrUN8qAZvIdorUz
|
||||
+YrZyg/EkddrOqkgZpaqyEEJ2wGdM3Lhbg8oBWufVh/TX0sA9K0NCSrl3UzKLw0n
|
||||
mEVbUnBxRUGbctnOkmLiIWqX7o8jmupvE7lIvRPLHUyFKGp0Wn2oKosr3fhCQxEU
|
||||
4dQdH9Uwf53kPt0Ct0MML1p1u8OAN4e6bYL1T86YA/bnaaPFI5D4cVP66X1gcamM
|
||||
+ro//XJOee2d1FM7lWoyA03ypt54SRB1N6aVAgMBAAGjggFWMIIBUjAPBgNVHRMB
|
||||
Af8EBTADAQH/MB0GA1UdDgQWBBSB6bcBOjQU0y5+rr8pbTyHYFxKbjCCAR4GA1Ud
|
||||
IwSCARUwggERgBQoF2gznSNXV75p8aUNWTNzPwStO6GB9aSB8jCB7zEhMB8GCSqG
|
||||
SIb3DQEJARYSY2FAcGF5c2FmZWNhcmQuY29tMQswCQYDVQQGEwJBVDEPMA0GA1UE
|
||||
CBMGVmllbm5hMQ8wDQYDVQQHEwZWaWVubmExHDAaBgNVBAsTE3BheXNhZmVjYXJk
|
||||
IFJvb3QgQ0ExLDAqBgNVBAsTI3BheXNhZmVjYXJkIENlcnRpZmljYXRpb24gQXV0
|
||||
aG9yaXR5MSYwJAYDVQQKEx1wYXlzYWZlY2FyZC5jb20gV2VydGthcnRlbiBBRzEn
|
||||
MCUGA1UEAxMecGF5c2FmZWNhcmQgUm9vdCBDQSAtIFN5c3RlbSBQggEAMA0GCSqG
|
||||
SIb3DQEBBAUAA4IBAQAwuR+OYbQh8+2A8Ya48pGbEbggbYfJYZAcfZlTxVeilkXb
|
||||
jhinDfG4mBuvsW8RG7CW1fnHYlytyN9AVJFHchB57SkfDDxhPYI6WBsJTnDaxROa
|
||||
QzW0r6Pi3e5XAtqC221vKYYC5OoMBq+S+LWUc9kSYX7PAm3ObCEPNBirJMDDwSLm
|
||||
iovY3UHByFeJ8dYM5u7wKM+WRBzIEi4dMk5VWWx7KO7fieGTxqVCPa1Bd1GQV3yq
|
||||
Z5P0lzduqD2M1oUr1BCwiivxpHO4aMYo9lVz7ZMFhbyDLiiQqcR3unVKpSpN4oAq
|
||||
TW3iZ32LXHkLFSCEFinOO43/uWk8+RzNR0N+XZ1F
|
||||
-----END CERTIFICATE-----
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIFszCCBJugAwIBAgIBADANBgkqhkiG9w0BAQQFADCB7zEhMB8GCSqGSIb3DQEJ
|
||||
ARYSY2FAcGF5c2FmZWNhcmQuY29tMQswCQYDVQQGEwJBVDEPMA0GA1UECBMGVmll
|
||||
bm5hMQ8wDQYDVQQHEwZWaWVubmExHDAaBgNVBAsTE3BheXNhZmVjYXJkIFJvb3Qg
|
||||
Q0ExLDAqBgNVBAsTI3BheXNhZmVjYXJkIENlcnRpZmljYXRpb24gQXV0aG9yaXR5
|
||||
MSYwJAYDVQQKEx1wYXlzYWZlY2FyZC5jb20gV2VydGthcnRlbiBBRzEnMCUGA1UE
|
||||
AxMecGF5c2FmZWNhcmQgUm9vdCBDQSAtIFN5c3RlbSBNMB4XDTAyMDExMDE1MDUx
|
||||
M1oXDTM4MDExMDE1MDUxM1owge8xITAfBgkqhkiG9w0BCQEWEmNhQHBheXNhZmVj
|
||||
YXJkLmNvbTELMAkGA1UEBhMCQVQxDzANBgNVBAgTBlZpZW5uYTEPMA0GA1UEBxMG
|
||||
Vmllbm5hMRwwGgYDVQQLExNwYXlzYWZlY2FyZCBSb290IENBMSwwKgYDVQQLEyNw
|
||||
YXlzYWZlY2FyZCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEmMCQGA1UEChMdcGF5
|
||||
c2FmZWNhcmQuY29tIFdlcnRrYXJ0ZW4gQUcxJzAlBgNVBAMTHnBheXNhZmVjYXJk
|
||||
IFJvb3QgQ0EgLSBTeXN0ZW0gTTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
|
||||
ggEBALtYbwxejm8ZTdZmvLG1TtVHMGyIVnTFeyIbt7SUP4GjycrFs0GiWCJzYHAX
|
||||
gEtwzIX3ibt3bIR62/itJ4ra/pkIUBDd1ARNM1F9R/MyE3Ci1SGmp1IyaFK2tQRX
|
||||
dxHqIBZtH6hUSK750mxE9Ln+YjHjbkEnvXB49qIyJsvgQSPrvzldj+bBDpNyCppf
|
||||
H16U55azIpq7gWvyqsFe/NeAp8iW8quhgZQWqXhPFMA/dypcwBwSTJSW/jVqfqhd
|
||||
iRhEfZEeV6pBPtaZeeUUvWBgBccr39sQd3FUADH7d7AepxsiIxTDm971wn9bNiOM
|
||||
YwCdfQlEYLlAhEc3XMRv5Mifnp8CAwEAAaOCAVYwggFSMA8GA1UdEwEB/wQFMAMB
|
||||
Af8wHQYDVR0OBBYEFEdDEuV3HVe81QNu5wgYE/h2K14EMIIBHgYDVR0jBIIBFTCC
|
||||
ARGAFEdDEuV3HVe81QNu5wgYE/h2K14EoYH1pIHyMIHvMSEwHwYJKoZIhvcNAQkB
|
||||
FhJjYUBwYXlzYWZlY2FyZC5jb20xCzAJBgNVBAYTAkFUMQ8wDQYDVQQIEwZWaWVu
|
||||
bmExDzANBgNVBAcTBlZpZW5uYTEcMBoGA1UECxMTcGF5c2FmZWNhcmQgUm9vdCBD
|
||||
QTEsMCoGA1UECxMjcGF5c2FmZWNhcmQgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkx
|
||||
JjAkBgNVBAoTHXBheXNhZmVjYXJkLmNvbSBXZXJ0a2FydGVuIEFHMScwJQYDVQQD
|
||||
Ex5wYXlzYWZlY2FyZCBSb290IENBIC0gU3lzdGVtIE2CAQAwDQYJKoZIhvcNAQEE
|
||||
BQADggEBACJ9nG6+DmSxJKoqyCDaBUTCeVWk1jpBAvxR1Nwq68L25VYqWp8M0x74
|
||||
/Wd/rcut532BaStABiba+P5V4/VpV4cYlExPb2CCr1E3BWd9nMaJEqjFOdNfy2Aq
|
||||
OZhTeKqKZ0oALhk61AdX7OmimW2DGe7jwEbZxtjcUBUMo+olSAqDD/oVmOLooQOE
|
||||
oCHQ7U/+PFHtzO9Im7Jlq0fJESJSRheSbjItZSJxl18neu3xN58Ku9Pnu4pInyM+
|
||||
ObX4TJxmBbyRXlBkWfDWljih9MANqE/XkwOE3BlAt2haymRs/GSYiIWqNwTd2Rbx
|
||||
NwdV0sBoOmFmSMNt7/NhXIT6GO3hFK4=
|
||||
-----END CERTIFICATE-----
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIFujCCBKKgAwIBAgIEEAAAAzANBgkqhkiG9w0BAQQFADCB7zEhMB8GCSqGSIb3
|
||||
DQEJARYSY2FAcGF5c2FmZWNhcmQuY29tMQswCQYDVQQGEwJBVDEPMA0GA1UECBMG
|
||||
Vmllbm5hMQ8wDQYDVQQHEwZWaWVubmExHDAaBgNVBAsTE3BheXNhZmVjYXJkIFJv
|
||||
b3QgQ0ExLDAqBgNVBAsTI3BheXNhZmVjYXJkIENlcnRpZmljYXRpb24gQXV0aG9y
|
||||
aXR5MSYwJAYDVQQKEx1wYXlzYWZlY2FyZC5jb20gV2VydGthcnRlbiBBRzEnMCUG
|
||||
A1UEAxMecGF5c2FmZWNhcmQgUm9vdCBDQSAtIFN5c3RlbSBNMB4XDTAyMDExMDE1
|
||||
MjE1OVoXDTM0MDExMDE1MjE1OVowgfMxITAfBgkqhkiG9w0BCQEWEmNhQHBheXNh
|
||||
ZmVjYXJkLmNvbTELMAkGA1UEBhMCQVQxDzANBgNVBAgTBlZpZW5uYTEPMA0GA1UE
|
||||
BxMGVmllbm5hMR4wHAYDVQQLExVwYXlzYWZlY2FyZCBTZXJ2ZXIgQ0ExLDAqBgNV
|
||||
BAsTI3BheXNhZmVjYXJkIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSYwJAYDVQQK
|
||||
Ex1wYXlzYWZlY2FyZC5jb20gV2VydGthcnRlbiBBRzEpMCcGA1UEAxMgcGF5c2Fm
|
||||
ZWNhcmQgU2VydmVyIENBIC0gU3lzdGVtIE0wggEiMA0GCSqGSIb3DQEBAQUAA4IB
|
||||
DwAwggEKAoIBAQCySPf9dV1J73WgihZzq6PuFZw8G+5YgCG7KVvmm/unkabEHzQ7
|
||||
PKfHT0awGRfZgfsRzbLxnohaXDHE8e2whWjV5ZROXKpeYb7MhFcmPdPAuxx6lPD9
|
||||
jocbEA530vTonL3WrAPY9P4v48Upd8xTKy+HmdruBn80tOwnvJeSH+2Itm2Qo6cU
|
||||
JslOxJYqmIu76aNbh/Is37rZV37zegkNr7RVpE82tUZR8CRnY46f+FrYEJYpZRVc
|
||||
hg9NOM6fmswG7BAP4oLXOjOERR79Rom/ACZZNcz1PSBJRIarm2eXLUptlTfTR1lb
|
||||
92wX+KGtYvcLFnr/2RkHDT2Wdcb8s3pI7bhxAgMBAAGjggFWMIIBUjAPBgNVHRMB
|
||||
Af8EBTADAQH/MB0GA1UdDgQWBBTNjfh4N1yNw7Bo/E0sMOrdcZbJ8TCCAR4GA1Ud
|
||||
IwSCARUwggERgBRHQxLldx1XvNUDbucIGBP4diteBKGB9aSB8jCB7zEhMB8GCSqG
|
||||
SIb3DQEJARYSY2FAcGF5c2FmZWNhcmQuY29tMQswCQYDVQQGEwJBVDEPMA0GA1UE
|
||||
CBMGVmllbm5hMQ8wDQYDVQQHEwZWaWVubmExHDAaBgNVBAsTE3BheXNhZmVjYXJk
|
||||
IFJvb3QgQ0ExLDAqBgNVBAsTI3BheXNhZmVjYXJkIENlcnRpZmljYXRpb24gQXV0
|
||||
aG9yaXR5MSYwJAYDVQQKEx1wYXlzYWZlY2FyZC5jb20gV2VydGthcnRlbiBBRzEn
|
||||
MCUGA1UEAxMecGF5c2FmZWNhcmQgUm9vdCBDQSAtIFN5c3RlbSBNggEAMA0GCSqG
|
||||
SIb3DQEBBAUAA4IBAQAZ7naLoETGD8TW6lAbuZ7ntd9zNqutizAtPzC5bJRq2sL3
|
||||
AyIsSDO6jQnJgvHsW3XiBfYP0R8MGbMg5cLvgcyKHjnpkzcGEXFuvOeeh50oWSTl
|
||||
aJ9VNTvvGK6nY4rQ710I6qCollj+pqlSq4sak/zYJ87lKc8TXEzvzyncYAfrRp3G
|
||||
XIA5zG3TniBIYC/cuiXjBupmWelFCKRK8/Uhm0vbg71wAWrouJKcBkSMYgZCdEC6
|
||||
3g0EBmD94j9FBEiW7q4sUgqYxGTjeOv1Wb4EsHJhq2eBzOKLp+NHYbPzI++50nQU
|
||||
AjKavlzdAr9PVC8BBS74M567rtIooeIgEDqqi/7J
|
||||
-----END CERTIFICATE-----
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIDfjCCAuegAwIBAgIQAdAC7XDZlmGZ84pH2aljUjANBgkqhkiG9w0BAQUFADCB
|
||||
zjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJ
|
||||
Q2FwZSBUb3duMR0wGwYDVQQKExRUaGF3dGUgQ29uc3VsdGluZyBjYzEoMCYGA1UE
|
||||
CxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lvbjEhMB8GA1UEAxMYVGhh
|
||||
d3RlIFByZW1pdW0gU2VydmVyIENBMSgwJgYJKoZIhvcNAQkBFhlwcmVtaXVtLXNl
|
||||
cnZlckB0aGF3dGUuY29tMB4XDTA2MTAyNTAwMDAwMFoXDTA4MTAyNDIzNTk1OVow
|
||||
gYIxCzAJBgNVBAYTAkFUMQ8wDQYDVQQIEwZWaWVubmExDzANBgNVBAcTBlZpZW5u
|
||||
YTEmMCQGA1UEChMdcGF5c2FmZWNhcmQuY29tIFdlcnRrYXJ0ZW4gQUcxKTAnBgNV
|
||||
BAMTIGN1c3RvbWVyLnRlc3QuYXQucGF5c2FmZWNhcmQuY29tMIGfMA0GCSqGSIb3
|
||||
DQEBAQUAA4GNADCBiQKBgQDgay0tcil7faWjhcRYg4HvOt9DA6llt87cxZtkGalY
|
||||
Fvxr+tKLg2U031cbmQjRpCEXIWeZjIqOreZLK3PNYfQJi7C3m7bU2D8owt6xijt4
|
||||
reOsNH5nTy4NNt9J+tUVaRO0YCWG7O2v1T1L4QMwdHjHcsvpoO9NnFM/Sqmo8tSz
|
||||
EwIDAQABo4GmMIGjMAwGA1UdEwEB/wQCMAAwQAYDVR0fBDkwNzA1oDOgMYYvaHR0
|
||||
cDovL2NybC50aGF3dGUuY29tL1RoYXd0ZVNlcnZlclByZW1pdW1DQS5jcmwwHQYD
|
||||
VR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMDIGCCsGAQUFBwEBBCYwJDAiBggr
|
||||
BgEFBQcwAYYWaHR0cDovL29jc3AudGhhd3RlLmNvbTANBgkqhkiG9w0BAQUFAAOB
|
||||
gQBzovJPMRON4GSrPeAZ93nDYHHfZMV2yUY0+8Kfi+5smLfV3VaurPjL8WSYA2mY
|
||||
F1vI2tkNhAbELQwm/6RqrU7AG1wKnoyljzZ9V0Uk7Mfcw3Wg/uCTEtes9NNz6KbW
|
||||
RM9X8CWd8gJGwTODZy4JU0qMWiETqPvbvzXTX0oihp2nEQ==
|
||||
-----END CERTIFICATE-----
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIDfDCCAuWgAwIBAgIQWAYuIHYD1tplIr6DdfOxoDANBgkqhkiG9w0BAQUFADCB
|
||||
zjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJ
|
||||
Q2FwZSBUb3duMR0wGwYDVQQKExRUaGF3dGUgQ29uc3VsdGluZyBjYzEoMCYGA1UE
|
||||
CxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lvbjEhMB8GA1UEAxMYVGhh
|
||||
d3RlIFByZW1pdW0gU2VydmVyIENBMSgwJgYJKoZIhvcNAQkBFhlwcmVtaXVtLXNl
|
||||
cnZlckB0aGF3dGUuY29tMB4XDTA2MTAyNTAwMDAwMFoXDTA4MTAyNDIzNTk1OVow
|
||||
gYAxCzAJBgNVBAYTAkFUMQ8wDQYDVQQIEwZWaWVubmExDzANBgNVBAcTBlZpZW5u
|
||||
YTEmMCQGA1UEChMdcGF5c2FmZWNhcmQuY29tIFdlcnRrYXJ0ZW4gQUcxJzAlBgNV
|
||||
BAMTHmN1c3RvbWVyLmNjLmF0LnBheXNhZmVjYXJkLmNvbTCBnzANBgkqhkiG9w0B
|
||||
AQEFAAOBjQAwgYkCgYEAs1G3ieyBRUxgDLUAlqipvBtnlsb7W0TqcXYY9MF/XOyp
|
||||
1KoS6xKcH6dV1PYGUi8roITcEPB2VBnR2lCpqjUwhmeJcXf2sJLIInf0J0ld05qE
|
||||
G8I6tHh8DOylkN+G9NdbdWsHyQLxiqQ1TkLIAX28ioJziLVSJ0AU/Vw5MSj3x+UC
|
||||
AwEAAaOBpjCBozAMBgNVHRMBAf8EAjAAMEAGA1UdHwQ5MDcwNaAzoDGGL2h0dHA6
|
||||
Ly9jcmwudGhhd3RlLmNvbS9UaGF3dGVTZXJ2ZXJQcmVtaXVtQ0EuY3JsMB0GA1Ud
|
||||
JQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAyBggrBgEFBQcBAQQmMCQwIgYIKwYB
|
||||
BQUHMAGGFmh0dHA6Ly9vY3NwLnRoYXd0ZS5jb20wDQYJKoZIhvcNAQEFBQADgYEA
|
||||
dLrNu1On6Vp5JWdeFmA0wZjrvbVSXmH3fGuuY5pw+RDDq5AVZ0ug5AoNO90DkAn5
|
||||
7s1zOelLs1imjS1MpPKOs7jgC+kbzW/PRFfY1oYSHZdSQGfmTjdz3PtT3XVWMmne
|
||||
z4cv4RYpEiZrkrxL/fdd36E/Lo0GctmhlXBT7SiNM0g=
|
||||
-----END CERTIFICATE-----
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIDJzCCApCgAwIBAgIBATANBgkqhkiG9w0BAQQFADCBzjELMAkGA1UEBhMCWkEx
|
||||
FTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMR0wGwYD
|
||||
VQQKExRUaGF3dGUgQ29uc3VsdGluZyBjYzEoMCYGA1UECxMfQ2VydGlmaWNhdGlv
|
||||
biBTZXJ2aWNlcyBEaXZpc2lvbjEhMB8GA1UEAxMYVGhhd3RlIFByZW1pdW0gU2Vy
|
||||
dmVyIENBMSgwJgYJKoZIhvcNAQkBFhlwcmVtaXVtLXNlcnZlckB0aGF3dGUuY29t
|
||||
MB4XDTk2MDgwMTAwMDAwMFoXDTIwMTIzMTIzNTk1OVowgc4xCzAJBgNVBAYTAlpB
|
||||
MRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEdMBsG
|
||||
A1UEChMUVGhhd3RlIENvbnN1bHRpbmcgY2MxKDAmBgNVBAsTH0NlcnRpZmljYXRp
|
||||
b24gU2VydmljZXMgRGl2aXNpb24xITAfBgNVBAMTGFRoYXd0ZSBQcmVtaXVtIFNl
|
||||
cnZlciBDQTEoMCYGCSqGSIb3DQEJARYZcHJlbWl1bS1zZXJ2ZXJAdGhhd3RlLmNv
|
||||
bTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA0jY2aovXwlue2oFBYo847kkE
|
||||
VdbQ7xwblRZH7xhINTpS9CtqBo87L+pW46+GjZ4X9560ZXUCTe/LCaIhUdib0GfQ
|
||||
ug2SBhRz1JPLlyoAnFxODLz6FVL88kRu2hFKbgifLy3j+ao6hnO2RlNYyIkFvYMR
|
||||
uHM/qgeN9EJN50CdHDcCAwEAAaMTMBEwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG
|
||||
9w0BAQQFAAOBgQAmSCwWwlj66BZ0DKqqX1Q/8tfJeGBeXm43YyJ3Nn6yF8Q0ufUI
|
||||
hfzJATj/Tb7yFkJD57taRvvBxhEf8UqwKEbJw8RCfbz6q1lu1bdRiBHjpIUZa4JM
|
||||
pAwSremkrj/xw0llmozFyD4lt5SZu5IycQfwhl7tUCemDaYj+bvLpgcUQg==
|
||||
-----END CERTIFICATE-----
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIICPDCCAaUCEHC65B0Q2Sk0tjjKewPMur8wDQYJKoZIhvcNAQECBQAwXzELMAkG
|
||||
A1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFz
|
||||
cyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTk2
|
||||
MDEyOTAwMDAwMFoXDTI4MDgwMTIzNTk1OVowXzELMAkGA1UEBhMCVVMxFzAVBgNV
|
||||
BAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAzIFB1YmxpYyBQcmlt
|
||||
YXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIGfMA0GCSqGSIb3DQEBAQUAA4GN
|
||||
ADCBiQKBgQDJXFme8huKARS0EN8EQNvjV69qRUCPhAwL0TPZ2RHP7gJYHyX3KqhE
|
||||
BarsAx94f56TuZoAqiN91qyFomNFx3InzPRMxnVx0jnvT0Lwdd8KkMaOIG+YD/is
|
||||
I19wKTakyYbnsZogy1Olhec9vn2a/iRFM9x2Fe0PonFkTGUugWhFpwIDAQABMA0G
|
||||
CSqGSIb3DQEBAgUAA4GBALtMEivPLCYATxQT3ab7/AoRhIzzKBxnki98tsX63/Do
|
||||
lbwdj2wsqFHMc9ikwFPwTtYmwHYBV4GSXiHx0bH/59AhWM1pF+NEHJwZRDmJXNyc
|
||||
AA9WjQKZ7aKQRUzkuxCkPfAyAw7xzvjoyVGM5mKf5p/AfbdynMk2OmufTqj/ZA1k
|
||||
-----END CERTIFICATE-----
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIDhjCCAu+gAwIBAgIQeO5I3hhbIHHJycO1HXvdwTANBgkqhkiG9w0BAQUFADBfMQswCQYD
|
||||
VQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsTLkNsYXNzIDMgUHVi
|
||||
bGljIFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNOTcwNDE3MDAwMDAwWhcN
|
||||
MTExMDI0MjM1OTU5WjCBujEfMB0GA1UEChMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazEXMBUG
|
||||
A1UECxMOVmVyaVNpZ24sIEluYy4xMzAxBgNVBAsTKlZlcmlTaWduIEludGVybmF0aW9uYWwg
|
||||
U2VydmVyIENBIC0gQ2xhc3MgMzFJMEcGA1UECxNAd3d3LnZlcmlzaWduLmNvbS9DUFMgSW5j
|
||||
b3JwLmJ5IFJlZi4gTElBQklMSVRZIExURC4oYyk5NyBWZXJpU2lnbjCBnzANBgkqhkiG9w0B
|
||||
AQEFAAOBjQAwgYkCgYEA2IKA6NYZAn0fhRg5JaJlK+G/1AXTvOY2O6rwTGxbtueqPHNFVbLx
|
||||
veqXQu2aNAoV1Klc9UAl3dkHwTKydWzEyruj/lYncUOqY/UwPpMo5frxCTvzt01OOfdcSVq4
|
||||
wR3Tsor+cDCVQsv+K1GLWjw6+SJPkLICp1OcTzTnqwSye28CAwEAAaOB5jCB4zAPBgNVHRME
|
||||
CDAGAQH/AgEAMEQGA1UdIAQ9MDswOQYLYIZIAYb4RQEHAQEwKjAoBggrBgEFBQcCARYcaHR0
|
||||
cHM6Ly93d3cudmVyaXNpZ24uY29tL0NQUzA0BgNVHR8ELTArMCmgJ6AlhiNodHRwOi8vY3Js
|
||||
LnZlcmlzaWduLmNvbS9wY2EzLWcyLmNybDA0BgNVHSUELTArBggrBgEFBQcDAQYIKwYBBQUH
|
||||
AwIGCWCGSAGG+EIEAQYKYIZIAYb4RQEIATALBgNVHQ8EBAMCAQYwEQYJYIZIAYb4QgEBBAQD
|
||||
AgEGMA0GCSqGSIb3DQEBBQUAA4GBACNd7qYkBf1202oa1rpGBqpqDwOQZrKwpsKeyR6jVVOv
|
||||
PkX93Iwn3VM4Cbt8Syu6lUr+cE4badY8908HxfIXWkyij6wLigbbudRrxR1Y2hdS4yHx0tda
|
||||
1eWrWXsheoZq1P4XETpTDZxgoErZXuQdDCmqEwdlhh+/tMmCU5wsAo8j
|
||||
-----END CERTIFICATE-----
|
||||
|
||||
|
Before Width: | Height: | Size: 952 B |
|
Before Width: | Height: | Size: 1.9 KiB |
@@ -1,109 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 7091 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
include(dirname(__FILE__).'/../../config/config.inc.php');
|
||||
include(dirname(__FILE__).'/../../init.php');
|
||||
include(dirname(__FILE__).'/cashticket.php');
|
||||
|
||||
$module = new CashTicket();
|
||||
|
||||
if (!$cart->id OR $cart->id_customer == 0 OR $cart->id_address_delivery == 0 OR $cart->id_address_invoice == 0 OR !$module->active)
|
||||
Tools::redirect('index.php?controller=order&step=3');
|
||||
|
||||
$currency = new Currency($cart->id_currency);
|
||||
if (!$module->isCurrencyActive($currency->iso_code))
|
||||
Tools::redirect('index.php?controller=order&step=3');
|
||||
|
||||
$amount = number_format((float)($cart->getOrderTotal(true, Cart::BOTH)), 2, '.','');
|
||||
if (Tools::getValue('hash') != md5(Configuration::get($module->prefix.'SALT') + $amount + $currency->iso_code))
|
||||
die(Tools::displayError());
|
||||
|
||||
$result = $module->getDispositionState((int)($cart->id));
|
||||
$state = Configuration::get('PS_OS_ERROR');
|
||||
|
||||
$disposition = Disposition::getByCartId((int)($cart->id));
|
||||
|
||||
$message = 'Transaction ID #'.$disposition['mtid'].': '.$disposition['amount'].$disposition['currency'].'<br />'. date('Y-m-d').' ';
|
||||
if ($result[0] == 0)
|
||||
{
|
||||
list ($rc, $errorcode, $error_message, $amount, $used_currency, $state) = $result;
|
||||
|
||||
if ($state == PrepaidServicesAPI::DISPOSITION_DISPOSED || $state == PrepaidServicesAPI::DISPOSITION_DEBITED)
|
||||
{
|
||||
$state = Configuration::get('PS_OS_PAYMENT');
|
||||
$message .= $module->getL('disposition_created');
|
||||
}
|
||||
else
|
||||
{
|
||||
$message .= $module->getL('disposition_invalid').' '.$state;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$message .= 'payment_error'.' '.$result[2];
|
||||
}
|
||||
|
||||
if ($state != Configuration::get('PS_OS_ERROR'))
|
||||
{
|
||||
$state = (int)(Configuration::get($module->prefix.'ORDER_STATE_ID'));
|
||||
|
||||
if (Configuration::get($module->prefix.'IMMEDIAT_PAYMENT'))
|
||||
{
|
||||
$message .= '<br />'.date('Y-m-d').' ';
|
||||
$result = $module->executeDebit((int)($cart->id));
|
||||
|
||||
if ($result[0] != 0)
|
||||
{
|
||||
$message .= $module->getL('payment_error').' '.$result[2];
|
||||
$state = Configuration::get('PS_OS_ERROR');
|
||||
}
|
||||
else
|
||||
{
|
||||
$message .= $module->getL('payment_accepted');
|
||||
$state = Configuration::get('PS_OS_PAYMENT');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$module->setTransactionDetail(array(
|
||||
'transaction_id', $disposition['mtid']));
|
||||
$module->validateOrder((int)($cart->id), $state, (float)($cart->getOrderTotal(true, Cart::BOTH)),
|
||||
$module->displayName, $message, NULL, (int)($currency->id), false, $cart->secure_key);
|
||||
|
||||
if ($state == Configuration::get('PS_OS_ERROR'))
|
||||
{
|
||||
include(dirname(__FILE__).'/../../header.php');
|
||||
echo $message;
|
||||
include(dirname(__FILE__).'/../../footer.php');
|
||||
}
|
||||
else
|
||||
{
|
||||
$order = new Order($module->currentOrder);
|
||||
Tools::redirect('index.php?controller=order-confirmation&id_cart='.(int)($cart->id).'&id_module='.(int)($module->id).'&id_order='.(int)($module->currentOrder).'&key='.$order->secure_key);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @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
|
||||
*}
|
||||
|
||||
<p class="payment_module">
|
||||
<a href="modules/{$module_name}/redirect.php" title="">
|
||||
<img src="{$pic_url}" alt="" width="86" height="49"/>
|
||||
{l s='Pay with' mod='cashticket'} {$payment_name}
|
||||
</a>
|
||||
</p>
|
||||
@@ -1,38 +0,0 @@
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @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
|
||||
*/
|
||||
|
||||
function toggleImediatPayment()
|
||||
{
|
||||
if ($('#ct_business_type').val() == 'I')
|
||||
$('#imediat_payment').hide();
|
||||
else
|
||||
$('#imediat_payment').show();
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
toggleImediatPayment();
|
||||
});
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 7091 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
include(dirname(__FILE__).'/../../config/config.inc.php');
|
||||
include(dirname(__FILE__).'/../../init.php');
|
||||
include(dirname(__FILE__).'/cashticket.php');
|
||||
|
||||
$module = new CashTicket();
|
||||
|
||||
if (!$cart->id OR $cart->id_customer == 0 OR $cart->id_address_delivery == 0 OR $cart->id_address_invoice == 0 OR !$module->active)
|
||||
|
||||
Tools::redirect('index.php?controller=order&step=3');
|
||||
|
||||
$currency = new Currency($cart->id_currency);
|
||||
if (!$module->isCurrencyActive($currency->iso_code))
|
||||
Tools::redirect('index.php?controller=order&step=3');
|
||||
|
||||
$result = $module->createDisposition($cart);
|
||||
|
||||
if ($result['return_code'] != 0)
|
||||
{
|
||||
include(dirname(__FILE__).'/../../header.php');
|
||||
echo $module->getL('cant_create_dispo');
|
||||
include(dirname(__FILE__).'/../../footer.php');
|
||||
}
|
||||
else
|
||||
Tools::redirectLink($result['message']);
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<module>
|
||||
<name>criteo</name>
|
||||
<displayName><![CDATA[Criteo]]></displayName>
|
||||
<version><![CDATA[1.0]]></version>
|
||||
<description><![CDATA[Criteo product export and tag display.]]></description>
|
||||
<author><![CDATA[]]></author>
|
||||
<tab><![CDATA[advertising_marketing]]></tab>
|
||||
<is_configurable>1</is_configurable>
|
||||
<need_instance>0</need_instance>
|
||||
<limited_countries></limited_countries>
|
||||
</module>
|
||||
@@ -1,358 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @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 Criteo extends Module
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
$this->name = 'criteo';
|
||||
$this->tab = 'advertising_marketing';
|
||||
$this->version = '1.0';
|
||||
$this->need_instance = 0;
|
||||
|
||||
parent::__construct();
|
||||
|
||||
$this->displayName = $this->l('Criteo');
|
||||
$this->description = $this->l('Criteo product export and tag display.');
|
||||
}
|
||||
|
||||
public function install()
|
||||
{
|
||||
return (parent::install() AND $this->registerHook('header')
|
||||
AND $this->registerHook('productfooter')
|
||||
AND $this->registerHook('home')
|
||||
AND $this->registerHook('shoppingCartExtra')
|
||||
AND $this->registerHook('orderConfirmation'));
|
||||
}
|
||||
|
||||
public function uninstall()
|
||||
{
|
||||
return parent::uninstall();
|
||||
}
|
||||
|
||||
private function _postProcess()
|
||||
{
|
||||
$isUpdated = false;
|
||||
if (Tools::getValue('id_criteo_conversion'))
|
||||
{
|
||||
Configuration::updateValue('CRITEO_ID_CONVERSION', pSQL(Tools::getValue('id_criteo_conversion')));
|
||||
$isUpdated = true;
|
||||
}
|
||||
if (Tools::getValue('id_criteo_normal'))
|
||||
{
|
||||
Configuration::updateValue('CRITEO_ID_NORMAL', pSQL(Tools::getValue('id_criteo_normal')));
|
||||
$isUpdated = true;
|
||||
}
|
||||
if (Tools::getValue('url_widget_criteo'))
|
||||
{
|
||||
Configuration::updateValue('CRITEO_URL_WIDGET', pSQL(Tools::getValue('url_widget_criteo')));
|
||||
$isUpdated = true;
|
||||
}
|
||||
if ($isUpdated)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getContent()
|
||||
{
|
||||
return '
|
||||
<fieldset>
|
||||
'.($this->_postProcess() ? $this->displayConfirmation($this->l('Settings are updated').'<img src="http://api.prestashop.com/modules/criteo.png?normal_id='.urlencode(Tools::getValue('id_criteo_normal')).'&conversion_id='.Tools::getValue('id_criteo_conversion').'" style="float:right" />') : '').'
|
||||
<legend><img src="'.$this->_path.'logo.gif" alt="" title=""/> '.$this->l('Criteo Export').'</legend>
|
||||
<form method="post" action="" name="criteoForm">
|
||||
<label for="id_normal_criteo">'.$this->l('Criteo normal identifier').' :</label>
|
||||
<input type="text" value="'.Configuration::get('CRITEO_ID_NORMAL').'" name="id_criteo_normal" /><br /><br />
|
||||
<label for="id_convertion_criteo">'.$this->l('Criteo conversion identifier').' :</label>
|
||||
<input type="text" value="'.Configuration::get('CRITEO_ID_CONVERSION').'" name="id_criteo_conversion" /><br /><br />
|
||||
<label for="url_widget_criteo">'.$this->l('URL Widget').' :</label>
|
||||
<input type="text" value="'.Configuration::get('CRITEO_URL_WIDGET').'" name="url_widget_criteo" /><br /><br />
|
||||
<center><input type="submit" class="button" name="submitCriteo" value="'.$this->l('Submit').'" /></center>
|
||||
</form>
|
||||
'.$this->l('URL to communicate to Criteo:').'
|
||||
<a href="'.Tools::getProtocol().$_SERVER['HTTP_HOST'].__PS_BASE_URI__.'modules/'.$this->name.'/export_csv.php?token='.sha1(_COOKIE_KEY_.'exportCriteo').'">'.Tools::getProtocol().$_SERVER['HTTP_HOST'].__PS_BASE_URI__.'modules/'.$this->name.'/export_csv.php?token='.sha1(_COOKIE_KEY_.'exportCriteo').'</a><br />
|
||||
'.$this->l('URL to communicate to Criteo:').'
|
||||
<a href="'.Tools::getProtocol().$_SERVER['HTTP_HOST'].__PS_BASE_URI__.'modules/'.$this->name.'/export_xml.php?token='.sha1(_COOKIE_KEY_.'exportCriteo').'">'.Tools::getProtocol().$_SERVER['HTTP_HOST'].__PS_BASE_URI__.'modules/'.$this->name.'/export_xml.php?token='.sha1(_COOKIE_KEY_.'exportCriteo').'</a>
|
||||
</fieldset>';
|
||||
}
|
||||
|
||||
private static function getAllSubCats(&$all_cats, $id_cat, $id_lang)
|
||||
{
|
||||
$category = new Category(intval($id_cat));
|
||||
|
||||
$sub_cats = $category->getSubcategories($id_lang);
|
||||
if(count($sub_cats) > 0)
|
||||
foreach ($sub_cats AS $sub_cat)
|
||||
{
|
||||
$all_cats[] = $sub_cat['id_category'];
|
||||
self::getAllSubCats($all_cats, $sub_cat['id_category'], $id_lang);
|
||||
}
|
||||
}
|
||||
|
||||
public static function buildCSV()
|
||||
{
|
||||
global $country_infos;
|
||||
|
||||
$country_infos = array('id_group' => 0, 'id_tax' => 1);
|
||||
$html = '';
|
||||
/* First line, columns */
|
||||
$columns = array('id', 'name', 'smallimage', 'bigimage', 'producturl', 'description', 'price', 'retailprice', 'discount', 'recommendable', 'instock');
|
||||
|
||||
foreach ($columns AS $column)
|
||||
$html .= $column.'|';
|
||||
$html = rtrim($html, '|')."\n";
|
||||
|
||||
/* Setting parameters */
|
||||
$conf = Configuration::getMultiple(array(
|
||||
'PS_REWRITING_SETTINGS',
|
||||
'PS_LANG_DEFAULT',
|
||||
'PS_SHIPPING_FREE_PRICE',
|
||||
'PS_SHIPPING_HANDLING',
|
||||
'PS_SHIPPING_METHOD',
|
||||
'PS_SHIPPING_FREE_WEIGHT',
|
||||
'PS_COUNTRY_DEFAULT',
|
||||
'PS_SHOP_NAME',
|
||||
'PS_CURRENCY_DEFAULT',
|
||||
'PS_CARRIER_DEFAULT'));
|
||||
|
||||
$result = Db::getInstance()->executeS('
|
||||
SELECT DISTINCT p.`id_product`, i.`id_image`
|
||||
FROM `'._DB_PREFIX_.'product` p
|
||||
JOIN `'._DB_PREFIX_.'category_product` cp ON (cp.id_product = p.id_product)
|
||||
LEFT JOIN `'._DB_PREFIX_.'image` i ON (i.id_product = p.id_product)
|
||||
WHERE p.`active` = 1 AND i.id_image IS NOT NULL
|
||||
GROUP BY p.id_product');
|
||||
foreach ($result AS $k => $row)
|
||||
{
|
||||
if (Pack::isPack(intval($row['id_product'])))
|
||||
continue;
|
||||
$product = new Product(intval($row['id_product']), true);
|
||||
|
||||
if (Validate::isLoadedObject($product))
|
||||
{
|
||||
$imageObj = new Image($row['id_image']);
|
||||
$line = array();
|
||||
$line[] = $product->id;
|
||||
$line[] = $product->manufacturer_name.' - '.$product->name[intval($conf['PS_LANG_DEFAULT'])];
|
||||
$line[] = Tools::getProtocol().$_SERVER['HTTP_HOST']._THEME_PROD_DIR_.$imageObj->getExistingImgPath().'-small.jpg';
|
||||
$line[] = Tools::getProtocol().$_SERVER['HTTP_HOST']._THEME_PROD_DIR_.$imageObj->getExistingImgPath().'-thickbox.jpg';
|
||||
$line[] = $this->context->link->getProductLink(intval($product->id), $product->link_rewrite[intval($conf['PS_LANG_DEFAULT'])], $product->ean13).'&utm_source=criteo&aff=criteo';
|
||||
$line[] = str_replace(array("\n", "\r", "\t", '|'), '', strip_tags(html_entity_decode($product->description_short[intval($conf['PS_LANG_DEFAULT'])], ENT_COMPAT, 'UTF-8')));
|
||||
|
||||
$price = $product->getPrice(true, intval(Product::getDefaultAttribute($product->id)));
|
||||
|
||||
$line[] = number_format($price, 2, '.', '');
|
||||
$line[] = number_format($product->getPrice(true, intval(Product::getDefaultAttribute(intval($product->id))), 6, NULL, false, false), 2, '.', '');
|
||||
$line[] = $product->getPrice(true, NULL, 2, NULL, true);
|
||||
$line[] = '1';
|
||||
$line[] = '1';
|
||||
|
||||
foreach ($line AS $column)
|
||||
$html .= trim($column).'|';
|
||||
$html = rtrim($html, '|')."\n";
|
||||
}
|
||||
}
|
||||
echo $html;
|
||||
}
|
||||
|
||||
public static function buildXML()
|
||||
{
|
||||
global $country_infos;
|
||||
$context = Context::getContext();
|
||||
|
||||
$country_infos = array('id_group' => 0, 'id_tax' => 1);
|
||||
$html = '<products>'."\n";
|
||||
/* First line, columns */
|
||||
$columns = array('id', 'name', 'smallimage', 'bigimage', 'producturl', 'description', 'price', 'retailprice', 'discount', 'recommendable', 'instock');
|
||||
|
||||
/* Setting parameters */
|
||||
$conf = Configuration::getMultiple(array(
|
||||
'PS_REWRITING_SETTINGS',
|
||||
'PS_LANG_DEFAULT',
|
||||
'PS_SHIPPING_FREE_PRICE',
|
||||
'PS_SHIPPING_HANDLING',
|
||||
'PS_SHIPPING_METHOD',
|
||||
'PS_SHIPPING_FREE_WEIGHT',
|
||||
'PS_COUNTRY_DEFAULT',
|
||||
'PS_SHOP_NAME',
|
||||
'PS_CURRENCY_DEFAULT',
|
||||
'PS_CARRIER_DEFAULT'));
|
||||
|
||||
/* Searching for products */
|
||||
$result = Db::getInstance()->executeS('
|
||||
SELECT DISTINCT p.`id_product`, i.`id_image`
|
||||
FROM `'._DB_PREFIX_.'product` p
|
||||
JOIN `'._DB_PREFIX_.'category_product` cp ON (cp.id_product = p.id_product)
|
||||
LEFT JOIN `'._DB_PREFIX_.'image` i ON (i.id_product = p.id_product)
|
||||
WHERE p.`active` = 1 AND i.id_image IS NOT NULL
|
||||
GROUP BY p.id_product');
|
||||
|
||||
foreach ($result AS $k => $row)
|
||||
{
|
||||
if (Pack::isPack(intval($row['id_product'])))
|
||||
continue;
|
||||
$product = new Product(intval($row['id_product']), true);
|
||||
|
||||
if (Validate::isLoadedObject($product))
|
||||
{
|
||||
$imageObj = new Image($row['id_image']);
|
||||
$imageObj->id_product = intval($product->id);
|
||||
$line = array();
|
||||
$line[] = $product->manufacturer_name.' - '.$product->name[intval($conf['PS_LANG_DEFAULT'])];
|
||||
|
||||
$line[] = Tools::getProtocol().$_SERVER['HTTP_HOST']._THEME_PROD_DIR_.$imageObj->getExistingImgPath().'-small.jpg';
|
||||
$line[] = Tools::getProtocol().$_SERVER['HTTP_HOST']._THEME_PROD_DIR_.$imageObj->getExistingImgPath().'-thickbox.jpg';
|
||||
$line[] = $context->link->getProductLink(intval($product->id), $product->link_rewrite[intval($conf['PS_LANG_DEFAULT'])], $product->ean13).'&utm_source=criteo&aff=criteo';
|
||||
$line[] = str_replace(array("\n", "\r", "\t", '|'), '', strip_tags(html_entity_decode($product->description_short[intval($conf['PS_LANG_DEFAULT'])], ENT_COMPAT, 'UTF-8')));
|
||||
|
||||
$price = $product->getPrice(true, intval(Product::getDefaultAttribute($product->id)));
|
||||
|
||||
$line[] = number_format($price, 2, '.', '');
|
||||
$line[] = number_format($product->getPrice(true, intval(Product::getDefaultAttribute(intval($product->id))), 6, NULL, false, false), 2, '.', '');
|
||||
$line[] = $product->getPrice(true, NULL, 2, NULL, true);
|
||||
$line[] = '1';
|
||||
$line[] = '1';
|
||||
|
||||
$cptXML = 1;
|
||||
$html .= "\t".'<product id="'.$product->id.'">'."\n";
|
||||
foreach ($line AS $column)
|
||||
{
|
||||
$html .= "\t\t".'<'.$columns[$cptXML].'>'.$column.'</'.$columns[$cptXML].'>'."\n";
|
||||
$cptXML++;
|
||||
}
|
||||
$html .= "\t".'</product>'."\n";
|
||||
}
|
||||
}
|
||||
$html .= '</products>'."\n";
|
||||
echo $html;
|
||||
}
|
||||
|
||||
public function hookProductFooter($params)
|
||||
{
|
||||
return '<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
document.write(\'<div id="cto_se_'.Configuration::get('CRITEO_ID_NORMAL').'_ac" style="display:none">\\
|
||||
<div class="ctoWidgetServer">'.Configuration::get('CRITEO_URL_WIDGET').'</div>\\
|
||||
<div class="ctoDataType">sendEvent</div>\\
|
||||
<div class="ctoParams">wi='.Configuration::get('CRITEO_ID_NORMAL').'&pt1=2&i='.$params['product']->id.'</div>\\
|
||||
</div>\');
|
||||
//]]>
|
||||
</script>';
|
||||
}
|
||||
|
||||
public function hookProductList($params)
|
||||
{
|
||||
$i = 0;
|
||||
$strproducts = '';
|
||||
|
||||
if (!isset($params['products']) OR !$params['products'])
|
||||
return '';
|
||||
|
||||
foreach ($params['products'] AS $product)
|
||||
{
|
||||
if ($i > 2)
|
||||
break;
|
||||
|
||||
$strproducts .= 'i'.++$i.'='.$product['id_product'].'&';
|
||||
}
|
||||
return '<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
document.write(\'<div id="cto_tr_'.Configuration::get('CRITEO_ID_NORMAL').'_ac" style="display:none">\\
|
||||
<div class="ctoWidgetServer">'.Configuration::get('CRITEO_URL_WIDGET').'</div>\\
|
||||
<div class="ctoDataType">sendEvent</div>\\
|
||||
<div class="ctoParams">pt1=3&wi='.Configuration::get('CRITEO_ID_NORMAL').'&'.rtrim($strproducts, '&').'</div>\\
|
||||
</div>\');
|
||||
//]]>
|
||||
</script>';
|
||||
|
||||
}
|
||||
|
||||
public function hookShoppingCartExtra($params)
|
||||
{
|
||||
foreach ($params['products'] AS $product)
|
||||
$strproducts .= 'i'.++$i.'='.$product['id_product'].'&p'.$i.'='.$product['price'].'&q'.$i.'='.$product['quantity'].'&';
|
||||
|
||||
$strproducts = substr($strproducts, 0, -1);
|
||||
|
||||
return '<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
document.write(\'<div id="cto_tr_'.Configuration::get('CRITEO_ID_CONVERSION').'_ac" style="display:none">\\
|
||||
<div class="ctoWidgetServer">'.Configuration::get('CRITEO_URL_WIDGET').'</div>\\
|
||||
<div class="ctoDataType">transaction</div>\\
|
||||
<div class="ctoParams">wi='.Configuration::get('CRITEO_ID_CONVERSION').'&s=0&'.rtrim($strproducts, '&').'</div>\\
|
||||
</div>\');
|
||||
//]]>
|
||||
</script>';
|
||||
}
|
||||
|
||||
public function hookOrderConfirmation($params)
|
||||
{
|
||||
global $country_infos;
|
||||
|
||||
$country_infos = array('id_group' => 0,
|
||||
'id_tax' => 1);
|
||||
$cart = new Cart(intval($params['objOrder']->id_cart));
|
||||
$products = $cart->getProducts();
|
||||
$strproducts = '';
|
||||
$i = 0;
|
||||
foreach ($products AS $product)
|
||||
$strproducts .= 'i'.++$i.'='.$product['id_product'].'&p'.$i.'='.$product['price'].'&q'.$i.'='.$product['quantity'].'&';
|
||||
|
||||
$strproducts = substr($strproducts, 0, -1);
|
||||
|
||||
return '<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
document.write(\'<div id="cto_tr_'.Configuration::get('CRITEO_ID_CONVERSION').'_ac" style="display:none">\\
|
||||
<div class="ctoWidgetServer">'.Configuration::get('CRITEO_URL_WIDGET').'</div>\\
|
||||
<div class="ctoDataType">transaction</div>\\
|
||||
<div class="ctoParams">wi='.Configuration::get('CRITEO_ID_CONVERSION').'&t='.intval($params['objOrder']->id).'&s=1&'.rtrim($strproducts, '&').'</div>\\
|
||||
</div>\');
|
||||
//]]>
|
||||
</script>';
|
||||
}
|
||||
|
||||
public function hookHeader($params)
|
||||
{
|
||||
return '<script type="text/javascript" src="http://ld2.criteo.com/criteo_ld.js"></script>';
|
||||
}
|
||||
|
||||
public function hookHome($params)
|
||||
{
|
||||
return '<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
document.write(\'<div id="cto_se_'.Configuration::get('CRITEO_ID_NORMAL').'_ac" style="display:none">\\
|
||||
<div class="ctoWidgetServer">'.Configuration::get('CRITEO_URL_WIDGET').'</div>\\
|
||||
<div class="ctoDataType">sendEvent</div>\\
|
||||
<div class="ctoParams">wi='.Configuration::get('CRITEO_ID_NORMAL').'&pt1=0&pt2=1</div>\\
|
||||
</div>\');
|
||||
//]]>
|
||||
</script>';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{criteo}prestashop>criteo_0c90fc1c188056486dbb210f25023b8a'] = 'Criteo';
|
||||
$_MODULE['<{criteo}prestashop>criteo_dfa5d522cd54e1ef0f94ec2ed4a61419'] = 'Criteo Produkt Export-und Tag-Anzeige';
|
||||
$_MODULE['<{criteo}prestashop>criteo_7ccf58c950043c9fbfed668df13ce608'] = 'Die Einstellungen werden aktualisiert';
|
||||
$_MODULE['<{criteo}prestashop>criteo_2667504f82250eacbd377f121b5c57e0'] = 'Criteo Export';
|
||||
$_MODULE['<{criteo}prestashop>criteo_96814c8ba0e8753f60d3ded7799ac5f8'] = 'Criteo normale Kennung';
|
||||
$_MODULE['<{criteo}prestashop>criteo_e60d35bcd2d65206757417532f509366'] = 'Criteo Konversionskennung';
|
||||
$_MODULE['<{criteo}prestashop>criteo_2a0b3f9396d21be5b3eb7e3bed1ed495'] = 'URL Widget';
|
||||
$_MODULE['<{criteo}prestashop>criteo_a4d3b161ce1309df1c4e25df28694b7b'] = 'Senden';
|
||||
$_MODULE['<{criteo}prestashop>criteo_c452f9f8ae244baf28588108f83e0a8a'] = 'Ihre URL, für die Kommunikation mit Criteo:';
|
||||
@@ -1,4 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
@@ -1,13 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{criteo}prestashop>criteo_0c90fc1c188056486dbb210f25023b8a'] = 'Criteo';
|
||||
$_MODULE['<{criteo}prestashop>criteo_dfa5d522cd54e1ef0f94ec2ed4a61419'] = 'Exportación de productos para Criteo e indicación de tags en Front-Office';
|
||||
$_MODULE['<{criteo}prestashop>criteo_7ccf58c950043c9fbfed668df13ce608'] = 'Parámetros actualizados';
|
||||
$_MODULE['<{criteo}prestashop>criteo_2667504f82250eacbd377f121b5c57e0'] = 'Exportación Criteo';
|
||||
$_MODULE['<{criteo}prestashop>criteo_96814c8ba0e8753f60d3ded7799ac5f8'] = 'Login Criteo normal';
|
||||
$_MODULE['<{criteo}prestashop>criteo_e60d35bcd2d65206757417532f509366'] = 'Login Criteo conversión';
|
||||
$_MODULE['<{criteo}prestashop>criteo_2a0b3f9396d21be5b3eb7e3bed1ed495'] = 'URL de widget';
|
||||
$_MODULE['<{criteo}prestashop>criteo_a4d3b161ce1309df1c4e25df28694b7b'] = 'Enviar';
|
||||
$_MODULE['<{criteo}prestashop>criteo_c452f9f8ae244baf28588108f83e0a8a'] = 'URL para comunicar a Criteo:';
|
||||
@@ -1,36 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @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_once(dirname(__FILE__).'/../../config/config.inc.php');
|
||||
include_once(dirname(__FILE__).'/../../init.php');
|
||||
include_once(dirname(__FILE__).'/criteo.php');
|
||||
|
||||
if (Tools::getValue('token') != sha1(_COOKIE_KEY_.'exportCriteo'))
|
||||
die(Tools::displayError('The token is invalid, please check the export url in your module configuration.'));
|
||||
Criteo::buildCSV();
|
||||
|
||||
?>
|
||||
@@ -1,36 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @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_once(dirname(__FILE__).'/../../config/config.inc.php');
|
||||
include_once(dirname(__FILE__).'/../../init.php');
|
||||
include_once(dirname(__FILE__).'/criteo.php');
|
||||
|
||||
if (Tools::getValue('token') != sha1(_COOKIE_KEY_.'exportCriteo'))
|
||||
die(Tools::displayError('The token is invalid, please check the export url in your module configuration.'));
|
||||
Criteo::buildXML();
|
||||
|
||||
?>
|
||||
@@ -1,13 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{criteo}prestashop>criteo_0c90fc1c188056486dbb210f25023b8a'] = 'Criteo';
|
||||
$_MODULE['<{criteo}prestashop>criteo_dfa5d522cd54e1ef0f94ec2ed4a61419'] = 'Export de produit pour Criteo et l\'affichage des tags en Front Office';
|
||||
$_MODULE['<{criteo}prestashop>criteo_7ccf58c950043c9fbfed668df13ce608'] = 'Paramètres mis à jour';
|
||||
$_MODULE['<{criteo}prestashop>criteo_2667504f82250eacbd377f121b5c57e0'] = 'Export Criteo';
|
||||
$_MODULE['<{criteo}prestashop>criteo_96814c8ba0e8753f60d3ded7799ac5f8'] = 'Identifiant Criteo normal';
|
||||
$_MODULE['<{criteo}prestashop>criteo_e60d35bcd2d65206757417532f509366'] = 'Identifiant Criteo conversion';
|
||||
$_MODULE['<{criteo}prestashop>criteo_2a0b3f9396d21be5b3eb7e3bed1ed495'] = 'URL du widget';
|
||||
$_MODULE['<{criteo}prestashop>criteo_a4d3b161ce1309df1c4e25df28694b7b'] = 'Envoyer';
|
||||
$_MODULE['<{criteo}prestashop>criteo_c452f9f8ae244baf28588108f83e0a8a'] = 'URL à communiquer à Criteo:';
|
||||
@@ -1,36 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @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;
|
||||
@@ -1,13 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{criteo}prestashop>criteo_0c90fc1c188056486dbb210f25023b8a'] = 'Criteo';
|
||||
$_MODULE['<{criteo}prestashop>criteo_dfa5d522cd54e1ef0f94ec2ed4a61419'] = 'Esportazione di prodotti Criteo e visualizzazione tag';
|
||||
$_MODULE['<{criteo}prestashop>criteo_7ccf58c950043c9fbfed668df13ce608'] = 'Impostazioni aggiornate';
|
||||
$_MODULE['<{criteo}prestashop>criteo_2667504f82250eacbd377f121b5c57e0'] = 'Export Criteo ';
|
||||
$_MODULE['<{criteo}prestashop>criteo_96814c8ba0e8753f60d3ded7799ac5f8'] = 'Identificante Criteo normale';
|
||||
$_MODULE['<{criteo}prestashop>criteo_e60d35bcd2d65206757417532f509366'] = 'Identificante Criteo conversione ';
|
||||
$_MODULE['<{criteo}prestashop>criteo_2a0b3f9396d21be5b3eb7e3bed1ed495'] = 'URL Widget';
|
||||
$_MODULE['<{criteo}prestashop>criteo_a4d3b161ce1309df1c4e25df28694b7b'] = 'Invia';
|
||||
$_MODULE['<{criteo}prestashop>criteo_c452f9f8ae244baf28588108f83e0a8a'] = 'URL da comunicare a Criteo:';
|
||||
|
Before Width: | Height: | Size: 176 B |
|
Before Width: | Height: | Size: 1.6 KiB |
@@ -1,49 +0,0 @@
|
||||
<?php
|
||||
/** Provides utilitary functions to log to a file */
|
||||
class MyLogUtils
|
||||
{
|
||||
// Log $msg into a file located at $filepath
|
||||
public static function mylog($filepath, $msg)
|
||||
{
|
||||
$fh = fopen($filepath, 'a');
|
||||
if (FALSE !== $fh)
|
||||
{
|
||||
fwrite($fh, date("d/m/y-H:i:s\t", time()));
|
||||
fwrite($fh, $msg . "\r\n");
|
||||
fclose($fh);
|
||||
}
|
||||
}
|
||||
|
||||
// get a string of a value for Log purposes
|
||||
public static function logValue($mvalue, $lvl=0) {
|
||||
|
||||
if (is_array($mvalue))
|
||||
{
|
||||
$indent="";
|
||||
for ($i=0; $i < $lvl; $i++)
|
||||
$indent = $indent."\t";
|
||||
$buffer = "";
|
||||
$buffer=$buffer. "[]={\r\n";
|
||||
foreach ($mvalue as $akey=>$avalue) {
|
||||
$buffer=$buffer . $indent . "\t" . $akey ."=>". MyLogUtils::logValue($avalue,$lvl+1) . "\r\n";
|
||||
}
|
||||
$buffer=$buffer.$indent."}";
|
||||
return ($buffer);
|
||||
}
|
||||
else if (is_object($mvalue))
|
||||
{
|
||||
$indent="";
|
||||
for ($i=0; $i < $lvl; $i++)
|
||||
$indent = $indent."\t";
|
||||
$buffer = "?" . "=" . get_class($mvalue) . "{\r\n";
|
||||
foreach ($mvalue as $akey=>$avalue) {
|
||||
$buffer=$buffer . $indent . "\t" . $akey ."=". MyLogUtils::logValue($avalue,$lvl+1) . "\r\n";
|
||||
}
|
||||
$buffer=$buffer.$indent."}";
|
||||
return($buffer);
|
||||
}
|
||||
else
|
||||
return ($mvalue);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
<?php
|
||||
require_once(realpath(dirname(__FILE__).'/../../config/config.inc.php'));
|
||||
|
||||
require_once(realpath(dirname(__FILE__).'/../../init.php'));
|
||||
require_once(realpath(dirname(__FILE__).'/dejala.php'));
|
||||
|
||||
$params['cart'] = new Cart($cookie->id_cart);
|
||||
$djl = new Dejala() ;
|
||||
|
||||
$result = array() ;
|
||||
|
||||
$djl->hookProcessCarrier($params) ;
|
||||
echo json_encode($result);
|
||||
@@ -1,150 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Utilitary functions for calendar
|
||||
**/
|
||||
class CalendarUtils
|
||||
{
|
||||
/**
|
||||
* Ajuste l'heure de dateUtc en fonction de l'ouverture
|
||||
* La dateUtc est considérée dispo
|
||||
**/
|
||||
public function adjustHour($dateUtc, $calendar)
|
||||
{
|
||||
$wd = date('w', $dateUtc);
|
||||
$startHour = (int)($calendar[$wd]['start_hour']);
|
||||
$stopHour = (int)($calendar[$wd]['stop_hour']);
|
||||
$currentHour = (int)(date('H', $dateUtc));
|
||||
$currentMin = (int)(date('i', $dateUtc));
|
||||
|
||||
// arrondi à l'heure juste d'après
|
||||
if ($currentMin > 0)
|
||||
{
|
||||
$currentHour = $currentHour + 1;
|
||||
$dateUtc = mktime($currentHour, 0, 0, date('m', $dateUtc), date('d', $dateUtc), date('Y', $dateUtc));
|
||||
}
|
||||
// si on est avant l'heure de départ, on se met à l'heure de départ
|
||||
if ($currentHour < $startHour)
|
||||
{
|
||||
$dateUtc = mktime($startHour, 0, 0, date('m', $dateUtc), date('d', $dateUtc), date('Y', $dateUtc));
|
||||
}
|
||||
return ($dateUtc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Ajout un délai à la date dateUtc : 0.5 jour ou 1*nb de jours
|
||||
* Prend en compte le calendrier & les exceptions
|
||||
**/
|
||||
public function addDelay($dateUtc, $delay, $calendar, $exceptions)
|
||||
{
|
||||
// on se base sur la prochaine date dispo
|
||||
$dateUtc = $this->getNextDateAvailable($dateUtc, $calendar, $exceptions);
|
||||
if (!$dateUtc)
|
||||
return (null);
|
||||
|
||||
if ($delay == '0.5')
|
||||
{
|
||||
$hour = (int)(date('H', $dateUtc));
|
||||
if ($hour < 12)
|
||||
{
|
||||
$dateUtc = mktime('14', 0, 0, date('m', $dateUtc), date('d', $dateUtc), date('Y', $dateUtc));
|
||||
} else
|
||||
{
|
||||
$dateUtc = $this->skipOneDay($dateUtc) ;
|
||||
$dateUtc = $this->getNextDateAvailable($dateUtc, $calendar, $exceptions);
|
||||
}
|
||||
return ($dateUtc);
|
||||
}
|
||||
|
||||
$deliveryDelay = (int)($delay);
|
||||
while ($deliveryDelay--)
|
||||
{
|
||||
$dateUtc = strtotime(date("Y-m-d", $dateUtc) . " +1 day");
|
||||
$dateUtc = mktime(0, 0, 0, date('m', $dateUtc), date('d', $dateUtc), date('Y', $dateUtc));
|
||||
$dateUtc = $this->getNextDateAvailable($dateUtc, $calendar, $exceptions);
|
||||
}
|
||||
return ($dateUtc);
|
||||
}
|
||||
|
||||
public function skipOneDay($dateUtc)
|
||||
{
|
||||
$dateUtc = strtotime(date("Y-m-d", $dateUtc) . " +1 day");
|
||||
// on remet sur 00h00 pr livrer au début du jour
|
||||
$dateUtc = mktime(0, 0, 0, date('m', $dateUtc), date('d', $dateUtc), date('Y', $dateUtc));
|
||||
|
||||
return $dateUtc ;
|
||||
}
|
||||
|
||||
public function skipCurDay($dateUtc)
|
||||
{
|
||||
$currentDayZero = mktime(0, 0, 0, date('m', time()), date('d', time()), date('Y', time()));
|
||||
$dateUtcZero = mktime(0, 0, 0, date('m', $dateUtc), date('d', $dateUtc), date('Y', $dateUtc));
|
||||
if ($currentDayZero == $dateUtcZero)
|
||||
{
|
||||
$dateUtc = $this->skipOneDay($dateUtc) ;
|
||||
}
|
||||
return $dateUtc ;
|
||||
}
|
||||
|
||||
/**
|
||||
* Renvoie la prochaine journée disponible (soit $dateUtc, soit la prochaine à 00h00)
|
||||
* Si aucune ds les 15j, renvoie NULL
|
||||
**/
|
||||
public function getNextDateAvailable($dateUtc, $calendar, $exceptions)
|
||||
{
|
||||
// si dateUtc est dispo, retourne $dateUtc
|
||||
if ($this->isDateAvailable($dateUtc, $calendar, $exceptions))
|
||||
return ($dateUtc);
|
||||
|
||||
$loopcount = 0;
|
||||
// on positionne au début de journée
|
||||
$dateUtc = mktime(0, 0, 0, date('m', $dateUtc), date('d', $dateUtc), date('Y', $dateUtc));
|
||||
|
||||
// on boucle pour trouver une journée dispo (si ds les 15j, y a pas : on laisse tomber
|
||||
do
|
||||
{
|
||||
$dateUtc = strtotime(date("Y-m-d", $dateUtc) . " +1 day");
|
||||
$isDateFree = $this->isDateAvailable($dateUtc, $calendar, $exceptions);
|
||||
$loopcount++;
|
||||
}
|
||||
while (!$isDateFree && ($loopcount < 15) );
|
||||
if ($isDateFree)
|
||||
return ($dateUtc);
|
||||
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns if $dateUtc is available (orderable date)
|
||||
**/
|
||||
public function isDateAvailable($dateUtc, $calendar, $exceptions)
|
||||
{
|
||||
// jour ferié ?
|
||||
$mCalDate = date("d/m/Y", $dateUtc);
|
||||
|
||||
if (in_array($mCalDate, $exceptions))
|
||||
return (false);
|
||||
|
||||
// jour fermé ?
|
||||
$wd = date('w', $dateUtc);
|
||||
|
||||
if (!isset($calendar[$wd]))
|
||||
return (false);
|
||||
|
||||
// on arrondit à l'heure suivante & on regarde si on est avant la fermeture
|
||||
$stopHour = (int)($calendar[$wd]['stop_hour']);
|
||||
$currentHour = (int)(date('H', $dateUtc));
|
||||
$currentMin = (int)(date('i', $dateUtc));
|
||||
|
||||
if ($currentMin > 0)
|
||||
$currentHour = $currentHour + 1;
|
||||
|
||||
// avant l'heure de fermeture ?
|
||||
if ($currentHour <= $stopHour)
|
||||
return (true);
|
||||
else
|
||||
return (false);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<module>
|
||||
<name>dejala</name>
|
||||
<displayName><![CDATA[Dejala.com : Courier delivery]]></displayName>
|
||||
<version><![CDATA[1.4]]></version>
|
||||
<description><![CDATA[Lets Dejala.com handle your deliveries by courier]]></description>
|
||||
<author><![CDATA[]]></author>
|
||||
<tab><![CDATA[shipping_logistics]]></tab>
|
||||
<is_configurable>1</is_configurable>
|
||||
<need_instance>1</need_instance>
|
||||
<limited_countries>fr</limited_countries>
|
||||
</module>
|
||||
@@ -1,187 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{dejala}prestashop>dejala_9d1a0949c39e66a0cd65240bc0ac9177'] = 'Sonntag';
|
||||
$_MODULE['<{dejala}prestashop>dejala_6f8522e0610541f1ef215a22ffa66ff6'] = 'Montag';
|
||||
$_MODULE['<{dejala}prestashop>dejala_5792315f09a5d54fb7e3d066672b507f'] = 'Dienstag';
|
||||
$_MODULE['<{dejala}prestashop>dejala_796c163589f295373e171842f37265d5'] = 'Mittwoch';
|
||||
$_MODULE['<{dejala}prestashop>dejala_78ae6f0cd191d25147e252dc54768238'] = 'Donnerstag';
|
||||
$_MODULE['<{dejala}prestashop>dejala_c33b138a163847cdb6caeeb7c9a126b4'] = 'Freitag';
|
||||
$_MODULE['<{dejala}prestashop>dejala_8b7051187b9191cdcdae6ed5a10e5adc'] = 'Samstag';
|
||||
$_MODULE['<{dejala}prestashop>dejala_9902522831a16af239ba868918f984c6'] = 'Dejala.com: Lieferung per Kurier';
|
||||
$_MODULE['<{dejala}prestashop>dejala_69a226fe54256a93edb693bc97a7bcb5'] = 'Lassen Sie Dejala.com Ihre Lieferungen per Kurier übernehmen';
|
||||
$_MODULE['<{dejala}prestashop>dejala_f66e08578735b3cde28a2d8215b68a52'] = 'Das Dejala-Modul benötigt die PHP-Erweiterung cURL, um ordnungsgemäß zu funktionieren. Bitte installieren Sie diePHP-Erweiterung \"cURL\"';
|
||||
$_MODULE['<{dejala}prestashop>dejala_0e334c81db8c621e16d82618aaf746ab'] = 'Login ist erforderlich.';
|
||||
$_MODULE['<{dejala}prestashop>dejala_2a04cf556c49e32d4b4c46fd9b8bade5'] = 'Kennwort ist erforderlich.';
|
||||
$_MODULE['<{dejala}prestashop>dejala_483cf1f6e275faa3c29ff20ba6e4407f'] = 'Land ist erforderlich.';
|
||||
$_MODULE['<{dejala}prestashop>dejala_2485b5c3212614c367f862a8e46f4d11'] = 'Das Login muss eine gültige E-Mail-Adresse sein.';
|
||||
$_MODULE['<{dejala}prestashop>dejala_dd189cdaa73e88a19f495a0d6c49a61b'] = 'Shop Name ist erforderlich.';
|
||||
$_MODULE['<{dejala}prestashop>dejala_4876f72a0b3d7f46de2b201ab02cd0a7'] = 'ist keine gültige Marge.';
|
||||
$_MODULE['<{dejala}prestashop>dejala_ad5ee5e5c2989c1e72c586a9f8121716'] = 'Ein Fehler trat während der Authentifizierung Ihres Kontos auf Dejala.com auf. Ihre Zugangsdaten wurden nicht erkannt';
|
||||
$_MODULE['<{dejala}prestashop>dejala_23e0f5b7cc6e26112230c098b893944a'] = 'Unmöglich, die Handlung durchzuführen';
|
||||
$_MODULE['<{dejala}prestashop>dejala_6bd82dd0c6115429b03dd84828d6ccb2'] = 'Bitte wählen Sie ein anderes Login';
|
||||
$_MODULE['<{dejala}prestashop>dejala_0aec12d0e7c8784012ee74606648d625'] = 'Dejala Server ist von Ihrem Prestashop Server nicht erreichbar. Dies ist sicherlich auf eine Begrenzung von Ihrem Hosting-Provider zurückzuführen. Bitte kontaktieren Sie seinen technischen Support und fragen Sie, ob Ihr Server autorisiert ist, ausgehende HTTP-Verbindungen zu initiieren';
|
||||
$_MODULE['<{dejala}prestashop>dejala_f46fe05842135a72df96c3409cf00683'] = 'Fehler beim Aktualisieren des Standorts';
|
||||
$_MODULE['<{dejala}prestashop>dejala_2f63af6e20f182573774b785515ccb95'] = 'Fehler beim Aktualisieren der Kontakte';
|
||||
$_MODULE['<{dejala}prestashop>dejala_3a29c6eb6abefd3d629290756168d892'] = 'Fehler beim Aktualisieren der Prozesse';
|
||||
$_MODULE['<{dejala}prestashop>dejala_5f010efe1c8e6cb195205cbf864044aa'] = 'Fehler beim Aktualisieren der Produkte';
|
||||
$_MODULE['<{dejala}prestashop>dejala_004ac360e91b3dcf50a19a0fd09e3826'] = 'Sie müssen mindestens eine E-Mail-Adresse angeben, um Dejalas Sichtbarkeit zu begrenzen';
|
||||
$_MODULE['<{dejala}prestashop>dejala_c888438d14855d7d96a2724ee9c306bd'] = 'Einstellungen aktualisiert';
|
||||
$_MODULE['<{dejala}prestashop>dejala_dfa53d8241c9f6908e669371b50e95f3'] = 'Dieses Modul benötigt die PHP-Erweiterung cURL, um ordnungsgemäß zu funktionieren. Bitte installieren Sie zuerst die PHP-Erweiterung \"cURL\"';
|
||||
$_MODULE['<{dejala}prestashop>dejala_4c7d16a1e83bcbfd9b33e95f8e90a625'] = 'Ein Fehler trat während der Authentifizierung Ihres Kontos auf Dejala.com auf. Dies kann an einem vorübergehenden Netzwerk- oder Plattform-Problem liegen. Bitte versuchen Sie es später noch einmal oder kontaktieren Sie Dejala.com';
|
||||
$_MODULE['<{dejala}prestashop>dejala_94939d114a8c65173b70b6e01aad11c0'] = 'Ein Fehler ist beim Laden aufgetreten, bitte versuchen Sie es später noch einmal oder kontaktieren Sie Dejala.com';
|
||||
$_MODULE['<{dejala}prestashop>dejala_41d211dd68bf0f87cf3181b0c8dac6e7'] = 'Dejala.com';
|
||||
$_MODULE['<{dejala}prestashop>dejala_627db4c965627fb7f03682dbbc43a4a1'] = 'Ich wähle mein Lieferdatum, wenn mein Produkt verfügbar ist';
|
||||
$_MODULE['<{dejala}prestashop>dejala_3d8764621d6076807b0d60cfcadb7213'] = 'Wenn Sie es wünschen... Kradmelder';
|
||||
$_MODULE['<{dejala}prestashop>dejala_07e9ea0147aee652244a280da00efb5a'] = 'Lieferdatum ausgewählt';
|
||||
$_MODULE['<{dejala}prestashop>dejala_47a4dfe5ab79feb7884fa57786ea587c'] = 'ab';
|
||||
$_MODULE['<{dejala}prestashop>dejala_ba93cc89ba75ee6e74699a49a69c0600'] = 'Lieferdatum noch nicht vom Kunden gewählt';
|
||||
$_MODULE['<{dejala}prestashop>dejala_a240fa27925a635b08dc28c9e4f9216d'] = 'Bestellen';
|
||||
$_MODULE['<{dejala}prestashop>dejala_296a91ebe13e861efa9bd0f74a927353'] = 'Bestellung an Dejala gesandt';
|
||||
$_MODULE['<{dejala}prestashop>dejala_carrier_21034ae6d01a83e702839a72ba8a77b0'] = '(zzgl. MwSt.)';
|
||||
$_MODULE['<{dejala}prestashop>dejala_carrier_1f87346a16cf80c372065de3c54c86d9'] = '(Inkl. Mwst.)';
|
||||
$_MODULE['<{dejala}prestashop>dejala_carrier_e7a6ca4e744870d455a57b644f696457'] = 'Kostenlos!';
|
||||
$_MODULE['<{dejala}prestashop>dejala_carrier_nostock_21034ae6d01a83e702839a72ba8a77b0'] = '(zzgl. MwSt.)';
|
||||
$_MODULE['<{dejala}prestashop>dejala_carrier_nostock_1f87346a16cf80c372065de3c54c86d9'] = '(Inkl. Mwst.)';
|
||||
$_MODULE['<{dejala}prestashop>dejala_carrier_nostock_e7a6ca4e744870d455a57b644f696457'] = 'Kostenlos!';
|
||||
$_MODULE['<{dejala}prestashop>dejala_contacts_a766dcf63862aaaa1625a45169aeb37a'] = 'Shop-Besitzer';
|
||||
$_MODULE['<{dejala}prestashop>dejala_contacts_4e140ba723a03baa6948340bf90e2ef6'] = 'Name:';
|
||||
$_MODULE['<{dejala}prestashop>dejala_contacts_d2cacc542d8dd31bd89f8defed1b55ad'] = 'Vorname:';
|
||||
$_MODULE['<{dejala}prestashop>dejala_contacts_673ae02fffb72f0fe68a66f096a01347'] = 'Telefon:';
|
||||
$_MODULE['<{dejala}prestashop>dejala_contacts_7a31464d87d555a1d5a7d2afdeb64d4e'] = 'mobil:';
|
||||
$_MODULE['<{dejala}prestashop>dejala_contacts_01401fe9a93df81d28637e5218597b76'] = 'E-Mail:';
|
||||
$_MODULE['<{dejala}prestashop>dejala_contacts_7e2121a0b71ccc33c5eeaf11999fdbcd'] = 'Kontakt Lagerkontrolle';
|
||||
$_MODULE['<{dejala}prestashop>dejala_contacts_23e44d356bfc0d17f904cb743b4d247c'] = 'Kontakt Verwaltung';
|
||||
$_MODULE['<{dejala}prestashop>dejala_contacts_527a0a71d5684695421ec3375ec6dba8'] = 'Konakt Webseitenwartung';
|
||||
$_MODULE['<{dejala}prestashop>dejala_contacts_c9cc8cce247e49bae79f15173ce97354'] = 'Speichern';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_9c8a7900448628ee2978be9a3945d148'] = 'Ihr Guthaben';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_b0ee4c529eda15bdecda8bf189a3c813'] = 'Ihr virtuelles Guthaben (zu Testzwecken)';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_defcb35db6f9bdac29b888bfc07e6386'] = 'Euro';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_c2b55c1a6a9880bf1d7cba1914a6da56'] = 'Stocken Sie Ihr Konto auf';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_642c4a47922246182590d4f3c8304f35'] = 'Liste der letzten Lieferungen';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_01abfc750a0c942167651c40d088531d'] = 'Nr.';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_67d5168b4f2b5424a3d118ea9ef99372'] = 'Erstellung';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_d79cf3f429596f77db95c65074663a54'] = 'Bestell-ID';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_2a033d36697bb24bfc7ece05545d268e'] = 'Tracking_Nummer';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_b021df6aac4654c454f46c77646e745f'] = 'Label';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_3601146c4e948c32b6424d2c0a7f0118'] = 'Preis';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_ec53a8c4f07baed5d8825072c89799be'] = 'Status';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_ea9cf7e47ff33b2be14e6dd07cbcefc6'] = 'Versand';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Beschreibung';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_2ca8d70baf21b18878843c02a086e46c'] = 'In';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_2510c39011c5be704182423e3a695e91'] = 'h';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_d98a07f84921b24ee30f86fd8cd85c3c'] = 'von';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_01b6e20344b68835c5ed1ddedf20d531'] = 'an';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_427c7fb2385f610d26ea90fff86f9a84'] = 'CSV-Export';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_5da618e8e4b89c66fe86e32cdafde142'] = 'Von';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_e12167aa0a7698e6ebc92b4ce3909b53'] = 'An';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_a60852f204ed8028c1c58808b746d115'] = 'OK';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_8424d087ffe39bb2ee8db173c7e07ba5'] = 'Erstell_datum';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_d79cf3f429596f77db95c65074663a54'] = 'Bestell-ID';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_2a033d36697bb24bfc7ece05545d268e'] = 'Tracking_Nummer';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_ac27812104f966f43d3a60f37a869338'] = 'short_label';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_78a5eb43deef9a7b5b9ce157b9d52ac4'] = 'Preis';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_9acb44549b41563697bb490144ec6258'] = 'Status';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_1e6e6626b6e59276b14112ebc34c5d49'] = 'Versand_datum';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_c20456384feb648b4692b700ec570d42'] = 'Zeitlimit';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_5c5c8fc67b523e638e0a904d61651f2d'] = 'Versand_start';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_8e659923776b8706dbf4636c408e987c'] = 'Versand-ende';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_ba402b48292a61e4d82f85eeaa0904dc'] = 'Versand_datum';
|
||||
$_MODULE['<{dejala}prestashop>dejala_deliveries_csv_7c7f9f48d29519e8cb47ac606a431a65'] = 'Versand_Zeit';
|
||||
$_MODULE['<{dejala}prestashop>dejala_delivery_options_617283f39e91b6ead659cef3c722cabc'] = 'Lieferpräferenzen';
|
||||
$_MODULE['<{dejala}prestashop>dejala_delivery_options_11d783488db0c358bd9077a2e1a250e7'] = 'Versand vorschlagen ';
|
||||
$_MODULE['<{dejala}prestashop>dejala_delivery_options_ffe181130430aff6386df37df36347f8'] = 'sofort';
|
||||
$_MODULE['<{dejala}prestashop>dejala_delivery_options_a3cb1f2ebeda6fa36b27598f1d096f60'] = 'einen halben Tag';
|
||||
$_MODULE['<{dejala}prestashop>dejala_delivery_options_849490640e65410418220e5c179a1477'] = 'einen Tag';
|
||||
$_MODULE['<{dejala}prestashop>dejala_delivery_options_44fdec47036f482b68b748f9d786801b'] = 'Tage';
|
||||
$_MODULE['<{dejala}prestashop>dejala_delivery_options_6749e3e07aeb12081dc32e581ffcf463'] = 'nach Bestellung';
|
||||
$_MODULE['<{dejala}prestashop>dejala_delivery_options_48b4a9d141bcbb3911caa5caf4b750b2'] = 'Anzeige';
|
||||
$_MODULE['<{dejala}prestashop>dejala_delivery_options_7877adcb96eb8221c075f0008093bbf7'] = 'Termine';
|
||||
$_MODULE['<{dejala}prestashop>dejala_delivery_options_b4f86cbc11cb9565374c08c61372f3ad'] = 'Tage in der Benutzerroberfläche für die Zeitspanne';
|
||||
$_MODULE['<{dejala}prestashop>dejala_delivery_options_44a33a70398318da91b789b33152dafa'] = 'Dejala aktiv halten, wenn Warenkorb nicht auf Lager';
|
||||
$_MODULE['<{dejala}prestashop>dejala_delivery_options_767cd99c2f2b9fb9e5aa531c37b45f87'] = 'Ermöglicht Kunden Dejala zu wählen, auch wenn ein Produkt nicht auf Lager ist (Der Kunde wählt den Liefertermin, wenn die Bestellung zur Verfügung steht)';
|
||||
$_MODULE['<{dejala}prestashop>dejala_delivery_options_c9cc8cce247e49bae79f15173ce97354'] = 'Speichern';
|
||||
$_MODULE['<{dejala}prestashop>dejala_header_c45abd6f2b5f3b3a954c97f008ccb52c'] = 'Versenden Sie Ihre Bestellungen per Kurier mit';
|
||||
$_MODULE['<{dejala}prestashop>dejala_header_20e846b603a0b7f1c00b1fc457308fb7'] = 'DEJALA';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_21e71170be5450c6380d7a9fc0ba51c3'] = 'Neu auf Dejala.fr?';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_07965cce4ec6247bd57783dff0af1657'] = 'Ihr Shop-Name:';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_558f162b01a3d6d31865a1ca91a03d57'] = 'Wählen Sie Ihr Land:';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_0309a6c666a7a803fdb9db95de71cf01'] = 'Frankreich';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_907eba32d950bfab68227fd7ea22999b'] = 'Spanien';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_a999205c014634072764fe3fadc4f4ca'] = 'Wählen Sie Ihr Login:';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_a7e4228de9b12575b0cd88c4cf0f54f9'] = 'Wählen Sie Ihr Kennwort:';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_0ba7583639a274c434bbe6ef797115a4'] = 'Registrieren';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_72429bbc9acf8e6fcf6132ac1fa20d57'] = 'Ich habe bereits ein Konto für meinen Shop:';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_051672911a3f1f05efba78a553ef6fe2'] = 'Anmeldung:';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_b341a59d5636ed3d6a819137495b08a0'] = 'Kennwort:';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_e5b47edd743751a81819b7f421639303'] = 'Log-in';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_853fe2c3719fab6d1dde555eb536f649'] = 'Dejala.fr';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_02d222897fd57cbc8154be7b2c41e2ff'] = 'Zur Erinnerung:';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_3a40880c274dd353056ce584940d1ca8'] = 'Der Name Ihres Shops ist';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_55724d105b50b04063a21fba83236de6'] = 'Ihr Login ist';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_bbb658f348426b60b3395d5357225112'] = 'Sie sind auf der';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_c8ab370eeab3cf4011e25fa953031e77'] = 'Testplattform';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_68279960d4eaab19115d276486e1e1d7'] = 'Betriebsplattform';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_64baa4dba37ddc4207a777ac53565f06'] = 'Zum Test-Modus wechseln ';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_a0802ed7a4e243cc01699e44e0b0b33b'] = 'Zum Betriebsmodus wechseln ';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_104cdbe9fcaa62064ecc718b647c2929'] = 'Ihre Bitte um Echtzeitbetrieb wird bearbeitet: Dejala.fr wird Sie kontaktieren, um Ihre Registrierung abzuschließen.';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_1ccd621bb658777957a0c0ae95b97fc6'] = 'Echtzeitbetrieb: bitten Sie Dejala um Erstellung Ihres Betriebskontos';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_9c8a7900448628ee2978be9a3945d148'] = 'Ihr Guthaben';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_b0ee4c529eda15bdecda8bf189a3c813'] = 'Ihr virtuelles Guthaben (zu Testzwecken)';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_defcb35db6f9bdac29b888bfc07e6386'] = 'Euro';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_c2b55c1a6a9880bf1d7cba1914a6da56'] = 'Stocken Sie Ihr Konto auf';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_d33b3ef83df48e14035b6927a27a6824'] = 'Dejala IST FÜR KEINEN Nutzer sichtbar';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_8ce5717d0efdee714d5c44eb72559943'] = 'Dejala IST FÜR ALLE Nutzer sichtbar';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_97f9bae265c399ce4781878d46a5a733'] = 'Dejala IST NUR für folgende Nutzer sichtbar';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_66495952bdab30f6bdc92e318d4f36a6'] = '(Z.B.: a@foo.com, b@bar.com)';
|
||||
$_MODULE['<{dejala}prestashop>dejala_home_e49df857f0f92d5dd2f73b9fa54d7308'] = 'Aktualisieren Sie die Sichtbarkeit von Dejala ';
|
||||
$_MODULE['<{dejala}prestashop>dejala_location_ce9142ea2df85cf8ea4dfda7164e7dcf'] = 'Bitte geben Sie die Adresse Ihres Lagers an';
|
||||
$_MODULE['<{dejala}prestashop>dejala_location_c58b3ccfae7d8991a1bdf33f275d6007'] = '(Readonly)';
|
||||
$_MODULE['<{dejala}prestashop>dejala_location_20dfc4f904ba3c650a578c41f87e7053'] = 'Suchen';
|
||||
$_MODULE['<{dejala}prestashop>dejala_location_1c76cbfe21c6f44c1d1e59d54f3e4420'] = 'Firma';
|
||||
$_MODULE['<{dejala}prestashop>dejala_location_dd7bf230fde8d4836917806aff6a6b27'] = 'Adresse';
|
||||
$_MODULE['<{dejala}prestashop>dejala_location_783cb853aae6984e51583b3bb80c09d2'] = 'Adresse (2)';
|
||||
$_MODULE['<{dejala}prestashop>dejala_location_9b514b51d03075005814a33edc74c958'] = 'Postleitzahl';
|
||||
$_MODULE['<{dejala}prestashop>dejala_location_57d056ed0984166336b7879c2af3657f'] = 'Stadt';
|
||||
$_MODULE['<{dejala}prestashop>dejala_location_bcc254b55c4a1babdf1dcb82c207506b'] = 'Telefon';
|
||||
$_MODULE['<{dejala}prestashop>dejala_location_4e186c431f7c016c761c722debb9768e'] = 'mobil';
|
||||
$_MODULE['<{dejala}prestashop>dejala_location_8413c683b4b27cc3f4dbd4c90329d8ba'] = 'Kommentare';
|
||||
$_MODULE['<{dejala}prestashop>dejala_location_b17f3f4dcf653a5776792498a9b44d6a'] = 'Einstellungen aktualisieren ';
|
||||
$_MODULE['<{dejala}prestashop>dejala_menu_8cf04a9734132302f96da8e113e80ce5'] = 'Startseite';
|
||||
$_MODULE['<{dejala}prestashop>dejala_menu_ce5bf551379459c1c61d2a204061c455'] = 'Ort';
|
||||
$_MODULE['<{dejala}prestashop>dejala_menu_9aa698f602b1e5694855cee73a683488'] = 'Kontakte';
|
||||
$_MODULE['<{dejala}prestashop>dejala_menu_77ea79b4b2638f146bf02ea6dc076006'] = 'Prozesse';
|
||||
$_MODULE['<{dejala}prestashop>dejala_menu_3eb0f1d14d6ec438d91fcfdab94fc1ca'] = 'Lieferoptionen';
|
||||
$_MODULE['<{dejala}prestashop>dejala_menu_e16dd6e118732c5d1586d6aba0b62f3a'] = 'Preise';
|
||||
$_MODULE['<{dejala}prestashop>dejala_menu_9bbd45bad55cfc620803907f2d8a0217'] = 'Abrechnung';
|
||||
$_MODULE['<{dejala}prestashop>dejala_menu_36d5423bb12a6d74d1d0f0ba09ef47cb'] = 'Technische Optionen';
|
||||
$_MODULE['<{dejala}prestashop>dejala_menu_35cf95ca41b6d074cfaeac16b0e0906c'] = 'DEJALA PRO';
|
||||
$_MODULE['<{dejala}prestashop>dejala_picking_timetable_845398bc903ec28114a5f9874d83936b'] = 'Lager ist geöffnet';
|
||||
$_MODULE['<{dejala}prestashop>dejala_picking_timetable_2084c04f7a380a68b653e5fc82d352f0'] = 'Von';
|
||||
$_MODULE['<{dejala}prestashop>dejala_picking_timetable_7fc56270e7a70fa81a5935b72eacbe29'] = 'Bis';
|
||||
$_MODULE['<{dejala}prestashop>dejala_processes_237527ad3e0c9d87f072f2ac3a873dc8'] = 'Bitte geben Sie die Prozesse für eine ordnungsgemäße Handhabung der Lieferung an';
|
||||
$_MODULE['<{dejala}prestashop>dejala_processes_0f516eb68a85aae932001976c51dee2f'] = 'Sie können die Standardprozesse frei an Ihre Geschäftsprozesse anpassen';
|
||||
$_MODULE['<{dejala}prestashop>dejala_processes_dbfdb39c2251ff72f42f7078ab347611'] = 'Falsche Adresse';
|
||||
$_MODULE['<{dejala}prestashop>dejala_processes_b1da17cfc7c9a051fe4ce45bf1dd1ace'] = 'Empfänger abwesend';
|
||||
$_MODULE['<{dejala}prestashop>dejala_processes_3ab0370c6e7c3d0ea1cd540e7afacc9a'] = 'Lieferung abgelehnt';
|
||||
$_MODULE['<{dejala}prestashop>dejala_processes_138a10902b1fec08bcf2d9f5a6f4b02b'] = 'Liefer-Verpackung';
|
||||
$_MODULE['<{dejala}prestashop>dejala_processes_b17f3f4dcf653a5776792498a9b44d6a'] = 'Einstellungen aktualisieren ';
|
||||
$_MODULE['<{dejala}prestashop>dejala_products_aa83582f6ce84345c97815de714e6ebd'] = 'Bitte stellen Sie Ihre Liefermarge ein ';
|
||||
$_MODULE['<{dejala}prestashop>dejala_products_49ee3087348e8d44e1feda1917443987'] = 'Name';
|
||||
$_MODULE['<{dejala}prestashop>dejala_products_26160d42b371fb091c142cb8cfa09c34'] = 'Kaufpreis';
|
||||
$_MODULE['<{dejala}prestashop>dejala_products_f8ca05a1d72f37501747657deecdd15c'] = 'Marge inkl. MwSt.';
|
||||
$_MODULE['<{dejala}prestashop>dejala_products_e6f254c2f6e55725e99e1e6dfd6d9caa'] = 'Kundenpreis';
|
||||
$_MODULE['<{dejala}prestashop>dejala_products_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Beschreibung';
|
||||
$_MODULE['<{dejala}prestashop>dejala_products_1cdad1a5f8e5d09be270415e44c0f039'] = 'Kaufen zzgl. MwSt. ';
|
||||
$_MODULE['<{dejala}prestashop>dejala_products_ecef91ba37ffc5f5294ea50efee7c6a2'] = 'Kaufen inkl. MwSt.';
|
||||
$_MODULE['<{dejala}prestashop>dejala_products_765a24c102d9a0b03eb03c77e90a9144'] = 'Verkaufen zzgl. MwSt. ';
|
||||
$_MODULE['<{dejala}prestashop>dejala_products_8588719c33b27bd80ae45cc533117c00'] = 'Verkaufen inkl. MwSt.';
|
||||
$_MODULE['<{dejala}prestashop>dejala_products_efeb369cccbd560588a756610865664c'] = 'In';
|
||||
$_MODULE['<{dejala}prestashop>dejala_products_2510c39011c5be704182423e3a695e91'] = 'h';
|
||||
$_MODULE['<{dejala}prestashop>dejala_products_b17f3f4dcf653a5776792498a9b44d6a'] = 'Einstellungen aktualisieren';
|
||||
$_MODULE['<{dejala}prestashop>dejala_technical_options_b44c4d973c20b84bad66d243b215ef37'] = 'Triggerstatusliste';
|
||||
$_MODULE['<{dejala}prestashop>dejala_technical_options_a296002220093a4833752a3cf94f07d0'] = 'Liste der Status, die dejala.fr triggern';
|
||||
$_MODULE['<{dejala}prestashop>dejala_technical_options_b17f3f4dcf653a5776792498a9b44d6a'] = 'Einstellungen aktualisieren ';
|
||||
$_MODULE['<{dejala}prestashop>dejala_timetable_193993f964d2d4df4b1484227c1626b6'] = 'Wählen Sie Ihren Liefertag';
|
||||
$_MODULE['<{dejala}prestashop>dejala_timetable_26903e0f192163f4a0957c0b185edf71'] = 'Wählen Sie Ihre Lieferzeitspanne';
|
||||
|
Before Width: | Height: | Size: 5.0 KiB |
@@ -1,139 +0,0 @@
|
||||
<link href="{$timetable_css}" rel="stylesheet" type="text/css" media="all" />
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
var djl_calendar = new Array({foreach from=$dates item=dateItem name=datesLoop}{if !$smarty.foreach.datesLoop.first}, {/if}new Array("{$dateItem.label}", "{$dateItem.value}", {$dateItem.start_hour}, {$dateItem.stop_hour}){/foreach} );
|
||||
var djlAjaxStoreUrl = '{$module_dir}' + 'ajaxStoreShippingInfo.php' ;
|
||||
var djlIsOpc = false ;
|
||||
{if $opc}
|
||||
djlIsOpc = true ;
|
||||
{/if}
|
||||
|
||||
function DJLupdateCarrierSelectionAndGift() {
|
||||
if (djlIsOpc) {
|
||||
djlUpdateCarrierInfo() ;
|
||||
updateCarrierSelectionAndGift();
|
||||
}
|
||||
}
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
$(document).ready(function() {
|
||||
$('input[name="id_carrier"]').each(function(idx, elt) {
|
||||
if ($(this).parent().hasClass("dejala")) {
|
||||
$(this).click(function() {
|
||||
$('div#djl_shipping_pref').show('fast') ;
|
||||
selectDay();
|
||||
});
|
||||
if ($(this).is(':checked')) {
|
||||
$(this).click() ;
|
||||
}
|
||||
else {
|
||||
$('div#djl_shipping_pref').hide() ;
|
||||
}
|
||||
}
|
||||
else {
|
||||
$(this).click(function() {
|
||||
$('div#djl_shipping_pref').hide('fast') ;
|
||||
});
|
||||
}
|
||||
}) ;
|
||||
|
||||
});
|
||||
|
||||
function hideUnusedHours(selectedDay) {
|
||||
entries = jQuery.grep(djl_calendar, function (elt, idx) { if (elt[1] == selectedDay) return true; }) ;
|
||||
$('#shipping_hours div input').parent().addClass("hidden") ;
|
||||
$(entries).each(function(idxEach, eltEach) {
|
||||
$(jQuery.grep($('#shipping_hours div input'), function (elt, idx) { if ($(elt).val() >=eltEach[2] && $(elt).val() <=eltEach[3]) return true; })).parent().removeClass("hidden");
|
||||
}) ;
|
||||
}
|
||||
|
||||
function selectDay() {
|
||||
$('#shipping_dates div input').parent().removeClass("djl_active") ;
|
||||
if ($('#shipping_dates div input:checked').length == 0) {
|
||||
$('#shipping_dates div input').val([$($('#shipping_dates div input')[0]).val()]) ;
|
||||
}
|
||||
$('#shipping_dates div input:checked').parent().addClass("djl_active") ;
|
||||
|
||||
hideUnusedHours($('#shipping_dates div input:checked').val()) ;
|
||||
|
||||
if ($('#shipping_hours div input:checked').parent().is(':visible')) {
|
||||
$('#shipping_hours div input').val([$($('#shipping_hours div input:checked')[0]).val()]) ;
|
||||
}
|
||||
else {
|
||||
$('#shipping_hours div input').val([$($('#shipping_hours div input:visible')[0]).val()]) ;
|
||||
}
|
||||
|
||||
selectHour() ;
|
||||
}
|
||||
|
||||
|
||||
function selectHour() {
|
||||
$('#shipping_hours div input').parent().removeClass("djl_active") ;
|
||||
$('#shipping_hours div input:checked').parent().addClass("djl_active") ;
|
||||
if (djlIsOpc) {
|
||||
djlUpdateCarrierInfo();
|
||||
}
|
||||
}
|
||||
|
||||
function djlUpdateCarrierInfo() {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: djlAjaxStoreUrl,
|
||||
async: true,
|
||||
cache: false,
|
||||
dataType : "json",
|
||||
data: {
|
||||
'dejala_id_carrier' : $('input[name=dejala_id_carrier]').val(),
|
||||
'dejala_id_product' : $('input[name=dejala_id_product]').val(),
|
||||
'shipping_day' : $('input[name=shipping_day]:checked').val(),
|
||||
'shipping_hour' : $('input[name=shipping_hour]:checked').val(),
|
||||
'id_carrier' : $('input[name=id_carrier]:checked').val()
|
||||
},
|
||||
success: function(jsonData)
|
||||
{
|
||||
if (jsonData.hasError)
|
||||
{
|
||||
var errors = '';
|
||||
for(error in jsonData.errors)
|
||||
//IE6 bug fix
|
||||
if(error != 'indexOf')
|
||||
errors += jsonData.errors[error] + "\n";
|
||||
alert(errors);
|
||||
}
|
||||
},
|
||||
error: function(XMLHttpRequest, textStatus, errorThrown) {alert("TECHNICAL ERROR: unable to update Dejala shipping information \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus);}
|
||||
});
|
||||
}
|
||||
//]]>
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
{foreach from=$djlCarriers item=carrier name=myLoop}
|
||||
<tr class="{if $smarty.foreach.myLoop.first}first_item{elseif $smarty.foreach.myLoop.last}last_item{/if} {if $smarty.foreach.myLoop.index % 2}alternate_item{else}item{/if}">
|
||||
<td class="carrier_action radio dejala">
|
||||
<input type="hidden" name="dejala_id_carrier" value="{$carrier.id_carrier|intval}"/>
|
||||
<input type="hidden" name="dejala_id_product" value="{$product.id|intval}"/>
|
||||
<input type="radio" name="id_carrier" value="{$carrier.id_carrier|intval}" id="id_carrier{$carrier.id_carrier|intval}" {if $carrier.id_carrier == $djlCarrierChecked}checked="checked"{/if} onclick="javascript:DJLupdateCarrierSelectionAndGift();"/>
|
||||
</td>
|
||||
<td class="carrier_name">
|
||||
<label for="id_carrier{$carrier.id_carrier|intval}">
|
||||
{if $carrier.img}<img src="{$carrier.img|escape:'htmlall':'UTF-8'}" alt="{$carrier.name|escape:'htmlall':'UTF-8'}" />{else}{$carrier.name|escape:'htmlall':'UTF-8'}{/if}
|
||||
</label>
|
||||
</td>
|
||||
<td class="carrier_infos">{$carrier.info|escape:'htmlall':'UTF-8'}</td>
|
||||
<td class="carrier_price">
|
||||
{if $carrier.price}
|
||||
<span class="price">
|
||||
{if $priceDisplay == 1}{convertPrice price=$carrier.price_tax_exc}{else}{convertPrice price=$carrier.price}{/if}
|
||||
</span>
|
||||
{if $priceDisplay == 1} {l s='(tax excl.)' mod='dejala'}{else} {l s='(tax incl.)' mod='dejala'}{/if}
|
||||
{else}
|
||||
{l s='Free!' mod='dejala'}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
@@ -1,23 +0,0 @@
|
||||
{foreach from=$djlCarriers item=carrier name=myLoop}
|
||||
<tr class="{if $smarty.foreach.myLoop.first}first_item{elseif $smarty.foreach.myLoop.last}last_item{/if} {if $smarty.foreach.myLoop.index % 2}alternate_item{else}item{/if}">
|
||||
<td class="carrier_action radio dejala">
|
||||
<input type="hidden" name="dejala_id_carrier" value="{$carrier.id_carrier|intval}"/>
|
||||
<input type="hidden" name="dejala_id_product" value="{$product.id|intval}"/>
|
||||
<input type="radio" name="id_carrier" value="{$carrier.id_carrier|intval}" id="id_carrier{$carrier.id_carrier|intval}" {if $carrier.id_carrier == $djlCarrierChecked}checked="checked"{/if} />
|
||||
</td>
|
||||
<td class="carrier_name">
|
||||
<label for="id_carrier{$carrier.id_carrier|intval}">
|
||||
{if $carrier.img}<img src="{$carrier.img|escape:'htmlall':'UTF-8'}" alt="{$carrier.name|escape:'htmlall':'UTF-8'}" />{else}{$carrier.name|escape:'htmlall':'UTF-8'}{/if}
|
||||
</label>
|
||||
</td>
|
||||
<td class="carrier_infos">{$nostock_info}</td>
|
||||
<td class="carrier_price">{if $carrier.price}
|
||||
<span class="price">
|
||||
{if $priceDisplay == 1}{convertPrice price=$carrier.price_tax_exc}{else}{convertPrice price=$carrier.price}{/if}
|
||||
</span>
|
||||
{if $priceDisplay == 1} {l s='(tax excl.)' mod='dejala'}{else} {l s='(tax incl.)' mod='dejala'}{/if}
|
||||
{else}{l s='Free!'}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||