Dragon.py
=========
A Dragonpay client.
Usage
-----
```
from flask import redirect
from dragon import DragonPay
# To use test, just change production to False
d = DragonPay("MERCHANTID", "PASSWORD", production=True)
@app.route('/pay')
def pay_controller():
return redirect(d.pay("TRANSACTIONID", "AMOUNT", "CURRENCY", "DESCRIPTION",
"EMAIL"))
```
=========
A Dragonpay client.
Usage
-----
```
from flask import redirect
from dragon import DragonPay
# To use test, just change production to False
d = DragonPay("MERCHANTID", "PASSWORD", production=True)
@app.route('/pay')
def pay_controller():
return redirect(d.pay("TRANSACTIONID", "AMOUNT", "CURRENCY", "DESCRIPTION",
"EMAIL"))
```
Release files for dragonpy 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dragonpy-0.0.1.tar.gz | 1.5 kB | Details |
Release files / dragonpy-0.0.1.tar.gz
| Download URL | dragonpy-0.0.1.tar.gz |
|---|---|
| Size | 1.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
606d178c63fc8ec9a138d5d90899486d75e0839e40c8484501406be0e861fcf5
|
|
BLAKE2b-256 checksum How to use checksums |
6677dc58caada186c053f6bf8e123dfc8c295863bb1b28385024640d4ce8310f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |