Revision history for Perl extension Business::OnlinePayment::IATSPayments.
+0.03 unreleased
+ - Correct default_ns for non-USD/CAD transactions, patch from Doug
+ Juhlin / Donor.com, thanks!
+
0.02 Sat Feb 15 12:45:24 PST 2014
- trim spaces from authorization (TRANSACTIONID)
- return numeric IATS error message as result_code
use SOAP::Lite;
#SOAP::Lite->import(+trace=>'debug');
-our $VERSION = '0.02';
+our $VERSION = '0.03_01';
$VERSION = eval $VERSION; # modperlstyle: convert the string into a number
sub _info {
my $uri = $base_uri. "ProcessLink.asmx?op=$action";
+ # never "uk.iatspayments.com"
+ my $default_ns = 'https://www.iatspayments.com/NetGate/';
+
my %data = map { $_ => $content{$_} } (qw(
agentCode
password
my $result = SOAP::Lite
->proxy($uri)
- ->default_ns($base_uri)
+ ->default_ns($default_ns)
#->on_action( sub { join '/', @_ } )
->on_action( sub { join '', @_ } )
->autotype(0)