MultisafePay Payment Redirect View
This app provides order related data to the Multisafe Payment extension when plugged-in to project zero.
Installation
Add the package to requirements.txt file and install it via pip:
pip install multisafepay-payment
Configuration
1. Adding App
Include the following lines in your omnife_base.settings file:
INSTALLED_APPS.append('multisafepay_payment')
PZ_SERVICE_CLASS = "omnife.core.service.Service"
HASH_SECRET_KEY = "your-hash-secret-key"
MULTISAFEPAY_EXTENSION_URL = "extension url"
MULTISAFEPAY_PAYMENT_METHODS = {
"msext_paypal": "PAYPAL",
"msext_bancontact": "MISTERCASH",
"msext_mastercard": "MASTERCARD",
"msext_visa": "VISA"
}
Explanation of Settings
| Setting Name | Description |
|---|---|
MULTISAFEPAY_PAYMENT_METHODS |
A setting that maps payment option slugs to Multisafe payment methods. {"payment_option_slug": "Gateway ID"} For the full list of available Gateway IDs, visit: https://docs.multisafepay.com/reference/gateway-ids |
MULTISAFEPAY_EXTENSION_URL |
The URL where the Multisafe Payment extension is hosted. |
HASH_SECRET_KEY |
A secret key used for security. |
2. Add URL Pattern
Add url pattern to omnife_base.urls like below:
urlpatterns = [
# ...
path('payment-gateway/multisafepay/', include('multisafepay_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 multisafepay-payment 2.0.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 |
|---|---|---|---|---|
| multisafepay_payment-2.0.0.tar.gz | 7.8 kB | Without provenance | Details for multisafepay_payment-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| multisafepay_payment-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for multisafepay_payment-2.0.0-py3-none-any.whl |
Total release size: 18.2 kB
Release files / multisafepay_payment-2.0.0.tar.gz
| Download URL | multisafepay_payment-2.0.0.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10e691a275691057e28778b60f3fedf6aea8b6bab65b1b5a735ac013e907b160
|
|
BLAKE2b-256 checksum How to use checksums |
3c237fcaf0940421b76f6b32de2e2a26ffbb0c4db2e2980351b20b6934b38cf2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.1
|
Release files / multisafepay_payment-2.0.0-py3-none-any.whl
| Download URL | multisafepay_payment-2.0.0-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4ea482296d921346b2567f3701ce20ace39500c18aad85c8babc75118d99931
|
|
BLAKE2b-256 checksum How to use checksums |
bb8ae0975d01129ee5fd82670766e8f53e82ae6c63b9d50e5725f7f001618ca4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.1
|
Security for multisafepay-payment 2.0.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.