Skip to main content

Wrapper to integrate functionalities of Easebuzz Payment Gateway

Project description

Easebuzz Payment Gateway Integration Library - Python

This Python library provides functionalities to integrate the Easebuzz Payment Gateway into your web application. With this library, you can initiate payments, query transaction details, perform refunds, manage payouts, and verify Easebuzz API responses.

How to use - Example use case

1. Import EasebuzzAPIs

from Easebuzz import EasebuzzAPIs

2. Initialize the EasebuzzAPIs class

easebuzz_api = EasebuzzAPIs(your_merchant_key, your_salt_key, env)

3. Prepare Payment parameters

payment_params = {
    'amount': '10',
    'firstname': 'Deevek',
    'email': 'deevek@world.com',
    'phone': '9999999999',
    'productinfo': 'Apple Iphone',
    'surl': 'https://example.com/success',
    'furl': 'https://example.com/failure'
}

4. Initiate payment

response = easebuzz_api.initiate_payment_api(payment_params)
print(response)

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

easebuzz-1.0.4.tar.gz (8.9 kB view hashes)

Uploaded Source

Built Distribution

Easebuzz-1.0.4-py3-none-any.whl (23.1 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