Here are a few ways you might avoid this problem in the future.

Also consider snapping a picture of your gift card number with your smartphone.

Check out their article below for even more tips on how to protect yourself.