It might be because you're using a debit card and not a credit card... I think usually they issue a pending charge / authorization, and it remains pending. It should be refunded as soon as they receive the battery, in any event, though.
.
Lots of places do things like this, including gas stations. They basically block out a set amount of money so you can't overdraw and be like "lol not paying"