I also have had lots of trouble attempting to complete an ARB
transaction. I used the code that is referenced to by the Integration
Guide here: http://developer.authorize.net/samplecode. I'm using the PHP
sample code, slightly modified only a little....