diff options
author | ivan <ivan> | 2003-10-15 09:41:43 +0000 |
---|---|---|
committer | ivan <ivan> | 2003-10-15 09:41:43 +0000 |
commit | 94eb1849a28630ef039eb644f961dae8b19f58fc (patch) | |
tree | 64a09ad2f2e5b394af5a734f50b8d23edfc5f1da | |
parent | 948043dcd53db87a686707469416e6709948e721 (diff) |
- Business::OnlinePayment "recurring_billing" flag is set for subsequent
credit card transactions; some processors (AuthorozeNet, others?) use this
to waive the CVV2 requirement.
-rw-r--r-- | FS/FS/cust_main.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 2ee8a42f0..58cfc0c76 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -1653,6 +1653,12 @@ sub realtime_bop { $content{card_number} = $self->payinfo; $self->paydate =~ /^\d{2}(\d{2})[\/\-](\d+)[\/\-]\d+$/; $content{expiration} = "$2/$1"; + if ( qsearch('cust_pay', { 'custnum' => $self->custnum, + 'payby' => 'CARD', + 'payinfo' => $self->payinfo, } ) + ) { + $content{recurring_billing} = 'YES'; + } } elsif ( $method eq 'ECHECK' ) { my($account_number,$routing_code) = $self->payinfo; ( $content{account_number}, $content{routing_code} ) = |