paypal suite
This commit is contained in:
parent
fa60d253e8
commit
f15662e826
@ -98,6 +98,51 @@ class Fraud extends Module {
|
||||
}
|
||||
|
||||
|
||||
/* This method is called when a customer use account's paypal on a different address from previously */
|
||||
public function testPaypalBilling($id_order)
|
||||
{
|
||||
$order = new Order($id_order);
|
||||
$id_billing = Db::getInstance()->getValue('
|
||||
SELECT `is_billing`
|
||||
FROM `'._DB_PREFIX_.'paypal_order`
|
||||
WHERE `id_order` = '.(int) $order->id
|
||||
);
|
||||
|
||||
if ($id_billing !=0) {
|
||||
$address = new Address($order->id_address_delivery);
|
||||
$address_paypal = Db::getInstance()->getRow('
|
||||
SELECT `city`, `address`
|
||||
FROM `'._DB_PREFIX_.'paypal_customer_agreement`
|
||||
WHERE id_paypal_agreement = '.(int) $id_billing.'
|
||||
');
|
||||
|
||||
$new_address = false;
|
||||
if ($address->city != $address_paypal['city']) {
|
||||
$new_address = true;
|
||||
} else if ($address->address1 != $address_paypal['address']) {
|
||||
$new_address = true;
|
||||
}
|
||||
|
||||
if ($new_address) {
|
||||
$total_score = 110;
|
||||
$fraud_report = array();
|
||||
$fraud_report[] = 'Compte paypal enregistré utilisé sur une nouvelle adresse (+110)';
|
||||
|
||||
Db::getInstance()->ExecuteS('
|
||||
INSERT INTO `'._DB_PREFIX_.'order_reputation`
|
||||
VALUES (
|
||||
'.(int) $order->id_cart.',
|
||||
'.(int) $total_score.',
|
||||
'.((int) $total_score < 100? 1: 0).',
|
||||
"'.pSQL(json_encode($fraud_report)).'"
|
||||
)
|
||||
');
|
||||
$this->_changeStatutFraud($order->id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function hookafterChangeStatus($params) {
|
||||
if($params['newOrderState'] == 2) {
|
||||
$order = new Order($params['order']['id']);
|
||||
@ -122,7 +167,7 @@ class Fraud extends Module {
|
||||
$fraud_score = $fraud_detection->getFraudScore();
|
||||
$fraud_report = $fraud_detection->getFraudReport();
|
||||
|
||||
$current_reputation = 0;
|
||||
$current_reputation = 0;
|
||||
$i = 0;
|
||||
$query = Db::getInstance()->ExecuteS('
|
||||
SELECT *
|
||||
|
10
modules/paymentinfo/index.php
Normal file
10
modules/paymentinfo/index.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
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;
|
54
modules/paymentinfo/manage.php
Normal file
54
modules/paymentinfo/manage.php
Normal file
@ -0,0 +1,54 @@
|
||||
<?php
|
||||
$useSSL = TRUE;
|
||||
require_once(dirname(__FILE__).'/../../config/config.inc.php');
|
||||
require_once(dirname(__FILE__).'/../../init.php');
|
||||
$controller->preProcess();
|
||||
|
||||
if (!$cookie->isLogged())
|
||||
Tools::redirect('authentication.php?back=modules/paymentinfo/manage.php');
|
||||
|
||||
include(dirname(__FILE__).'/../../header.php');
|
||||
|
||||
|
||||
// DELTE ACCOUNT PAYPAL
|
||||
if (Tools::getValue('delete_agreement')) {
|
||||
$id_paypal_agreement = Tools::getValue('delete_agreement');
|
||||
|
||||
$id_customer_test = Db::getInstance()->getValue('
|
||||
SELECT `id_customer`
|
||||
FROM `'._DB_PREFIX_.'paypal_customer_agreement`
|
||||
WHERE `id_paypal_agreement`= '.(int) $id_paypal_agreement.'
|
||||
');
|
||||
if(empty($id_customer_test)) {
|
||||
return false;
|
||||
}
|
||||
if($id_customer_test != $cookie->id_customer) {
|
||||
return false;
|
||||
}
|
||||
// DELETE
|
||||
Db::getInstance()->execute('
|
||||
DELETE FROM `'._DB_PREFIX_.'paypal_customer_agreement`
|
||||
WHERE `id_paypal_agreement`= '.(int) $id_paypal_agreement
|
||||
);
|
||||
$smarty->assign(array(
|
||||
'delete' => true,
|
||||
));
|
||||
}
|
||||
// account paypal
|
||||
$paypal_accounts = Db::getInstance()->executes('
|
||||
SELECT `id_paypal_agreement`, `email`, `name`, `city`, `date_add`
|
||||
FROM `'._DB_PREFIX_.'paypal_customer_agreement`
|
||||
WHERE `id_customer`= '.(int) $cookie->id_customer.'
|
||||
');
|
||||
|
||||
$smarty->assign(array(
|
||||
'paypal_accounts' => $paypal_accounts,
|
||||
));
|
||||
|
||||
|
||||
// @TODO account cb
|
||||
|
||||
|
||||
echo Module::display(dirname(__FILE__).'/paymentinfo.php', 'paymentinfo.tpl');
|
||||
|
||||
include(dirname(__FILE__).'/../../footer.php');
|
28
modules/paymentinfo/paymentinfo.php
Normal file
28
modules/paymentinfo/paymentinfo.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
if (!defined('_PS_VERSION_'))
|
||||
exit;
|
||||
|
||||
class Paymentinfo extends Module {
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->name = 'paymentinfo';
|
||||
$this->tab = 'advertising_marketing';
|
||||
$this->version = '1.0';
|
||||
$this->author = 'Antadis';
|
||||
$this->need_instance = 0;
|
||||
|
||||
parent::__construct();
|
||||
|
||||
$this->displayName = $this->l('Manage payments info');
|
||||
$this->description = $this->l('Manage payments info');
|
||||
|
||||
$this->confirmUninstall = $this->l('Are you sure ?');
|
||||
$this->_errors = array();
|
||||
}
|
||||
|
||||
public function install() {
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
}
|
32
modules/paymentinfo/paymentinfo.tpl
Normal file
32
modules/paymentinfo/paymentinfo.tpl
Normal file
@ -0,0 +1,32 @@
|
||||
<h1>{l s='Manage payment info' mod='paymentinfo'}</h1>
|
||||
|
||||
|
||||
<h3>{l s='My paypal account' mod='paymentinfo'}</h3>
|
||||
|
||||
|
||||
{if $paypal_accounts}
|
||||
<table class="std">
|
||||
<thead>
|
||||
<th class="item">{l s='Name' mod='paymentinfo'}</th>
|
||||
<th class="item">{l s='Email' mod='paymentinfo'}</th>
|
||||
<th class="item">{l s='City' mod='paymentinfo'}</th>
|
||||
<th class="item">{l s='Date add' mod='paymentinfo'}</th>
|
||||
<th class="item">{l s='Action' mod='paymentinfo'}</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$paypal_accounts item=paypal}
|
||||
<tr>
|
||||
<td>{$paypal.name}</td>
|
||||
<td>{$paypal.email}</td>
|
||||
<td>{$paypal.city}</td>
|
||||
<td>{$paypal.date_add}</td>
|
||||
<td><a onclick="return(confirm('Êtes-vous sur ?'));" href="?delete_agreement={$paypal.id_paypal_agreement}">{l s='Delete' mod='paymentinfo'}</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
{else}
|
||||
<div id="block-history" class="block-center">
|
||||
<p class="warning">{l s='No account register' mod='paymentinfo'}</p>
|
||||
</div>
|
||||
{/if}
|
@ -187,8 +187,8 @@ if ($request_type && $ppec->type) {
|
||||
$order_total = (float)$cart->getOrderTotal(true, Cart::BOTH);
|
||||
|
||||
$ppec->validateOrder((int)$cart->id, $payment_type, $order_total, $ppec->displayName, $message, $transaction,
|
||||
(int)$cart->id_currency, false, $customer->secure_key, $ppec->context->shop, 1);
|
||||
|
||||
(int)$cart->id_currency, false, $customer->secure_key, $ppec->context->shop, $id_billing_to_use);
|
||||
|
||||
$order = new Order($ppec->currentOrder);
|
||||
$module_tmp = new Paypal();
|
||||
$redirect_after_payment = $ppec->context->link->getPageLink('order-confirmation.php').'?id_cart='.$cart->id.'&key='.$order->secure_key.'&id_module='.$module_tmp->id;
|
||||
|
@ -1398,6 +1398,13 @@ class PayPal extends PaymentModule
|
||||
if (count($transaction) > 0)
|
||||
PayPalOrder::saveOrder((int)$this->currentOrder, $transaction, $is_billing);
|
||||
|
||||
|
||||
if (!class_exists('Fraud')) {
|
||||
include_once _MODULE_DIR_.'fraud/fraud.php';
|
||||
}
|
||||
$fraud = new Fraud();
|
||||
$fraud->testPaypalBilling($this->currentOrder);
|
||||
|
||||
$this->setPayPalAsConfigured();
|
||||
}
|
||||
}
|
||||
|
@ -379,6 +379,7 @@ class FrontController extends FrontControllerCore {
|
||||
'module-ant_support-help',
|
||||
'module-ant_support_form-support',
|
||||
'module-paypal-express_checkout-payment',
|
||||
'module-paymentinfo-manage',
|
||||
);
|
||||
|
||||
$displayRight = array(
|
||||
|
@ -181,11 +181,6 @@ $_LANG['guest-tracking_83fa39a28a4d159061c408fbd6a249e7'] = 'Numéro de commande
|
||||
$_LANG['guest-tracking_d51b1df43394fe14cd03d5bcb3a7216b'] = 'Par exemple : 010123';
|
||||
$_LANG['guest-tracking_df1555fe48479f594280a2e03f9a8186'] = 'E-mail :';
|
||||
$_LANG['guest-tracking_f0d1e86ef00ea0cae0b5a1d3adc8b0c1'] = 'Voir ma commande';
|
||||
$_LANG['header_f84307b0992c0265739d1c0e8664d936'] = 'Attention, vous utilisez un navigateur obsolète.';
|
||||
$_LANG['header_33a4f507246880812b27da60dcc02fe9'] = 'En plus d\'être une source de failles de sécurité, le site risque de ne pas s\'afficher correctement. Nous vous recommandons de mettre à jour votre navigateur vers';
|
||||
$_LANG['header_9cab670affb642428047286fe184970d'] = 'Vous pouvez également utiliser un navigateur alternatif tel que';
|
||||
$_LANG['header_e81c4e4f2b7b93b481e13a8553c2ae1b'] = 'ou';
|
||||
$_LANG['header_0e5302e5300d66db1a9ae62645f20470'] = 'Ces logiciels sont gratuits. Si vous n\'avez pas les droits requis sur votre ordinateur pour faire ces changements, prenez contact avec votre administrateur système.';
|
||||
$_LANG['header_0fcd4065ff78fceb3083316ddb958bc1'] = 'Vous ne pouvez pas créer de nouvelle commande depuis votre pays :';
|
||||
$_LANG['history_d95cf4ab2cbf1dfb63f066b50558b07d'] = 'Mon compte';
|
||||
$_LANG['history_782c8b38bce4f2f6975ca7f33ac8189b'] = 'Historique de vos commandes';
|
||||
@ -277,6 +272,7 @@ $_LANG['my-account_a82be0f551b8708bc08eb33cd9ded0cf'] = 'Informations';
|
||||
$_LANG['my-account_4c8a50af0ebcf49be0cf4e0f67f37595'] = 'Mes informations personnelles';
|
||||
$_LANG['my-account_a82868319826fb092b73968e661b5b38'] = 'Bons de réduction';
|
||||
$_LANG['my-account_95d2137c196c7f84df5753ed78f18332'] = 'Mes bons de réduction';
|
||||
$_LANG['my-account_543e659147f37d7a3dce4bf8ffc4cc74'] = 'Gérer mes moyens de paiement';
|
||||
$_LANG['my-account_8cf04a9734132302f96da8e113e80ce5'] = 'Accueil';
|
||||
$_LANG['new-products_9ff0635f5737513b1a6f559ac2bff745'] = 'Nouveaux produits';
|
||||
$_LANG['new-products_d58424783355b6da2dedc302f2bf4065'] = 'Pas de nouveaux produits';
|
||||
|
16
themes/site/modules/paymentinfo/fr.php
Normal file
16
themes/site/modules/paymentinfo/fr.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{paymentinfo}site>paymentinfo_bea8d9e6a0d57c4a264756b4f9822ed9'] = 'Mon compte';
|
||||
$_MODULE['<{paymentinfo}site>paymentinfo_a01492dafb4b0f7a2266228095bcaf2c'] = 'Gérer mes moyens de paiement';
|
||||
$_MODULE['<{paymentinfo}site>paymentinfo_8de5b7d46e51b994328c75c8ee9c7759'] = 'Suppression réussie';
|
||||
$_MODULE['<{paymentinfo}site>paymentinfo_4aa701fb7e287f19cb129f57bffb834b'] = 'Mes comptes paypal';
|
||||
$_MODULE['<{paymentinfo}site>paymentinfo_49ee3087348e8d44e1feda1917443987'] = 'Nom';
|
||||
$_MODULE['<{paymentinfo}site>paymentinfo_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'Email';
|
||||
$_MODULE['<{paymentinfo}site>paymentinfo_57d056ed0984166336b7879c2af3657f'] = 'Ville';
|
||||
$_MODULE['<{paymentinfo}site>paymentinfo_7b6e7f81d1c260b7068ca82b91eb90a7'] = 'Date d\'ajout';
|
||||
$_MODULE['<{paymentinfo}site>paymentinfo_004bf6c9a40003140292e97330236c53'] = 'Action';
|
||||
$_MODULE['<{paymentinfo}site>paymentinfo_729a51874fe901b092899e9e8b31c97a'] = 'Êtes-vous sur ?';
|
||||
$_MODULE['<{paymentinfo}site>paymentinfo_f2a6c498fb90ee345d997f888fce3b18'] = 'Supprimer';
|
||||
$_MODULE['<{paymentinfo}site>paymentinfo_fe8aa01ce44668df439a8db46d95dd2d'] = 'Aucun compte enregistré';
|
40
themes/site/modules/paymentinfo/paymentinfo.tpl
Normal file
40
themes/site/modules/paymentinfo/paymentinfo.tpl
Normal file
@ -0,0 +1,40 @@
|
||||
{capture name=path}<a href="{$link->getPageLink('my-account.php', TRUE)}">{l s='My Account' mod='paymentinfo'}</a><span class="navigation-pipe">{$navigationPipe}</span>{l s='Manage payment info' mod='paymentinfo'}{/capture}
|
||||
{include file="$tpl_dir./breadcrumb.tpl"}
|
||||
|
||||
<h1>{l s='Manage payment info' mod='paymentinfo'}</h1>
|
||||
|
||||
{if isset($delete) && $delete}
|
||||
<div id="block-history" class="block-center">
|
||||
<p class="success">{l s='Delete success' mod='paymentinfo'}</p>
|
||||
</div>
|
||||
<br>
|
||||
{/if}
|
||||
|
||||
<h3>{l s='My paypal account' mod='paymentinfo'}</h3>
|
||||
|
||||
{if $paypal_accounts}
|
||||
<table class="std">
|
||||
<thead>
|
||||
<th class="item">{l s='Name' mod='paymentinfo'}</th>
|
||||
<th class="item">{l s='Email' mod='paymentinfo'}</th>
|
||||
<th class="item">{l s='City' mod='paymentinfo'}</th>
|
||||
<th class="item">{l s='Date add' mod='paymentinfo'}</th>
|
||||
<th class="item">{l s='Action' mod='paymentinfo'}</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$paypal_accounts item=paypal}
|
||||
<tr>
|
||||
<td>{$paypal.name}</td>
|
||||
<td>{$paypal.email}</td>
|
||||
<td>{$paypal.city}</td>
|
||||
<td>{$paypal.date_add|date_format:'d/m/Y'}</td>
|
||||
<td><a onclick="return confirm('{l s='Are you sure?' mod='paymentinfo'}');" href="?delete_agreement={$paypal.id_paypal_agreement}">{l s='Delete' mod='paymentinfo'}</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
{else}
|
||||
<div id="block-history" class="block-center">
|
||||
<p class="warning">{l s='No account register' mod='paymentinfo'}</p>
|
||||
</div>
|
||||
{/if}
|
@ -36,9 +36,9 @@ $_MODULE['<{paypal}site>error_a40cab5994f36d4c48103a22ca082e8f'] = 'Votre panier
|
||||
$_MODULE['<{paypal}site>error_ad69e733ebae8d264bccaa38d68830e8'] = 'PayPal';
|
||||
$_MODULE['<{paypal}site>error_425551a2289ed60c9260933d1c45ef00'] = 'Merci de vous reférer aux logs :';
|
||||
$_MODULE['<{paypal}site>error_0557fa923dcee4d0f86b1409f5c2167f'] = 'Précédent';
|
||||
$_MODULE['<{paypal}site>express_checkout_payment_9166266e8de0b0f8ac4e87c8f35c8bfa'] = 'Sauvegarder mon compte pour un futur achat';
|
||||
$_MODULE['<{paypal}site>express_checkout_payment_e19e2f09002009081b41655e7c143bd5'] = 'Vous avez des comptes enregistrés, vous pouvez les utiliser pour payer';
|
||||
$_MODULE['<{paypal}site>payment_dac2693baa5c5c9a5318609ed81c4f2a'] = 'Payez avec votre compte PayPal';
|
||||
$_MODULE['<{paypal}site>payment_a3f2caee6ef8e68fbd26e42d83f2bf65'] = 'Payez avec votre compte PayPal, carte de crédit (CB, Visa, Mastercard ...)';
|
||||
$_MODULE['<{paypal}site>payment_b08008a2de4331ba13f006c9bcf37b62'] = 'Payez avec votre compte PayPal';
|
||||
$_MODULE['<{paypal}site>paypal_dac2693baa5c5c9a5318609ed81c4f2a'] = 'Payez avec votre compte PayPal';
|
||||
$_MODULE['<{paypal}site>express_checkout_payment_9166266e8de0b0f8ac4e87c8f35c8bfa'] = 'Sauvegarder mon compte pour un futur achat';
|
||||
$_MODULE['<{paypal}site>express_checkout_payment_e19e2f09002009081b41655e7c143bd5'] = 'Vous avez des comptes enregistrés, vous pouvez les utiliser pour payer';
|
||||
|
@ -40,6 +40,8 @@
|
||||
{if $voucherAllowed}
|
||||
<li><a href="{$link->getPageLink('discount.php', true)}" title="{l s='Vouchers'}">{l s='My vouchers'}</a></li>
|
||||
{/if}
|
||||
|
||||
<li><a href="{$base_dir_ssl}modules/paymentinfo/manage.php" title="{l s='Manage Payments infos'}">{l s='Manage Payments infos'}</a></li>
|
||||
{$HOOK_CUSTOMER_ACCOUNT}
|
||||
</ul>
|
||||
{*<p class="footer_links"><a href="{$base_dir}" title="{l s='Home'}" class="button">{l s='Home'}</a></p>*}
|
||||
|
@ -2911,7 +2911,6 @@ body#order #HOOK_PAYMENT .box_add_to_cart .content_box p{
|
||||
font-family: tahoma;
|
||||
color: #6d777d;
|
||||
text-align: left;
|
||||
text-transform: uppercase;
|
||||
font-size: 12px;
|
||||
margin-bottom: 15px;
|
||||
padding-bottom: 0;
|
||||
@ -4459,6 +4458,13 @@ body#index .jqibuttons span.gradient{
|
||||
font-size: 13px;
|
||||
background: #504d8b;
|
||||
}
|
||||
#cookiescontent { padding: 10px; font-size: 12px; }
|
||||
|
||||
|
||||
#cookiescontent { padding: 10px; font-size: 12px; }
|
||||
h4.subtitle {
|
||||
color: #e36ea2;
|
||||
margin-bottom: 10px;
|
||||
font-weight: normal;
|
||||
}
|
||||
.table_skin {}
|
||||
.table_skin td { font-size: 12px; }
|
||||
.table_skin a { color: #666666 }
|
@ -255,6 +255,7 @@ $_LANG['my-account_a82be0f551b8708bc08eb33cd9ded0cf'] = 'Informations';
|
||||
$_LANG['my-account_4c8a50af0ebcf49be0cf4e0f67f37595'] = 'Mes informations personnelles';
|
||||
$_LANG['my-account_a82868319826fb092b73968e661b5b38'] = 'Bons de réduction';
|
||||
$_LANG['my-account_95d2137c196c7f84df5753ed78f18332'] = 'Mes bons de réductions';
|
||||
$_LANG['my-account_543e659147f37d7a3dce4bf8ffc4cc74'] = 'Gérer mes moyens de paiement';
|
||||
$_LANG['my-account_4b877ba8588b19f1b278510bf2b57ebb'] = 'Déconnexion';
|
||||
$_LANG['my-account_8cf04a9734132302f96da8e113e80ce5'] = 'Accueil';
|
||||
$_LANG['new-products_9ff0635f5737513b1a6f559ac2bff745'] = 'Nouveaux produits';
|
||||
@ -305,29 +306,10 @@ $_LANG['order-confirmation_58d27df1d25a432c074a0dd39485298c'] = 'Vous venez de c
|
||||
$_LANG['order-confirmation_fc56c93fab8dcac592834f6dc98a5962'] = 'Le numéro de suivi vous sera envoyé par email lors de l\'expédition du colis.';
|
||||
$_LANG['order-confirmation_c3efd0ea01b5547cc009061e037c522f'] = 'Vous pouvez télécharger votre facture dans votre compte, rubrique';
|
||||
$_LANG['order-confirmation_42027dc8724f95b3f0a6bef9630cad3d'] = 'Historique des commandes.';
|
||||
$_LANG['order-confirmation_75a5021bc4f5530d528676272110638c'] = 'Parrainez & gagnez 10€';
|
||||
$_LANG['order-confirmation_308c7fad819f1ca3eb9489dc00bcc14c'] = 'Email de votre ami(e)';
|
||||
$_LANG['order-confirmation_fa9ba9bbd94c6d42e3c3c6c2fadb01af'] = '> Parrainer plus d’ami(e)s';
|
||||
$_LANG['order-confirmation_8dffb37d6ae0ba95c6142387239beeac'] = 'Détails de votre commande';
|
||||
$_LANG['order-confirmation_694e8d1f2ee056f98ee488bdc4982d73'] = 'Quantité';
|
||||
$_LANG['order-confirmation_197101c4a1b1fc503dcd6ebee127aa10'] = 'Prix unitaire';
|
||||
$_LANG['order-confirmation_db205f01b4fd580fb5daa9072d96849d'] = 'Total produits';
|
||||
$_LANG['order-confirmation_b76c1a1463e45cece931ef4467c0bdf8'] = 'Total réductions';
|
||||
$_LANG['order-confirmation_ab2cf9a596bbcf17ccb9c98404576b58'] = 'Total livraison';
|
||||
$_LANG['order-confirmation_96b0141273eabab320119c467cdcaf17'] = 'Total';
|
||||
$_LANG['order-confirmation_380ce8cbd24372c0c4e1372269758ee4'] = 'Livraison';
|
||||
$_LANG['order-confirmation_2f2f0f119a907c6c67a3c6fcde0193ab'] = 'Adresse de livraison';
|
||||
$_LANG['order-confirmation_886dc40a9367328f942e6bf6c31f3ebb'] = 'Adresse de facturation';
|
||||
$_LANG['order-confirmation_73878c19cdc6ef2ab0d0fac6943cc958'] = 'Besoin d\'aide ?';
|
||||
$_LANG['order-confirmation_1385af17704d88a7d7f2b304fe519221'] = 'Comment suivre ma commande ?';
|
||||
$_LANG['order-confirmation_761fc370a2b7de4983e9569a92f4009f'] = 'Comment faire un retour ?';
|
||||
$_LANG['order-confirmation_964ea159bc8f6367f7a0a503c5869236'] = 'Notre service client à votre écoute';
|
||||
$_LANG['order-confirmation_d5552e0564007d93ff5937a9cb3bc491'] = 'Service client';
|
||||
$_LANG['order-confirmation_8dd27b9ed5800530a6ca9f6d158074ed'] = '05 67 80 15 60 9h - 12h et 14h - 18h, du lundi au vend.';
|
||||
$_LANG['order-confirmation_e19e31ddb54b493059808ec4f2dab4cb'] = 'Votre numéro de commande est le:';
|
||||
$_LANG['order-confirmation_c3b59dc92773203d09404d887676376f'] = 'Votre numéro de commande a été envoyé par mail.';
|
||||
$_LANG['order-confirmation_4082ea29b4f196c4f60533500139725a'] = 'Suivre ma commande';
|
||||
$_LANG['order-confirmation_9390390581f54c65d6acfc8da4e17362'] = 'Retour aux commandes';
|
||||
$_LANG['order-confirmation_e19e31ddb54b493059808ec4f2dab4cb'] = 'Votre numéro de commande est le:';
|
||||
$_LANG['order-confirmation_c3b59dc92773203d09404d887676376f'] = 'Votre numéro de commande a été envoyé par mail.';
|
||||
$_LANG['order-confirmation_4082ea29b4f196c4f60533500139725a'] = 'Suivre ma commande';
|
||||
@ -340,11 +322,6 @@ $_LANG['order-detail_44749712dbec183e983dcd78a7736c41'] = 'Date';
|
||||
$_LANG['order-detail_ec53a8c4f07baed5d8825072c89799be'] = 'Statut';
|
||||
$_LANG['order-detail_01abfc750a0c942167651c40d088531d'] = 'n°';
|
||||
$_LANG['order-detail_466eadd40b3c10580e3ab4e8061161ce'] = 'Facture';
|
||||
$_LANG['order-detail_18b93acb5387c525d664081d654c0d33'] = 'Historique des envois';
|
||||
$_LANG['order-detail_914419aa32f04011357d3b604a86d7eb'] = 'Transporteur';
|
||||
$_LANG['order-detail_910d956cb2615e5739ac06c7f08fba26'] = 'Numéro de suivi';
|
||||
$_LANG['order-detail_ac5dbcf2a792f6c6408aaaf29d7fd0a8'] = 'Lien de suivi';
|
||||
$_LANG['order-detail_d2001ff0bad0662ccc25ffacdc66da96'] = 'Cliquez ici pour suivre la livraison de votre colis';
|
||||
$_LANG['order-detail_2ca3deb5cd68fa9119b285804fab572f'] = 'Commande :';
|
||||
$_LANG['order-detail_f8617a92ba0a0a4eabee724eab7c9f48'] = 'Transporteur :';
|
||||
$_LANG['order-detail_c1f6368d15f7c13c4e5e8f70c68c747f'] = 'Méthode de paiement :';
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{blockcms}site_mobile>blockcms_34c869c542dee932ef8cd96d2f91cae6'] = 'Nos magasins';
|
||||
$_MODULE['<{blockcms}site_mobile>blockcms_d1aa22a3126f04664e0fe3f598994014'] = 'Promotions';
|
||||
$_MODULE['<{blockcms}site_mobile>blockcms_9ff0635f5737513b1a6f559ac2bff745'] = 'Nouveaux produits';
|
||||
$_MODULE['<{blockcms}site_mobile>blockcms_3cb29f0ccc5fd220a97df89dafe46290'] = 'Meilleures ventes';
|
||||
|
11
themes/site_mobile/modules/paymentinfo/fr.php
Normal file
11
themes/site_mobile/modules/paymentinfo/fr.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{paymentinfo}site_mobile>paymentinfo_bea8d9e6a0d57c4a264756b4f9822ed9'] = 'Mon compte';
|
||||
$_MODULE['<{paymentinfo}site_mobile>paymentinfo_a01492dafb4b0f7a2266228095bcaf2c'] = 'Gérer mes moyens de paiement';
|
||||
$_MODULE['<{paymentinfo}site_mobile>paymentinfo_8de5b7d46e51b994328c75c8ee9c7759'] = 'Suppression réussie';
|
||||
$_MODULE['<{paymentinfo}site_mobile>paymentinfo_4aa701fb7e287f19cb129f57bffb834b'] = 'Mes comptes paypal';
|
||||
$_MODULE['<{paymentinfo}site_mobile>paymentinfo_729a51874fe901b092899e9e8b31c97a'] = 'Êtes-vous sur ?';
|
||||
$_MODULE['<{paymentinfo}site_mobile>paymentinfo_f2a6c498fb90ee345d997f888fce3b18'] = 'Supprimer';
|
||||
$_MODULE['<{paymentinfo}site_mobile>paymentinfo_fe8aa01ce44668df439a8db46d95dd2d'] = 'Aucun compte enregistré';
|
36
themes/site_mobile/modules/paymentinfo/paymentinfo.tpl
Normal file
36
themes/site_mobile/modules/paymentinfo/paymentinfo.tpl
Normal file
@ -0,0 +1,36 @@
|
||||
{capture name=path}<a href="{$link->getPageLink('my-account.php', TRUE)}">{l s='My Account' mod='paymentinfo'}</a><span class="navigation-pipe">{$navigationPipe}</span>{l s='Manage payment info' mod='paymentinfo'}{/capture}
|
||||
{include file="$tpl_dir./breadcrumb.tpl"}
|
||||
|
||||
<h1 class="title"><span>{l s='Manage payment info' mod='paymentinfo'}</span></h1>
|
||||
|
||||
{if isset($delete) && $delete}
|
||||
<div id="block-history" class="block-center">
|
||||
<p class="success">{l s='Delete success' mod='paymentinfo'}</p>
|
||||
</div>
|
||||
<br>
|
||||
{/if}
|
||||
|
||||
<h4 class='subtitle'>{l s='My paypal account' mod='paymentinfo'}</h4>
|
||||
|
||||
{if $paypal_accounts}
|
||||
<table class="std table_skin">
|
||||
<tbody>
|
||||
{foreach from=$paypal_accounts item=paypal}
|
||||
<tr>
|
||||
<td>
|
||||
<b>{$paypal.name}</b>
|
||||
<br />
|
||||
<i>{$paypal.email}</i>
|
||||
<br />
|
||||
{$paypal.city}
|
||||
</td>
|
||||
<td><a onclick="return confirm('{l s='Are you sure?' mod='paymentinfo'}');" href="?delete_agreement={$paypal.id_paypal_agreement}">{l s='Delete' mod='paymentinfo'}</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
{else}
|
||||
<div id="block-history" class="block-center">
|
||||
<p class="warning">{l s='No account register' mod='paymentinfo'}</p>
|
||||
</div>
|
||||
{/if}
|
@ -35,9 +35,9 @@ $_MODULE['<{paypal}site_mobile>error_a40cab5994f36d4c48103a22ca082e8f'] = 'Votre
|
||||
$_MODULE['<{paypal}site_mobile>error_ad69e733ebae8d264bccaa38d68830e8'] = 'PayPal';
|
||||
$_MODULE['<{paypal}site_mobile>error_425551a2289ed60c9260933d1c45ef00'] = 'Merci de vous reférer aux logs :';
|
||||
$_MODULE['<{paypal}site_mobile>error_0557fa923dcee4d0f86b1409f5c2167f'] = 'Précédent';
|
||||
$_MODULE['<{paypal}site_mobile>express_checkout_payment_9166266e8de0b0f8ac4e87c8f35c8bfa'] = 'Sauvegarder mon compte pour un futur achat';
|
||||
$_MODULE['<{paypal}site_mobile>express_checkout_payment_e19e2f09002009081b41655e7c143bd5'] = 'Vous avez des comptes enregistrés, vous pouvez les utiliser pour payer';
|
||||
$_MODULE['<{paypal}site_mobile>payment_dac2693baa5c5c9a5318609ed81c4f2a'] = 'Payer par PayPal';
|
||||
$_MODULE['<{paypal}site_mobile>payment_a3f2caee6ef8e68fbd26e42d83f2bf65'] = 'Payez avec votre compte PayPal, carte de crédit (CB, Visa, Mastercard ...)';
|
||||
$_MODULE['<{paypal}site_mobile>payment_b08008a2de4331ba13f006c9bcf37b62'] = 'Payez avec PayPal';
|
||||
$_MODULE['<{paypal}site_mobile>paypal_dac2693baa5c5c9a5318609ed81c4f2a'] = 'Payer par PayPal';
|
||||
$_MODULE['<{paypal}site_mobile>express_checkout_payment_9166266e8de0b0f8ac4e87c8f35c8bfa'] = 'Sauvegarder mon compte pour un futur achat';
|
||||
$_MODULE['<{paypal}site_mobile>express_checkout_payment_e19e2f09002009081b41655e7c143bd5'] = 'Vous avez des comptes enregistrés, vous pouvez les utiliser pour payer';
|
@ -41,7 +41,6 @@ $_MODULE['<{privatesales}site_mobile>trailer_a2f2b3a89c2d8b47c5583a3966cf4096']
|
||||
$_MODULE['<{privatesales}site_mobile>trailer_71524f0c109f06bf5b2ef553d3407679'] = 'Votre inscription est terminée, vous serez averti(e) avant le commencement de la vente';
|
||||
$_MODULE['<{privatesales}site_mobile>trailer_c9bca243cf727d056ebb543590479857'] = 'Vous êtes déjà inscrit(e) à cette vente';
|
||||
$_MODULE['<{privatesales}site_mobile>trailer_62d73d7c9e4c31f41288f4553b994fb1'] = 'Votre inscription à cette vente a été supprimée';
|
||||
$_MODULE['<{privatesales}site_mobile>trailer_fcccf6b730f76e0342442e5c34bb90f6'] = 'Accéder à la vente';
|
||||
$_MODULE['<{privatesales}site_mobile>trailer_268c7c7527fcf836fc2beecb817b4e55'] = 'Cette vente n\'a pas encore démarré.';
|
||||
$_MODULE['<{privatesales}site_mobile>trailer_0447791604a8de509ebda3f86e5ad5c5'] = 'Cliquez ici pour voir d\'autres ventes';
|
||||
$_MODULE['<{privatesales}site_mobile>trailer_faa2106f4b96e2d95ca70fe4f5eec420'] = 'Connectez-vous ou créez un compte pour voir d\'autres ventes';
|
||||
|
@ -40,6 +40,7 @@
|
||||
{if $voucherAllowed}
|
||||
<li><a href="{$link->getPageLink('discount.php', true)}" title="{l s='Vouchers'}"><i class="icon-bons-reductions"></i><span>{l s='My vouchers'}</span></a></li>
|
||||
{/if}
|
||||
<li><a href="{$base_dir_ssl}modules/paymentinfo/manage.php" title="{l s='Manage Payments infos'}"><i class="icon-fidelite"></i>{l s='Manage Payments infos'}</a></li>
|
||||
{$HOOK_CUSTOMER_ACCOUNT}
|
||||
</ul>
|
||||
<p class="footer_links">
|
||||
|
Loading…
Reference in New Issue
Block a user