Haso Payment Extension: Data Aggregation Redirect Flow
This app provides order related data to the Haso Payment extension when plugged-in to project zero.
Installation
Add the package to requirements.txt file and install it via pip:
pip install haso-payment
Configuration
1. Adding App
Include the following lines in your omnife_base.settings file:
INSTALLED_APPS.append('haso_payment')
PZ_SERVICE_CLASS = "omnife.core.service.Service"
HASO_EXTENSION_CONF = {
"default": { # Payment Option Slug / Use default for one payment option
"extension_url": "https://your-haso-pe-extension.url",
"hash_key": "your-haso-pe-extension-hash-key"
}
}
Explanation of Settings
| Setting Name | Description |
|---|---|
HASO_EXTENSION_CONF[payment_option_slug][extension_url] |
The URL where the Payment extension is hosted. |
HASO_EXTENSION_CONF[payment_option_slug][hash_key] |
A secret key used for security. |
2. Add URL Pattern
Add url pattern to omnife_base.urls like below:
urlpatterns = [
# ...
path('payment-gateway/haso/', include('haso_payment.urls')),
]
Running Tests
python -m unittest discover
Python Version Compatibility
This package is compatible with the following Python versions:
- Python 3.9
- Python 3.13
Metadata
Release files for haso-payment 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| haso_payment-0.1.0.tar.gz | 11.3 kB | Without provenance | Details for haso_payment-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| haso_payment-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for haso_payment-0.1.0-py3-none-any.whl |
Total release size: 27.8 kB
Release files / haso_payment-0.1.0.tar.gz
| Download URL | haso_payment-0.1.0.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0735ea25780edaa66330041804bbf886513ba6c16a684865bba0415bda654ea
|
|
BLAKE2b-256 checksum How to use checksums |
f7dc1f668d1acdf042bd15ac085e4174b3aa318f6ce72a09fc23e021aafc362c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.23
|
Release files / haso_payment-0.1.0-py3-none-any.whl
| Download URL | haso_payment-0.1.0-py3-none-any.whl |
|---|---|
| Size | 16.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ffea2c7dc651ca24b8f53bb09e73bff4afa0118f79847e1c594d9717326c7d2
|
|
BLAKE2b-256 checksum How to use checksums |
01813440f1e2ea74d8a5642fd6b9031ebbb9ecd0c849f9e6894e73bbba0d5bed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.23
|
Security for haso-payment 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.