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.4.tar.gz (6.8 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.4-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: freekassa_client-0.1.4.tar.gz
  • Upload date:
  • Size: 6.8 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.4.tar.gz
Algorithm Hash digest
SHA256 562fe126209d1bb1173b322cbb7b4db276ee858e5b146537659a54646d0b641a
MD5 e3659008e5e2299060b1a104f0a09484
BLAKE2b-256 ccc51e0b4b44f8d2a3f1153fb0ac008f2488fb4f9204f8982e22a56bd0110105

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freekassa_client-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 88aa92964b7879c8d94c2d87b2ba2d0ff09cb1fb6bfffffd1f6a591fd17184d2
MD5 5bb5cf3b289af20eb03b89d70bfdbda6
BLAKE2b-256 ec015bd77351648183adb82d913dd69856e6443181ce75ceb529bb1cf1f81992

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