Skip to main content

Integrasi iPaymu

Project description

Python iPaymu

PyPI version PyPI version PyPI version

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_ipaymu-0.1.3.3-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

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

Hashes for python-ipaymu-0.1.3.3.tar.gz
Algorithm Hash digest
SHA256 7dc2fad78396418f07bf7cbdd608631a2017c110708cc037045f0318f4658117
MD5 49d0c8f1617cf491dd88030c9c8c40e3
BLAKE2b-256 e510746b90261d2da41dbbc5d8ccfba5adb300b48b481ef312875118ec17f600

See more details on using hashes here.

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

Hashes for python_ipaymu-0.1.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 78ea1510720aaa709c130988a2f31f9d47257f657fcb784189e7aac07a7062c0
MD5 a154c3aca49584f19d8e2a6b2d2eeced
BLAKE2b-256 bbe86804d10d8b3f939df766217b1c29d114319bbd34291f959f220666945365

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page