summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-10-20 03:31:00 -0700
committerIvan Kohler <ivan@freeside.biz>2012-10-20 03:31:00 -0700
commitf5c484dc3879f7e2e5eecca5614cf7236594ba1a (patch)
tree756940202af6f690be740f2517c3fbe5af8b81e5
parent0f3edcfc6b841251c08742a607d4fbaa1769baea (diff)
pass currency flag with voids and refunds too, for Canadian Moneris, RT#18684
-rw-r--r--FS/FS/cust_main/Billing_Realtime.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/FS/FS/cust_main/Billing_Realtime.pm b/FS/FS/cust_main/Billing_Realtime.pm
index f9f90a7dc..ad2bdf98f 100644
--- a/FS/FS/cust_main/Billing_Realtime.pm
+++ b/FS/FS/cust_main/Billing_Realtime.pm
@@ -1444,6 +1444,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+)$/) {