Index: openacs-4/packages/dotlrn-ecommerce/www/ecommerce/checkout-one-form-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/www/ecommerce/checkout-one-form-2.tcl,v diff -u -N -r1.8 -r1.9 --- openacs-4/packages/dotlrn-ecommerce/www/ecommerce/checkout-one-form-2.tcl 19 Jul 2005 18:15:09 -0000 1.8 +++ openacs-4/packages/dotlrn-ecommerce/www/ecommerce/checkout-one-form-2.tcl 30 Jul 2005 22:17:00 -0000 1.9 @@ -827,15 +827,19 @@ (:order_id, 'internal_account', :internal_account) } } - } elseif { $method == "check" } { + } elseif { $method == "check" || + $method == "cash" || + $method == "invoice" || + $method == "scholarship" + } { if { [db_0or1row check_transaction { select 1 from dotlrn_ecommerce_transactions where order_id = :order_id }] } { db_dml update_transaction_check { update dotlrn_ecommerce_transactions - set method = 'check', + set method = :method, internal_account = null where order_id = :order_id } @@ -844,7 +848,7 @@ insert into dotlrn_ecommerce_transactions (order_id, method) values - (:order_id, 'check') + (:order_id, :method) } } }