-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
678 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Documentation | ||
|
||
on: | ||
push: | ||
branches: | ||
- payme-pkg-3.0b | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.x | ||
- run: pip install -r requirements/docs-requirements.txt | ||
- run: mkdocs gh-deploy --force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
# virtual env | ||
env/ | ||
venv/ | ||
|
||
# dev test | ||
core/ | ||
my_app/ | ||
db.sqlite3 | ||
manage.py | ||
dist/ | ||
venv/ | ||
|
||
# ide configs | ||
.vscode/ | ||
.idea/ | ||
|
||
# caches | ||
__pycache__/ | ||
paymentsuz.egg-info/ | ||
payme_pkg.egg-info/ | ||
manage.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
--- | ||
title: Introduction | ||
--- | ||
|
||
# **Welcome!** | ||
|
||
### Uzbekistan Payment Providers Packages | ||
|
||
[<img align="right" alt="PayTechUz" height="280" width="280" src="https://github.com/PayTechUz/.github/assets/73847672/90e1c28a-f3ae-409a-8d8c-341b0fbe39e3" />](https://pay-tech.uz) | ||
|
||
Welcome to the PayTechUz organization! This project aims to provide developers with seamless integration and implementation of Payment Providers APIs in Uzbekistan. Whether you're a Python enthusiast or a Go guru, we've got you covered with our versatile tech stack. | ||
|
||
## Table of Contents | ||
|
||
- [Introduction](#introduction) | ||
- [Website](#website) | ||
- [Telegram Group](#telegram-group) | ||
- [Tech Stack](#tech-stack) | ||
- [Usage](#usage) | ||
- [Contributing](#contributing) | ||
- [Support](#support) | ||
- [License](#license) | ||
|
||
## Introduction | ||
|
||
Integrating payment providers into your applications is crucial in today's digital landscape. This project simplifies the process of integrating Payment Providers APIs in Uzbekistan, allowing you to focus on building amazing products while leaving the payment processing worries behind. | ||
|
||
## Website | ||
|
||
Visit our website [pay-tech.uz](https://pay-tech.uz) to explore detailed documentation, guides, and API references. We regularly update the documentation to ensure you have the most up-to-date information at your disposal. | ||
|
||
## Telegram Group | ||
|
||
Join our vibrant developer community on Telegram to connect with fellow developers, ask questions, share experiences, and stay updated with the latest news and announcements. | ||
|
||
[Telegram Group](https://t.me/+krHlGUizJrI1Zjli) | ||
|
||
## Tech Stack | ||
|
||
We have carefully chosen the following tech stack to ensure flexibility and ease of use: | ||
|
||
- [![Python](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white)](https://python.org/) | ||
- [![Go](https://img.shields.io/badge/Go-00ADD8?style=for-the-badge&logo=go&logoColor=white)](https://go.dev/) | ||
|
||
The combination of Python and Go offers a wide range of possibilities to cater to the preferences of different developers. | ||
|
||
## Usage | ||
|
||
Our packages are designed to streamline the integration process. Follow the detailed instructions in the documentation for each package to integrate the desired Payment Providers API seamlessly. | ||
|
||
## Contributing | ||
|
||
We welcome contributions from the community to make this project even better. If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request. Please ensure you follow our [contribution guidelines](https://github.com/PayTechUz/.github/blob/main/profile/CONTRIBUTING.md). | ||
|
||
## Support | ||
|
||
If you encounter any problems, have questions, or need assistance with the integration, our team is here to help. Reach out to us on our [Telegram Group](https://t.me/+ydVV_9B3Xh02NGEy) or email us at [email protected]. | ||
|
||
## License | ||
|
||
This project is licensed under the [MIT License](https://github.com/PayTechUz/.github/blob/main/profile/LICENSE.txt), making it open and free for everyone to use, modify, and distribute. | ||
|
||
--- | ||
|
||
We hope our PayTechUz packages make your payment integration process a delightful experience. Happy coding! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Merchant API methods | ||
description: Merchant API methods | ||
--- | ||
|
||
# Merchant API methods |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Sandbox (Testing) | ||
description: Sandbox (Testing) | ||
--- | ||
|
||
# Sandbox (Testing) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Interaction setup | ||
description: Interaction setup | ||
--- | ||
|
||
# Interaction setup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Subscribe API methods | ||
description: Subscribe API methods | ||
--- | ||
|
||
# Subscribe API methods |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Technical support | ||
description: Technical support | ||
--- | ||
|
||
# Technical support |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<nav | ||
class="md-nav md-nav--primary" | ||
aria-label="{{ lang.t('nav.title') }}" | ||
data-md-level="0" | ||
> | ||
<label class="md-nav__title" for="__drawer"> | ||
<a | ||
href="{{ config.site_url | default(nav.homepage.url, true) | url }}" | ||
title="{{ config.site_name }}" | ||
class="md-nav__button md-logo" | ||
aria-label="{{ config.site_name }}" | ||
> | ||
{% include "partials/logo.html" %} | ||
</a> | ||
</label> | ||
{% if config.repo_url %} | ||
<div class="md-nav__source">{% include "partials/source.html" %}</div> | ||
{% endif %} | ||
<ul class="md-nav__list" data-md-scrollfix> | ||
{% for nav_item in nav %} {% set path = "nav-" + loop.index | string %} {% | ||
set level = 1 %} {% include "partials/nav-item.html" %} {% endfor %} | ||
</ul> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: Введение | ||
--- | ||
|
||
# **Добро пожаловать!** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Методы Merchant API | ||
description: Методы Merchant API | ||
--- | ||
|
||
# Методы Merchant API |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Песочница (Тестирование) | ||
description: Песочница (Тестирование) | ||
--- | ||
|
||
# Песочница (Тестирование) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Настройка взаимодействия | ||
description: Настройка взаимодействия | ||
--- | ||
|
||
# Настройка взаимодействия |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Методы Subscribe API | ||
description: Методы Subscribe API | ||
--- | ||
|
||
# Методы Subscribe API |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Техническая поддержка | ||
description: Техническая поддержка | ||
--- | ||
|
||
# Техническая поддержка |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: Kirish | ||
--- | ||
|
||
# **Xush kelibsiz!** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Merchant API metodlari | ||
description: Merchant API metodlari | ||
--- | ||
|
||
# Merchant API metodlari |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Qumdon (Sandbox) | ||
description: Qumdon (Sandbox) | ||
--- | ||
|
||
# Qumdon (Sandbox) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Sozlash (Setup) | ||
description: Sozlash (Setup) | ||
--- | ||
|
||
# Sozlash (Setup) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Subscribe API metodlari | ||
description: Subscribe API metodlari | ||
--- | ||
|
||
# Subscribe API metodlari |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Texnik yordam | ||
description: Texnik yordam | ||
--- | ||
|
||
# Texnik yordam |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,20 @@ | ||
from django.contrib import admin | ||
|
||
from payme.models import CUSTOM_ORDER | ||
from payme.models import Order as DefaultOrderModel | ||
from payme.models import ( | ||
Item, MerchatTransactionsModel, | ||
OrderDetail, ShippingDetail | ||
) | ||
# pylint: disable=fixme | ||
# TODO: order Payme models in admin panel | ||
# 1. OrderDetail | ||
# 2. Item | ||
# 3. ShippingDetail | ||
# 4. MerchatTransactionsModel | ||
|
||
from payme.models import MerchatTransactionsModel | ||
|
||
if not CUSTOM_ORDER: | ||
admin.site.register(DefaultOrderModel) | ||
|
||
admin.site.register(MerchatTransactionsModel) | ||
admin.site.register( | ||
[ | ||
OrderDetail, Item, | ||
ShippingDetail, | ||
MerchatTransactionsModel, | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.