Hi all,

I'm the creator of the french banks CMCiC contribution for osCommerce. As I'm translating it for ZenCart (lot of people tried but nobody gets it...) I'm in trouble with the IPN process. The session isn't recovered so the order can't be recognized by the system as the customer as just paid and is still on the bank server.

Here is the code :

PHP Code:
echo 'session :'.$CMCIC_bruteVars['texte-libre'].'<br />';

if (!
function_exists('session_start')) {
    
define('PHP_SESSION_NAME''zenid');
    
define('PHP_SESSION_PATH'$cookie_path);
    
define('PHP_SESSION_DOMAIN'$cookie_domain);
    
define('PHP_SESSION_SAVE_PATH'SESSION_WRITE_DIRECTORY);

    include(
DIR_WS_CLASSES 'sessions.php');
}

zen_session_name('zenid');
zen_session_save_path(SESSION_WRITE_DIRECTORY);
// récupération de l'id de session contenu dans texte-libre
zen_session_id($CMCIC_bruteVars['texte-libre']);
$session_started false;
zen_session_start();
$session_started true;

echo 
'customer_id :'.$_SESSION['customer_id'].'<br />'
When I manually execute it as the bank does, I can read the right $CMCIC_bruteVars['texte-libre'] identifier. But the session seems not to be created as $_SESSION['customer_id'] seems to be desperatly empy.

Do anyone has got ideas about this ?