Skip to main content

natcashify-flask

Flask extension for Natcashify, configured from NATCASH_* keys in app.config.

pip install natcashify-flask
from natcashify.core import Callback
from natcashify.flask import Natcash

natcash = Natcash(app)


@app.get("/natcash/callback")
@natcash.callback
def callback(callback: Callback):
    transaction = natcash.client.get_transaction(callback.order_number)
    ...

The decorator aborts with 400 on an invalid signature. Confirm the transaction before fulfilling, and skip an unknown or already paid order: the browser replays the callback on refresh. Documentation: https://midsonlajeanty.github.io/natcashify/integrations/flask/

Metadata

Release files for natcashify-flask 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 natcashify-flask 0.1.0
File Size Uploaded Provenance Actions
natcashify_flask-0.1.0.tar.gz 3.1 kB Without provenance Details for natcashify_flask-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for natcashify-flask 0.1.0
File Interpreter ABI Platform Actions
natcashify_flask-0.1.0-py3-none-any.whl Python 3 none any Details for natcashify_flask-0.1.0-py3-none-any.whl

Total release size: 7.0 kB

Release files / natcashify_flask-0.1.0.tar.gz

Download URL natcashify_flask-0.1.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
73b7bfe315df582ad49815a5688f3d82e6d76c9c315cd74312f94c6d38dc9e86
BLAKE2b-256 checksum
How to use checksums
0152981c2d98ead2801900eb4d2d211cdd20a5897db5191c753b647647993617
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL natcashify_flask-0.1.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4220642acb8833a5cb9a8780c28fcdec9e66773c6e423f1552b28104cdccb62f
BLAKE2b-256 checksum
How to use checksums
750205a8bec15d786a01323e79f0bb1413f1b58f62388872da1f473efa4ba035
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Security for natcashify-flask 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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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 No 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