django-chelseru 1.1.6__py3-none-any.whl → 1.1.7__py3-none-any.whl
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.
- {django_chelseru-1.1.6.dist-info → django_chelseru-1.1.7.dist-info}/METADATA +1 -1
- {django_chelseru-1.1.6.dist-info → django_chelseru-1.1.7.dist-info}/RECORD +7 -7
- drfchelseru/models.py +1 -3
- drfchelseru/views.py +0 -1
- {django_chelseru-1.1.6.dist-info → django_chelseru-1.1.7.dist-info}/WHEEL +0 -0
- {django_chelseru-1.1.6.dist-info → django_chelseru-1.1.7.dist-info}/licenses/LICENSE +0 -0
- {django_chelseru-1.1.6.dist-info → django_chelseru-1.1.7.dist-info}/top_level.txt +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
django_chelseru-1.1.
|
|
1
|
+
django_chelseru-1.1.7.dist-info/licenses/LICENSE,sha256=VupU5KV4NteHaNQb-WH31G_WZWezxXoomjiCIAHoQJo,1089
|
|
2
2
|
drfchelseru/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
drfchelseru/admin.py,sha256=8glh59ggY-7ud76dIDfAXQwkBPq9Q80MF_qUC9ZOi0w,986
|
|
4
4
|
drfchelseru/apps.py,sha256=hOTTzFGLXiTPZeN8p_LLcSECLtsR2Q0SUo8zJzgM-qQ,211
|
|
5
5
|
drfchelseru/consumers.py,sha256=c8h9JYu5QUSKRREFrIrkjpkEQTzG5V8eg2lriaZODsc,2614
|
|
6
6
|
drfchelseru/middlewares.py,sha256=Ej_9GTlVPzfzYAUqxUn7VHJRdlywQmrbSIW43yK5q5U,3818
|
|
7
|
-
drfchelseru/models.py,sha256=
|
|
7
|
+
drfchelseru/models.py,sha256=B7G9lWNrlHWD__S_opVDDVOzK5mOx96uD2RNBEqiWdU,9708
|
|
8
8
|
drfchelseru/routing.py,sha256=shAlgzcIwVuVPlvKeWBLCqr6PuBTHyIrWNgHEfnqrxg,165
|
|
9
9
|
drfchelseru/serializers.py,sha256=I3kS2NhzIprY8-WWhjQPShAom6R7epg7do7RnDkpnys,1421
|
|
10
10
|
drfchelseru/services.py,sha256=p7qgxy2iOajx0muU8GUvnejOlJ8bN5Jb3GntlPttqIc,17496
|
|
@@ -13,7 +13,7 @@ drfchelseru/signals.py,sha256=nmFv208GW9nir9PAB0a1050OMh4I9em0n60O6Mgfwec,2554
|
|
|
13
13
|
drfchelseru/tests.py,sha256=mrbGGRNg5jwbTJtWWa7zSKdDyeB4vmgZCRc2nk6VY-g,60
|
|
14
14
|
drfchelseru/urls.py,sha256=zV4PJpJoxTMoYPLSQftdh-KDRG-WFgLBmJYQBlXnNMU,895
|
|
15
15
|
drfchelseru/validators.py,sha256=jAJASfG4kPcqrGxxIcoR8VjS4L4n_EzZuxJtQ1g9qmo,480
|
|
16
|
-
drfchelseru/views.py,sha256=
|
|
16
|
+
drfchelseru/views.py,sha256=a0iYolE6K_UailxfcjO9egzc2Ze9NQiBRJdtRWujxjg,16303
|
|
17
17
|
drfchelseru/migrations/0001_initial.py,sha256=LfkWAeQuPXNW3_igM-w_pyKafCeHQF3aReYgMXfMzEE,1034
|
|
18
18
|
drfchelseru/migrations/0002_otpcode_session_user.py,sha256=c3oyBTQo2kjsKr5r_XQrqaq-66F7pui-4H4mEyAXgJk,3126
|
|
19
19
|
drfchelseru/migrations/0003_rename_mobile_otpcode_mobile_number.py,sha256=eiD7t6etg6nOeT7BhJrSfEcR1yTPePXtATgtyu30520,377
|
|
@@ -32,7 +32,7 @@ drfchelseru/migrations/0015_payment_message.py,sha256=7aysohtF5ajAGFB88IRIy4nRag
|
|
|
32
32
|
drfchelseru/migrations/0016_payment_card_hash_payment_card_pan_and_more.py,sha256=bRGD0ZMJWW3R_c3mFAHsTMC8am2Xymh-48XRPVKmgvc,887
|
|
33
33
|
drfchelseru/migrations/0017_alter_payment_callback_url_alter_payment_gateway_url.py,sha256=CzlVrPM3L7Iv1lgjM6-MSBdw38y5uaBH9Oc6PCSImCQ,574
|
|
34
34
|
drfchelseru/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
35
|
-
django_chelseru-1.1.
|
|
36
|
-
django_chelseru-1.1.
|
|
37
|
-
django_chelseru-1.1.
|
|
38
|
-
django_chelseru-1.1.
|
|
35
|
+
django_chelseru-1.1.7.dist-info/METADATA,sha256=66I_32y_paxHhCOKm58uyPvH7Wut9gQT8bBpuQmuVOg,10944
|
|
36
|
+
django_chelseru-1.1.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
37
|
+
django_chelseru-1.1.7.dist-info/top_level.txt,sha256=fsaO1F03W3j4AYi0TfDGv5Cjb_Qrh6RSkwkWqfqaMns,12
|
|
38
|
+
django_chelseru-1.1.7.dist-info/RECORD,,
|
drfchelseru/models.py
CHANGED
|
@@ -184,7 +184,7 @@ class Payment(models.Model):
|
|
|
184
184
|
message = models.CharField(max_length=25, blank=True, null=True)
|
|
185
185
|
card_hash = models.TextField(blank=True, null=True)
|
|
186
186
|
card_pan = models.TextField(blank=True, null=True)
|
|
187
|
-
ref_id = models.
|
|
187
|
+
ref_id = models.BigIntegerField(blank=True, null=True)
|
|
188
188
|
|
|
189
189
|
data = models.TextField(blank=True, null=True)
|
|
190
190
|
data_verify = models.TextField(blank=True, null=True)
|
|
@@ -258,8 +258,6 @@ class Payment(models.Model):
|
|
|
258
258
|
ref_id = kwargs.get('ref_id')
|
|
259
259
|
data_verify = kwargs.get('data_verify')
|
|
260
260
|
|
|
261
|
-
print(status_code, message, card_hash, card_pan, ref_id, data_verify, sep='\n')
|
|
262
|
-
|
|
263
261
|
if status_code is not None:
|
|
264
262
|
self.status_code = status_code
|
|
265
263
|
|
drfchelseru/views.py
CHANGED
|
@@ -353,7 +353,6 @@ class PaymentCallback(APIView):
|
|
|
353
353
|
try:
|
|
354
354
|
obj = self.model.objects.get(authority=authority)
|
|
355
355
|
response = verify_payment(authority=authority, amount=obj.amount)
|
|
356
|
-
print('response in views: ', response)
|
|
357
356
|
obj.set_verify_data(**response)
|
|
358
357
|
return Response({'details': response}, status=HTTP_200_OK)
|
|
359
358
|
except self.model.DoesNotExist:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|