Try adding the error messages from UPS... that might tell you why it is sending to the failed page and allow you to correct the problem.
Mabe remove UPS and get everything working without it and add it back at the end so you can tell where things are going wrong.