X-Git-Url: http://git.freeside.biz/gitweb/?p=Business-OnlinePayment-IPPay.git;a=blobdiff_plain;f=t%2Fcheck.t;fp=t%2Fcheck.t;h=5eafd6e246960d5656e176ccdd5a6b6ee1ff95fd;hp=892f3679e1ae4e23e13bd1e8935d5ef9b887e462;hb=8552a65db4413334d7755f6c1228da3dcdb92dcc;hpb=327f376d26a38ae2f1a02ca9a53fad43464b087b diff --git a/t/check.t b/t/check.t index 892f367..5eafd6e 100644 --- a/t/check.t +++ b/t/check.t @@ -4,7 +4,7 @@ use Test::More; require "t/lib/test_account.pl"; my($login, $password, %opt) = test_account_or_skip('check'); -plan tests => 16; +plan tests => 11; use_ok 'Business::OnlinePayment'; @@ -40,19 +40,20 @@ my $voidable; $voidable = $ctx->order_number if $ctx->is_success; } -#check void test -{ - my $ctx = Business::OnlinePayment->new("IPPay", %opt); - $ctx->content(%content, action => 'void', order_number => $voidable); - tx_check( - $ctx, - desc => 'ACH void transaction', - is_success => 1, - result_code => '000', - error_message => 'CHECK ACCEPTED', - authorization => qr/^000000$/, - ); -} +#VOIDACH transactions are no longer supported. Please contact support@ippay.com for questions. +##check void test +#{ +# my $ctx = Business::OnlinePayment->new("IPPay", %opt); +# $ctx->content(%content, action => 'void', order_number => $voidable); +# tx_check( +# $ctx, +# desc => 'ACH void transaction', +# is_success => 1, +# result_code => '000', +# error_message => 'CHECK ACCEPTED', +# authorization => qr/^000000$/, +# ); +#} #check credit test {