netseasy - Django gateway for the payemnt solution Easy from Nets
Project description
This is a django gateway for the ‘Easy’ payment solution from Nets. The EasyAPI is a REST-API and supports webhooks to send updates back to Django.
Installation
For the current stable version:
pip install netseasy
For the development version:
pip install -e git+git@gitlab.com:norsktest/netseasy.git
Setup
You need to set these values in your settings.py:
EASY_CHECKOUT_URL = "https://test.checkout.dibspayment.eu/v1/checkout.js?v=1" EASY_PAYMENT_URL = "https://test.api.dibspayment.eu/v1/payments/" EASY_WEBHOOK_URL = "https://your.local.server/payment EASY_CTX = EasyContext(<EASY_SECRET_KEY>, <EASY_CHECKOUT_KEY>')
To test the solution in development, you must use a http tunnel using Ngrok (ngrok.com) or similar in order to get the webhooks to work. Running in dev, the EASY_WEBHOOK_URL setting must be set to your ngrok (or similar) address.
Project details
Release history Release notifications | RSS feed
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 netseasy-0.1.1.tar.gz.
File metadata
- Download URL: netseasy-0.1.1.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/43.0.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.5.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ac67ad8721222a54ad21f15d93fcaf496b512b62bccca861a43f8a3a5895818
|
|
| MD5 |
44b821416e353f1a4297c07f1377d70d
|
|
| BLAKE2b-256 |
729a4ebcfd4fed2b57ad85d79a293d9a4f557481e58f1efa4b63af73f3a5fe2e
|
File details
Details for the file netseasy-0.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: netseasy-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/43.0.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.5.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cbb527d14da1143030f8efadbf3a574c3dc71634cff14312ea543680bee58dc
|
|
| MD5 |
49a1870fdd016921028f056d02545f22
|
|
| BLAKE2b-256 |
2b4aad91f128f0aa3527e05eb9d8958f24e202da0e2f77ee9dbae4a354e671d2
|