Skip to content

Commit 8f0e5fe

Browse files
author
Mikhail Pyrev
committed
Add support for SNGCARD
1 parent 76c0536 commit 8f0e5fe

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

capitalist/models.py

+6
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ def get_payment_args(self):
119119
return [arg for arg in args if arg is not None]
120120

121121

122+
# Deprecated
122123
class CardUkrainianPayment(CardRussianPayment):
123124
def get_codename(self):
124125
return 'UKRCARD'
@@ -156,6 +157,11 @@ def get_payment_args(self):
156157
self.card_expiration_month, self.card_expiration_year)
157158

158159

160+
class CardCISPayment(CardWorldwidePayment):
161+
def get_codename(self):
162+
return 'SNGCARD'
163+
164+
159165
class YandexMoneyPayment(BasePayment):
160166
__slots__ = ['number', 'amount', 'currency', 'internal_id', 'destination']
161167

setup.py

+3-3
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.2.2', # Required
46+
version='1.2.3', # Required
4747

4848
# This is a one-line description or tagline of what your project does. This
4949
# corresponds to the "Summary" metadata field:
@@ -94,7 +94,7 @@
9494
# 3 - Alpha
9595
# 4 - Beta
9696
# 5 - Production/Stable
97-
'Development Status :: 3 - Alpha',
97+
'Development Status :: 5 - Production',
9898

9999
# Indicate who your project is intended for
100100
'Intended Audience :: Developers',
@@ -109,10 +109,10 @@
109109
# 'Programming Language :: Python :: 2',
110110
# 'Programming Language :: Python :: 2.7',
111111
'Programming Language :: Python :: 3',
112-
# 'Programming Language :: Python :: 3.4',
113112
'Programming Language :: Python :: 3.5',
114113
'Programming Language :: Python :: 3.6',
115114
'Programming Language :: Python :: 3.7',
115+
'Programming Language :: Python :: 3.8',
116116
],
117117

118118
# This field adds keywords for your project which will appear on the

0 commit comments

Comments
 (0)