I had a company test my card once when I was buying software online. They tested my card to make sure there was enough balance to cover it. Then refunded the charge and then charged the correct amount. That's how its done. Just in case it wasnt clear from anyone else.
Freaked me out at first too because I didn't know that is what they do.