Two high wall behind the trap. Four glass blocks around a plate, with another set of four underneath those, with pistons beneath that, wired to the plate. Alternatively, just one layer of glass.
Lure a creeper back, hop over the trap and onto the glass wall, and (if pathfinding hasn't screwed it up) the creeper should get caught by the pistons.