How can we automate the testing of the back end process? i.e. how can we automate the verification of the success / failure of the processing of a transaction?
I don't know background of your problem, but I assume that you should be able to verify the state of the transaction.
If you want to give somebody a fish, you'll do better if you teach him how to catch it.