Skip to content

Commit 28eb420

Browse files
authored
Merge pull request #51 from Adyen/develop
New release 1.3.0
2 parents 993d1b8 + 1dcbde4 commit 28eb420

30 files changed

+1115
-538
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
**Python version**: x.y.z
2+
**Library version**: x.y.z
3+
**Description**
4+
<!--
5+
- please provide description of the issue. In case of bug report, please provide the necessary steps to reproduce.
6+
- For merchant specific requests, please use https://support.adyen.com
7+
-->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
**Description**
2+
<!-- Please provide a description of the changes proposed in the Pull Request -->
3+
4+
**Tested scenarios**
5+
<!-- Description of tested scenarios -->
6+
7+
**Fixed issue**: <!-- #-prefixed issue number -->

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
*.DS_Store
44
*.pypirc
55
releaseguide.md
6-
6+
venv/
7+
.idea/

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ python:
55
- "3.6"
66
cache: pip
77
install:
8-
- pip install requests
9-
- pip install pycurl
10-
- pip install mock
11-
- pip install coveralls
8+
- pip install requests pycurl mock coveralls pylint pycodestyle
129
script:
1310
- coverage run -m unittest discover -s test -p '*Test.py'
11+
- pycodestyle -v
1412
after_success:
15-
coveralls
13+
- coveralls
14+
- pylint Adyen

Adyen/__init__.py

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/python
22

3-
from __future__ import absolute_import, division, print_function, unicode_literals
3+
from __future__ import absolute_import, division, unicode_literals
44

55
from . import util
66
from .util import generate_hpp_sig
@@ -17,27 +17,23 @@
1717
AdyenBase,
1818
AdyenRecurring,
1919
AdyenPayment,
20+
AdyenThirdPartyPayout,
2021
AdyenHPP)
2122

2223
from .httpclient import HTTPClient
2324

24-
import datetime
25-
26-
username = ""
27-
password = ""
28-
platform = ""
29-
merchant_account = ""
30-
merchant_specific_url = ""
31-
hmac = ""
3225

3326
class Adyen(AdyenBase):
3427
def __init__(self, **kwargs):
3528
self.client = AdyenClient(**kwargs)
3629
self.payment = AdyenPayment(client=self.client)
30+
self.payout = AdyenThirdPartyPayout(client=self.client)
3731
self.hpp = AdyenHPP(client=self.client)
3832
self.recurring = AdyenRecurring(client=self.client)
3933

34+
4035
_base_adyen_obj = Adyen()
4136
recurring = _base_adyen_obj.recurring
4237
hpp = _base_adyen_obj.hpp
4338
payment = _base_adyen_obj.payment
39+
payout = _base_adyen_obj.payout

0 commit comments

Comments
 (0)