Skip to main content
pipeline status https://img.shields.io/badge/docs-darkgreen.svg coverage report

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.

Metadata

Release files for netseasy 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for netseasy 0.1.1
File Size Uploaded
netseasy-0.1.1.tar.gz 7.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for netseasy 0.1.1
File Interpreter ABI Platform
netseasy-0.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 20.8 kB

Release files / netseasy-0.1.1.tar.gz

Download URL netseasy-0.1.1.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0ac67ad8721222a54ad21f15d93fcaf496b512b62bccca861a43f8a3a5895818
BLAKE2b-256 checksum
How to use checksums
729a4ebcfd4fed2b57ad85d79a293d9a4f557481e58f1efa4b63af73f3a5fe2e
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / netseasy-0.1.1-py2.py3-none-any.whl

Download URL netseasy-0.1.1-py2.py3-none-any.whl
Size 13.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
4cbb527d14da1143030f8efadbf3a574c3dc71634cff14312ea543680bee58dc
BLAKE2b-256 checksum
How to use checksums
2b4aad91f128f0aa3527e05eb9d8958f24e202da0e2f77ee9dbae4a354e671d2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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