Awwwwwwwww...
I almost had a similar experience in secondary school but I had to beg my friends not to set me up. I couldn't imagine my pride bashed.
But I like the way it was handled
I walked off with as much dignity as I could muster (not much) and stopped mooning over him.
And to have him see you years after, that was good payback