updated sales engine to find customers with  pending transactions