[freeside-commits] branch master updated. ccdadadf8126cf29438328c8b75e313b6d76897d

Ivan ivan at 420.am
Thu May 21 13:07:22 PDT 2015


The branch, master has been updated
       via  ccdadadf8126cf29438328c8b75e313b6d76897d (commit)
      from  904f7bbe9bebcaeb194a276eab8d8579fbd91b4a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ccdadadf8126cf29438328c8b75e313b6d76897d
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu May 21 13:07:19 2015 -0700

    don't apply  credit-card-surcharge-percentage to ACH, RT#34815

diff --git a/httemplate/misc/payment.cgi b/httemplate/misc/payment.cgi
index 12fca20..a48aa01 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') ) {

-----------------------------------------------------------------------

Summary of changes:
 httemplate/misc/payment.cgi |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list