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);
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';
#}
%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'});