[freeside-commits] freeside/FS/FS cust_pay_void.pm, 1.14.2.1, 1.14.2.2
Ivan,,,
ivan at wavetail.420.am
Thu Jan 12 19:37:03 PST 2012
- Previous message: [freeside-commits] freeside/FS/FS cust_pay_void.pm,1.15,1.16
- Next message: [freeside-commits] freeside/FS/FS Conf.pm, 1.499, 1.500 Mason.pm, 1.88, 1.89 Schema.pm, 1.350, 1.351 cust_location.pm, 1.12, 1.13 cust_main.pm, 1.600, 1.601 cust_main_county.pm, 1.26, 1.27 geocode_Mixin.pm, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv27022
Modified Files:
Tag: FREESIDE_2_3_BRANCH
cust_pay_void.pm
Log Message:
fix voids of CF transactions, RT#16050
Index: cust_pay_void.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_pay_void.pm,v
retrieving revision 1.14.2.1
retrieving revision 1.14.2.2
diff -u -w -d -r1.14.2.1 -r1.14.2.2
--- cust_pay_void.pm 22 Jul 2011 17:27:11 -0000 1.14.2.1
+++ cust_pay_void.pm 13 Jan 2012 03:37:01 -0000 1.14.2.2
@@ -211,7 +211,8 @@
or return "Illegal (mistyped?) credit card number (payinfo)";
$self->payinfo($1);
validate($self->payinfo) or return "Illegal credit card number";
- return "Unknown card type" if cardtype($self->payinfo) eq "Unknown";
+ return "Unknown card type" if $self->payinfo !~ /^99\d{14}$/ #token
+ && cardtype($self->payinfo) eq "Unknown";
} else {
$self->payinfo('N/A');
}
- Previous message: [freeside-commits] freeside/FS/FS cust_pay_void.pm,1.15,1.16
- Next message: [freeside-commits] freeside/FS/FS Conf.pm, 1.499, 1.500 Mason.pm, 1.88, 1.89 Schema.pm, 1.350, 1.351 cust_location.pm, 1.12, 1.13 cust_main.pm, 1.600, 1.601 cust_main_county.pm, 1.26, 1.27 geocode_Mixin.pm, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list