Added backwards-compatible support for avs_response
[Business-OnlinePayment-InternetSecure.git] / t / 20emit.t
index 2fca9bd..cc3ff0e 100755 (executable)
@@ -17,7 +17,7 @@ use constant TRANSACTIONS => (
 
                type            => 'Visa',
                card_number     => '4111 1111 1111 1111',
-               exp_date        => '2004-07',
+               expiration      => '2004-07',
                cvv2            => '000',
 
                name            => "Fr\N{LATIN SMALL LETTER E WITH ACUTE}d\N{LATIN SMALL LETTER E WITH ACUTE}ric Bri\N{LATIN SMALL LETTER E WITH GRAVE}re",
@@ -59,9 +59,9 @@ use constant TRANSACTIONS => (
                action          => 'Normal Authorization',
 
                card_number     => '5111-1111-1111-1111',
-               exp_date        => '7/2004',
+               expiration      => '7/2004',
 
-               name            => "Fr\x{e9}d\x{e9}ric Bri\x{e8}re",
+               name            => "\x{201c}Fr\x{e9}d\x{e9}ric Bri\x{e8}re\x{201d}",
 
                amount          => 12.95,
                description     => "Box o' goodies",
@@ -74,7 +74,7 @@ use constant TRANSACTIONS => (
                action          => 'Normal Authorization',
 
                card_number     => '5111-1111-1111-1111',
-               exp_date        => '0704',
+               expiration      => '0704',
 
                name            => "Fr\x{e9}d\x{e9}ric Bri\x{e8}re",
 
@@ -141,7 +141,7 @@ __DATA__
   <CVV2>0</CVV2>
   <CVV2Indicator></CVV2Indicator>
   <Products>12.95::1::::Box o' goodies::{USD}{GST}{TEST}</Products>
-  <xxxName>Frédéric Brière</xxxName>
+  <xxxName>?Frédéric Brière?</xxxName>
   <xxxCompany></xxxCompany>
   <xxxAddress></xxxAddress>
   <xxxCity></xxxCity>