Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

greenhouse/firstdata

Open more actions menu

Repository files navigation

Build Status

IMPORTANT This project is no longer maintained by @stevepeak. If you would like ownership over this repo I will transfer it. Thanks!

Unofficial First Data's Global Gateway e4 Python Handler

This project is not endourced by myself or First Data. Please read disclaimer before use. Thanks

Install

pip install firstdata

Usage

import firstdata

fd = firstdata.FirstData(key, secret,
    gateway_id=gateway_id,
    password=password,
    transaction_type="01",
    amount="1.00",
    cardholder_name="Customer",
    cc_number="41111111111111111",
    cc_expiry="1215")

result = fd.process(test=use['test'])

# dict of results: result['transaction_approved'], result['authorization_num'], ....

Link

License

Licensed under the Apache Licence, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html).

Disclaimer

THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

About

Unofficial FirstData G4 Python Handlers

Resources

Stars

Watchers

Forks

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.