From 02f98dee6783913d887cdefad5b3fbd325250729 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sun, 22 Dec 2002 01:54:29 +0000 Subject: [PATCH] *** empty log message *** --- htdocs/public/dons/bplcretour.php | 48 +++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 htdocs/public/dons/bplcretour.php diff --git a/htdocs/public/dons/bplcretour.php b/htdocs/public/dons/bplcretour.php new file mode 100644 index 00000000000..8be90831e1a --- /dev/null +++ b/htdocs/public/dons/bplcretour.php @@ -0,0 +1,48 @@ + + * + * 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. + * + * $Id$ + * $Source$ + * + */ + +require("../../lib/mysql.lib.php3"); +require("../../conf/conf.class.php3"); +require("../../retourbplc.class.php"); +$conf = new Conf(); + +if ($conf->don->onlinepayment) +{ + + $db = new Db(); + + $retbplc = new Retourbplc($db, $conf); + + + $retbplc->ipclient = $HTTP_POST_VARS["CHAMP105"]; + $retbplc->num_transaction = $HTTP_POST_VARS["CHAMP901"]; + $retbplc->date_transaction = $HTTP_POST_VARS["CHAMP902"]; + $retbplc->heure_transaction = $HTTP_POST_VARS["CHAMP903"]; + $retbplc->num_autorisation = $HTTP_POST_VARS["CHAMP904"]; + $retbplc->cle_acceptation = $HTTP_POST_VARS["CHAMP905"]; + $retbplc->code_retour = $HTTP_POST_VARS["CHAMP906"]; + + $retbplc->ref_commande = $HTTP_POST_VARS["CHAMP200"]; + + $retbplc->insertdb(); + +}