Skip to main content

IPaymu Client For Python (UNOFFICIAL)

Project description

IPaymu Client (UNOFFICIAL)

ipaymu-python adalah klien untuk ipaymu (payment gateway) dibuat menggunakan python.

Fitur

  • Dukungan API v1 dan v2 ipaymu.
  • Dukungan untuk proyek Django

Catatan

Ada beberapa API yang belum dites, jika ada bug silahkan buat isu disini.

Usage

  • Konfigurasi

    Melalui fungsi ipaymu.init:

    import ipaymu
    
    ipaymu.init(
        url="https://sandbox.ipaymu.com",
        va_account="00000000000000000",
        api_key="XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX"
    )
    

    Melalui environment variable (Setelah membuat variable, anda harus memanggil fungsi ipaymu.init() tanpa parameter):

    export IPAYMU_URL = "https://sandbox.ipaymu.com"
    export IPAYMU_VA_ACCOUNT = "00000000000000000"
    export IPAYMU_API_KEY = "XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX"
    

    Atau, melalui konfigurasi settings.py pada proyek Django.

    # settings.py
    IPAYMU_URL = "https://sandbox.ipaymu.com"
    IPAYMU_VA_ACCOUNT = "00000000000000000"
    IPAYMU_API_KEY = "XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX"
    
  • Cek Saldo

    ipaymu.cek_saldo()
    

    Dan masih banyak lagi...

  • API v2

    ipaymu.v2.direct_payment
    ipaymu.v2.redirect_payment
    

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

ipaymu-0.1.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

ipaymu-0.1.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file ipaymu-0.1.0.tar.gz.

File metadata

  • Download URL: ipaymu-0.1.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.8.2 Linux/5.8.0-1036-azure

File hashes

Hashes for ipaymu-0.1.0.tar.gz
Algorithm Hash digest
SHA256 21f1d2eeadff61f809904b3e4a2b45fa9cf3c7cc3324cd5c397a8c4f1ae86246
MD5 00c2e9fdecd727728320fe9eb9e14b47
BLAKE2b-256 2e889b5fc8583d7fe85958a7f5e337010c29d930a48e9c2bbc85f2ba4bde6602

See more details on using hashes here.

File details

Details for the file ipaymu-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ipaymu-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.8.2 Linux/5.8.0-1036-azure

File hashes

Hashes for ipaymu-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c59ee1151e9973d20a67f0b04352fa43efcd27ac2d6d572abc629b529609c566
MD5 45b918846c21db27cd50dcd5181e49e5
BLAKE2b-256 bb6683c23469e0c86a2445462fdbb52072990f92ca640e808e642cab67c22853

See more details on using hashes here.

Supported by

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