Skip to main content

Stripe tasks for Python

Install render-lab-tasks-stripe. Import wrapped tasks and raw *_impl functions from render_lab_tasks_stripe.tasks, and register its app with your workflow. Pass Deps(stripe=...) to raw implementations for hermetic tests.

Environment

STRIPE_API_KEY is read lazily for REST operations. STRIPE_WEBHOOK_SECRET is used by verify_webhook when secret is omitted. Verification needs no API key. Requests make one attempt; durable task retries own retry policy.

The pack covers invoices, dunning, refunds, customers, subscriptions, payment intents, Checkout sessions, and webhook HMAC verification. Dunning reads then attempts payment once; its result uses the post-attempt invoice. Signature verification checks a 300-second age tolerance and accepts rotated v1 signatures. No live payment or refund has been performed for this port.

Webhook adapter

render_lab_tasks_stripe.webhooks.stripe_adapter(on_event, ...) returns a registration-free adapter for render_lab_triggers. The callback receives the verified event and returns {"task": "namespace.task", "args": [event]} or None. The signing credential STRIPE_WEBHOOK_SECRET is read inside verification unless provided explicitly. Importing this module does not register tasks. Signature checks use the raw body; live delivery remains in the testing backlog.

Installation

pip install render-lab-tasks-stripe==0.1.0

Metadata

Release files for render-lab-tasks-stripe 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for render-lab-tasks-stripe 0.1.1
File Size Uploaded Provenance Actions
render_lab_tasks_stripe-0.1.1.tar.gz 7.9 kB With provenance Details for render_lab_tasks_stripe-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for render-lab-tasks-stripe 0.1.1
File Interpreter ABI Platform Actions
render_lab_tasks_stripe-0.1.1-py3-none-any.whl Python 3 none any Details for render_lab_tasks_stripe-0.1.1-py3-none-any.whl

Total release size: 23.0 kB

Release files / render_lab_tasks_stripe-0.1.1.tar.gz

Download URL render_lab_tasks_stripe-0.1.1.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
48e9c0f3fed423ffc7a3d3d64435d13451400c433b70d09561c1886e6d836c92
BLAKE2b-256 checksum
How to use checksums
0f8093a8a1f68b015ebbf0f6a80444c4a2bebea21f5b77a8d4b763ca3c4d79f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / render_lab_tasks_stripe-0.1.1-py3-none-any.whl

Download URL render_lab_tasks_stripe-0.1.1-py3-none-any.whl
Size 15.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f58e7c1596303c0c5aa8f7051c7b9aef299379c07f6066b4e60c7917e3f7d84
BLAKE2b-256 checksum
How to use checksums
c64fd76f6360830c471006a596814143ac0d766018e4b71c878b26608d868b50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Security for render-lab-tasks-stripe 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for render_lab_tasks_stripe-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page