Skip to content

Add fake payment flow#47

Open
JPL-Jarvis wants to merge 1 commit into
tscircuit:mainfrom
JPL-Jarvis:codex/fake-payments-flow
Open

Add fake payment flow#47
JPL-Jarvis wants to merge 1 commit into
tscircuit:mainfrom
JPL-Jarvis:codex/fake-payments-flow

Conversation

@JPL-Jarvis
Copy link
Copy Markdown

Adds a small fake payment flow on top of the existing in-memory store:

  • send a pending fake payment
  • replay the same payment when an idempotency key is reused
  • list/filter payments
  • fetch one payment
  • update payment status

/claim #1

Checked locally:

  • bun test tests/routes/payments/payment-flow.test.ts
  • bun test
  • bunx biome check lib/db/schema.ts lib/db/db-client.ts routes/payments tests/routes/payments/payment-flow.test.ts README.md types/dist-bundle.d.ts --write
  • bun run build
  • bunx tsc --noEmit
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant