Index: openacs-4/packages/dotlrn-ecommerce/lib/section.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/lib/section.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/dotlrn-ecommerce/lib/section.tcl 6 Jul 2005 04:58:13 -0000 1.5 +++ openacs-4/packages/dotlrn-ecommerce/lib/section.tcl 6 Jul 2005 05:03:23 -0000 1.6 @@ -203,6 +203,8 @@ set sessions_list [list] } +ns_log Notice "** $sessions_list **" + if { [llength $sessions_list] } { ad_form -extend -name add_section -form { {-section "Predefined Sessions"} Index: openacs-4/packages/dotlrn-ecommerce/www/ecommerce/finalize-order.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/www/ecommerce/finalize-order.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/dotlrn-ecommerce/www/ecommerce/finalize-order.tcl 5 Jul 2005 23:57:38 -0000 1.4 +++ openacs-4/packages/dotlrn-ecommerce/www/ecommerce/finalize-order.tcl 6 Jul 2005 05:03:23 -0000 1.5 @@ -192,11 +192,13 @@ db_transaction { ec_update_state_to_confirmed $order_id - - # Call after-checkout callback - callback -- ecommerce::after-checkout -patron_id $user_id -order_id $order_id } +# Call after-checkout callback +# Roel - 0705, Removed this line from the transaction, may have been causing +# the transaction to hang +callback -- ecommerce::after-checkout -patron_id $user_id -order_id $order_id + set method [db_string payment_method { select method from dotlrn_ecommerce_transactions