Skip to main content

A Python library for 2c2p API

Project description

A Python library for 2c2p API

Table of Contents

Installation

pip install py2c2p

Usage Mobile SDK

A section for mobile SDK (server)

from py2c2p import PaymentGatewaySDK

Creating a PGW Object

MID = 'YOUR MERCHANT ID'
SECRET_KEY = 'YOUR SECRET KEY'

# initial object
pgw = PaymentGatewaySDK(MID, SECRET_KEY)

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

py2c2p-0.0.1.tar.gz (1.4 kB view hashes)

Uploaded source

Supported by

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