finds.dev

stripe-archive/stripe-payments-demo

Sample store accepting universal payments on the web with Stripe Elements, Payment Request, Apple Pay, Google Pay, Microsoft Pay, and the PaymentIntents API. 💳🌍✨

View on GitHubHomepage ↗

★ 1,498JavaScriptMITupdated Apr 2022

// the take

An official Stripe demo showing how to wire up Elements, PaymentIntents, and the Sources API together in one sample storefront. It covers cards, Apple/Google Pay, and a dozen redirect-based methods (iDEAL, SEPA, WeChat, etc.). Archived since 2022 and no longer maintained.

Six server implementations (Node, Go, Java, Python, PHP, Ruby) sharing the same API surface — useful for seeing how the same Stripe flow maps across languages. Webhook signing verification is included out of the box rather than left as an exercise. The ngrok integration for local HTTPS is a practical touch that most tutorials skip. Country-based payment method suggestion is a decent pattern to copy for international checkout.

Officially archived and frozen at 2022 Stripe API versions — the Sources API it leans on for redirect methods is now deprecated in favor of PaymentMethods and the newer Payment Element. Anyone adopting this as a reference will be building on patterns Stripe itself has moved away from. No tests in any of the server implementations. Using Stripe as the product datastore is a cute trick for a demo but will mislead anyone who copies it into production.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
1,498
Forks
539
Language
JavaScript
License
MIT
Last commit
19 Apr 2022

// nearby

If stripe-payments-demo isn't quite it.

All repos →