From f5c484dc3879f7e2e5eecca5614cf7236594ba1a Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sat, 20 Oct 2012 03:31:00 -0700 Subject: [PATCH] pass currency flag with voids and refunds too, for Canadian Moneris, RT#18684 --- FS/FS/cust_main/Billing_Realtime.pm | 4 ++++ 1 file changed, 4 insertions(+) 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+)$/) { -- 2.20.1