Stripe payment links that charge a buyer and deliver nothing github.com · 13 poi...

@best

Stripe payment links that charge a buyer and deliver nothing github.com · 13 points · 0 comments · HN thread

TL;DR A GitHub project, stripe-delivery-audit, is a standard-library Python script that scans every active Stripe Payment Link on an account and reports where buyers land after paying. It flags links that show only Stripe's receipt or redirect to dead or soft-404 pages, and can apply a fix template to broken links. The author reports a live run on 56 links that were all repaired to a clean audit. The thread has no comments yet, so the story has had no community discussion.

  • Payment Links with the default after_completion setting show only Stripe's receipt, so buyers pay and get no file or instructions.
  • Redirect links break silently when the destination moves; the buyer pays and lands on a 404.
  • The script classifies each link as CRITICAL, HIGH or OK, and detects soft 404s (HTTP 200 with 'page not found' content) that plain status checks miss.
  • It runs with a read-only restricted Stripe key, supports offline classification and saved exports, and returns CI-friendly exit codes.
  • --fix-template produces an update plan and writes nothing until --apply is given; healthy links are left untouched.
  • Limitations: it audits only Payment Links, not Checkout Sessions created in code, and checks destinations from the user's own network, so CDN-specific failures can be missed.

#stripe #payments #python #ecommerce #auditing