Skip to main content

django-payments-przelewy24

https://img.shields.io/pypi/v/django-payments-przelewy24 https://circleci.com/gh/ar4s/django-payments-przelewy24.svg?style=shield

Your project description goes here

Quickstart

Install django-payments-przelewy24:

pip install django-payments-przelewy24

Add it to your INSTALLED_APPS:

from payments_przelewy24.config import Przelewy24Config

PAYMENT_VARIANTS = {
    "przelewy24": (
        "payments_przelewy24.provider.Przelewy24Provider",
        {
            "config": Przelewy24Config(
                pos_id=123,
                merchant_id=123,
                crc="e34a1",
                api_key="d876a3ba780cb",
                sandbox=True
            ),
        },
    ),
}

You can also use environment to configure provider:

from payments_przelewy24.config import Przelewy24Config

# PAYMENTS_P24_POS_ID=123
# PAYMENTS_P24_MERCHANT_ID=123
# PAYMENTS_P24_CRC=e34a1
# PAYMENTS_P24_API_KEY=d876a3ba780cb
# PAYMENTS_P24_SANDBOX=1

PAYMENT_VARIANTS = {
    "przelewy24": (
        "payments_przelewy24.provider.Przelewy24Provider",
        {
            "config": Przelewy24Config.from_env(),
        },
    ),
}

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements_test.txt
(myenv) $ pytest

Development commands

pip install -r requirements_dev.txt
invoke -l

Documentation

  • Przelewy24 REST API

Credits

Tools used in rendering this package:

History

0.1.0 (2021-01-27)

  • First release on PyPI.

Metadata

Release files for django-payments-przelewy24 0.1.7

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

Source distribution (sdist)

Source distribution for django-payments-przelewy24 0.1.7
File Size Uploaded Provenance Actions
django-payments-przelewy24-0.1.7.tar.gz 8.8 kB Without provenance Details for django-payments-przelewy24-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-payments-przelewy24 0.1.7
File Interpreter ABI Platform Actions
django_payments_przelewy24-0.1.7-py2.py3-none-any.whl Python 2, Python 3 none any Details for django_payments_przelewy24-0.1.7-py2.py3-none-any.whl

Total release size: 16.7 kB

Release files / django-payments-przelewy24-0.1.7.tar.gz

Download URL django-payments-przelewy24-0.1.7.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6e8ec1289d50a7df524a7aed9170ea47f136b4d085d6184d596a2ca10e78a458
BLAKE2b-256 checksum
How to use checksums
4a3030492c975ad51c44e8ed420ad89cfb22c3b9bdddba926be7ce005dd228cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.1

Release files / django_payments_przelewy24-0.1.7-py2.py3-none-any.whl

Download URL django_payments_przelewy24-0.1.7-py2.py3-none-any.whl
Size 8.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
bdb0670070193515b98564efa42d44885e184a16a4bfa93072889d1beac4a68d
BLAKE2b-256 checksum
How to use checksums
e2f10d2cb096fd259b90f713ee6d2d00f3d47a9d205136a5a1518d7906605778
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.1

Security for django-payments-przelewy24 0.1.7

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.

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