Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

rotezecke

Pioneers
  • Posts

    7
  • Joined

  • Last visited

Posts posted by rotezecke

  1. i would remove those //commented lines from within the string

     

    tep_db_query("UPDATE ".TABLE_ORDERS." SET orders_status='".MODULE_PAYMENT_PAYWAY_PAID_ORDER_STATUS_ID."'" .
    // ",payway_payment_reference='".mysql_escape_string($params['payment_reference'])."'," .
    //"payway_receipt_no='".mysql_escape_string($params['no_receipt'])."'" .
    " WHERE orders_id=".mysql_escape_string($params['payment_reference']));

     

    tep_db_query("UPDATE ".TABLE_ORDERS." SET orders_status='".MODULE_PAYMENT_PAYWAY_PAID_ORDER_STATUS_ID."'" .
    " WHERE orders_id=".mysql_escape_string($params['payment_reference']));

  2. in checkout_process_payment find this line (or similar - I may have added the strip_tags call:

     

        $params['gst_exempt_fields'] = $params['gst_exempt_fields'] .'Shipping Method: '.strip_tags($order->info['shipping_method']);

     

    comment that line and see what happens. however, disabling that line will probably add GST to international shipping. best to have a test, if international destination, then run that line.

     

    hope this helps

  3. hi

    with mysql_* functions soon to be removed from PHP i wonder if anyone has made an effort of converting the seo.class over to use mysqli_* (and is willing to share)?

     

    i must admit i didnt read the entire thread but i did search this topic for 'mysqli' and didnt get much. i tried editing the class myself but failed miserably. but it looks like only a few lines actually need changing. help is much appreciated. cheers,

×
×
  • Create New...