Integrasi iPaymu
Project description
Python iPaymu
Koneksi api iPaymu dengan python
Installing python-ipaymu
Install python-ipaymu dengan pip: pip install python-ipaymu
Cek Saldo
from ipaymupython.ipaymu import iPaymu
ipaymu = iPaymu(api_key)
resp = ipaymu.cek_saldo()
result = resp.read()
print (result)
Cek Transaksi
from ipaymupython.ipaymu import iPaymu
ipaymu = iPaymu(api_key)
resp = ipaymu.cek_transaksi(id_transaksi)
result = resp.status
print (result)
Pembayaran
from ipaymupython.ipaymu import iPaymu
ipaymu = iPaymu(api_key)
data = {
'product' : 'Nama Produk',
'price' : '5000',
'quantity' : 1,
'comments' : 'Keterangan Produk',
'ureturn' : 'http://websiteanda.com/return?q=return',
'unotify' : 'http://websiteanda.com/notify',
'ucancel' : 'http://websiteanda.com/cancel',
}
resp = ipaymu.pembayaran(data)
result = resp.read()
print (result)
Semua hasil return secara default menggunakan format '''json'''
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python-ipaymu-0.1.3.3.tar.gz
(2.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python-ipaymu-0.1.3.3.tar.gz.
File metadata
- Download URL: python-ipaymu-0.1.3.3.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7dc2fad78396418f07bf7cbdd608631a2017c110708cc037045f0318f4658117
|
|
| MD5 |
49d0c8f1617cf491dd88030c9c8c40e3
|
|
| BLAKE2b-256 |
e510746b90261d2da41dbbc5d8ccfba5adb300b48b481ef312875118ec17f600
|
File details
Details for the file python_ipaymu-0.1.3.3-py3-none-any.whl.
File metadata
- Download URL: python_ipaymu-0.1.3.3-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78ea1510720aaa709c130988a2f31f9d47257f657fcb784189e7aac07a7062c0
|
|
| MD5 |
a154c3aca49584f19d8e2a6b2d2eeced
|
|
| BLAKE2b-256 |
bbe86804d10d8b3f939df766217b1c29d114319bbd34291f959f220666945365
|