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 hashes)

Uploaded Source

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