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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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