Skip to main content

Simplify Commerce Python SDK

Project description

            Python SDK for Simplify Commerce

What is it?

A python API to the Simplify Commerce payments platform. If you have not already got an account sign up at https://www.simplify.com/commerce.

Installation

To install:

python setup.py install

Using the SDK

To run a payment though Simplify Commerce use the following script substituting your public and private API keys:

import simplify
simplify.public_key = "YOUR_PUBLIC_API_KEY"
simplify.private_key = "YOUR_PRIVATE_API_KEY"
payment = simplify.Payment.create({
   	    "card" : {
            "number": "5555555555554444",
            "expMonth": 11,
            "expYear": 15,
            "cvc": "123"
        },
        "amount" : "1000",
        "description" : "prod description",
        "currency" : "USD"
    })
print payment

For more examples see https://www.simplify.com/commerce/docs/sdk/python.

Version

This is version 1.7.0 of the SDK. For an up-to-date version check at https://www.simplify.com/commerce/docs/sdk/python.

Licensing

Please see LICENSE.txt for details.

Documentation

API documentation is available in the doc directory in HTML. For more detailed information on the API with examples visit the online documentation at https://www.simplify.com/commerce/docs/sdk/python.

Support

Please see https://www.simplify.com/commerce/support for information.

Copyright

Copyright (c) 2013 - 2020 MasterCard International Incorporated All rights reserved.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for simplifycommerce-sdk-python, version 1.7.0
Filename, size File type Python version Upload date Hashes
Filename, size simplifycommerce_sdk_python-1.7.0-py3-none-any.whl (22.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size simplifycommerce-sdk-python-1.7.0.tar.gz (19.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page