Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Erdpeer

Pioneers
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Erdpeer

  1. I haven't gone through the entire code - but my first question is why is this code repeated 3 times rather than just being on the page once?

    //kgt - discount coupons
    if (!tep_session_is_registered('coupon')) tep_session_register('coupon');
    //this needs to be set before the order object is created, but we must process it after
    $coupon = tep_db_prepare_input($HTTP_POST_VARS['coupon']);
    //end kgt - discount coupons 
    
    //kgt - discount coupons
    if (!tep_session_is_registered('coupon')) tep_session_register('coupon');
    //this needs to be set before the order object is created, but we must process it after
    $coupon = tep_db_prepare_input($HTTP_POST_VARS['coupon']);
    //end kgt - discount coupons 
    
    //kgt - discount coupons
    if (!tep_session_is_registered('coupon')) tep_session_register('coupon');
    //this needs to be set before the order object is created, but we must process it after
    $coupon = tep_db_prepare_input($HTTP_POST_VARS['coupon']);
    //end kgt - discount coupons 
    

     

    You need to use a file comparison tool and compare your files with the files downloaded in the contribution package.

     

    Hello!

     

    I have the same problem. Everything works fine, but when someone entered a wrong code, the script jumps to login.php, without any error message.. For test I have overwrite my files "checkout_confirmation.php", "checkout_payment.php" and "checkout_process.php" with the files in the contribution, but the error is still there... And I think I know where the error is. My Shop works with session-ids in the url. And that session-id changes when someone is on the checkout_payment.php and entered a wrong code when it jumps to login.php... And idea how to fix that?

     

     

     

    All the best

    Peer

×
×
  • Create New...