[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 46ec838a84523aea3fcdcaf5280e35bdaeb91162

Ivan ivan at 420.am
Sat Oct 20 03:18:49 PDT 2012


The branch, FREESIDE_2_3_BRANCH has been updated
       via  46ec838a84523aea3fcdcaf5280e35bdaeb91162 (commit)
      from  7a4bb60025ac0566edf2f32b102e424bd2ebe21a (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 46ec838a84523aea3fcdcaf5280e35bdaeb91162
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Oct 20 03:18:47 2012 -0700

    pass currency flag with voids and refunds too, for Canadian Moneris, RT#18684

diff --git a/FS/FS/cust_main/Billing_Realtime.pm b/FS/FS/cust_main/Billing_Realtime.pm
index d2c0975..874d00a 100644
--- a/FS/FS/cust_main/Billing_Realtime.pm
+++ b/FS/FS/cust_main/Billing_Realtime.pm
@@ -1425,6 +1425,10 @@ sub realtime_refund_bop {
     if length($auth); #echeck/ACH transactions have an order # but no auth
                       #(at least with authorize.net)
 
+  my $currency =    $conf->exists('business-onlinepayment-currency')
+                 && $conf->config('business-onlinepayment-currency');
+  $content{currency} = $currency if $currency;
+
   my $disable_void_after;
   if ($conf->exists('disable_void_after')
       && $conf->config('disable_void_after') =~ /^(\d+)$/) {

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

Summary of changes:
 FS/FS/cust_main/Billing_Realtime.pm |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)




More information about the freeside-commits mailing list