[ic] Patch for BusinessOnlinePayment.pm
Bill Carr
bill at bottlenose-wine.com
Wed Feb 10 19:45:48 UTC 2010
They way this is currently written the value of the extra parameter never gets to the payment module.
--- interchange-git/lib/Vend/Payment/BusinessOnlinePayment.pm 2009-11-10 19:04:32.000000000 -0500
+++ interchange/lib/Vend/Payment/BusinessOnlinePayment.pm 2010-02-10 14:39:45.000000000 -0500
@@ -299,7 +299,7 @@
my @extra = split /[\s,\0]+/, $opt->{extra_query_params};
for (@extra) {
my ( $k, $v ) = split /=/, $_;
- $k ||= $v;
+ $v ||= $k;
$params{$k} = $opt->{$v} || charge_param($v);
}
Bill Carr
Bottlenose - Wine & Spirits eBusiness Specialists
(413) 584-0400
http://www.bottlenose-wine.com
More information about the interchange-users
mailing list