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.3.tar.gz (10.2 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.3-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: payman_zibal-1.0.3.tar.gz
  • Upload date:
  • Size: 10.2 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.3.tar.gz
Algorithm Hash digest
SHA256 ffc992fed048473336cc49fd75cc7bdf43d343483da22e8cd24adc9232dd64bf
MD5 37820054245519ffca1e305fe97ee06b
BLAKE2b-256 adfd68f5ac46b94f055e340ad3e2c28221c0344e94dd573aef91cff6d873b849

See more details on using hashes here.

File details

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

File metadata

  • Download URL: payman_zibal-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 aff27c22a868652c37885564a717310d8d9e156a26122d661c6ace1c21c9a01b
MD5 6207f424176ff0f74b51d824af40aab9
BLAKE2b-256 b18a6437a40661ec6973a7c4772c9225b8a2619c0f50cf60c51ca7d0a9290dc3

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