Index: openacs-4/packages/dotlrn-ecommerce/www/ecommerce/checkout-one-form.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/www/ecommerce/checkout-one-form.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/dotlrn-ecommerce/www/ecommerce/checkout-one-form.adp 23 Jun 2005 12:28:22 -0000 1.1 +++ openacs-4/packages/dotlrn-ecommerce/www/ecommerce/checkout-one-form.adp 28 Jun 2005 03:27:40 -0000 1.2 @@ -118,11 +118,20 @@

Or enter a new credit card:

If you're using a new card, please enter the full credit card number below.

- Internal account number: + + + checked /> Internal account number:

- User sends in a check

+ + + checked /> User sends in a check

+ + Pay via credit card - + + + +
@@ -141,6 +150,7 @@

Credit card information

+

Index: openacs-4/packages/dotlrn-ecommerce/www/ecommerce/checkout-one-form.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/www/ecommerce/checkout-one-form.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/dotlrn-ecommerce/www/ecommerce/checkout-one-form.tcl 23 Jun 2005 12:28:22 -0000 1.1 +++ openacs-4/packages/dotlrn-ecommerce/www/ecommerce/checkout-one-form.tcl 28 Jun 2005 03:27:40 -0000 1.2 @@ -662,4 +662,12 @@ # cannot quote ship_to_state_widget [ad_quotehtml $ship_to_state_widget] } append hidden_vars [export_form_vars billing_address_id shipping_address_id user_id participant_id] + +# Determine supported payment methods +set payment_methods [parameter::get -parameter PaymentMethods] +foreach payment_method [split $payment_methods] { + set ${payment_method}_p 1 +} +set method_count [llength [split $payment_methods]] + db_release_unused_handles