+
At this time we are unable to receive authorization to charge
your credit card. Please check the number and the expiration
@@ -17,12 +17,8 @@
Try again later, or report this problem to @ec_system_owner;noquote@.
-
-
-
@formatted_address@
- |
-
+
- |
-
- |
-
+
- |
-
-
-
-
Index: openacs-4/packages/ecommerce/www/credit-card-correction.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/credit-card-correction.tcl,v
diff -u -r1.9 -r1.10
--- openacs-4/packages/ecommerce/www/credit-card-correction.tcl 11 Aug 2008 13:01:09 -0000 1.9
+++ openacs-4/packages/ecommerce/www/credit-card-correction.tcl 4 Sep 2008 12:24:06 -0000 1.10
@@ -13,6 +13,7 @@
} {
usca_p:optional
+ {card_code ""}
}
# The order that we're trying to reauthorize is the 'in_basket' order
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.10 -r1.11
--- openacs-4/packages/ecommerce/www/finalize-order.tcl 11 Aug 2008 06:40:45 -0000 1.10
+++ openacs-4/packages/ecommerce/www/finalize-order.tcl 4 Sep 2008 12:24:06 -0000 1.11
@@ -16,6 +16,7 @@
@revision-date April 2002
} {
+ {card_code ""}
}
# If they reload, we don't have to worry about the credit card
@@ -264,7 +265,7 @@
values
(:transaction_id, :order_id, :transaction_amount, 'charge', sysdate)"
- array set response [ec_creditcard_authorization $order_id $transaction_id]
+ array set response [ec_creditcard_authorization $order_id $transaction_id $card_code]
set result $response(response_code)
set transaction_id $response(transaction_id)
if { [string equal $result "authorized"] } {
@@ -332,7 +333,7 @@
values
(:transaction_id, :order_id, :transaction_amount, 'charge', sysdate)"
- array set response [ec_creditcard_authorization $order_id $transaction_id]
+ array set response [ec_creditcard_authorization $order_id $transaction_id $card_code]
set result $response(response_code)
set transaction_id $response(transaction_id)
if { [string equal $result "authorized"] } {
@@ -355,7 +356,7 @@
# for the scheduled procedures to mark the
# transaction.
- array set response [ec_creditcard_marking $transaction_id]
+ array set response [ec_creditcard_marking $transaction_id $card_code]
set mark_result $response(response_code)
set pgw_transaction_id $response(transaction_id)
if { [string equal $mark_result "invalid_input"]} {
@@ -436,7 +437,7 @@
values
(:transaction_id, :order_id, :transaction_amount, 'charge', sysdate)"
- array set response [ec_creditcard_authorization $order_id $transaction_id]
+ array set response [ec_creditcard_authorization $order_id $transaction_id $card_code]
set result $response(response_code)
set soft_goods_transaction_id $response(transaction_id)
if { [string equal $result "authorized"] } {
@@ -463,7 +464,7 @@
values
(:transaction_id, :order_id, :transaction_amount, 'charge', sysdate)"
- array set response [ec_creditcard_authorization $order_id $transaction_id]
+ array set response [ec_creditcard_authorization $order_id $transaction_id $card_code]
set result $response(response_code)
set hard_goods_transaction_id $response(transaction_id)
if { [string equal $result "authorized"] } {
@@ -488,7 +489,7 @@
# waiting for the scheduled procedures to mark
# the transaction.
- array set response [ec_creditcard_marking $transaction_id]
+ array set response [ec_creditcard_marking $transaction_id $card_code]
set mark_result $response(response_code)
set pgw_transaction_id $response(transaction_id)
if { [string equal $mark_result "invalid_input"]} {
@@ -617,7 +618,7 @@
values
(:transaction_id, :order_id, :transaction_amount, 'charge', sysdate)"
- array set response [ec_creditcard_authorization $order_id $transaction_id]
+ array set response [ec_creditcard_authorization $order_id $transaction_id $card_code]
set result $response(response_code)
set transaction_id $response(transaction_id)
#ns_log Notice "finalize-order.tcl, ref(623): order_id=$order_id,result=$result,transaction_id=${transaction_id}"
@@ -727,7 +728,7 @@
values
(:transaction_id, :order_id, :transaction_amount, 'charge', sysdate)"
- array set response [ec_creditcard_authorization $order_id $transaction_id]
+ array set response [ec_creditcard_authorization $order_id $transaction_id $card_code]
set result $response(response_code)
set transaction_id $response(transaction_id)
if { [string equal $result "authorized"] } {
@@ -749,7 +750,7 @@
# Mark the transaction now, rather than waiting for
# the scheduled procedures to mark the transaction.
- array set response [ec_creditcard_marking $transaction_id]
+ array set response [ec_creditcard_marking $transaction_id $card_code]
set mark_result $response(response_code)
set pgw_transaction_id $response(transaction_id)
if { [string equal $mark_result "invalid_input"]} {
Index: openacs-4/packages/ecommerce/www/gift-certificate-finalize-order.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/gift-certificate-finalize-order.tcl,v
diff -u -r1.10 -r1.11
--- openacs-4/packages/ecommerce/www/gift-certificate-finalize-order.tcl 11 Aug 2008 13:01:09 -0000 1.10
+++ openacs-4/packages/ecommerce/www/gift-certificate-finalize-order.tcl 4 Sep 2008 12:24:06 -0000 1.11
@@ -49,9 +49,9 @@
creditcard_number:notnull
creditcard_type:notnull
- creditcard_expire_1:notnull
-
+ creditcard_expire_1:notnull
creditcard_expire_2:notnull
+ {card_code ""}
}
ec_redirect_to_https_if_possible_and_necessary
@@ -128,7 +128,7 @@
# Make sure the credit card type is right & that it has the right number
# of digits
-# set additional_count_and_text [ec_creditcard_precheck $creditcard_number $creditcard_type]
+# set additional_count_and_text [ec_creditcard_precheck $creditcard_number $creditcard_type $card_code]
# set exception_count [expr $exception_count + [lindex $additional_count_and_text 0]]
# append exception_text [lindex $additional_count_and_text 1]
Index: openacs-4/packages/ecommerce/www/gift-certificate-order-3.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/gift-certificate-order-3.adp,v
diff -u -r1.6 -r1.7
--- openacs-4/packages/ecommerce/www/gift-certificate-order-3.adp 11 Aug 2008 13:01:09 -0000 1.6
+++ openacs-4/packages/ecommerce/www/gift-certificate-order-3.adp 4 Sep 2008 12:24:06 -0000 1.7
@@ -8,7 +8,7 @@