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.0

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.0
File Size Uploaded Provenance Actions
render_lab_tasks_stripe-0.1.0.tar.gz 7.9 kB With provenance Details for render_lab_tasks_stripe-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 23.0 kB

Release files / render_lab_tasks_stripe-0.1.0.tar.gz

Download URL render_lab_tasks_stripe-0.1.0.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
81c2753ac66389a1fe7bfd3512ad902190fa1faaaf49e43144fcfe9ba19ee088
BLAKE2b-256 checksum
How to use checksums
58f58d9286869ed65ce7ea34de463fe84663f1ccb7a21d094bd830b2bfa69fe2
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 Sep 9, 2026.

Transparency log

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

Download URL render_lab_tasks_stripe-0.1.0-py3-none-any.whl
Size 15.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3fc0d7cd8980aa849bdd7b22d49a769a1d441f3e810313921b37e50d676b9758
BLAKE2b-256 checksum
How to use checksums
85599220cba21de305cd9ac789aa356748e7119a91a14c930217ae859f1ffced
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 Sep 9, 2026.

Transparency log

Security for render-lab-tasks-stripe 0.1.0

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for render_lab_tasks_stripe-0.1.0.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 Sep 9, 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.0 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