Skip to main content

Zibal payment gateway plugin for Payman

Project description

payman-zibal

payman-zibal is a plugin for Payman that enables integration with the Zibal payment gateway. This package requires Payman >= 3.0.0.

Installation

pip install payman[zibal]

Quick Example

import asyncio

from payman import Payman
from zibal.models import PaymentRequest

pay = Payman("zibal", merchant_id="your-merchant-id")

async def main():
    req_params = PaymentRequest(
        amount=100_000,
        callback_url="https://example.com/callback",
        description="Test Payment",
        mobile="09123456789",
    )
    
    response = await pay.initiate_payment(req_params)
    print(response.success, response.track_id)


asyncio.run(main())

Links

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

payman_zibal-1.0.1.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

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

payman_zibal-1.0.1-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file payman_zibal-1.0.1.tar.gz.

File metadata

  • Download URL: payman_zibal-1.0.1.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for payman_zibal-1.0.1.tar.gz
Algorithm Hash digest
SHA256 0f97d481f0b2b433b011deba9fe1b24c75ac01e72cf27728ef5d56c2491ca405
MD5 942c747fc174b859ebe0afcbc2b9ddf4
BLAKE2b-256 c2a7ba4bfa48fc5f67d77f4a64e0a38147381aed955b02158a198aa5a03fc9fe

See more details on using hashes here.

File details

Details for the file payman_zibal-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: payman_zibal-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for payman_zibal-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e767f5b087b1cdc7521f9dbfe5d0cc003ab2a9f4a21ccd5ac31c0dfa392953e1
MD5 cc8ac42540d8624fc22873c48da50e3c
BLAKE2b-256 96ef7b0c3ebb6766b9b32930d91485a4c388d2017227e3816df11344efeafec7

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