Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

bozor

Archived
  • Posts

    1
  • Joined

  • Last visited

Posts posted by bozor

  1. Hi there, I am having problems finalising an hsbc install.

     

    Everything works apart from order logging in the backend. After some digging around I think it has something to do with the way osc/the hsbc payment module deals with sessions. I think that the session information is not being passed to checkout_process.php as it errors out on:

     

    if (!tep_session_is_registered('customer_id')) {    
    $navigation->set_snapshot(array('mode' => 'SSL', 'page' => FILENAME_CHECKOUT_PAYMENT));
    tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); }
    

     

    I have tried forcing cookies on and off in the configuration and i have tried the session.use_only_cookies and session.use_trans_sid settings in php.ini.

     

    I have put some mail functions inside hsbc_return to see what it gets back and here it is:

     

    (ORIG_POST) StorefrontId = UK1234567GBP
    (ORIG_POST) OrderId = Order 0939-050406
    (ORIG_POST) PurchaseAmount = 036
    (ORIG_POST) PurchaseCurrency = 826
    (ORIG_POST) PurchaseDate = 1234196359500
    (ORIG_POST) ShopperEmail = [email protected]
    (ORIG_POST) MerchantData = 2oplu0gtkk4mr4jmoh30go2rt2
    (ORIG_POST) CpiResultsCode = 0
    (ORIG_POST) OrderHash = atXj3cZmbJcDo9vMq/2VWMUsoLQ=
    
    
    
    (POST) StorefrontId = UK1234567GBP
    (POST) OrderId = Order 0939-050406
    (POST) PurchaseAmount = 036
    (POST) PurchaseCurrency = 826
    (POST) PurchaseDate = 1234196359500
    (POST) ShopperEmail = [email protected]
    (POST) MerchantData = 2oplu0gtkk4mr4jmoh30go2rt2
    (POST) CpiResultsCode = 0
    (POST) OrderHash = atXj3cZmbJcDo9vMq/2VWMUsoLQ=
    (GET) osCsid = 2oplu0gtkk4mr4jmoh30go2rt2
    

     

    The blank lines is where the session information should go.

     

    Anyone have any ideas as to what is going wrong?

     

    Thanks in advance!

×
×
  • Create New...