diff options
author | Mark Wells <mark@freeside.biz> | 2015-02-05 21:23:49 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2015-02-05 21:23:49 -0800 |
commit | 75376ff74b19545bf7ee5b66a298ffd4285c5383 (patch) | |
tree | d43447d75522acd723c2fef00c8543397aece25a /test.pl | |
parent | 815272d8c928caa24ca0daa9365d7b9e05b20a94 (diff) |
unbreak this code
Diffstat (limited to 'test.pl')
-rwxr-xr-x[-rw-r--r--] | test.pl | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl -w -d # # Make sure to copy Business::OnlinePayment::vSecureProcessing into its @@ -9,7 +9,7 @@ use strict; use Business::OnlinePayment; my %opt = ( - url =>'dvrotsos2.kattare.com', + server =>'dvrotsos2.kattare.com', platform => 'Buypass', gid => '1432479912596791', tid => '01', @@ -38,7 +38,10 @@ main(); sub main { my $transaction = Business::OnlinePayment->new("vSecureProcessing", %opt); + #$transaction->server('localhost'); + #$transaction->path('/cgi-bin/test.cgi'); $transaction->content(%content); + $DB::single = 1; eval { $transaction->submit(); }; if ( $@ ) { |