Skip to main content

Simple FreeKassa payment client for Python

Project description

freekassa api client

Intallation

pip install freekassa-client

Usage

Generate link payment

client = FreeKassaClient(
    merchant_id=123456789,
    secret_word_1='secret1',
    secret_word_2='secret2',
    api_key='api_key'
)
payment_link = client.ui_create_order(
    amount=Decimal(1000), currency='USD', payment_id='payment_id'
)

Check payment

# yours view.py
def some_view(request, *args, **kwargs):
    ...
    verified = client.verify_notify(amount, order_id, sign)
    ...

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

freekassa_client-0.1.1.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

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

freekassa_client-0.1.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file freekassa_client-0.1.1.tar.gz.

File metadata

  • Download URL: freekassa_client-0.1.1.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for freekassa_client-0.1.1.tar.gz
Algorithm Hash digest
SHA256 81ba4e3a02eda9915cdb1b9b6888f349490b3d5e6adf6afdcc6faaaa2fe32bc7
MD5 ed58b95c09a529613fe6388ec8e96714
BLAKE2b-256 0cd3cdf7324198d8d932103001d6442a76ee7eeaee219cedc434dba5e6feb228

See more details on using hashes here.

File details

Details for the file freekassa_client-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for freekassa_client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f390dc44b84b9efe9c2d0cc91a9b7e00dda300bcc0da13a8c85e508c520b348
MD5 c762fbfd82576d5253b2f2789c47a7ca
BLAKE2b-256 83678d2d7c5f4bc88ab92a548255a531226d539fb2290f1ecac9f1e700715c74

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