projects
/
Business-OnlinePayment-TransactionCentral.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.06!
[Business-OnlinePayment-TransactionCentral.git]
/
t
/
credit_card.t
diff --git
a/t/credit_card.t
b/t/credit_card.t
index
eccbf01
..
d65487b
100644
(file)
--- a/
t/credit_card.t
+++ b/
t/credit_card.t
@@
-7,6
+7,9
@@
if ( $@ ) {
use Business::OnlinePayment;
use Business::OnlinePayment;
+require "t/lib/test_account.pl";
+my($login, $regkey) = test_account_or_skip();
+
my $tx = new Business::OnlinePayment("TransactionCentral");
#$Business::OnlinePayment::HTTPS::DEBUG = 1;
my $tx = new Business::OnlinePayment("TransactionCentral");
#$Business::OnlinePayment::HTTPS::DEBUG = 1;
@@
-16,8
+19,8
@@
my $tx = new Business::OnlinePayment("TransactionCentral");
$tx->content(
type => 'VISA',
$tx->content(
type => 'VISA',
- login =>
'10011'
,
- password =>
'KK48NPYEJHMAH6DK', #regkey
+ login =>
$login
,
+ password =>
$regkey,
action => 'Normal Authorization',
description => 'Business::OnlinePayment::TransactionCentral test',
amount => '32',
action => 'Normal Authorization',
description => 'Business::OnlinePayment::TransactionCentral test',
amount => '32',