X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_pay.pm;h=f057d2faf4f8fc01c751e36a547a098e58fae2ee;hb=a5a4afbb77bbdffc25ae94d10b645b0bcc76e859;hp=3772473bc1fe4d8564250599bbad6df55044153c;hpb=cccd0b7cd38a88c131e19981be38434f87abe194;p=freeside.git diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm index 3772473bc..f057d2faf 100644 --- a/FS/FS/cust_pay.pm +++ b/FS/FS/cust_pay.pm @@ -62,7 +62,8 @@ L and L for conversion functions. =item payby - `CARD' (credit cards), `CHEK' (electronic check/ACH), `LECB' (phone bill billing), `BILL' (billing), `PREP` (prepaid card), -`CASH' (cash), `WEST' (Western Union) or `COMP' (free) +`CASH' (cash), `WEST' (Western Union), `MCRD' (Manual credit card), or +`COMP' (free) =item payinfo - card number, check #, or comp issuer (4-8 lowercase alphanumerics; think username), respectively @@ -374,7 +375,7 @@ sub check { $self->_date(time) unless $self->_date; - $self->payby =~ /^(CARD|CHEK|LECB|BILL|COMP|PREP|CASH|WEST)$/ + $self->payby =~ /^(CARD|CHEK|LECB|BILL|COMP|PREP|CASH|WEST|MCRD)$/ or return "Illegal payby"; $self->payby($1);