A simple package to help you streamline your integration to Tingg APIs.
Project description
Overview
This Tingg Checkout SDK helps you streamline your integration to the Tingg Checkout API to facilitate secure processing of payments. It includes functionality for payload validation and encryption of payment data.
Prerequisites
You need a Tingg account to use this package. If you don’t have one you can contact our account managers through tingg-checkout@cellulant.io and have your business registered & activated.
Visit our official documentation to find out more on how you can get started using Tingg.
Once you’re signed in, you will need to retrieve your API Keys, that is the IV Key, the Secret Key, and the Access Key.
Installation
pip install Tingg
Usage
from tingg import Express
from tingg import Checkout
payload = {
# Your payment payload
}
iv_key = 'your_iv_key'
secret_key = 'your_secret_key'
access_key = 'your_access_key'
environment = 'sandbox'
checkout_instance = Checkout(iv_key, secret_key, access_key, environment)
encrypted_payload, redirect_url = checkout_instance.process_payment(payload)
Features
Payload Validation: Ensures that the provided payment payload adheres to specified criteria.
Encryption: Uses AES encryption to secure payment data during processing.
For more detailed usage instructions and examples, refer to the documentation.
Feedback
Feel free to reach us through our discussion forum.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.