PCMall/widgetti-ecost — pull request #8 by ace-dev3 (2013-07-30 11:04:00+00:00)
Title: SRC119046: Invalid AUF Records

Problem: There are times when AUF record with no auth code and bad status (status id = 3) gets inserted into the database. This cause problems when processing the order in Beso's side.

Solution: Check previous AUF record for the given order number, and then use the previous AUF record to build the logic whether the current AUF record should be saved or not. If it was decided that the current AUF record should not be inserted into the database, then gather the request id and order number from the current AUF record and log it.