in your previous message you say:
is using your local testing server, this isn't working because the settings are for the remote server.
is using the remote server which is working except that you are getting the payment failure page.
you need to be using the live server address for testing not the localhost address
on the payment failure page add the code that i provided in my previous response so that we can troubleshoot why the transaction is not working, until I know the full request and response info, i wont be able to troubleshoot the transaction failure.