GithubHelp home page GithubHelp logo

guniorobot / python-payflowpro Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bkeating/python-payflowpro

1.0 2.0 0.0 253 KB

A simple Python client for PayPal's Payflow Pro API (HTTPS Interface).

Home Page: https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/howto_gateway_payflowpro

License: Apache License 2.0

python-payflowpro's Introduction

PayPal's Payflow Pro Python Client

python-payflowpro (or simply payflowpro within the Python environment) provides an interface to the PayPal Payflow Pro API (HTTPS Interface) making it easy for you to collect and manage payments within your python-based applications.

This project is a fork of James Murty & John D'Agostino's python-payflowpro project hosted on Google Code and is now considered the most current and active.

Specifically, It allows you to:

  • Submit Sales Transactions
  • Submit Authorization & Delayed Capture Transactions
  • Security Code (CVV, CVC2, CVV2) & Address Verification (Requires Verification module. Additional costs apply.)
  • Create Recurring Billing Profiles (Requires Recurring Billing module. Additional costs apply.)
  • Modify & Reactivate Recurring Billing Profiles
  • Display payment history of a Recurring Billing Profile
  • Cancel A Recurring Billing Profile (aka 'Freezing')
  • Inquiry Transactions (One-time & Recurring Billing Profile)

Payment Methods Supported (TENDER_TYPES)

  • Automated clearinghouse
  • Credit card
  • Pinless debit
  • Telecheck
  • PayPal

Transactions Types Supported (TRANSACTION_TYPES)

  • Sale transaction
  • Credit
  • Authorization
  • Delayed Capture
  • Void
  • Voice Authorization
  • Inquiry
  • Duplicate transaction
  • Recurring (Optional. Requires Recurring Billing module. Additional costs apply.)

Requirements

The recurring billing functionality of this library requires the PayflowPro account to have the Recurring Billing module activated (additional costs apply). Likewise with the Security Code & Address Verification module. Unless you have the appropriate modules enabled within your Paypal Payflow Pro Account (This is set via the Paypal Manager), passing Street Addresses and Security Codes will not be ran through verification.

Installation

You can install python-payflowpro one of three ways:

  • run python setup.py install within the python-payflowpro directory
  • ln -s /path/to/python-payflowpro/payflowpro /path/to/site-packages/
  • pip install -e git://github.com/bkeating/python-payflowpro.git#egg=python_payflowpro

Each approach gives you the same result. You can test your installation by starting an interactive prompt:

$ python
>>> import payflowpro
>>> payflowpro.VERSION
(0, 3, 'pre')

Usage

Refer to the client.py file in the tests subdirectory for example usage of the client.

To run the tests you will have to edit the file and set the following variables with a valid Payflow Pro Account.

  • PARTNER_ID
  • VENDOR_ID
  • USERNAME
  • PASSWORD

python-payflowpro's People

Contributors

jmurty avatar bkeating avatar

Stargazers

Gun.io Robot avatar

Watchers

Gun.io Robot avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.