Your variable appears to be not a hash, but a hash ref (although I am guessing, you're not saying enough). You probably need to dereference it. Something like this:
sub other_subroutine {
my $href = shift;
my $product = $href->{Product};
my $tax = $href->{basetax};
# ...