[freeside-commits] freeside/FS/FS payinfo_Mixin.pm, 1.12, 1.13 cust_pay_void.pm, 1.13, 1.14 cust_main.pm, 1.582, 1.583
Ivan,,,
ivan at wavetail.420.am
Mon Jul 11 20:23:20 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv7807
Modified Files:
payinfo_Mixin.pm cust_pay_void.pm cust_main.pm
Log Message:
add support for Isracards w/Business::OnlinePayment 0.32_01+, RT#13529
Index: cust_pay_void.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_pay_void.pm,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -w -d -r1.13 -r1.14
--- cust_pay_void.pm 22 Oct 2010 06:37:09 -0000 1.13
+++ cust_pay_void.pm 12 Jul 2011 03:23:17 -0000 1.14
@@ -207,7 +207,7 @@
$payinfo =~ s/\D//g;
$self->payinfo($payinfo);
if ( $self->payinfo ) {
- $self->payinfo =~ /^(\d{13,16})$/
+ $self->payinfo =~ /^(\d{13,16}|\d{8,9})$/
or return "Illegal (mistyped?) credit card number (payinfo)";
$self->payinfo($1);
validate($self->payinfo) or return "Illegal credit card number";
Index: payinfo_Mixin.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/payinfo_Mixin.pm,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -w -d -r1.12 -r1.13
--- payinfo_Mixin.pm 17 Jun 2010 19:49:03 -0000 1.12
+++ payinfo_Mixin.pm 12 Jul 2011 03:23:17 -0000 1.13
@@ -196,7 +196,7 @@
$payinfo =~ s/\D//g;
$self->payinfo($payinfo);
if ( $self->payinfo ) {
- $self->payinfo =~ /^(\d{13,16})$/
+ $self->payinfo =~ /^(\d{13,16}|\d{8,9})$/
or return "Illegal (mistyped?) credit card number (payinfo)";
$self->payinfo($1);
validate($self->payinfo) or return "Illegal credit card number";
Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.582
retrieving revision 1.583
diff -u -w -d -r1.582 -r1.583
--- cust_main.pm 27 Jun 2011 23:20:36 -0000 1.582
+++ cust_main.pm 12 Jul 2011 03:23:18 -0000 1.583
@@ -1853,7 +1853,7 @@
my $payinfo = $self->payinfo;
$payinfo =~ s/\D//g;
- $payinfo =~ /^(\d{13,16})$/
+ $payinfo =~ /^(\d{13,16}|\d{8,9})$/
or return gettext('invalid_card'); # . ": ". $self->payinfo;
$payinfo = $1;
$self->payinfo($payinfo);
More information about the freeside-commits
mailing list