From 32073e637db2c5c91b726072f891c36ebd8b3d10 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 7 Nov 2005 11:10:08 +0000 Subject: - Switch from GET to POST, as per old 1.5 prerelease from Michael Lehmkuhl - Don't check expiration for ECHECK and refunds - For the unsupported "void" action, return is_success 0 and error msg suggesting "credit" action, instead of croaking. This way the "try void first, if it fails, try credit" idiom will work. - tests: enable check.t and add crypt_check.t and {crypt_}bad_check.t - update with new test account --- t/crypt_bad_card.t | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 't/crypt_bad_card.t') diff --git a/t/crypt_bad_card.t b/t/crypt_bad_card.t index 9e10fc2..572b187 100644 --- a/t/crypt_bad_card.t +++ b/t/crypt_bad_card.t @@ -14,9 +14,8 @@ use Business::OnlinePayment; my $tx = new Business::OnlinePayment("OpenECHO"); $tx->content( type => 'VISA', - #login => '123>4684752', - login => '1234684752', - password => '54321420', + 'login' => '123>4685706', + 'password' => '09437869', action => 'Normal Authorization', description => 'Business::OnlinePayment visa test', amount => '49.95', -- cgit v1.2.1