[open-ils-commits] r16488 - in trunk/Open-ILS/web: js/ui/default/circ/selfcheck templates/default/circ/selfcheck (senator)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon May 24 14:31:46 EDT 2010
Author: senator
Date: 2010-05-24 14:31:41 -0400 (Mon, 24 May 2010)
New Revision: 16488
Modified:
trunk/Open-ILS/web/js/ui/default/circ/selfcheck/payment.js
trunk/Open-ILS/web/templates/default/circ/selfcheck/payment.tt2
Log:
Add CVV field to selfcheck credit card payment interface
Modified: trunk/Open-ILS/web/js/ui/default/circ/selfcheck/payment.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/circ/selfcheck/payment.js 2010-05-24 18:25:07 UTC (rev 16487)
+++ trunk/Open-ILS/web/js/ui/default/circ/selfcheck/payment.js 2010-05-24 18:31:41 UTC (rev 16488)
@@ -21,6 +21,7 @@
dojo.query("span", "oils-selfck-cc-payment-summary")[0].innerHTML = total;
oilsSelfckCCNumber.attr('value', '');
+ oilsSelfckCCCVV.attr('value', '');
oilsSelfckCCMonth.attr('value', '01');
oilsSelfckCCYear.attr('value', new Date().getFullYear());
oilsSelfckCCFName.attr('value', patron.first_given_name());
@@ -74,6 +75,7 @@
cc_args : {
where_process : 1,
number : oilsSelfckCCNumber.attr('value'),
+ cvv2 : oilsSelfckCCCVV.attr('value'),
expire_year : oilsSelfckCCYear.attr('value'),
expire_month : oilsSelfckCCMonth.attr('value'),
billing_first : oilsSelfckCCFName.attr('value'),
Modified: trunk/Open-ILS/web/templates/default/circ/selfcheck/payment.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/circ/selfcheck/payment.tt2 2010-05-24 18:25:07 UTC (rev 16487)
+++ trunk/Open-ILS/web/templates/default/circ/selfcheck/payment.tt2 2010-05-24 18:31:41 UTC (rev 16488)
@@ -8,6 +8,10 @@
<td><input dojoType='dijit.form.TextBox' jsId='oilsSelfckCCNumber' required='true'/></td>
</tr>
<tr>
+ <td>CVV #</td>
+ <td><input dojoType='dijit.form.TextBox' jsId='oilsSelfckCCCVV' required='true'/></td>
+ </tr>
+ <tr>
<td>Exipration Month</td>
<td>
<select dojoType='dijit.form.FilteringSelect' jsId='oilsSelfckCCMonth' required='true'>
More information about the open-ils-commits
mailing list