Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .python-version
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
3.5.0
2.7.10
3.5.1
2.7.11
3.4.3
3.3.6
3.2.6
3.1.5
2.6.9
pypy3-2.4.0
pypy-2.6.1
pypy-4.0.1
52 changes: 52 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
language: python

python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "pypy"
- "pypy3"

env:
- REQUESTS=1.0
- REQUESTS=1.1
- REQUESTS=1.2
- REQUESTS=2.0
- REQUESTS=2.1
- REQUESTS=2.2
- REQUESTS=2.3
- REQUESTS=2.4
- REQUESTS=2.5
- REQUESTS=2.6
- REQUESTS=2.7
- REQUESTS=2.8
- REQUESTS=2.9
- REQUESTS=dev

cache: pip

matrix:
fast_finish: true
exclude:
# No support for Python 3.4+ in requests 1.x
- python: "3.4"
env: REQUESTS=1.0
- python: "3.4"
env: REQUESTS=1.1
- python: "3.4"
env: REQUESTS=1.2
- python: "3.5"
env: REQUESTS=1.0
- python: "3.5"
env: REQUESTS=1.1
- python: "3.5"
env: REQUESTS=1.2

# No support for Python 3.2- in virtualenv 14+
install:
- travis_retry pip install "virtualenv<14.0.0" "tox>=1.9"

script:
- tox -e py$(echo $(echo $TRAVIS_PYTHON_VERSION | sed -e 's/pypy/py/')-requests$REQUESTS | tr -d .) -- --cov=payplug
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
1.2.0
-----

- **NEW**: Support for Customers and Cards. (see official documentation)
- **NEW**: Add ability to abort payment objects.

```
payment.abort()
```

- **NEW**: This library is now under MIT Licence (Issue #4).
- Minor fixes in tests.
- Add this changelog.
21 changes: 21 additions & 0 deletions LICENCE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2016 Payplug

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
13 changes: 12 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,25 @@
Python library for the PayPlug API
==================================

.. image:: https://travis-ci.org/payplug/payplug-python.svg?branch=master
:target: https://travis-ci.org/payplug/payplug-python
:alt: CI Status

.. image:: https://img.shields.io/pypi/v/payplug.svg?maxAge=2592000
:target: https://pypi.python.org/pypi/payplug/
:alt: PyPi

This is the documentation of PayPlug's Python library. It is designed to help developers to use PayPlug as
payment solution in a simple, yet robust way.

Prerequisites
-------------

PayPlug's library relies on **python-requests>=1.0.1** to perform HTTP requests and requires **OpenSSL** to secure
transactions. You also need either a **Python 2** newer than **Python 2.6** or a **Python 3** newer than **Python 3.1**.
transactions. You also need either a **Python 2.6+** or a **Python 3.3+**. The library is known to work with these
versions, pypy and pypy3. It may work on older versions or other Python implementations without warranty. If you use an
implementation that is not listed above, do not hesitate to let us known if it worked for you or not, so that we can
update this prerequisites.
To ensure **Python 2** and **Python 3** compatibility, this library also depends on **six>=1.4.0**.

Installation
Expand Down
Loading