Make that test transaction truly minimal
authorfbriere <fbriere>
Sat, 18 Feb 2006 00:34:35 +0000 (00:34 +0000)
committerfbriere <fbriere>
Sat, 18 Feb 2006 00:34:35 +0000 (00:34 +0000)
t/20emit.t

index 62baea7..1f24ea1 100755 (executable)
@@ -31,7 +31,7 @@ use constant TRANSACTIONS => (
                email           => 'fbriere@fbriere.net',
 
                amount          => undef,
-               currency        => 'CAD',
+               currency        => 'USD',
                taxes           => 'GST PST',
 
                description => [
@@ -57,16 +57,12 @@ use constant TRANSACTIONS => (
 
                action          => 'Normal Authorization',
 
-               type            => 'MasterCard',
                card_number     => '5111-1111-1111-1111',
                exp_date        => '7/2004',
 
                name            => "Fr\x{e9}d\x{e9}ric Bri\x{e8}re",
 
                amount          => 12.95,
-               currency        => 'USD',
-               taxes           => '',
-               description     => "Box o' goodies",
        },
 );
 
@@ -99,7 +95,7 @@ __DATA__
   <xxxCCYear>2004</xxxCCYear>
   <CVV2>1</CVV2>
   <CVV2Indicator>000</CVV2Indicator>
-  <Products>9.99::5::a 001::Some product::{CAD}{GST}{PST}|5.65::1::::Shipping::{CAD}{GST}{PST}|10.00::1::::Some HST example::{CAD}{HST}</Products>
+  <Products>9.99::5::a 001::Some product::{USD}{GST}{PST}|5.65::1::::Shipping::{USD}{GST}{PST}|10.00::1::::Some HST example::{USD}{HST}</Products>
   <xxxName>Frédéric Brière</xxxName>
   <xxxCompany></xxxCompany>
   <xxxAddress>123 Street</xxxAddress>
@@ -128,7 +124,7 @@ __DATA__
   <xxxCCYear>2004</xxxCCYear>
   <CVV2>0</CVV2>
   <CVV2Indicator></CVV2Indicator>
-  <Products>12.95::1::::Box o' goodies::{USD}{TEST}</Products>
+  <Products>12.95::1::::::{CAD}{TEST}</Products>
   <xxxName>Frédéric Brière</xxxName>
   <xxxCompany></xxxCompany>
   <xxxAddress></xxxAddress>