From d83690e6c6ec34f7767b22794b53cc9da60078f4 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 8 Apr 2014 17:39:28 -0700 Subject: Pass AVS and CVV information --- t/capture_ca.t | 3 +++ t/capture_us.t | 3 +++ t/credit_card_ca.t | 3 +++ t/credit_card_us.t | 3 +++ 4 files changed, 12 insertions(+) (limited to 't') diff --git a/t/capture_ca.t b/t/capture_ca.t index 460ea7c..b233d11 100644 --- a/t/capture_ca.t +++ b/t/capture_ca.t @@ -25,6 +25,9 @@ $tx->content( # name => 'eSelectPlus Tester', card_number => '4242424242424242', expiration => '12/14', + cvv2 => '123', + address => '1234 Tofu Lane', + zip => 'L3T 2C6', ); $tx->test_transaction(1); # test, dont really charge diff --git a/t/capture_us.t b/t/capture_us.t index f5952df..2da01cd 100644 --- a/t/capture_us.t +++ b/t/capture_us.t @@ -24,6 +24,9 @@ $tx->content( # name => 'eSelectPlus Tester', card_number => '4242424242424242', expiration => '12/12', + cvv2 => '123', + address => '1234 Tofu Lane', + zip => '543215454', # invoice_number => 'freeform', ); diff --git a/t/credit_card_ca.t b/t/credit_card_ca.t index a0d5835..a421d83 100644 --- a/t/credit_card_ca.t +++ b/t/credit_card_ca.t @@ -23,6 +23,9 @@ $tx->content( currency => 'CAD', card_number => '4242424242424242', expiration => '01/12', + cvv2 => '123', + address => '1234 Tofu Lane', + zip => 'L3T 2C6', ); $tx->test_transaction(1); # test, dont really charge $tx->submit(); diff --git a/t/credit_card_us.t b/t/credit_card_us.t index a857ae3..c24532f 100644 --- a/t/credit_card_us.t +++ b/t/credit_card_us.t @@ -23,6 +23,9 @@ $tx->content( currency => 'USD', card_number => '4242424242424242', expiration => '01/12', + cvv2 => '123', + address => '1234 Tofu Lane', + zip => '543215454', ); $tx->test_transaction(1); # test, dont really charge $tx->submit(); -- cgit v1.2.1