X-Git-Url: http://git.freeside.biz/gitweb/?p=Business-OnlinePayment-Skipjack.git;a=blobdiff_plain;f=t%2Fvoid_card_visa.t;h=c876bb4109014f556d8844573ac769436158f27f;hp=451278ac4f15793e434aaca85b055a0689ec2aca;hb=5aedd8b05907cc42933165dae3d0ff5917043a8a;hpb=fc86c68c3af2bc3e5fcf870f3fc026e0b6069f93 diff --git a/t/void_card_visa.t b/t/void_card_visa.t index 451278a..c876bb4 100644 --- a/t/void_card_visa.t +++ b/t/void_card_visa.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 => '000368452762', # "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 => '4445999922225', expiration => '03/10', - cvv2 => '999', + #cvv2 => '123', name => 'Tofu Beast', address => '8320', city => 'Anywhere', @@ -46,8 +50,8 @@ my $v_tx = new Business::OnlinePayment("Skipjack"); $v_tx->content( type => 'VISA', - login => '000368452762', # "HTML serial number" - password => '100594217288', # "developer serial number" + login => $login, # "HTML serial number" + password => $password, # "Developer serial number" action => 'Void', description => 'Business::OnlinePayment::Skipjack test', order_number => $tx->order_number(),