Can't download forza motorsports 7

I bought the motosports 7 game by g2a, I put the code in the xbox app, but I can’t play, the button doesn’t release for download, it’s not available, could someone help me download the game?

Try to redeem the code through, and then see if you can download the game through the Xbox.