Skip to content

texnoman/PaycomUz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DJANGO RESTFRAMEWORK PAYCOMUZ 🇺🇿

pip install Django
pip install Djangorestframework
pip install PaycomUz

settings.py

INSTALLED_APPS = [
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    'rest_framework`,
    'PaycomUz`
]

python manage.py migrate

settings.py

PAYME_SETTINGS = {
    "HOST":"https://checkout.test.paycom.uz/api",   #test host
    "ID":"<<API TOKEN>>",          #token
    "SECRET_KEY":"<<API SECRET KEY>>",  #password
    "PATH_CHECK_PERFORM_TRANSACTION":"<<path function>>",  #check order
    "PATH_SUCCESS_FUNCTION":"<<path function>>",
    "PATH_ERROR_FUNCTION":"<<path function>>",
    "ACCOUNTS":{
        "KEY1":"id",
        "KEY2":False #or "type"
    }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%