projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f3edcf
)
pass currency flag with voids and refunds too, for Canadian Moneris, RT#18684
author
Ivan Kohler
<ivan@freeside.biz>
Sat, 20 Oct 2012 10:31:00 +0000
(
03:31
-0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Sat, 20 Oct 2012 10:31:00 +0000
(
03:31
-0700)
FS/FS/cust_main/Billing_Realtime.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main/Billing_Realtime.pm
b/FS/FS/cust_main/Billing_Realtime.pm
index
f9f90a7
..
ad2bdf9
100644
(file)
--- 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+)$/) {