payme-pkg 3.0.28__tar.gz → 3.0.29__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of payme-pkg might be problematic. Click here for more details.
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/PKG-INFO +1 -1
- payme_pkg-3.0.29/payme/migrations/0005_alter_paymetransactions_amount.py +19 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/models.py +1 -1
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme_pkg.egg-info/PKG-INFO +1 -1
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme_pkg.egg-info/SOURCES.txt +1 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/setup.py +1 -1
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/LICENSE.txt +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/README.md +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/__init__.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/admin.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/apps.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/classes/__init__.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/classes/cards.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/classes/client.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/classes/http.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/classes/initializer.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/classes/receipts.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/const.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/exceptions/__init__.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/exceptions/general.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/exceptions/webhook.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/migrations/0001_initial.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/migrations/0002_paymetransactions_fiscal_data.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/migrations/0003_alter_paymetransactions_fiscal_data.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/migrations/0004_alter_paymetransactions_account_id.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/migrations/__init__.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/types/__init__.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/types/request/__init__.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/types/response/__init__.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/types/response/cards.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/types/response/receipts.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/types/response/webhook.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/urls.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/util.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/views.py +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme_pkg.egg-info/dependency_links.txt +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme_pkg.egg-info/requires.txt +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme_pkg.egg-info/top_level.txt +0 -0
- {payme_pkg-3.0.28 → payme_pkg-3.0.29}/setup.cfg +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Generated migration to increase amount field precision
|
|
2
|
+
|
|
3
|
+
from django.db import migrations, models
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Migration(migrations.Migration):
|
|
7
|
+
|
|
8
|
+
dependencies = [
|
|
9
|
+
("payme", "0004_alter_paymetransactions_account_id"),
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
operations = [
|
|
13
|
+
migrations.AlterField(
|
|
14
|
+
model_name="paymetransactions",
|
|
15
|
+
name="amount",
|
|
16
|
+
field=models.DecimalField(decimal_places=2, max_digits=15),
|
|
17
|
+
),
|
|
18
|
+
]
|
|
19
|
+
|
|
@@ -27,7 +27,7 @@ class PaymeTransactions(models.Model):
|
|
|
27
27
|
|
|
28
28
|
transaction_id = models.CharField(max_length=50)
|
|
29
29
|
account_id = models.CharField(max_length=256, null=False)
|
|
30
|
-
amount = models.DecimalField(max_digits=
|
|
30
|
+
amount = models.DecimalField(max_digits=15, decimal_places=2)
|
|
31
31
|
state = models.IntegerField(choices=STATE, default=CREATED)
|
|
32
32
|
fiscal_data = models.JSONField(default=dict)
|
|
33
33
|
cancel_reason = models.IntegerField(null=True, blank=True)
|
|
@@ -23,6 +23,7 @@ payme/migrations/0001_initial.py
|
|
|
23
23
|
payme/migrations/0002_paymetransactions_fiscal_data.py
|
|
24
24
|
payme/migrations/0003_alter_paymetransactions_fiscal_data.py
|
|
25
25
|
payme/migrations/0004_alter_paymetransactions_account_id.py
|
|
26
|
+
payme/migrations/0005_alter_paymetransactions_amount.py
|
|
26
27
|
payme/migrations/__init__.py
|
|
27
28
|
payme/types/__init__.py
|
|
28
29
|
payme/types/request/__init__.py
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/migrations/0002_paymetransactions_fiscal_data.py
RENAMED
|
File without changes
|
{payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/migrations/0003_alter_paymetransactions_fiscal_data.py
RENAMED
|
File without changes
|
{payme_pkg-3.0.28 → payme_pkg-3.0.29}/payme/migrations/0004_alter_paymetransactions_account_id.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|