Skip to main content

A SDK Addonpayments implemented with Python.

Project description

https://img.shields.io/pypi/v/addonpayments-sdk-python.svg

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.

Features

HPP

  • Integrates in minutes

  • Minimises the merchant’s PCI overheads

  • Customisable, for a seamless checkout process

API

  • Gives you full control of the payment process

  • Provides access to a full suite of transaction management requests

  • Suitable for call centre integrations

Quick start

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

Usage

Take a look at the Django demo project

Documentation

Visit the documentation for an in-depth look at AddonPayments SDK Python.

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

addonpayments-sdk-python-0.2.9.tar.gz (20.1 kB view details)

Uploaded Source

File details

Details for the file addonpayments-sdk-python-0.2.9.tar.gz.

File metadata

File hashes

Hashes for addonpayments-sdk-python-0.2.9.tar.gz
Algorithm Hash digest
SHA256 35091b22065f30fe605cbdf1b4d684fae3a018c2b4ad6e588b9f135a7a925782
MD5 f896d6346f71ea6aa29eefbc31e13360
BLAKE2b-256 af01748ed8230f8baf2b2f455a55911f64ea5de04080ac4ea8336775e6fe5cd3

See more details on using hashes here.

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