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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file render_lab_tasks_stripe-0.1.0.tar.gz.
File metadata
- Download URL: render_lab_tasks_stripe-0.1.0.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81c2753ac66389a1fe7bfd3512ad902190fa1faaaf49e43144fcfe9ba19ee088
|
|
| MD5 |
71b8853b27525ae41986df70c00fb633
|
|
| BLAKE2b-256 |
58f58d9286869ed65ce7ea34de463fe84663f1ccb7a21d094bd830b2bfa69fe2
|
Provenance
The following attestation bundles were made for render_lab_tasks_stripe-0.1.0.tar.gz:
Publisher:
publish.yml on render-lab/render-tasks-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
render_lab_tasks_stripe-0.1.0.tar.gz -
Subject digest:
81c2753ac66389a1fe7bfd3512ad902190fa1faaaf49e43144fcfe9ba19ee088 - Sigstore transparency entry: 2767985296
- Sigstore integration time:
-
Permalink:
render-lab/render-tasks-python@b601664587ba5882dd7c8efabfc8908151008df6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/render-lab
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b601664587ba5882dd7c8efabfc8908151008df6 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file render_lab_tasks_stripe-0.1.0-py3-none-any.whl.
File metadata
- Download URL: render_lab_tasks_stripe-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fc0d7cd8980aa849bdd7b22d49a769a1d441f3e810313921b37e50d676b9758
|
|
| MD5 |
5d233f43fa031033e95f459830e3619d
|
|
| BLAKE2b-256 |
85599220cba21de305cd9ac789aa356748e7119a91a14c930217ae859f1ffced
|
Provenance
The following attestation bundles were made for render_lab_tasks_stripe-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on render-lab/render-tasks-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
render_lab_tasks_stripe-0.1.0-py3-none-any.whl -
Subject digest:
3fc0d7cd8980aa849bdd7b22d49a769a1d441f3e810313921b37e50d676b9758 - Sigstore transparency entry: 2767985350
- Sigstore integration time:
-
Permalink:
render-lab/render-tasks-python@b601664587ba5882dd7c8efabfc8908151008df6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/render-lab
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b601664587ba5882dd7c8efabfc8908151008df6 -
Trigger Event:
workflow_dispatch
-
Statement type: