wip prof check page now handle the success message on paiement

This commit is contained in:
asus
2024-03-07 21:34:48 +01:00
parent 5e28bf3059
commit f870f77a2c
9 changed files with 80 additions and 54 deletions

View File

@@ -14,9 +14,6 @@ if (!defined('ABSPATH')) {
*/
function add_partenaires_PLGNTLS($customer_data){
$current_url = $_SERVER['HTTP_REFERER']; // not reliable to use referer, TODO: find another solution
error_log("---");
error_log("uri:");
error_log($_SERVER['REQUEST_URI']);
$path_brut = parse_url($current_url, PHP_URL_PATH);
$path = trim($path_brut, '/');
if ($path === 'creation-du-compte-partenaire')