A SDK Addonpayments implemented with Python.
AddonPayments SDK Python is a library that allows integration with the SDK’s of AddonPayments in a easy and fast way. There are two types of integration: HPP (Hosted Payment Page) and API.
- Integrates in minutes
- Minimises the merchant’s PCI overheads
- Customisable, for a seamless checkout process
- Gives you full control of the payment process
- Provides access to a full suite of transaction management requests
- Suitable for call centre integrations
First of all, you need to install AddonPayments SDK Python package:
pip install addonpayments-sdk-python
In order to use the SDK it is necessary to have an account in Addon Payments, then it will be necessary to configure the SDK with the values of your account. Create the settings.ini file in your project with the content that we provide in the addonpayments/settings.ini.template file:
; cp settings.ini.template your_project_folder/settings.ini [settings] DEBUG=True MERCHANT_ID = yourmerchantid SHARED_SECRET = yoursharedsecret ADDONPAYMENTS_HPP_URL = https://hpp.sandbox.addonpayments.com/pay ADDONPAYMENTS_API_URL = https://remote.sandbox.addonpayments.com/remote
Take a look at the Django demo project
Visit the documentation for an in-depth look at AddonPayments SDK Python.