summaryrefslogtreecommitdiff
path: root/t/credit_card.t
diff options
context:
space:
mode:
authorivan <ivan>2005-11-07 11:10:08 +0000
committerivan <ivan>2005-11-07 11:10:08 +0000
commit32073e637db2c5c91b726072f891c36ebd8b3d10 (patch)
tree640c38906b1a49f820075b8521ac56fad9b2abd2 /t/credit_card.t
parent71f81652cd1bd62d0962647ffb19bf49d681f726 (diff)
- Switch from GET to POST, as per old 1.5 prerelease from Michael
Lehmkuhl <michael@electricpulp.com> - 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
Diffstat (limited to 't/credit_card.t')
-rw-r--r--t/credit_card.t5
1 files changed, 2 insertions, 3 deletions
diff --git a/t/credit_card.t b/t/credit_card.t
index 3878374..62b6c8d 100644
--- a/t/credit_card.t
+++ b/t/credit_card.t
@@ -10,9 +10,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',