django-chelseru 1.1.5__py3-none-any.whl → 1.1.6__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: django-chelseru
3
- Version: 1.1.5
3
+ Version: 1.1.6
4
4
  Summary: Authentication system, online and real-time chat, SMS system for Iranian SMS services.
5
5
  Home-page: https://pipdjango.chelseru.com
6
6
  Author: Sobhan Bahman Rashnu
@@ -1,10 +1,10 @@
1
- django_chelseru-1.1.5.dist-info/licenses/LICENSE,sha256=VupU5KV4NteHaNQb-WH31G_WZWezxXoomjiCIAHoQJo,1089
1
+ django_chelseru-1.1.6.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=2CaOyTfNDVjdt2aGc0qGTie8xxLRzp8hDf75-_P_KRs,9705
7
+ drfchelseru/models.py,sha256=7LZPYeVaU_VBWBm0RL1UAFApymQZ3EkHV-STyNyS93A,9794
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=a0iYolE6K_UailxfcjO9egzc2Ze9NQiBRJdtRWujxjg,16303
16
+ drfchelseru/views.py,sha256=03oRYb_VpGVjf1S4xqPNWrzrG5xA1zmFfijzXhUT8MU,16358
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.5.dist-info/METADATA,sha256=aQ8LMHWiXvnDktLKih59KPKytTy0vSkDzHP_U5vOmIM,10944
36
- django_chelseru-1.1.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
37
- django_chelseru-1.1.5.dist-info/top_level.txt,sha256=fsaO1F03W3j4AYi0TfDGv5Cjb_Qrh6RSkwkWqfqaMns,12
38
- django_chelseru-1.1.5.dist-info/RECORD,,
35
+ django_chelseru-1.1.6.dist-info/METADATA,sha256=iA9j92_G68NIXo7AM-ExedtV0Lyd85Ke6wtrr5mWdWs,10944
36
+ django_chelseru-1.1.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
37
+ django_chelseru-1.1.6.dist-info/top_level.txt,sha256=fsaO1F03W3j4AYi0TfDGv5Cjb_Qrh6RSkwkWqfqaMns,12
38
+ django_chelseru-1.1.6.dist-info/RECORD,,
drfchelseru/models.py CHANGED
@@ -258,6 +258,8 @@ 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
+
261
263
  if status_code is not None:
262
264
  self.status_code = status_code
263
265
 
drfchelseru/views.py CHANGED
@@ -353,6 +353,7 @@ 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)
356
357
  obj.set_verify_data(**response)
357
358
  return Response({'details': response}, status=HTTP_200_OK)
358
359
  except self.model.DoesNotExist: