blob: 69f8c8977c9c48aa4f5f8ffe9f3ede2ce9210b95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
sub test_account {
# fill all these fields in to test out transactions
my %opts = (
server =>'', # be sure to leave out the 'https://'
platform => '',
gid => '',
tid => '',
userid=> 'name@server.com',
port => 443,
env => 'test',
appid => ''
);
return %opts;
}
sub expiration_date {
my($month, $year) = (localtime)[4,5];
$month += 1;
$year++; # So we expire next year.
$year %= 100;
return sprintf("%02d/%02d", $month, $year);
}
1;
|