AmEx uses 4 digit CVVs and I forgot to change the maxlength of this
field.
Patch by mark.
diffs (12 lines):
diff -r 6f9013bce134 -r c00f99f10b2a htdocs/shop/entercc.bml
--- a/htdocs/shop/entercc.bml Tue Apr 06 10:58:52 2010 -0700
+++ b/htdocs/shop/entercc.bml Wed Apr 07 18:38:30 2010 +0000
@@ -101,7 +101,7 @@ body<=
phone => LJ::html_text({ name => 'phone', maxlength => 40, value
=> $POST{phone} }),
'--' => '',
ccnum => LJ::html_text({ name => 'ccnum', maxlength => 19 }) .
$accepted_ccs,
- cvv2 => LJ::html_text({ name => 'cvv2', maxlength => 3, size => 5
}),
+ cvv2 => LJ::html_text({ name => 'cvv2', maxlength => 4, size => 5
}),
expmon => LJ::html_select({ name => 'expmon', selected =>
$POST{expmon} }, map { $_ => LJ::Lang::month_long( $_ ) } 1..12 ),
expyear => LJ::html_select({ name => 'expyear', selected =>
$POST{expyear} }, map { $_ => $_ } 2010..2019 ),
);
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog