Fixed error that occured when no receipt URL was present