summaryrefslogtreecommitdiff
path: root/httemplate/misc/process
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-02-25 11:27:03 -0600
committerJonathan Prykop <jonathan@freeside.biz>2016-02-25 11:55:37 -0600
commit5c98d3c21d07442fcf6d5a21aaef3e1fd5a206ca (patch)
tree7b5071aa9545d558ef1add2b934ac2fcfa8a5324 /httemplate/misc/process
parentfbba36b298b90d72884e8a46b74e9fd7b67b4d34 (diff)
RT#30600: Auto Apply for CC payments [no_invnum flag]
Diffstat (limited to 'httemplate/misc/process')
-rw-r--r--httemplate/misc/process/payment.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/httemplate/misc/process/payment.cgi b/httemplate/misc/process/payment.cgi
index 7da7beff0..a475786dd 100644
--- a/httemplate/misc/process/payment.cgi
+++ b/httemplate/misc/process/payment.cgi
@@ -219,6 +219,7 @@ if ( $cgi->param('batch') ) {
'paynum_ref' => \$paynum,
'discount_term' => $discount_term,
'no_auto_apply' => ($cgi->param('apply') eq 'never') ? 'Y' : '',
+ 'no_invnum' => 1,
map { $_ => scalar($cgi->param($_)) } @{$payby2fields{$payby}}
);
errorpage($error) if $error;