summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-04-08 17:39:28 -0700
committerIvan Kohler <ivan@freeside.biz>2014-04-08 17:39:28 -0700
commitd83690e6c6ec34f7767b22794b53cc9da60078f4 (patch)
tree35602548c3639df00c8e386b17992dd4cb1293a0 /t
parent3348212d55be92c7ad71a8410e7d6153a3e5f709 (diff)
Pass AVS and CVV information
Diffstat (limited to 't')
-rw-r--r--t/capture_ca.t3
-rw-r--r--t/capture_us.t3
-rw-r--r--t/credit_card_ca.t3
-rw-r--r--t/credit_card_us.t3
4 files changed, 12 insertions, 0 deletions
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();