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.
Source Distribution
depayco-1.0.3.tar.gz
(8.1 kB
view details)
Built Distribution
depayco-1.0.3-py3-none-any.whl
(27.1 kB
view details)
File details
Details for the file depayco-1.0.3.tar.gz
.
File metadata
- Download URL: depayco-1.0.3.tar.gz
- Upload date:
- Size: 8.1 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a46f8471a99acf27279efeb66a28f2ae72b47f1c9fc3027e6610fab3f7ec793 |
|
MD5 | 02d8d05e3de0ab3c5b9b03cecce85c52 |
|
BLAKE2b-256 | 86a0797b85a7ca3a9f0c4a7a6703d423bac5dcb3889f6deded8651d1673c45c6 |
File details
Details for the file depayco-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: depayco-1.0.3-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77777c5bdce89c7fd62d2dabd99d9439b3685a626d0f9c6afc227bd4e6e34d91 |
|
MD5 | 55c244297ee0559bd3d7d780092e6451 |
|
BLAKE2b-256 | ffa93975836db1c1989dc925f769ba8a2262cea406590579abb3905e54a95415 |