Committer: amyshkin
LJSUP-10748: Free2payU trunk/cgi-bin/LJ/Widget/Shop/View/Wallet.pm
Modified: trunk/cgi-bin/LJ/Widget/Shop/View/Wallet.pm =================================================================== --- trunk/cgi-bin/LJ/Widget/Shop/View/Wallet.pm 2012-01-30 15:15:39 UTC (rev 11367) +++ trunk/cgi-bin/LJ/Widget/Shop/View/Wallet.pm 2012-01-31 05:43:25 UTC (rev 11368) @@ -114,6 +114,7 @@ my $sid = $LJ::FREE_TOKENS->{'freetopay'}->{'sid'}; my $key = $LJ::FREE_TOKENS->{'freetopay'}->{'secretA'}; my $url = $LJ::FREE_TOKENS->{'freetopay'}->{'url'}; + my $limit = $LJ::FREE_TOKENS->{'freetopay'}->{'limit'}; my $uid = $remote ? $remote->id : 0; my $transac_id = $transac_id; my $location = $remote ? $remote->prop('city') || '' : ''; @@ -121,7 +122,7 @@ $sex = '' if $sex eq 'U'; my $age = $remote ? $remote->best_guess_age : 0; - my $sig = md5_hex( join( ':', ($sid, $uid, $transac_id, $sex, $age, $location, $key ))); + my $sig = md5_hex( join( ':', ($sid, $uid, $transac_id, $sex, $age, $location, '', '', $limit, $key ))); return { 'siteroot' => $LJ::SITEROOT, @@ -146,7 +147,7 @@ offerpal_url => $LJ::OFFERPAL_URL . $remote->userid, offerpal_disabled => $LJ::DISABLED{'offerpal'}, - 'ftp_url' => $url . '?' . join( '&', "sid=$sid", "uid=$uid", "transac_id=$transac_id", "sex=$sex", "age=$age", "location=$location", "sig=$sig" ), + 'ftp_url' => $url . '?' . join( '&', "sid=$sid", "uid=$uid", "transac_id=$transac_id", "sex=$sex", "age=$age", "location=$location", "email=", "campaign=", "limit=$limit", "sig=$sig" ), }; }