added succesful payments handling