<!doctype html>

<meta charset="utf-8">

<script>

  const html = decodeURIComponent(location.hash.slice(1));

  history.replaceState(null, "", location.pathname);

  document.open();

  document.write(html || "<p>No receipt HTML received.</p>");

  document.close();

</script>