While I understand why people are saying no, I do think there should be some consideration of this issue. It doesn't make sense, to me, that a character who picks up an item in a shop and then is unintentionally teleported should then receive an alignment drop if they had truly intended to pay for the item.
How about something a little more... interesting? Make it so that you can make an exchange with a shopkeeper by dropping money in their shop... but some shopkeepers might decide to "ignore" the money drop (and whether or not they "ignore" it, they would consider it theft if you try to pick it up again). It could also require more money - say, double - to buy an item by this method, as the shopkeeper needs to be convinced that they're not being ripped off by fake gold or something like that. But the alignment drop would be avoided, either way, through this approach.
Not a great solution as described, but it might inspire a better one from somebody else.