Skip to main content

python implementation for Khser Payment API.

Project description


Ksher python Library at

How to install

pip3 install ksher
from ksher.ksher_pay_sdk import KsherPay


payment_handle = KsherPay(appid, privatekey, pubkey)
data = {
    "total_fee": "100",
    "fee_type": "THB",
    "mch_code": "",
    "refer_url": "",
data['mch_order_no'] = generate_order_id()
resp = payment_handle.gateway_pay(data)

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ksher-0.1.tar.gz (2.7 kB view hashes)

Uploaded source

Built Distribution

ksher-0.1-py3-none-any.whl (2.6 kB view hashes)

Uploaded py3

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