hn.today

Stripe payment links that charge a buyer and deliver nothing

github.com17 points1 comments
Screenshot of Stripe payment links that charge a buyer and deliver nothing

Stripe Delivery Audit is a Python tool for finding active Stripe Payment Links that take payment without reliably delivering a product or instructions. It checks each link’s after-payment behavior: a Stripe-hosted confirmation page is rated high severity because the buyer sees only a receipt, while a redirect is critical if its destination is unreachable, returns an error, uses non-HTTPS, has almost no content, or is a “soft 404” that returns HTTP 200 while saying the page is missing. A redirect to a functioning page is marked OK. The soft-404 check is intended to catch broken delivery pages that ordinary status-code checks miss.

The script uses Python’s standard library and a read-only restricted Stripe key; it can also audit a saved export, produce JSON, require expected text, or classify links offline. Its optional fix mode generates an update plan and applies changes only when explicitly requested, leaving healthy links untouched. The project reports that a live audit of 56 active links found 43 using hosted confirmations and 11 pointing to HTTP 404s; after repairs, all 56 were rated OK. Nineteen network-free tests cover the checks. The tool audits Payment Links, not Checkout Sessions created in code, and checks destinations from the machine running it; it cannot determine whether a page delivers the correct product unless given expected text.

Read on github.com1 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Laravel Rust

Laravel Rust

Laravel for Rust is a full-stack web framework with routing, validation, database tools, background jobs, and real-time features. It also supports Inertia for frontend integration and is released under the MIT license. (github.com)

The Uberization of Software

The Uberization of Software

Ride-hailing apps greatly expanded demand for trips but undercut the value of taxi medallions and squeezed driver earnings by removing the supply limits that had protected them. The essay argues that software engineering faces a similar paradox: rising demand can lower workers’ pay when technology rapidly expands the supply of labor. (lsrx.net)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.