summaryrefslogtreecommitdiff
path: root/httemplate/misc
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-05-21 13:07:19 -0700
committerIvan Kohler <ivan@freeside.biz>2015-05-21 13:07:19 -0700
commitccdadadf8126cf29438328c8b75e313b6d76897d (patch)
tree4670250ce54195ba5af8e4f2d67ec6727d059712 /httemplate/misc
parent904f7bbe9bebcaeb194a276eab8d8579fbd91b4a (diff)
don't apply credit-card-surcharge-percentage to ACH, RT#34815
Diffstat (limited to 'httemplate/misc')
-rw-r--r--httemplate/misc/payment.cgi6
1 files changed, 5 insertions, 1 deletions
diff --git a/httemplate/misc/payment.cgi b/httemplate/misc/payment.cgi
index 12fca2086..a48aa0120 100644
--- a/httemplate/misc/payment.cgi
+++ b/httemplate/misc/payment.cgi
@@ -17,7 +17,11 @@
'process-display' => scalar($conf->config('manual_process-display')),
'process-skip_first' => $conf->exists('manual_process-skip_first'),
'num_payments' => scalar($cust_main->cust_pay),
- 'surcharge_percentage' => scalar($conf->config('credit-card-surcharge-percentage')),
+ 'surcharge_percentage' =>
+ ( $payby eq 'CARD'
+ ? scalar($conf->config('credit-card-surcharge-percentage'))
+ : 0
+ ),
&>
% if ( $conf->exists('part_pkg-term_discounts') ) {