Checks all fields to make sure this is a valid transaction. If there is
an error, returns the error, otherwise returns false. Called by the insert
-and repalce methods.
+and replace methods.
=cut
or return "Illegal payby";
$self->payby($1);
- #$error = FS::payby::payinfo_check($self->payby, \$self->payinfo);
- #return $error if $error;
+ $error = FS::payby::payinfo_check($self->payby, \$self->payinfo);
+ return $error if $error;
if ( $self->exp eq '' ) {
return "Expiration date required"