[freeside-commits] branch FREESIDE_3_BRANCH updated. 20a10242931eaf6ee17d3cdd0857a99449f9cfbe

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


The branch, FREESIDE_3_BRANCH has been updated
       via  20a10242931eaf6ee17d3cdd0857a99449f9cfbe (commit)
      from  6bf88c075270636dd11150941de53f152e6018a7 (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 20a10242931eaf6ee17d3cdd0857a99449f9cfbe
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu May 21 13:07:23 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