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 hashes)

Uploaded Source

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