F2P Microtransaction sales confusion: When/why/how does Epic get a cut?

If the store is actually in the game, then you would have to pay royalty.