Skip to main content

manage payping.ir web service

Project description

payping

payping is a Python library for using web services (www.payping.ir)

documentation

پی پینگ یک کتابخانه پایتون برای استفاده از خدمات پرداخت وب سروریس پی پینگ دات ایر است

مستند ها سایت

Installation

Use the package manager pip to install payping.

pip install payping

Usage

دریافت توکن

GET Token

from payping.authentication import Bearer

# returns header with token
Bearer(token='')

ساخت کد پرداخت

make payment code

from payping.payment import make_payment_code

# returns code
make_payment_code(header='', amount='', returnUrl='')

ادرس صفحه پرداخت

GET url payment

from payping.payment import get_url_payment

# returns url
get_url_payment(code='')

ادرس صفحه پرداخت

GET url payment

from payping.payment import get_url_payment

# returns url
get_url_payment(code='')

ادرس صفحه پرداخت

GET url payment

from payping.payment import verify_payment

# returns response amount cardNumber cardHashPan
verify_payment(header='', refid='', amount='')

example

نمونه کد برای استفاده پی پینک

example code payping github

License

MIT

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

payping-0.0.4.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

payping-0.0.4-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file payping-0.0.4.tar.gz.

File metadata

  • Download URL: payping-0.0.4.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.8

File hashes

Hashes for payping-0.0.4.tar.gz
Algorithm Hash digest
SHA256 7cee92050ca6bd1c1b8f03f05127cbb16d50d1e29cba9f49f43b51fbcd485725
MD5 f64b8e874182739684a91d76fae0591a
BLAKE2b-256 13159816c5921b4813c07583da9368335c92a71fd59051dc76b937323dc42c6a

See more details on using hashes here.

File details

Details for the file payping-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: payping-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.8

File hashes

Hashes for payping-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 aaa14e6dca4bfb0013b558945146a69b5607bb51e536a861e3edf87ac78373fc
MD5 5ef3636d6730e8d1ca86bcdd44a92225
BLAKE2b-256 146f576d48b925b33fcf16e20c18d393c27d69daf1781f50300489ab0defa2e1

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