Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Logged out after making payment


nvedia

Recommended Posts

Hi

I am getting a strange behavior in oscommerce

I am using Intabill payment module

After making the payment page details are posted to https://sale.merchlogin.com/

The response got back to checkout_process.php from the payment processor page seems to log out the customer

I verified it by putting this code in the checkout_process.php page

 

if (!tep_session_is_registered('customer_id')) {

 

echo "Test code to remove inside if loop";

exit();

 

 

$navigation->set_snapshot(array('mode' => 'SSL', 'page' => FILENAME_CHECKOUT_PAYMENT));

tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));

}

 

CAn someone tell me why this is happening and what can be done?

Logged out after making payment

Link to comment
Share on other sites

  • 3 weeks later...

Try adding the osCommerce session variable via the url.

 

Hope it works.

 

Hi

I am getting a strange behavior in oscommerce

I am using Intabill payment module

After making the payment page details are posted to https://sale.merchlogin.com/

The response got back to checkout_process.php from the payment processor page seems to log out the customer

I verified it by putting this code in the checkout_process.php page

 

if (!tep_session_is_registered('customer_id')) {

 

echo "Test code to remove inside if loop";

exit();

$navigation->set_snapshot(array('mode' => 'SSL', 'page' => FILENAME_CHECKOUT_PAYMENT));

tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));

}

 

CAn someone tell me why this is happening and what can be done?

Logged out after making payment

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...