#1286 - updated usaepay code