summaryrefslogtreecommitdiff
path: root/httemplate/misc/payment.cgi
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-05-11 11:29:36 -0400
committerChristopher Burger <burgerc@freeside.biz>2018-05-24 09:16:10 -0400
commitc85d36a31cd15e8d06f9dfc7d2591f918d278d89 (patch)
tree3fada4c45f3bab3ffe6ad396a6804a66daba2893 /httemplate/misc/payment.cgi
parenta8981b8fc11c032fd4fa1a3943c4785391a9ffb4 (diff)
RT# 79737 - Added ability to us a cc surcharge of a flat fee.
Conflicts: FS/FS/cust_main/Billing_Realtime.pm httemplate/elements/tr-select-payment_options.html
Diffstat (limited to 'httemplate/misc/payment.cgi')
-rw-r--r--httemplate/misc/payment.cgi5
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/misc/payment.cgi b/httemplate/misc/payment.cgi
index 4fa3df773..36ae77bdf 100644
--- a/httemplate/misc/payment.cgi
+++ b/httemplate/misc/payment.cgi
@@ -22,6 +22,11 @@
? scalar($conf->config('credit-card-surcharge-percentage', $cust_main->agentnum))
: 0
),
+ 'surcharge_flatfee:Q' =>
+ ( $payby eq 'CARD'
+ ? scalar($conf->config('credit-card-surcharge-flatfee', $cust_main->agentnum))
+ : 0
+ ),
&>
% if ( $conf->exists('part_pkg-term_discounts') ) {