X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=LinkPoint.pm;h=f652f260e4bba0d2dfa3fe71e99724a49375223f;hb=4cdbf21dcd8dc41d61afc5301e5901b5625aa708;hp=0621ea036865fb55e0960ef56b7b94d39849714f;hpb=b0ba3efda840c1932881c5438c9a66b807a8e2ae;p=Business-OnlinePayment-LinkPoint.git diff --git a/LinkPoint.pm b/LinkPoint.pm index 0621ea0..f652f26 100644 --- a/LinkPoint.pm +++ b/LinkPoint.pm @@ -1,6 +1,6 @@ package Business::OnlinePayment::LinkPoint; -# $Id: LinkPoint.pm,v 1.15 2004-06-24 14:56:27 ivan Exp $ +# $Id: LinkPoint.pm,v 1.18 2004-06-24 15:17:49 ivan Exp $ use strict; use vars qw($VERSION @ISA @EXPORT @EXPORT_OK); @@ -150,10 +150,10 @@ sub submit { host port configfile keyfile result chargetotal cardNumber cardExpMonth cardExpYear - name email phone address city state zip country + name email phone addrnum city state zip country /); - $post_data{'order_type'} = $content{action}; + $post_data{'ordertype'} = $content{action}; if ( $content{'cvv2'} ) { $post_data{cvmindicator} = 'provided'; @@ -169,6 +169,8 @@ sub submit { #} %response = $lperl->curl_process(\%post_data); + warn "$_ => $response{$_}\n" for keys %response; + if ( $response{'r_approved'} eq 'APPROVED' ) { $self->is_success(1); $self->result_code($response{'r_code'});