The gift card purchaser buys the card upfront, so if the gift card gets lost somewhere (or the giftee just decides never to redeem it), your restaurant still got paid upfront. The flipside to this, of course, is that if or when the gift card is used, the revenue has already been accounted for.