My german friend will redeem the gift link first (this can take a day or two), then I will pay you bitcoin.
I think you should offer to use escrow. You pay the escrow, the sender will send the gift code to you, you can check if it works or not and then the coins can be released to the sender.