Skip to content

Python Client for PayPro API v1

License

Notifications You must be signed in to change notification settings

paypronl/paypro-python-v1

Repository files navigation

PayPro

Python Client for PayPro API v1

License: MIT PyPi Package circleci

This library provides a Python client to connect with the PayPro API.

Requirements

  • Python >= 3.0
  • It also depends on the Requests package

Installation

Installation is done through pip you can use this command:

pip install paypro

If you want to develop or run the source you can use the supplied Pipfile to install all packages. To run the tests you also need to install the dev packages.

Getting Started

Example of creating a payment:

from paypro import Client

client = Client('YOUR_API_KEY')
client.setCommand('create_payment')
client.setParams(
  {
    'amount': 500,
    'consumer_email': 'test@paypro.nl',
    'pay_method': 'ideal/INGBNL2A'
  }
)
client.execute()

Documentation

For guides and code examples you can go to https://paypro.nl/developers/docs.

Tests

To run the test suite you can execute the tests.py file. This will run the whole suite and generates a JUnit XML file with all test results.

Contributing

If you want to contribute to this project you can fork the repository. Create a new branch, add your feature and create a pull request. We will look at your request and determine if we want to add it.

License

MIT

About

Python Client for PayPro API v1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages