initial spike
iap gateway changes for 045
Fix issue where duplicate records were being inserted