Ive sold on Ebay for over a decade pretty heavily. Maybe 10,000 transactions over the years from collecting, a bit reselling etc so you kinda learn tricks, you pick up on little things...
That said no, never been scammed for a code and its likely due to the tiny extra effort of shipping the code. Doesn't sound like much but a tracking number makes their life just hard enough to avoid an issue.