It prompts you to pay as you go along. So you pay IHS first, then the application at the end.
The VFS (options) are paid for at any time (priority and shipping). VFS can be quite buggy, so best to do this a couple of days before you are ready to send your application (if using it).