Skip to main content

Django integration with ePayco (epayco.co)

Project description

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.

Files for depayco, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size depayco-1.0.3-py3-none-any.whl (27.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size depayco-1.0.3.tar.gz (8.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page