Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

session lost after payement


yveslens

Recommended Posts

Hello,

I ve oscommerce ms2 crealoaded 6 with ATOS SIPS payement

I ve tested order. i go to the web secured payment. When the customer says ok for payment the payment server call checkout_success

 

but in line 18 , i see session is lost so the order is paid but not registered in oscaommerce

 

require('includes/application_top.php');

echo(tep_session_is_registered('customer_id'))."<br>";

echo("ligne14");

// if the customer is not logged on, redirect them to the shopping cart page

if (!tep_session_is_registered('customer_id')) {

echo ("ligne 18");exit();

tep_redirect(tep_href_link(FILENAME_SHOPPING_CART));

}

 

please who can help me

 

THANKS

Link to comment
Share on other sites

Hello,

I ve oscommerce ms2 crealoaded 6 with ATOS SIPS payement

I ve tested order. i go to the web secured payment. When the customer  says ok for payment the  payment server call checkout_success 

 

but in line 18 , i see session is lost so the order is paid but not registered in oscaommerce

 

  require('includes/application_top.php');

echo(tep_session_is_registered('customer_id'))."<br>";

echo("ligne14");

// if the customer is not logged on, redirect them to the shopping cart page

  if (!tep_session_is_registered('customer_id')) {

  echo ("ligne 18");exit();

    tep_redirect(tep_href_link(FILENAME_SHOPPING_CART));

  }

 

please who can help me

 

THANKS

who is your payment gateway? Is there a complete order button at the transcation page? The variable is not being passed back properly (or if at all). It needs to be passed back with a data/field name of "osCsid".

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...