X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=t%2Freturn_card_mc.t;h=81577e74a1a1e676491b2a208b87fcb65d2ca0a7;hb=5c59f720b68d1f01f953b5e1e836b034ce13b5a2;hp=75e2af7175c64377fc7925b4e900c660e20dfb62;hpb=9751024873641a07657bec7f11597ae18cf63207;p=Business-OnlinePayment-Skipjack.git diff --git a/t/return_card_mc.t b/t/return_card_mc.t index 75e2af7..81577e7 100644 --- a/t/return_card_mc.t +++ b/t/return_card_mc.t @@ -14,15 +14,19 @@ my $tx = new Business::OnlinePayment("Skipjack"); #$Business::OnlinePayment::Skipjack::DEBUG = 1; #$Business::OnlinePayment::Skipjack::DEBUG = 1; +my $login = $ENV{'sj_html_serial_number'} || '000843232776'; +my $password = $ENV{'sj_devel_serial_number'} || '100025931874'; + $tx->content( type => 'VISA', - login => '000944785470', # "HTML serial number" + login => $login, # "HTML serial number" + password => $password, # "Developer serial number" action => 'Normal Authorization', description => 'Business::OnlinePayment::Skipjack test', amount => '32', card_number => '5121212121212124', expiration => '03/10', - cvv2 => '999', + #cvv2 => '999', name => 'Tofu Beast', address => '8320', city => 'Anywhere', @@ -48,8 +52,8 @@ my $cr_tx = new Business::OnlinePayment("Skipjack"); $cr_tx->content( type => 'VISA', - login => '000944785470', # "HTML serial number" - password => '100594217288', # "developer serial number" + login => $login, # "HTML serial number" + password => $password, # "Developer serial number" action => 'Credit', description => 'Business::OnlinePayment::Skipjack test', amount => 11,