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.6.tar.gz (6.9 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.6-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: freekassa_client-0.1.6.tar.gz
  • Upload date:
  • Size: 6.9 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.6.tar.gz
Algorithm Hash digest
SHA256 33c4ea3359c8a3c6ccf2c1e9291334a3c9f77aa306d8c5d2c055f5304a7b5bfa
MD5 4a4fd60bbcf3383d14a903b8a26efb5a
BLAKE2b-256 d2e3d9ef58f913d82ba9a158cdc42d39d208603e9540f221be6948bc9b9df633

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freekassa_client-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4d6f482abb78db4af702c1eb9ed86deaee30f8feb895714c289c25e2d865e17d
MD5 e5bd4feafe7cdc69cae0d48544038b26
BLAKE2b-256 8ab63ebba7690acba4bdcce518684d47643d100174cbd9a686fa31bbd94c362f

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