my $passedprice=$query->param('price'); charge_credit_card($realprice+abs($realprice-$passedprice));