Clue: 17 flap to purchase, we hear (5)
Answer: TABBY
Explanation: Definition: 17
A charade of TAB ('flap') plus BY, which is intended to sound like ('we hear'; oh no, we don't) BUY ('purchase'). Puck's point is that the word BY – by itself – does sound like BUY.