summaryrefslogtreecommitdiff
path: root/httemplate/misc/process/payment.cgi
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:30:20 -0600
commitc790ded0e7c4724048ab103532946ae8a66befd4 (patch)
treef0325068b29d0881ab34981d3fc224f0e0e8342f /httemplate/misc/process/payment.cgi
parente20d5b22c42670855f0ec5e666078788b9e5aebe (diff)
RT#30600: Auto Apply for CC payments [no_invnum flag]
Diffstat (limited to 'httemplate/misc/process/payment.cgi')
-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 a3cfbaeb6..d232fe729 100644
--- a/httemplate/misc/process/payment.cgi
+++ b/httemplate/misc/process/payment.cgi
@@ -232,6 +232,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;