/*-----------------------------------------------------------------------------------*/ /* Copyright (c) BELKACEM Karim */ /* email : karim@ergonomind.com */ /* web : http://www.ergonomind.com */ /*-----------------------------------------------------------------------------------*/ /* This program is free software; you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2 of the License, or */ /* (at your option) any later version. */ /* */ /* This program is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ /* GNU General Public License for more details. */ /* */ /* You should have received a copy of the GNU General Public License */ /* along with this program; if not, write to the Free Software */ /* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /* */ /*************************************************************************************/ Ce plugin est une version améliorée du plugin Paypal de Yoan Plugin Paypal originale version yoan, Pour l’utilisation, c’est simple il suffit d’installer le plugin comme habituellement dans Thelia, son originalité est que l’on gère et paramètre le mail du compte paypal, la devise de la monnaie et la langue de la devise via l’admin dans Configuration / Gestion des variables de votre administration thelia. 4 nouveaux champs sont crées : - paypal2 (votre mail du compte paypal), - devise_paypal2 (la devise de la monnaie, exemple EUR), - code_langue_paypal2 (la langue de la devise, exemple FR). - serveur2 (serveur de connexion Paypal, par exemple). Mode Sandbox pour les tests = https://www.sandbox.paypal.com/cgi-bin/webscr Mode Live pour la production = https://www.paypal.com/cgi-bin/webscr - Page de redirection vers Paypal à été personnalisation pour mieux comprendre la redirection vers la page de paiment et faire patienter l'internaute ATTENTION : désactiver le plugin Paypal installé en standard avant d’activer le plugin Paypal2 !