RT# 82137 - default payment amount now has processing fee in total if processing...
[freeside.git] / httemplate / elements / tr-amount_fee.html
index 31877f1..7797f6c 100644 (file)
@@ -137,6 +137,8 @@ if ( $amount > 0 ) {
 
   $processing_fee = $opt{'processing_fee'} if $opt{'processing_fee'} > 0;
 
+  $amount += $processing_fee; ## needed if processing fee is checked on default.
+
   $amount = sprintf("%.2f", $amount);
 }