From: Ivan Kohler Date: Sat, 20 Oct 2012 10:18:47 +0000 (-0700) Subject: pass currency flag with voids and refunds too, for Canadian Moneris, RT#18684 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=46ec838a84523aea3fcdcaf5280e35bdaeb91162;p=freeside.git 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 d2c0975a9..874d00aed 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+)$/) {