diff --git a/htdocs/public/project/index.php b/htdocs/public/project/index.php index 5620e44a3f2..7beae2ee971 100644 --- a/htdocs/public/project/index.php +++ b/htdocs/public/project/index.php @@ -13,21 +13,12 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * For Paypal test: https://developer.paypal.com/ - * For Paybox test: ??? - * For Stripe test: Use credit card 4242424242424242 .More example on https://stripe.com/docs/testing - * - * Variants: - * - When option STRIPE_USE_INTENT_WITH_AUTOMATIC_CONFIRMATION is on, we use the new PaymentIntent API - * - When option STRIPE_USE_NEW_CHECKOUT is on, we use the new checkout API - * - If no option set, we use old APIS (charge) */ /** - * \file htdocs/public/payment/newpayment.php + * \file htdocs/public/project/index.php * \ingroup core - * \brief File to offer a way to make a payment for a particular Dolibarr object + * \brief File to offer a way to suggest a conference or a booth for an event */ if (!defined('NOLOGIN')) { @@ -74,8 +65,8 @@ $langs->loadLangs(array("other", "dict", "bills", "companies", "errors", "paybox $action = GETPOST('action', 'aZ09'); $id = GETPOST('id'); -$securekeyreceived = GETPOST("securekey"); -$securekeytocompare = dol_hash($conf->global->EVENTORGANIZATION_SECUREKEY.'conferenceorbooth'.$id, 2); +$securekeyreceived = GETPOST("securekey", 'alpha'); +$securekeytocompare = dol_hash($conf->global->EVENTORGANIZATION_SECUREKEY.'conferenceorbooth'.$id, 'md5'); if ($securekeytocompare != $securekeyreceived) { print $langs->trans('MissingOrBadSecureKey'); diff --git a/htdocs/public/project/suggestbooth.php b/htdocs/public/project/suggestbooth.php index c695ea9cec1..57817fb5200 100644 --- a/htdocs/public/project/suggestbooth.php +++ b/htdocs/public/project/suggestbooth.php @@ -16,9 +16,9 @@ */ /** - * \file htdocs/public/members/new.php + * \file htdocs/public/project/suggestbooth.php * \ingroup member - * \brief Example of form to add a new member + * \brief Example of form to suggest a booth * * Note that you can add following constant to change behaviour of page * MEMBER_NEWFORM_AMOUNT Default amount for auto-subscribe form diff --git a/htdocs/public/project/suggestconference.php b/htdocs/public/project/suggestconference.php index 399969bc80d..bfaf8a31b08 100644 --- a/htdocs/public/project/suggestconference.php +++ b/htdocs/public/project/suggestconference.php @@ -16,9 +16,9 @@ */ /** - * \file htdocs/public/members/new.php + * \file htdocs/public/project/suggestconference.php * \ingroup member - * \brief Example of form to add a new member + * \brief Example of form to suggest a conference * * Note that you can add following constant to change behaviour of page * MEMBER_NEWFORM_AMOUNT Default amount for auto-subscribe form