Skip to content

Latest commit

 

History

History
73 lines (53 loc) · 1.64 KB

File metadata and controls

73 lines (53 loc) · 1.64 KB

Contributing

Thanks for contributing to this Stripe sample!

Code of Conduct

All interactions with this project follow our Code of Conduct.

Filing Issues

Issues should be relevant to this sample repository specifically. For broader questions or issues:

Code Review

All submissions, including those by project members, require review. We use GitHub pull requests for this purpose.

Development

Project Structure

machine-payments/
├── x402/               # x402 protocol integration
│   └── server/
│       ├── python/
│       └── node-typescript/
└── mpp/                # MPP protocol integration
    └── server/
        └── node-typescript/

Running Samples Locally

x402 — Python:

cd x402/server/python
uv sync
uv run python main.py

x402 — TypeScript:

cd x402/server/node-typescript
pnpm install
pnpm run dev

MPP — TypeScript:

cd mpp/server/node-typescript
pnpm install
pnpm run dev

Testing

Before submitting a PR, ensure:

  1. TypeScript compiles without errors
  2. Python type checking passes (if applicable)
  3. The sample runs successfully with test credentials

Resources