No description
  • JavaScript 67%
  • Handlebars 24.7%
  • CSS 8.3%
Find a file
Bart Dorsey 4dbc92013c Fix charge amount and error display
- Convert the dollar amount to cents before charging, so $100 is no
  longer charged as $1.
- Show Stripe.js errors using response.error.message instead of the
  error object, which rendered as [object Object].
- Add a .fail() handler so error responses from the server are shown
  on the page.
2026-11-08 18:38:09 -06:00
.codesandbox Sandbox snapshot commit 2025-07-13 07:07:05 +00:00
.devcontainer Sandbox snapshot commit 2025-07-13 07:07:05 +00:00
public Fix charge amount and error display 2026-11-08 18:38:09 -06:00
src/pages Sandbox snapshot commit 2025-08-14 19:49:08 +00:00
package-lock.json Sandbox snapshot commit 2025-08-14 19:49:08 +00:00
package.json Sandbox snapshot commit 2025-08-14 19:49:08 +00:00
README.md Sandbox snapshot commit 2025-07-13 07:07:05 +00:00
server.js Fix charge amount and error display 2026-11-08 18:38:09 -06:00
yarn.lock Sandbox snapshot commit 2025-08-14 20:12:38 +00:00

Node.js Express template

This is a Node.js Express project with an HTTP server.

Add your configuration to optimize it for CodeSandbox.

How does this work?

We run yarn start to start an HTTP server that runs on http://localhost:8080. You can open new or existing devtools with the + button next to the devtool tabs.

Resources