[interchange-cvs] interchange - pajamian modified 5 files
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Wed Aug 30 08:37:07 EDT 2006
User: pajamian
Date: 2006-08-30 12:37:06 GMT
Modified: dist/lib/UI/pages/admin entry.html
Modified: dist/standard/include/checkout new_browser_payment
Modified: new_browser_payment_multi old_browser_payment
Modified: old_browser_payment_multi
Log:
* Don't refresh checkout page when someone opens the CVV2 popup.
* Allow CVV2 popup page to be displayed on browsers that have
javascript disabled.
* Don't refill the CVV2 value when page is submitted/refreshed
for security reasons.
* Add CVV2 support to entry.html in the admin UI.
Revision Changes Path
2.18 +30 -1 interchange/dist/lib/UI/pages/admin/entry.html
rev 2.18, prev_rev 2.17
Index: entry.html
===================================================================
RCS file: /var/cvs/interchange/dist/lib/UI/pages/admin/entry.html,v
retrieving revision 2.17
retrieving revision 2.18
diff -u -r2.17 -r2.18
--- entry.html 10 Nov 2005 16:55:02 -0000 2.17
+++ entry.html 30 Aug 2006 12:37:06 -0000 2.18
@@ -707,7 +707,7 @@
Position:Relative;
Left:0; Top:0;
Visibility:Visible;
- height: 160px;
+ height: 240px;
z-index:1;
">
<div
@@ -884,6 +884,35 @@
</td>
</tr>
[/if]
+ [comment]
+ Get the security code / cvv2
+ [/comment]
+ <script language="javascript">
+ <!--
+ var pop_window;
+ function popWin(pop_url) {
+
+ pop_window = open(pop_url, 'package_info',',width=500,height=450,scrollbars=no,resizable=no');
+
+
+ }
+ //-->
+ </script>
+ <tr>
+ <td align=right width="30%" valign=top class="contentbar1">
+ [comment] <b>[L]Security Code[/L]: </b><br> [/comment]
+ <b>[error std_label="[L]Security Code:[/L]" name=mv_credit_card_cvv2]</b><br>
+ <a href="[area special/cvv_pop]" target="package_info" onclick="popWin('[area special/cvv_pop]'); return false;"><small>Where is it?</small></a>
+ </td>
+ <td valign=top class="contentbar1">
+ <input type="text" name="mv_credit_card_cvv2" size="4" maxlength="4">
+ </td>
+ <td class="contentbar1">
+ <small>The security code should be printed on the back of your card,
+usually on the signature strip, and consists of the three digits after
+the card number. Please <b>do not</b> enter your card's PIN number here.</small>
+ </td>
+ </tr>
<tr>
<td align=right class="contentbar1">
<b>[L]Expiration[/L]: </b>
1.6 +2 -2 interchange/dist/standard/include/checkout/new_browser_payment
rev 1.6, prev_rev 1.5
Index: new_browser_payment
===================================================================
RCS file: /var/cvs/interchange/dist/standard/include/checkout/new_browser_payment,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- new_browser_payment 17 Aug 2006 19:02:15 -0000 1.5
+++ new_browser_payment 30 Aug 2006 12:37:06 -0000 1.6
@@ -199,10 +199,10 @@
<td align=right width="30%" valign=top class="contentbar1">
[comment] <b>[L]Security Code[/L]: </b><br> [/comment]
<b>[error std_label="[L]Security Code:[/L]" name=mv_credit_card_cvv2]</b><br>
- <a href="#" onclick="popWin('[area special/cvv_pop]');"><small>Where is it?</small></a>
+ <a href="[area special/cvv_pop]" target="package_info" onclick="popWin('[area special/cvv_pop]'); return false;"><small>Where is it?</small></a>
</td>
<td valign=top class="contentbar1">
- <input type="text" name="mv_credit_card_cvv2" value="[value mv_credit_card_cvv2]" size="4" maxlength="4">
+ <input type="text" name="mv_credit_card_cvv2" size="4" maxlength="4">
</td>
<td class="contentbar1">
<small>The security code should be printed on the back of your card,
1.5 +2 -2 interchange/dist/standard/include/checkout/new_browser_payment_multi
rev 1.5, prev_rev 1.4
Index: new_browser_payment_multi
===================================================================
RCS file: /var/cvs/interchange/dist/standard/include/checkout/new_browser_payment_multi,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- new_browser_payment_multi 17 Aug 2006 19:02:15 -0000 1.4
+++ new_browser_payment_multi 30 Aug 2006 12:37:06 -0000 1.5
@@ -198,10 +198,10 @@
<td align=right width="30%" valign=top class="contentbar1">
[comment] <b>[L]Security Code[/L]: </b><br> [/comment]
<b>[error std_label="[L]Security Code:[/L]" name=mv_credit_card_cvv2]</b><br>
- <a href="#" onclick="popWin('[area special/cvv_pop]');"><small>Where is it?</small></a>
+ <a href="[area special/cvv_pop]" target="package_info" onclick="popWin('[area special/cvv_pop]'); return false;"><small>Where is it?</small></a>
</td>
<td valign=top class="contentbar1">
- <input type="text" name="mv_credit_card_cvv2" value="[value mv_credit_card_cvv2]" size="4" maxlength="4">
+ <input type="text" name="mv_credit_card_cvv2" size="4" maxlength="4">
</td>
<td class="contentbar1">
<small>The security code should be printed on the back of your card,
1.5 +2 -2 interchange/dist/standard/include/checkout/old_browser_payment
rev 1.5, prev_rev 1.4
Index: old_browser_payment
===================================================================
RCS file: /var/cvs/interchange/dist/standard/include/checkout/old_browser_payment,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- old_browser_payment 17 Aug 2006 19:02:15 -0000 1.4
+++ old_browser_payment 30 Aug 2006 12:37:06 -0000 1.5
@@ -64,10 +64,10 @@
<td align=right width="30%" valign=top class="contentbar1">
[comment] <b>[L]Security Code[/L]: </b><br> [/comment]
<b>[error std_label="[L]Security Code:[/L]" name=mv_credit_card_cvv2]</b><br>
- <a href="#" onclick="popWin('[area special/cvv_pop]');"><small>Where is it?</small></a>
+ <a href="[area special/cvv_pop]" target="package_info" onclick="popWin('[area special/cvv_pop]'); return false;"><small>Where is it?</small></a>
</td>
<td valign=top class="contentbar1">
- <input type="text" name="mv_credit_card_cvv2" value="[value mv_credit_card_cvv2]" size="4" maxlength="4">
+ <input type="text" name="mv_credit_card_cvv2" size="4" maxlength="4">
</td>
<td class="contentbar1">
<small>The security code should be printed on the back of your card,
1.4 +2 -2 interchange/dist/standard/include/checkout/old_browser_payment_multi
rev 1.4, prev_rev 1.3
Index: old_browser_payment_multi
===================================================================
RCS file: /var/cvs/interchange/dist/standard/include/checkout/old_browser_payment_multi,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- old_browser_payment_multi 17 Aug 2006 19:02:15 -0000 1.3
+++ old_browser_payment_multi 30 Aug 2006 12:37:06 -0000 1.4
@@ -64,10 +64,10 @@
<td align=right width="30%" valign=top class="contentbar1">
[comment] <b>[L]Security Code[/L]: </b><br> [/comment]
<b>[error std_label="[L]Security Code:[/L]" name=mv_credit_card_cvv2]</b><br>
- <a href="#" onclick="popWin('[area special/cvv_pop]');"><small>Where is it?</small></a>
+ <a href="[area special/cvv_pop]" target="package_info" onclick="popWin('[area special/cvv_pop]'); return false;"><small>Where is it?</small></a>
</td>
<td valign=top class="contentbar1">
- <input type="text" name="mv_credit_card_cvv2" value="[value mv_credit_card_cvv2]" size="4" maxlength="4">
+ <input type="text" name="mv_credit_card_cvv2" size="4" maxlength="4">
</td>
<td class="contentbar1">
<small>The security code should be printed on the back of your card,
More information about the interchange-cvs
mailing list