Skip to main content

Django integration with ePayco (epayco.co)

Project description

Introduction

Django integration with ePayco (epayco.co), Colombian payment gateway.

Installation

  • pip install depayco.

  • Set depayco on INSTALLED_APPS.

  • Run python manage.py migrate.

Configurations (settings.py)

EPAYCO_PUBLIC_KEY: String

EPAYCO_SECRET_KEY: String

DEBUG_EPAYCO: Boolean

PLANS

PLANS = (
    {
        'id_plan': 'love2d_course',
        'name': 'love2d Course',
        'description': 'The most beautiful love2d course',
        'amount': 29.99,
        'currency': 'USD',
        'interval': 'month',
        'interval_count': 1,
        'trial_days': 14,
    },
    {
        'id_plan': 'defold_course',
        'name': 'defold Course',
        'description': 'The most mad defold course',
        'amount': 29.99,
        'currency': 'USD',
        'interval': 'month',
        'interval_count': 1,
        'trial_days': 14,
    }
)

How to use

python manage.py sync_plans to create plans on epayco.co

Buy me a coffee

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

depayco-1.0.2.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

depayco-1.0.2-py3-none-any.whl (27.1 kB view details)

Uploaded Python 3

File details

Details for the file depayco-1.0.2.tar.gz.

File metadata

  • Download URL: depayco-1.0.2.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

File hashes

Hashes for depayco-1.0.2.tar.gz
Algorithm Hash digest
SHA256 20f6eda24cd919b8b451db690095707e9c7c713053df380471de7fa93cdb54af
MD5 abe2403b864dd69e958712b643f48a87
BLAKE2b-256 f66d53c49ee1abd3c9ed35128125792af43dcacc81a29464b0443ec68718c7ff

See more details on using hashes here.

File details

Details for the file depayco-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: depayco-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 27.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

File hashes

Hashes for depayco-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1651b9fe573e4d903fd39cd3d4a2ceadd86083b810ff6e4f77f9313235a16a2a
MD5 b4d949c463d7c991cae769ac51e85892
BLAKE2b-256 2a6ad4bbf34ea3d6f1be789aa08edbb73f3119b24eb95b74ffd382ce19f555ba

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