added code to quickly send all information in $_SERVER, $_REQUEST and $_COOKIE to aid inreplicating errors

added code so receipts come out correctly and display information about errors. and relay response updates transaction immediatly