How does the back end of the payments submission work?