Look for SMS on Sale in the downloads area. This shows how to do what you're looking to do; you might want to put it earlier or later in the process, but at least you can get some ideas from looking at this.

Good luck,
Scott