Index: openacs-4/packages/ecommerce/www/finalize-order.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/finalize-order.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/ecommerce/www/finalize-order.tcl 20 Apr 2001 20:51:13 -0000 1.1 +++ openacs-4/packages/ecommerce/www/finalize-order.tcl 21 Aug 2001 04:42:27 -0000 1.2 @@ -127,9 +127,16 @@ set gift_certificate_covers_cost_p "f" } else { set gift_certificate_covers_cost_p "t" - ec_update_state_to_authorized $order_id "authorized_plus_avs" - ad_returnredirect thank-you - template::adp_abort + + ### gilbertw: removed the next three lines + ### the openacs 3.2.5 code does not have the next 2/3 lines + ### instead it uses ec_update_state_to_confirmed 20 lines later + ### which handles the gift certificate amounts + ### if ec_update_state_to_authorized is used, the gift certificate + ### amounts do not get subtracted + # ec_update_state_to_authorized $order_id "authorized_plus_avs" + #ad_returnredirect thank-you + #template::adp_abort } }