Skip to content

About

Simple PE demo with no deps

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Payment Element (Dahlia) — bare bones

Minimal static page + tiny Node server: creates a Checkout Session (ui_mode: elements) with API version 2026-05-27.dahlia, loads Stripe.js Dahlia (https://js.stripe.com/dahlia/stripe.js), mounts the Payment Element via initCheckoutElementsSdk, and confirms on Pay.

Test keys are hardcoded in index.js and public/app.js (swap for your own for production).

npm start

Open http://localhost:4242.

Endpoint

  • POST /create-checkout-session — { client_secret } for Elements

pe-ewcs-nodep

About

Simple PE demo with no deps

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages