Repository navigation
Releases
PayLab v0.5.0
PayLab v0.5.0 ð
Break your payment integration before your customers do.
PayLab is an open-source payment reliability and chaos-testing toolkit that helps developers catch webhook failures before production.
With v0.5.0, PayLab can now run directly inside GitHub Actions and fail CI when your payment integration cannot safely handle common real-world problems like duplicate webhooks, retries, invalid signatures, timeouts, HTTP 5xx responses, delayed delivery, or out-of-order events.
GitHub Actions Reliability Gate
Add PayLab to your workflow:
- name: Run PayLab reliability gate
uses: Oluwafemi1x/PayLab@v0.5.0
with:
provider: paystack
event: charge.success
target-url: http://127.0.0.1:9000/webhooks/paystack
secret: ${{ secrets.PAYSTACK_WEBHOOK_SECRET }}
min-score: "100"PayLab generates:
- Reliability score
- Pass/fail result
- Grade and percentage
- JSON report
- HTML report
This makes it possible to block a pull request when your webhook integration does not meet your reliability threshold.
What PayLab tests
PayLab can simulate:
- Duplicate webhook delivery
- Invalid signatures
- Delayed webhooks
- Retry recovery
- Timeout recovery
- HTTP 5xx failures
- Retry storms
- Lifecycle ordering
- Out-of-order payment events
- Business-level idempotency checks
Built-in payment providers
PayLab v0.5.0 includes support for:
- Paystack
- Stripe
- Flutterwave
- Monnify
- Razorpay
Developers can also build and distribute additional providers using the PayLab Community Provider SDK.
More than a GitHub Action
PayLab also includes:
- CLI tooling
- REST API
- Live dashboard
- WebSocket event stream
- SQLite history
- PostgreSQL history backend
- Redis multi-process streaming
- Redis background delivery workers
- Provider plugin system
Security model
Webhook signing secrets are not persisted in PayLab history, reports, live streams, or Redis job payloads.
Background workers resolve signing secrets from their environment only when delivery is executed.
Compatibility
PayLab v0.5.0 is tested with:
- Python 3.11
- Python 3.12
- Python 3.13
The release is validated by:
- Ruff
- pytest
- GitHub Action smoke tests
- PostgreSQL integration tests
- Redis stream and worker integration tests
Project status
PayLab is currently alpha software intended for development, staging, CI, and reliability testing.
Provider payloads are representative test fixtures and are not a replacement for official provider sandboxes or documentation.
PayLab is not affiliated with Paystack, Stripe, Flutterwave, Monnify, or Razorpay.
Why PayLab exists
Payment bugs are dangerous because many only show up after real money starts moving.
PayLab helps you break the integration safely in CI first.
Feedback, issues, provider contributions, and real-world testing are welcome.