Skip to content

Commit 44f6540

Browse files
author
Mikhail Pyrev
committed
Add ukranian card payment type
1 parent 2f51919 commit 44f6540

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

capitalist/models.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,11 @@ def get_payment_args(self):
119119
return [arg for arg in args if arg is not None]
120120

121121

122+
class CardUkrainianPayment(CardRussianPayment):
123+
def get_codename(self):
124+
return 'UKRCARD'
125+
126+
122127
class CardWorldwidePayment(BasePayment):
123128
__slots__ = [
124129
'card_number', 'amount', 'currency', 'internal_id', 'destination', 'card_first_name', 'card_last_name',

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
# For a discussion on single-sourcing the version across setup.py and the
4444
# project code, see
4545
# https://packaging.python.org/en/latest/single_source_version.html
46-
version='1.1.0', # Required
46+
version='1.1.1', # Required
4747

4848
# This is a one-line description or tagline of what your project does. This
4949
# corresponds to the "Summary" metadata field:

0 commit comments

Comments
 (0)