Django payeer app
Project description
# MP-Payeer
Django payeer integration app.
### Installation
Install with pip:
```
$ pip install django-payeer
```
App settings:
```
PAYEER = {
'ACCOUNT': 'P1000000',
'API_ID': '12345',
'API_PASS': 'qwerty',
'LANGUAGE': 'en' # optional, default: 'ru'
}
```
## Usage example
```
from payeer.api import payeer_api
from payeer.constants import CURRENCY_USD
data = payeer_api.merchant(
order_id=123,
amount=10,
currency=CURRENCY_USD,
description='Test')
```
payeer_api.merchant returns:
```
{
'location': '...', # redirect url
'signature': '...', # generated signature
'description': '...' # generated description
}
```
### Requirements
App require this packages:
* django
### Donators
* Andriy Onishchuk
Django payeer integration app.
### Installation
Install with pip:
```
$ pip install django-payeer
```
App settings:
```
PAYEER = {
'ACCOUNT': 'P1000000',
'API_ID': '12345',
'API_PASS': 'qwerty',
'LANGUAGE': 'en' # optional, default: 'ru'
}
```
## Usage example
```
from payeer.api import payeer_api
from payeer.constants import CURRENCY_USD
data = payeer_api.merchant(
order_id=123,
amount=10,
currency=CURRENCY_USD,
description='Test')
```
payeer_api.merchant returns:
```
{
'location': '...', # redirect url
'signature': '...', # generated signature
'description': '...' # generated description
}
```
### Requirements
App require this packages:
* django
### Donators
* Andriy Onishchuk
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
django-payeer-0.4.tar.gz
(4.7 kB
view details)
File details
Details for the file django-payeer-0.4.tar.gz
.
File metadata
- Download URL: django-payeer-0.4.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20ce5d1c051fde6fff2b9fafc8a147fe6296afed1f03b977d34a1ed66eea0a4f |
|
MD5 | 6b693ed2b7574e5b57fcf203a7fe35b1 |
|
BLAKE2b-256 | d2cd1d5a7c2ff24da8b24b2e41e6f6abe1f1a36603202f8567a798b3a4f03ced |