Correctly handle alerts; display receipt number as a url