Skip to main content

A django-payments backend for the Portmone payment gateway

Project description

django-payments-portmone

A django-payments backend for the Portmone payment gateway (Reference documentation)

Python Version wemake-python-styleguide Code style: black wemake.services

Install

pip install django-payments-portmone

Parameters

  • payee_id (required): ID of the payee company.
  • login (required): Your company login in the Portmone.com system.
  • password (required): Your company password in the Portmone.com system.
  • currency (default:'UAH'): possible values - UAH, USD, EUR, GBP, BYN, KZT, RUB
  • endpoint (default:'https://www.portmone.com.ua/gateway/'): desired endpoint.
  • prefix (default:''): Prefix of Portmone order number "{prefix}{payment.pk}".

settings.py

PAYMENT_VARIANTS = {
    'portmone': ('payments_portmone.PortmoneProvider', {
        'payee_id': '1185',
        'login': 'WDISHOP',
        'password': 'wdi451',
        'endpoint': 'https://www.portmone.com.ua/gateway/',
        'prefix': 'P000-'}
    ),
}

Requirements

  • python3.6
  • django with version 1.11
  • django-payments with version 0.13

Development

When developing locally, we use:

Copyright (C) 2020 Onufrienko Vyacheslav

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-payments-portmone-0.1.1.tar.gz (6.5 kB view details)

Uploaded Source

File details

Details for the file django-payments-portmone-0.1.1.tar.gz.

File metadata

  • Download URL: django-payments-portmone-0.1.1.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1

File hashes

Hashes for django-payments-portmone-0.1.1.tar.gz
Algorithm Hash digest
SHA256 097b252ad69fe4e6a2de2338449cef9ec44c98a8fb7f576508dc211f5d1bacbf
MD5 a5fda968dbca0a529269bf47bcadd29d
BLAKE2b-256 e42a162c712d1ecd32573881cdaad51f0cb0f8b14510242115716641791ef495

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page