X-Git-Url: http://git.freeside.biz/gitweb/?p=Business-OnlinePayment-Skipjack.git;a=blobdiff_plain;f=t%2Freturn_card_mc.t;h=a52c8d03d298d43bd4e156eddc221fd8e2331906;hp=75e2af7175c64377fc7925b4e900c660e20dfb62;hb=5aedd8b05907cc42933165dae3d0ff5917043a8a;hpb=9751024873641a07657bec7f11597ae18cf63207 diff --git a/t/return_card_mc.t b/t/return_card_mc.t index 75e2af7..a52c8d0 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'} || '000944785470'; +my $password = $ENV{'sj_devel_serial_number'} || '100594217288'; + $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,