Index: openacs-4/packages/ecommerce/tcl/ecommerce-state-changes-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/tcl/ecommerce-state-changes-procs.tcl,v diff -u -r1.6.4.3 -r1.6.4.4 --- openacs-4/packages/ecommerce/tcl/ecommerce-state-changes-procs.tcl 16 Jan 2005 05:11:52 -0000 1.6.4.3 +++ openacs-4/packages/ecommerce/tcl/ecommerce-state-changes-procs.tcl 16 Jan 2005 09:56:33 -0000 1.6.4.4 @@ -16,6 +16,7 @@ need to be taken: 1. ec_orders.order_state becomes in_basket + ec_orders.saved_p becomes t 2. ec_creditcards.failed_p becomes t 3. any gift certificates used should be reinstated 4. confirmed_date is set to null (because we use existence of @@ -31,7 +32,7 @@ where order_id=:order_id" db_dml order_state_update " update ec_orders - set order_state='in_basket', confirmed_date=null + set order_state='in_basket', confirmed_date=null, saved_p = 't' where order_id=:order_id" db_dml creditcard_update " update ec_creditcards Index: openacs-4/packages/ecommerce/tcl/ecommerce-state-changes-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/tcl/ecommerce-state-changes-procs.xql,v diff -u -r1.3.4.2 -r1.3.4.3 --- openacs-4/packages/ecommerce/tcl/ecommerce-state-changes-procs.xql 16 Jan 2005 05:11:52 -0000 1.3.4.2 +++ openacs-4/packages/ecommerce/tcl/ecommerce-state-changes-procs.xql 16 Jan 2005 09:56:33 -0000 1.3.4.3 @@ -13,7 +13,7 @@ update ec_orders - set order_state='in_basket', confirmed_date=null + set order_state='in_basket', confirmed_date=null, saved_p = 't' where order_id=:order_id