diff --git a/.idea/workspace.xml b/.idea/workspace.xml index f66b223..36aa299 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,13 +3,9 @@ - - - - + - diff --git a/Log/log_file.log b/Log/log_file.log index 5ac24cc..01ae1ca 100644 --- a/Log/log_file.log +++ b/Log/log_file.log @@ -1014347,3 +1014347,7374 @@ INFO:werkzeug:127.0.0.1 - - [23/Jan/2023 19:53:40] "POST /myclass/api/GetActiveS INFO:werkzeug:127.0.0.1 - - [23/Jan/2023 19:53:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - INFO:root:2023-01-23 19:53:40.665760 : Security check : IP adresse '127.0.0.1' connected INFO:werkzeug:127.0.0.1 - - [23/Jan/2023 19:53:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +DEBUG:filelock:Attempting to acquire lock 1453433696912 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1453433696912 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1453433696912 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1453433696912 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1453433848464 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1453433848464 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 1453433848464 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1453433848464 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1453433848592 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1453433848592 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1453433848592 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1453433848592 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 10:50:50.394118 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 10:50:50.394118 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 10:50:50.395100 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 10:50:50.395100 : ++ FLASK PORT 5001 ++ +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2910594676880 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2910594676880 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2910594676880 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2910594676880 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2910594826704 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2910594826704 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2910594826704 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2910594826704 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2910598279440 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2910598279440 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 10:50:58.186610 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 10:50:58.186610 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-24 10:50:58.187610 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 10:50:58.187610 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 2910598279440 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2910598279440 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 11:06:31.682906 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:06:31.684906 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:06:31.685912 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:31] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:31] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:31] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:06:33.057658 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:06:33.059670 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:33] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:06:33.571377 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:06:33.574382 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:33] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:06:33.578382 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:06:33.582379 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:33] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:06:33.587380 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:06:33.594379 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:33] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:06:33.598382 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:06:33.603379 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:33] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:06:33.607378 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:06:33.611378 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:33] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:06:33.615380 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:06:33.618382 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:06:33.622380 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:33] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:06:33.627385 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:33] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:06:33.633378 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:06:33.635377 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:06:33.640377 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:33] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:06:33.643379 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:33] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:06:33.649391 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:06:33.656399 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:33] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:06:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:10:08.557871 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:10:09.131170 : partner_login Connexion partnair mysytraining@gmail.com : OK, Date : 2023-01-24 11:10:08.558870 , _id = 638139d0934a818b1f6f85f7 +INFO:root:2023-01-24 11:10:09.135157 : partner_login Connexion partener_token : OK , _id = 63813a72b4c6b1dce20a0481 +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:10:09] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:10:09.281338 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:10:09.284337 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:10:09.287336 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:10:09] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:10:09.291337 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:10:09] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:10:09] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:10:09.435770 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:10:09] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:10:16.186286 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:10:16.188283 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:10:16.191284 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:10:16] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:10:16.196281 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:10:16] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:10:16] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:10:18.400263 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:10:18] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:10:23.749661 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:10:23.753653 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:10:23.755651 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:10:23] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:10:23.763668 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:10:23] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:10:23] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:10:24.169206 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:10:24] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:14:05.901541 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:14:05.903774 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:14:05.905773 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:05] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:14:05.910779 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:05] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:14:13.338578 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:14:13.341575 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:13] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:14:13.345577 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:14:13.348578 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:13] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:14:13.804242 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:13] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:14:17.313216 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:14:17.315207 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:17] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:14:17.319730 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:14:17.322745 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:17] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:17] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:14:19.335433 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:14:19.338436 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:14:19.341443 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:14:19.361438 : get_partner_class_external_code -'dict' object has no attribute 'sort' - Line : 2327 +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:19] "POST /myclass/api/get_partner_class_external_code/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:20] "POST /myclass/api/GetStat_class_view/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:20] "POST /myclass/api/GetStat_class_view_topX/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:14:30.381071 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:14:30.383071 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:30] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:14:30.389073 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:14:30.390076 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:30] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:30] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:14:32.154321 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:14:32.156321 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:14:32.160318 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:32] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_oTgeocmDYD002L message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:32] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:14:37.909374 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:14:37.911373 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:37] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:14:37.914368 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:14:37.918387 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:37] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:37] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:14:38.357626 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:38] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:14:52.554347 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:14:52.557345 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:52] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:14:52.560347 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:14:52.564941 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:52] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:14:52] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:20:50.293191 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:20:50.296190 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:20:50.298192 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:20:50] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:20:50.302194 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:20:50] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:20:50] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:20:50.551489 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:20:50] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:21:52.131034 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:21:52.134025 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:21:52.136027 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:21:52] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:21:52.144020 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:21:52] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:21:52] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:21:52.553897 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:21:52] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:22:28.824962 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:22:28.827963 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:22:28.829959 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:22:28] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:22:28.834960 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:22:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:22:28] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:22:29.281295 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:22:29] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:23:25.523943 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:23:25.525940 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:23:25.528941 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:23:25] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:23:25.533946 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:23:25] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:23:25] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:25:47.732953 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:25:47.736965 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:25:47.738953 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:25:47] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:25:47.746543 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:25:47] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:25:47] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:26:50.310472 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:26:50.314478 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:26:50] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:26:50.319009 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:26:50.325019 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:26:50] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:26:50] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:26:51.587165 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:26:51] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:29:05.725125 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:29:05.729123 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:29:05] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:29:05.734119 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:29:05.740120 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:29:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:29:05] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:29:06.089342 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:29:06] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:31:35.010274 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:31:35.017270 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:31:35] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:31:35.028743 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:31:35.028743 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:31:35] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:31:35] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:31:35.472405 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:31:35] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:31:46.409787 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:31:46.420491 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:31:46.424489 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:31:46] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:31:46.431492 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:31:46] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:31:46] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:31:47.350124 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:31:47] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:33:02.678359 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:33:02.681397 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:33:02.685383 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:33:02] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:33:02.694955 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:33:02] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:33:02] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:33:02.901171 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:33:02] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:33:02.911420 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:33:02.916427 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:33:02.923430 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:33:02] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:33:02] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:33:57.992283 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:33:57.997122 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:33:58.001123 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:33:58] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:33:58.010122 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:33:58] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:33:58] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:33:58.037116 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:33:58] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:33:58.045126 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:33:58.050133 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:33:58.054122 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:33:58] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:33:58] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:34:16.116132 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:34:16] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:34:16.126141 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:34:16.137170 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:34:16.143158 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:34:16] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:34:16] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:35:11.367013 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:35:11.383454 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:35:11.390446 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:35:11] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:35:11.399984 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:35:11] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:35:11] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:35:11.412984 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:35:11] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:35:11.418986 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:35:11.423992 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:35:11.428990 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:35:11] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:35:11] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:35:19.890242 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:35:19.900652 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:35:19.908220 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:35:19] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:35:19.919214 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:35:19] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:35:19] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:35:19.929233 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:35:19.933215 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:35:19.938215 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:35:19] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:35:19.947214 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:35:19] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:35:19] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:35:36.875957 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:35:36.884957 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:35:36] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:35:36.888958 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:35:36.900967 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:35:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:35:36] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:35:36.911959 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:35:36.916954 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:35:36] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:35:36.921967 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:35:36.927967 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:35:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:35:36] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2101455765200 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2101455765200 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2101455765200 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2101455765200 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2101455849936 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2101455849936 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2101455849936 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2101455849936 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2101382709136 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2101382709136 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2101382709136 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 11:41:05.867205 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Lock 2101382709136 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 11:41:05.868193 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 11:41:05.868193 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 11:41:05.868193 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2074845003152 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2074845003152 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2074845003152 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2074845003152 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2074845103760 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2074845103760 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2074845103760 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2074845103760 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2074846462288 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 11:42:36.842439 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Lock 2074846462288 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 11:42:36.843446 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-24 11:42:36.843446 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 11:42:36.843446 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 2074846462288 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2074846462288 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2381808286544 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2381808286544 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2381808286544 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2381808286544 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2381808387536 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2381808387536 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2381808387536 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 11:43:32.618665 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Lock 2381808387536 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 11:43:32.618665 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 11:43:32.619653 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 11:43:32.619653 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to acquire lock 2383626590480 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2383626590480 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2383626590480 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2383626590480 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2958450633168 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2958450633168 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2958450633168 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2958450633168 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2958450635856 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2958450635856 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2958450635856 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2958450635856 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2958451952848 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2958451952848 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 11:51:02.194503 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-24 11:51:02.194503 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 11:51:02.194503 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 11:51:02.194503 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 2958451952848 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2958451952848 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1623493077712 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1623493077712 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1623493077712 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1623493077712 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1621643264272 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1621643264272 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 1621643264272 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1621643264272 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1621644426320 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1621644426320 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-24 11:51:11.111092 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 11:51:11.111092 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 11:51:11.112097 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 11:51:11.112097 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 1621644426320 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1621644426320 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 11:59:55.601785 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:59:55.604777 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:59:55.607784 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:59:55] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:59:55.620779 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:59:55.620779 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:59:55] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:59:55] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:59:55] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 11:59:55.629784 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:59:55.632796 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 11:59:55.637798 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:59:55] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 11:59:55] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:05:00.098222 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:05:00] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:05:00.104223 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:05:00.107769 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:05:00.109761 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:05:00.118761 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:root:2023-01-24 12:05:00.120763 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:05:00] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:05:00.125757 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:05:00.129752 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:05:00] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:05:00] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:05:00.138755 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:05:00] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:05:00] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:05:01.159105 : CheckSalesOrder - La valeur 'token' n'est pas presente dans liste +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:05:01] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:05:08.959515 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:05:08] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:05:08.964514 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:05:08.967515 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:05:08.970515 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:05:08.971511 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:05:08] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:05:08.977533 : CheckSalesOrder - La valeur 'token' n'est pas presente dans liste +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:05:08] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:05:08] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:07:04.116744 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:07:04.119748 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:07:04.124766 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:07:04] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_AeE4Ac3E3x7gjY message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:07:04] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:07:08.828622 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:07:08.830623 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:07:08] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:07:08.834627 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:07:08.836624 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:07:08.838629 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:07:08] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:07:08.845621 : CheckSalesOrder - La valeur 'token' n'est pas presente dans liste +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:07:08] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:07:08] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:07:15.291004 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:07:15.293003 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:07:15.294000 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:07:15] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:07:15.300999 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:07:15] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:07:15] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:07:15.759935 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:07:15] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:07:18.050862 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:07:18.053864 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:07:18.057866 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:07:18] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_dqQF1WxJARUxuP message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:07:18] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:07:21.758935 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:07:21.761935 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:07:21.764939 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:07:21.767934 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:07:21] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:07:21] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_SHcSuvS4N0o0qg message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:07:22] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:07:22.141444 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:07:22.146451 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:07:22] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:07:27.667069 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 12:07:27.671074 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000102\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00v2O8\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold19090.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 90.0
    TVA 20% : 18.0
    Montant TTC : 108.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000102.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTkLdAbmaEugrFTLE1qzonp",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674558448,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674558448,\n "currency": "eur",\n "current_period_end": 1677236848,\n "current_period_start": 1674558448,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEClEe88eNuNwG",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674558449,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 1,\n "subscription": "sub_1MTkLdAbmaEugrFTLE1qzonp",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTkLdAbmaEugrFTLE1qzonp"\n },\n "latest_invoice": {\n "id": "in_1MTkLdAbmaEugrFTRzew3Yi2",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 9000,\n "amount_paid": 0,\n "amount_remaining": 9000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674558449,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUNsOWpyaHRsc0lRNkFVVEkxVTM4VFQ0bmY1OFgzLDY1MDk5MjUw0200Hek7tYv8?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUNsOWpyaHRsc0lRNkFVVEkxVTM4VFQ0bmY1OFgzLDY1MDk5MjUw0200Hek7tYv8/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTkLdAbmaEugrFT68PSgNVS",\n "object": "line_item",\n "amount": 9000,\n "amount_excluding_tax": 9000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677236848,\n "start": 1674558448\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTkLdAbmaEugrFTLE1qzonp",\n "subscription_item": "si_NEClEe88eNuNwG",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTkLdAbmaEugrFTRzew3Yi2/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0484",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTkLdAbmaEugrFT0T3qeKkh",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTkLdAbmaEugrFT0T3qeKkh"\n },\n "client_secret": "pi_3MTkLdAbmaEugrFT0T3qeKkh_secret_KA2fEzpCwgSFpTrOLtnhrERLU",\n "confirmation_method": "automatic",\n "created": 1674558449,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTkLdAbmaEugrFTRzew3Yi2",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674558448,\n "period_start": 1674558448,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674558449,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTkLdAbmaEugrFTLE1qzonp",\n "subtotal": 9000,\n "subtotal_excluding_tax": 9000,\n "tax": null,\n "test_clock": null,\n "total": 9000,\n "total_discount_amounts": [],\n "total_excluding_tax": 9000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674558449\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674558448,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_O2da3SJsr1TS6X message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:07:29] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:paramiko.transport:starting thread (client mode): 0x91f1ec90 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000102.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000102.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000102.pdf') +INFO:root:2023-01-24 12:07:33.298926 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000102.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000102.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 12:07:33.299937 : Impression facture N° FACT_231000102 OK +INFO:root:2023-01-24 12:07:33.322944 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 12:07:33.306946', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:07:33] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:07:33.459786 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTkLdAbmaEugrFT0T3qeKkh/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2Ftesturl%2F%3Acourse%2F%3Atab +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTkLdAbmaEugrFT0T3qeKkh/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTkLdAbmaEugrFT0T3qeKkh",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTkLdAbmaEugrFT0T3qeKkh"\n },\n "client_secret": "pi_3MTkLdAbmaEugrFT0T3qeKkh_secret_KA2fEzpCwgSFpTrOLtnhrERLU",\n "confirmation_method": "automatic",\n "created": 1674558449,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTkLdAbmaEugrFTRzew3Yi2",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/testurl/:course/:tab",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTkLdAbmaEugrFT0T3qeKkh&payment_intent_client_secret=pi_3MTkLdAbmaEugrFT0T3qeKkh_secret_KA2fEzpCwgSFpTrOLtnhrERLU&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTkLjAbmaEugrFTyBOovm4m"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_oro0ihgZGz7xxJ message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:07:34] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2208521962960 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2208521962960 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2208521962960 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2208521962960 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2208595082000 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2208595082000 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2208595082000 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2208595082000 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2208595951952 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2208595951952 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-24 12:12:16.404023 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 12:12:16.404023 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 12:12:16.404023 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 12:12:16.404023 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 2208595951952 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2208595951952 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1491986707216 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1491986707216 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1491986707216 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1491986707216 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1491986842320 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1491986842320 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 1491986842320 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1491986842320 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1491909449168 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:12:45.517596 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 12:12:45.517596 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 12:12:45.517596 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 12:12:45.517596 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 1491909449168 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1491909449168 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1491909449168 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2076135813136 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2076135813136 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2076135813136 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2076135813136 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2076135793552 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2076135793552 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2076135793552 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2076135793552 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2076139121680 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2076139121680 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:13:07.074622 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 12:13:07.074622 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-24 12:13:07.074622 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 12:13:07.074622 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 2076139121680 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2076139121680 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1729099099984 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1729099099984 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1729099099984 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1729099099984 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1729099102928 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1729099102928 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 1729099102928 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1729099102928 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1729101832464 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1729101832464 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1729101832464 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1729101832464 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:29:50.599064 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 12:29:50.599064 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 12:29:50.600067 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 12:29:50.600067 : ++ FLASK PORT 5001 ++ +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2532812683024 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2532812683024 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2532812683024 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2532812683024 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2532812833232 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2532812833232 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2532812833232 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2532812833232 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:29:58.115409 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Attempting to acquire lock 2532812833552 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:29:58.115409 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 12:29:58.116409 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 12:29:58.116409 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2532812833552 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2532812833552 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2532812833552 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 12:30:28.795561 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:30:28.797567 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:30:28.799575 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:30:28] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:30:28.807589 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:30:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:30:28] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:30:29.315730 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:30:29] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:30:31.617558 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:30:31.619565 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:30:31.623580 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:30:31] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_50K7c9pBJgUW4r message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:30:31] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:30:35.288249 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:30:35.290252 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:30:35.294254 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:30:35] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:30:35.299767 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:30:35] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_ah6DSZoHuTtyIb message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:30:35] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:30:35.656521 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:30:35.660535 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:30:35] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:30:50.348116 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 12:30:50.351268 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000103\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00H6rZ\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard15050.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 50.0
    TVA 20% : 10.0
    Montant TTC : 60.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000103.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTkiFAbmaEugrFTAAy8AdwR",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674559851,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674559851,\n "currency": "eur",\n "current_period_end": 1677238251,\n "current_period_start": 1674559851,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NED8x7Tqo0pKaa",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674559852,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 1,\n "subscription": "sub_1MTkiFAbmaEugrFTAAy8AdwR",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTkiFAbmaEugrFTAAy8AdwR"\n },\n "latest_invoice": {\n "id": "in_1MTkiFAbmaEugrFT4WENGQvm",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 5000,\n "amount_paid": 0,\n "amount_remaining": 5000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674559851,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUQ4UXpTUWNua0NvbVFqSVd4Z0dvbld0bTVqMVBELDY1MTAwNjUy0200HAg4poYA?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUQ4UXpTUWNua0NvbVFqSVd4Z0dvbld0bTVqMVBELDY1MTAwNjUy0200HAg4poYA/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTkiFAbmaEugrFT7sQPaaeF",\n "object": "line_item",\n "amount": 5000,\n "amount_excluding_tax": 5000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_STANDARD (at €50.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677238251,\n "start": 1674559851\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTkiFAbmaEugrFTAAy8AdwR",\n "subscription_item": "si_NED8x7Tqo0pKaa",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "5000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTkiFAbmaEugrFT4WENGQvm/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0485",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTkiGAbmaEugrFT1SSm2LJ7",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTkiGAbmaEugrFT1SSm2LJ7"\n },\n "client_secret": "pi_3MTkiGAbmaEugrFT1SSm2LJ7_secret_NoBNp5rfe5l7l0M1DXtleZAZm",\n "confirmation_method": "automatic",\n "created": 1674559852,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTkiFAbmaEugrFT4WENGQvm",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674559851,\n "period_start": 1674559851,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674559851,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTkiFAbmaEugrFTAAy8AdwR",\n "subtotal": 5000,\n "subtotal_excluding_tax": 5000,\n "tax": null,\n "test_clock": null,\n "total": 5000,\n "total_discount_amounts": [],\n "total_excluding_tax": 5000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674559851\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674559851,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_ubyWxDNln44ASC message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:30:51] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0xa527c750 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000103.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000103.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000103.pdf') +INFO:root:2023-01-24 12:30:56.264178 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000103.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000103.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +INFO:root:2023-01-24 12:30:56.265176 : Impression facture N° FACT_231000103 OK +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 12:30:56.282222 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 12:30:56.271178', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:30:56] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:30:56.438545 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTkiGAbmaEugrFT1SSm2LJ7/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2Ftesturl%2F%3Acourse%2F%3Atab +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTkiGAbmaEugrFT1SSm2LJ7/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTkiGAbmaEugrFT1SSm2LJ7",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTkiGAbmaEugrFT1SSm2LJ7"\n },\n "client_secret": "pi_3MTkiGAbmaEugrFT1SSm2LJ7_secret_NoBNp5rfe5l7l0M1DXtleZAZm",\n "confirmation_method": "automatic",\n "created": 1674559852,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTkiFAbmaEugrFT4WENGQvm",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/testurl/:course/:tab",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTkiGAbmaEugrFT1SSm2LJ7&payment_intent_client_secret=pi_3MTkiGAbmaEugrFT1SSm2LJ7_secret_NoBNp5rfe5l7l0M1DXtleZAZm&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTkiMAbmaEugrFTu3WenqRr"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_4D21kZRtAVfK12 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:30:57] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:31:07.344134 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:31:07.347133 : CheckSalesOrder - La valeur 'orderid' n'est pas presente dans liste +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:31:07] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:31:17.232621 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:31:17.236630 : CheckSalesOrder - La valeur 'orderid' n'est pas presente dans liste +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:31:17] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:31:19.461926 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:31:19.465922 : CheckSalesOrder - La valeur 'orderid' n'est pas presente dans liste +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:31:19] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:31:31.003953 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:31:31.008947 : CheckSalesOrder - La valeur 'orderid' n'est pas presente dans liste +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:31:31] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:31:37.765061 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:31:37.768072 : CheckSalesOrder - La valeur 'orderid' n'est pas presente dans liste +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:31:37] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:32:19.379234 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:32:19.383232 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:32:19.387227 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:32:19.388229 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:32:19] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:32:19] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_CKkG9AuACTO5MY message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:32:19] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:32:19.770489 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:32:19.773501 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:32:19] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:32:22.305229 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTkiGAbmaEugrFT1SSm2LJ7 +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTkiGAbmaEugrFT1SSm2LJ7 response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTkiGAbmaEugrFT1SSm2LJ7",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 5000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTkiGAbmaEugrFT1fdZvCTw",\n "object": "charge",\n "amount": 5000,\n "amount_captured": 5000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTkiGAbmaEugrFT1pIXKMUN",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674559875,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTkiFAbmaEugrFT4WENGQvm",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 27,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTkiGAbmaEugrFT1SSm2LJ7",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKMeDv54GMgbKxpqNfV86LBZGRfnTmFwZUpPtn99ed0fKALqd8BMxLhrCHSJsgP90BGglZCQUNTiORpWm?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTkiGAbmaEugrFT1fdZvCTw/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTkiGAbmaEugrFT1SSm2LJ7"\n },\n "client_secret": "pi_3MTkiGAbmaEugrFT1SSm2LJ7_secret_NoBNp5rfe5l7l0M1DXtleZAZm",\n "confirmation_method": "automatic",\n "created": 1674559852,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTkiFAbmaEugrFT4WENGQvm",\n "last_payment_error": null,\n "latest_charge": "ch_3MTkiGAbmaEugrFT1fdZvCTw",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_p8Kxqwe135MxWo message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:32:22] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:32:35.745492 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:32:35.748490 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:32:35] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:32:35.751488 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:32:35.755585 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:32:35] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:32:35] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:32:36.134047 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:32:36] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:32:38.823282 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:32:38.825278 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:32:38.828279 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:32:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_8ojp2OnCV8W0Im message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:32:39] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:32:42.701051 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:32:42.703036 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:32:42.706540 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:32:42] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:32:42.710552 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:32:42] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_KuSch9Ep2wLoYb message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:32:43] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:32:43.066049 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:32:43.069048 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:32:43] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:32:51.278869 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:32:51.279961 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000104\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_009qUB\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold19090.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 90.0
    TVA 20% : 18.0
    Montant TTC : 108.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000104.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTkkCAbmaEugrFTKY6aLNNZ",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674559972,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674559972,\n "currency": "eur",\n "current_period_end": 1677238372,\n "current_period_start": 1674559972,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEDA9POoaOwvC9",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674559973,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 1,\n "subscription": "sub_1MTkkCAbmaEugrFTKY6aLNNZ",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTkkCAbmaEugrFTKY6aLNNZ"\n },\n "latest_invoice": {\n "id": "in_1MTkkCAbmaEugrFT7EchNV2n",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 9000,\n "amount_paid": 0,\n "amount_remaining": 9000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674559972,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORURBN3dOczdSaEZXOWptODhDNmpVN0tycVVkRDFSLDY1MTAwNzcz0200itwA49Xu?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORURBN3dOczdSaEZXOWptODhDNmpVN0tycVVkRDFSLDY1MTAwNzcz0200itwA49Xu/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTkkCAbmaEugrFTH0ulTJXd",\n "object": "line_item",\n "amount": 9000,\n "amount_excluding_tax": 9000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677238372,\n "start": 1674559972\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTkkCAbmaEugrFTKY6aLNNZ",\n "subscription_item": "si_NEDA9POoaOwvC9",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTkkCAbmaEugrFT7EchNV2n/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0486",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTkkDAbmaEugrFT0eJBhckv",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTkkDAbmaEugrFT0eJBhckv"\n },\n "client_secret": "pi_3MTkkDAbmaEugrFT0eJBhckv_secret_Lws9nVJMF5RW2u9vMmlm2Oppg",\n "confirmation_method": "automatic",\n "created": 1674559973,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTkkCAbmaEugrFT7EchNV2n",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674559972,\n "period_start": 1674559972,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674559972,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTkkCAbmaEugrFTKY6aLNNZ",\n "subtotal": 9000,\n "subtotal_excluding_tax": 9000,\n "tax": null,\n "test_clock": null,\n "total": 9000,\n "total_discount_amounts": [],\n "total_excluding_tax": 9000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674559972\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674559972,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_CYBuocfQNnQ6AD message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:32:52] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0xb3786110 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000104.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000104.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000104.pdf') +INFO:root:2023-01-24 12:32:53.334653 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000104.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000104.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 12:32:53.344645 : Impression facture N° FACT_231000104 OK +INFO:root:2023-01-24 12:32:53.443481 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 12:32:53.411268', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:32:53] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:32:53.943380 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTkkDAbmaEugrFT0eJBhckv/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2Ftesturl%2F%3Acourse%2F%3Atab +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTkkDAbmaEugrFT0eJBhckv/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTkkDAbmaEugrFT0eJBhckv",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTkkDAbmaEugrFT0eJBhckv"\n },\n "client_secret": "pi_3MTkkDAbmaEugrFT0eJBhckv_secret_Lws9nVJMF5RW2u9vMmlm2Oppg",\n "confirmation_method": "automatic",\n "created": 1674559973,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTkkCAbmaEugrFT7EchNV2n",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/testurl/:course/:tab",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTkkDAbmaEugrFT0eJBhckv&payment_intent_client_secret=pi_3MTkkDAbmaEugrFT0eJBhckv_secret_Lws9nVJMF5RW2u9vMmlm2Oppg&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTkkFAbmaEugrFTThoVXML6"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_XoXtmfIRwNjSZK message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:32:55] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:32:59.744338 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTkkDAbmaEugrFT0eJBhckv +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTkkDAbmaEugrFT0eJBhckv response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTkkDAbmaEugrFT0eJBhckv",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTkkDAbmaEugrFT0eJBhckv"\n },\n "client_secret": "pi_3MTkkDAbmaEugrFT0eJBhckv_secret_Lws9nVJMF5RW2u9vMmlm2Oppg",\n "confirmation_method": "automatic",\n "created": 1674559973,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTkkCAbmaEugrFT7EchNV2n",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/testurl/:course/:tab",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTkkDAbmaEugrFT0eJBhckv&payment_intent_client_secret=pi_3MTkkDAbmaEugrFT0eJBhckv_secret_Lws9nVJMF5RW2u9vMmlm2Oppg&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTkkFAbmaEugrFTThoVXML6"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_VKO5iAH9pqoAh6 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:33:00] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2529148300944 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2529148300944 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2529148300944 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2529148300944 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2529476232976 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2529476232976 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2529476232976 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2529476232976 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2529476996688 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2529476996688 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2529476996688 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:35:14.816562 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 12:35:14.816562 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 12:35:14.817550 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 12:35:14.817550 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2529476996688 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2773967422416 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2773967422416 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2773967422416 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2773967422416 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2773967503760 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2773967503760 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2773967503760 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2773967503760 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2773865480144 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:35:22.595365 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 12:35:22.595365 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +DEBUG:filelock:Lock 2773865480144 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:35:22.595365 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 12:35:22.595365 : ++ FLASK PORT 5001 ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2773865480144 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2773865480144 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 12:35:30.984547 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTkkDAbmaEugrFT0eJBhckv +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTkkDAbmaEugrFT0eJBhckv response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTkkDAbmaEugrFT0eJBhckv",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 9000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTkkDAbmaEugrFT0u09xVEZ",\n "object": "charge",\n "amount": 9000,\n "amount_captured": 9000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTkkDAbmaEugrFT0qjXXPAr",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674560124,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTkkCAbmaEugrFT7EchNV2n",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 60,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTkkDAbmaEugrFT0eJBhckv",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKISFv54GMgb67fCXi6A6LBaao_VqqXH9ewnlGT8sFvSt7ABifTD4EbtSyjn-yI_7wtfpKo_i20oShtW4?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTkkDAbmaEugrFT0u09xVEZ/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTkkDAbmaEugrFT0eJBhckv"\n },\n "client_secret": "pi_3MTkkDAbmaEugrFT0eJBhckv_secret_Lws9nVJMF5RW2u9vMmlm2Oppg",\n "confirmation_method": "automatic",\n "created": 1674559973,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTkkCAbmaEugrFT7EchNV2n",\n "last_payment_error": null,\n "latest_charge": "ch_3MTkkDAbmaEugrFT0u09xVEZ",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_ZB2td4ckxz2Lfg message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:35:31] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:35:33.428618 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:35:33.431618 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:35:33.435627 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:35:33.438624 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:35:33.439620 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:35:33] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:35:33.442624 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:35:33] "POST /myclass/api/get_invoice_by_customer/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:35:33.455621 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:35:33] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_855QU59eInFugo message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:35:33] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_LIK2DkVEr7XQYj message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:35:33] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:35:34.639171 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:35:34.641773 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:35:34.644855 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:35:34] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_ePdblamekNkFoG message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:35:34] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:35:37.376671 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:35:37.378812 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:35:37.380875 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:35:37] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:35:37.384950 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:35:37] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_0YybHxb8dzvzO1 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:35:37] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:35:37.739435 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:35:37.743431 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:35:37] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:35:45.971557 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 12:35:45.974561 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000105\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00dmM3\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard15050.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 50.0
    TVA 20% : 10.0
    Montant TTC : 60.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000105.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTkn1AbmaEugrFTE10AY96n",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674560147,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674560147,\n "currency": "eur",\n "current_period_end": 1677238547,\n "current_period_start": 1674560147,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEDDI3z0BbNby2",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674560147,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 1,\n "subscription": "sub_1MTkn1AbmaEugrFTE10AY96n",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTkn1AbmaEugrFTE10AY96n"\n },\n "latest_invoice": {\n "id": "in_1MTkn1AbmaEugrFTiSWJXYiP",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 5000,\n "amount_paid": 0,\n "amount_remaining": 5000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674560147,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORURER0ZxOFVyMG1YV0N6aHNHakJxOVNHcjlXSFpyLDY1MTAwOTQ40200pulejtsB?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORURER0ZxOFVyMG1YV0N6aHNHakJxOVNHcjlXSFpyLDY1MTAwOTQ40200pulejtsB/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTkn1AbmaEugrFTE6jZRyzm",\n "object": "line_item",\n "amount": 5000,\n "amount_excluding_tax": 5000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_STANDARD (at €50.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677238547,\n "start": 1674560147\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTkn1AbmaEugrFTE10AY96n",\n "subscription_item": "si_NEDDI3z0BbNby2",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "5000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTkn1AbmaEugrFTiSWJXYiP/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0487",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTkn1AbmaEugrFT1SwRDko6",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTkn1AbmaEugrFT1SwRDko6"\n },\n "client_secret": "pi_3MTkn1AbmaEugrFT1SwRDko6_secret_rOTfBt0NB5TKecmxgcOkyWpg5",\n "confirmation_method": "automatic",\n "created": 1674560147,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTkn1AbmaEugrFTiSWJXYiP",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674560147,\n "period_start": 1674560147,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674560147,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTkn1AbmaEugrFTE10AY96n",\n "subtotal": 5000,\n "subtotal_excluding_tax": 5000,\n "tax": null,\n "test_clock": null,\n "total": 5000,\n "total_discount_amounts": [],\n "total_excluding_tax": 5000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674560147\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674560147,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_fsDuSi2LrRTU1K message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:35:47] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0xdda0d350 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000105.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000105.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000105.pdf') +INFO:root:2023-01-24 12:35:48.554132 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000105.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000105.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 12:35:48.556134 : Impression facture N° FACT_231000105 OK +INFO:root:2023-01-24 12:35:48.574134 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 12:35:48.563134', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:35:48] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:35:48.765347 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTkn1AbmaEugrFT1SwRDko6/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2Ftesturl%2F%3Acourse%2F%3Atab +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTkn1AbmaEugrFT1SwRDko6/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTkn1AbmaEugrFT1SwRDko6",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTkn1AbmaEugrFT1SwRDko6"\n },\n "client_secret": "pi_3MTkn1AbmaEugrFT1SwRDko6_secret_rOTfBt0NB5TKecmxgcOkyWpg5",\n "confirmation_method": "automatic",\n "created": 1674560147,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTkn1AbmaEugrFTiSWJXYiP",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/testurl/:course/:tab",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTkn1AbmaEugrFT1SwRDko6&payment_intent_client_secret=pi_3MTkn1AbmaEugrFT1SwRDko6_secret_rOTfBt0NB5TKecmxgcOkyWpg5&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTkn4AbmaEugrFT8sysqSgA"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_w0WmemYCdDbuRM message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:35:50] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:35:57.993416 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTkn1AbmaEugrFT1SwRDko6 +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTkn1AbmaEugrFT1SwRDko6 response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTkn1AbmaEugrFT1SwRDko6",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTkn1AbmaEugrFT1SwRDko6"\n },\n "client_secret": "pi_3MTkn1AbmaEugrFT1SwRDko6_secret_rOTfBt0NB5TKecmxgcOkyWpg5",\n "confirmation_method": "automatic",\n "created": 1674560147,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTkn1AbmaEugrFTiSWJXYiP",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/testurl/:course/:tab",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTkn1AbmaEugrFT1SwRDko6&payment_intent_client_secret=pi_3MTkn1AbmaEugrFT1SwRDko6_secret_rOTfBt0NB5TKecmxgcOkyWpg5&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTkn4AbmaEugrFT8sysqSgA"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_7f6hlGWXmKDWGH message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:35:58] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:37:05.887982 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTkn1AbmaEugrFT1SwRDko6 +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTkn1AbmaEugrFT1SwRDko6 response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTkn1AbmaEugrFT1SwRDko6",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 5000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTkn1AbmaEugrFT1KsBtdov",\n "object": "charge",\n "amount": 5000,\n "amount_captured": 5000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTkn1AbmaEugrFT1sX1jkB9",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674560210,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTkn1AbmaEugrFTiSWJXYiP",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 1,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTkn1AbmaEugrFT1SwRDko6",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKOOFv54GMgZbNvdXkyo6LBZhuco2-F-cayPrdp3Wx065Ux5gcrlW_ZVrGhqXX6YmD85g6YxdiOqj-5LB?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTkn1AbmaEugrFT1KsBtdov/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTkn1AbmaEugrFT1SwRDko6"\n },\n "client_secret": "pi_3MTkn1AbmaEugrFT1SwRDko6_secret_rOTfBt0NB5TKecmxgcOkyWpg5",\n "confirmation_method": "automatic",\n "created": 1674560147,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTkn1AbmaEugrFTiSWJXYiP",\n "last_payment_error": null,\n "latest_charge": "ch_3MTkn1AbmaEugrFT1KsBtdov",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_KRLbteZbO9BIfv message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:37:06] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1925543521680 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1925543521680 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1925543521680 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1925543521680 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1925543674256 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1925543674256 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 1925543674256 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1925543674256 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1925547043728 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1925547043728 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:41:08.327772 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-24 12:41:08.327772 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 12:41:08.327772 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +DEBUG:filelock:Attempting to release lock 1925547043728 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:41:08.328772 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 1925547043728 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2193705505424 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2193705505424 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2193705505424 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2193705505424 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2194012684432 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2194012684432 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2194012684432 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2194012684432 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2194015886160 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:41:15.681953 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Lock 2194015886160 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:41:15.681953 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 12:41:15.682955 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 12:41:15.682955 : ++ FLASK PORT 5001 ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2194015886160 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2194015886160 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 12:41:17.590666 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:41:17.592669 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:41:17.594665 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:41:17] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:41:17] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:41:17.622676 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:41:17] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:41:18.075140 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:41:18] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:41:20.145094 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:41:20.147099 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:41:20.151099 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:41:20] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_raGZgHX7OlHR93 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:41:20] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:41:26.162279 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:41:26.165541 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:41:26.168661 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:41:26.171662 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:41:26] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:41:26] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_75apm4Q6Ygjqw7 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:41:26] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:41:26.538038 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:41:26.542573 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:41:26] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:41:32.156944 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 12:41:32.159112 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000106\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00SI-s\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold19090.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 90.0
    TVA 20% : 18.0
    Montant TTC : 108.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000106.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTksbAbmaEugrFTVdBinfmH",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674560493,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674560493,\n "currency": "eur",\n "current_period_end": 1677238893,\n "current_period_start": 1674560493,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEDJg1a3xkGb3D",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674560493,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 1,\n "subscription": "sub_1MTksbAbmaEugrFTVdBinfmH",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTksbAbmaEugrFTVdBinfmH"\n },\n "latest_invoice": {\n "id": "in_1MTksbAbmaEugrFTVCc6kf5e",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 9000,\n "amount_paid": 0,\n "amount_remaining": 9000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674560493,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORURKZmtWRXM0eUJ0ZG94cW83dUtpWk1yU1A3SzQ3LDY1MTAxMjk00200QJQhpGXe?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORURKZmtWRXM0eUJ0ZG94cW83dUtpWk1yU1A3SzQ3LDY1MTAxMjk00200QJQhpGXe/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTksbAbmaEugrFTJilD6A2D",\n "object": "line_item",\n "amount": 9000,\n "amount_excluding_tax": 9000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677238893,\n "start": 1674560493\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTksbAbmaEugrFTVdBinfmH",\n "subscription_item": "si_NEDJg1a3xkGb3D",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTksbAbmaEugrFTVCc6kf5e/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0488",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTkscAbmaEugrFT1Gtosjec",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTkscAbmaEugrFT1Gtosjec"\n },\n "client_secret": "pi_3MTkscAbmaEugrFT1Gtosjec_secret_T6jvwb1HcuQKxUGN1EKKpzvD9",\n "confirmation_method": "automatic",\n "created": 1674560494,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTksbAbmaEugrFTVCc6kf5e",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674560493,\n "period_start": 1674560493,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674560493,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTksbAbmaEugrFTVdBinfmH",\n "subtotal": 9000,\n "subtotal_excluding_tax": 9000,\n "tax": null,\n "test_clock": null,\n "total": 9000,\n "total_discount_amounts": [],\n "total_excluding_tax": 9000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674560493\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674560493,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_BsJYABoh3L4pxB message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:41:33] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0xd59e45d0 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000106.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000106.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000106.pdf') +INFO:root:2023-01-24 12:41:34.556394 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000106.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000106.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +INFO:root:2023-01-24 12:41:34.557406 : Impression facture N° FACT_231000106 OK +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 12:41:34.574632 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 12:41:34.564042', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:41:34] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:41:34.742707 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTkscAbmaEugrFT1Gtosjec/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2Ftesturl%2F%3Acourse%2F%3Atab +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTkscAbmaEugrFT1Gtosjec/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTkscAbmaEugrFT1Gtosjec",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTkscAbmaEugrFT1Gtosjec"\n },\n "client_secret": "pi_3MTkscAbmaEugrFT1Gtosjec_secret_T6jvwb1HcuQKxUGN1EKKpzvD9",\n "confirmation_method": "automatic",\n "created": 1674560494,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTksbAbmaEugrFTVCc6kf5e",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/testurl/:course/:tab",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTkscAbmaEugrFT1Gtosjec&payment_intent_client_secret=pi_3MTkscAbmaEugrFT1Gtosjec_secret_T6jvwb1HcuQKxUGN1EKKpzvD9&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTkseAbmaEugrFT4kEm03Og"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Tf5axKiveLaneK message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:41:35] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:41:46.120798 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTkscAbmaEugrFT1Gtosjec +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTkscAbmaEugrFT1Gtosjec response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTkscAbmaEugrFT1Gtosjec",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTkscAbmaEugrFT1Gtosjec"\n },\n "client_secret": "pi_3MTkscAbmaEugrFT1Gtosjec_secret_T6jvwb1HcuQKxUGN1EKKpzvD9",\n "confirmation_method": "automatic",\n "created": 1674560494,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTksbAbmaEugrFTVCc6kf5e",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/testurl/:course/:tab",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTkscAbmaEugrFT1Gtosjec&payment_intent_client_secret=pi_3MTkscAbmaEugrFT1Gtosjec_secret_T6jvwb1HcuQKxUGN1EKKpzvD9&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTkseAbmaEugrFT4kEm03Og"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_mh75q43ZA5gNV2 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:41:46] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:42:06.153408 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTkscAbmaEugrFT1Gtosjec +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTkscAbmaEugrFT1Gtosjec response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTkscAbmaEugrFT1Gtosjec",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 9000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTkscAbmaEugrFT1x6ncbEj",\n "object": "charge",\n "amount": 9000,\n "amount_captured": 9000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTkscAbmaEugrFT1LuSP9PQ",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674560523,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTksbAbmaEugrFTVCc6kf5e",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 14,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTkscAbmaEugrFT1Gtosjec",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKI-Iv54GMgY-rQOWHgw6LBYxoyO8OyWvXjvP9QLsZmwO9EYw8Oe4gDEfrEMMvA3CRMb735x_02TNbqq2?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTkscAbmaEugrFT1x6ncbEj/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTkscAbmaEugrFT1Gtosjec"\n },\n "client_secret": "pi_3MTkscAbmaEugrFT1Gtosjec_secret_T6jvwb1HcuQKxUGN1EKKpzvD9",\n "confirmation_method": "automatic",\n "created": 1674560494,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTksbAbmaEugrFTVCc6kf5e",\n "last_payment_error": null,\n "latest_charge": "ch_3MTkscAbmaEugrFT1x6ncbEj",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_pN5jolyzpcCY0O message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:42:06] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2195710180624 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2195710180624 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2195710180624 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2195710180624 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2195710297936 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2195710297936 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2195710297936 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2195710297936 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2195711811856 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:43:03.744488 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Lock 2195711811856 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:43:03.745490 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-24 12:43:03.745490 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 12:43:03.746490 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 2195711811856 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2195711811856 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2579631597520 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2579631597520 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2579631597520 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2579631597520 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2579631751824 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2579631751824 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2579631751824 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:44:56.514601 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 12:44:56.514601 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 12:44:56.514601 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 12:44:56.514601 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2579631751824 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2579622505744 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2579622505744 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2579622505744 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2579622505744 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 12:48:11.130532 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:48:11.134526 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:48:11.136529 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:48:11] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:48:11.150528 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:48:11] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:48:11] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:48:11.221593 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:48:11.224599 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:48:11] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:48:11.227592 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:48:11.233599 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:48:11] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:48:11] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:48:11.301981 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:48:11] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2240466549392 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2240466549392 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2240466549392 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2240466549392 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2240466666704 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2240466666704 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2240466666704 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2240466666704 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2240467553168 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:49:10.477735 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 12:49:10.477735 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 12:49:10.477735 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 12:49:10.477735 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2240467553168 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2240467553168 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2240467553168 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1885537702544 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1885537702544 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1885537702544 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1885537702544 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1885868555856 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1885868555856 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 1885868555856 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1885868555856 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1885868712464 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1885868712464 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1885868712464 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:49:32.502240 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 12:49:32.502240 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 12:49:32.502240 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 12:49:32.502240 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 1885868712464 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2524979817424 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2524979817424 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2524979817424 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2524979817424 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2524979970704 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2524979970704 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2524979970704 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2524979970704 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2524980411984 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2524980411984 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:50:50.648860 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 12:50:50.648860 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 12:50:50.648860 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-24 12:50:50.648860 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 2524980411984 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2524980411984 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2349575639696 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2349575639696 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2349575639696 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2349575639696 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2349888601296 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2349888601296 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2349888601296 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2349888601296 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2349889800656 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:51:05.746789 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 12:51:05.747788 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 12:51:05.747788 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 12:51:05.747788 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2349889800656 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2349889800656 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2349889800656 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 12:51:05.927308 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:51:05.930557 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:51:05.933564 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:51:05.936555 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:51:05.939548 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:51:05] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:51:05.947548 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:51:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:51:05.955551 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:51:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:51:05] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_nB6LBmPaZZk5BX message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:51:06] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:51:08.004827 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:51:08.007822 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:51:08.016841 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:51:08.017838 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:51:08] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:51:08] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_wlA5nnNEDKnG9c message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:51:08] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:51:08.393178 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:51:08.398202 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:51:08] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:51:11.255502 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 12:51:11.258505 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000107\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00UySO\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard15050.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 50.0
    TVA 20% : 10.0
    Montant TTC : 60.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000107.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTl1wAbmaEugrFThOK9qu2k",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674561072,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674561072,\n "currency": "eur",\n "current_period_end": 1677239472,\n "current_period_start": 1674561072,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEDSh8pIn5lIxr",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674561073,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 1,\n "subscription": "sub_1MTl1wAbmaEugrFThOK9qu2k",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTl1wAbmaEugrFThOK9qu2k"\n },\n "latest_invoice": {\n "id": "in_1MTl1wAbmaEugrFTJpxeibEH",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 5000,\n "amount_paid": 0,\n "amount_remaining": 5000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674561072,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORURTeGlxcDFPY3ZuUWNXVUZoZlNYRklBSE9rWGRZLDY1MTAxODcz0200w0aBV8Lh?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORURTeGlxcDFPY3ZuUWNXVUZoZlNYRklBSE9rWGRZLDY1MTAxODcz0200w0aBV8Lh/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTl1wAbmaEugrFTWjGnJnjA",\n "object": "line_item",\n "amount": 5000,\n "amount_excluding_tax": 5000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_STANDARD (at €50.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677239472,\n "start": 1674561072\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTl1wAbmaEugrFThOK9qu2k",\n "subscription_item": "si_NEDSh8pIn5lIxr",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "5000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTl1wAbmaEugrFTJpxeibEH/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0489",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTl1xAbmaEugrFT0S7sB9jz",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTl1xAbmaEugrFT0S7sB9jz"\n },\n "client_secret": "pi_3MTl1xAbmaEugrFT0S7sB9jz_secret_CpTunHxAwgmkdrJNA9jPYmIdY",\n "confirmation_method": "automatic",\n "created": 1674561073,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTl1wAbmaEugrFTJpxeibEH",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674561072,\n "period_start": 1674561072,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674561072,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTl1wAbmaEugrFThOK9qu2k",\n "subtotal": 5000,\n "subtotal_excluding_tax": 5000,\n "tax": null,\n "test_clock": null,\n "total": 5000,\n "total_discount_amounts": [],\n "total_excluding_tax": 5000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674561072\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674561072,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_hOO3OHrbaT3MyR message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:51:12] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0x1fd94590 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000107.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000107.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000107.pdf') +INFO:root:2023-01-24 12:51:13.825935 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000107.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000107.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 12:51:13.827924 : Impression facture N° FACT_231000107 OK +INFO:root:2023-01-24 12:51:13.840483 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 12:51:13.831919', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:51:13] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:51:14.008118 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTl1xAbmaEugrFT0S7sB9jz/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTl1xAbmaEugrFT0S7sB9jz/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTl1xAbmaEugrFT0S7sB9jz",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTl1xAbmaEugrFT0S7sB9jz"\n },\n "client_secret": "pi_3MTl1xAbmaEugrFT0S7sB9jz_secret_CpTunHxAwgmkdrJNA9jPYmIdY",\n "confirmation_method": "automatic",\n "created": 1674561073,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTl1wAbmaEugrFTJpxeibEH",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "type": "use_stripe_sdk",\n "use_stripe_sdk": {\n "directory_server_encryption": {\n "algorithm": "RSA",\n "certificate": "-----BEGIN CERTIFICATE-----\\nMIIGAzCCA+ugAwIBAgIQDaAlB1IbPwgx5esGu9tLIjANBgkqhkiG9w0BAQsFADB2\\nMQswCQYDVQQGEwJVUzENMAsGA1UECgwEVklTQTEvMC0GA1UECwwmVmlzYSBJbnRl\\ncm5hdGlvbmFsIFNlcnZpY2UgQXNzb2NpYXRpb24xJzAlBgNVBAMMHlZpc2EgZUNv\\nbW1lcmNlIElzc3VpbmcgQ0EgLSBHMjAeFw0yMTA4MjMxNTMyMzNaFw0yNDA4MjIx\\nNTMyMzNaMIGhMRgwFgYDVQQHDA9IaWdobGFuZHMgUmFuY2gxETAPBgNVBAgMCENv\\nbG9yYWRvMQswCQYDVQQGEwJVUzENMAsGA1UECgwEVklTQTEvMC0GA1UECwwmVmlz\\nYSBJbnRlcm5hdGlvbmFsIFNlcnZpY2UgQXNzb2NpYXRpb24xJTAjBgNVBAMMHDNk\\nczIucnNhLmVuY3J5cHRpb24udmlzYS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IB\\nDwAwggEKAoIBAQCy34cZ88+xfenoccRD1jOi6uVCPXo2xyabXcKntxl7h1kHahac\\nmpnuiH+kSgSg4DEHDXHg0WBcpMp0cB67dUE1XDxLAxN0gL5fXpVX7dUjI9tS8lcW\\nndChHxZTA8HcXUtv1IwU1L3luhgNkog509bRw/V1GLukW6CwFRkMI/8fecV8EUcw\\nIGiBr4/cAcaPnLxFWm/SFL2NoixiNf6LnwHrU4YIHsPQCIAM1km4XPDb7Gk2S3o0\\nkkXroU87yoiHzFHbEZUN/tO0Juyz8K6AtGBKoppv1hEHz9MFNzLlvGPo7wcPpovb\\nMYtwxj10KhtfEKh0sS0yMl1Uvw36JmuwjaC3AgMBAAGjggFfMIIBWzAMBgNVHRMB\\nAf8EAjAAMB8GA1UdIwQYMBaAFL0nYyikrlS3yCO3wTVCF+nGeF+FMGcGCCsGAQUF\\nBwEBBFswWTAwBggrBgEFBQcwAoYkaHR0cDovL2Vucm9sbC52aXNhY2EuY29tL2VD\\nb21tRzIuY3J0MCUGCCsGAQUFBzABhhlodHRwOi8vb2NzcC52aXNhLmNvbS9vY3Nw\\nMEYGA1UdIAQ/MD0wMQYIKwYBBQUHAgEwJTAjBggrBgEFBQcCARYXaHR0cDovL3d3\\ndy52aXNhLmNvbS9wa2kwCAYGZ4EDAQEBMBMGA1UdJQQMMAoGCCsGAQUFBwMCMDUG\\nA1UdHwQuMCwwKqAooCaGJGh0dHA6Ly9lbnJvbGwudmlzYWNhLmNvbS9lQ29tbUcy\\nLmNybDAdBgNVHQ4EFgQU/JtqQ7VLWNd3/9zQjpnsR2rz+cwwDgYDVR0PAQH/BAQD\\nAgSwMA0GCSqGSIb3DQEBCwUAA4ICAQBYOGCI/bYG2gmLgh7UXg5qrt4xeDYe4RXe\\n5xSjFkTelNvdf+KykB+oQzw8ZobIY+pKsPihM6IrtoJQuzOLXPV5L9U4j1qa/NZB\\nGZTXFMwKGN/v0/tAj3h8wefcLPWb15RsXEpZmA87ollezpXeEHXPhFIit7cHoG5P\\nfem9yMuDISI97qbnIKNtFENJr+fMkWIykQ0QnkM1rt99Yv2ZE4GWZN7VJ0zXFqOF\\nNF2IVwnTIZ21eDiCOjQr6ohq7bChDMelB5XvEuhfe400DqDP+e5pPHo81ecXkjJK\\ngS5grYYZIbeDBdQL1Cgs1mGu6On8ecr0rcpRlQh++BySg9MKkzJdLt1vsYmxfrfb\\nkUaLglTdYAU2nYaOEDR4NvkRxfzegXyXkOqfPTmfkrg+OB0LeuICITJGJ0cuZD5W\\nGUNaT9WruEANBRJNVjSX1UeJUnCpz4nitT1ml069ONjEowyWUcKvTr4/nrargv2R\\npOD4RPJMti6kG+bm9OeATiSgVNmO5lkAS4AkOop2IcbRFcVKJUTOhx2Q37L4nuAH\\nTCXQ9vwT4yWz6fVaCfL/FTvCGMilLPzXC/00OPA2ZtWvClvFh/uHJBjRUnj6WXp3\\nO9p9uHfdV9eKJH37k94GUSMjBKQ6aIru1VUvSOmUPrDz5JbQB7bP+IzUaFHeweZX\\nOWumZmyGDw==\\n-----END CERTIFICATE-----\\n",\n "directory_server_id": "A000000003",\n "root_certificate_authorities": [\n "-----BEGIN CERTIFICATE-----\\nMIIDojCCAoqgAwIBAgIQE4Y1TR0/BvLB+WUF1ZAcYjANBgkqhkiG9w0BAQUFADBr\\nMQswCQYDVQQGEwJVUzENMAsGA1UEChMEVklTQTEvMC0GA1UECxMmVmlzYSBJbnRl\\ncm5hdGlvbmFsIFNlcnZpY2UgQXNzb2NpYXRpb24xHDAaBgNVBAMTE1Zpc2EgZUNv\\nbW1lcmNlIFJvb3QwHhcNMDIwNjI2MDIxODM2WhcNMjIwNjI0MDAxNjEyWjBrMQsw\\nCQYDVQQGEwJVUzENMAsGA1UEChMEVklTQTEvMC0GA1UECxMmVmlzYSBJbnRlcm5h\\ndGlvbmFsIFNlcnZpY2UgQXNzb2NpYXRpb24xHDAaBgNVBAMTE1Zpc2EgZUNvbW1l\\ncmNlIFJvb3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCvV95WHm6h\\n2mCxlCfLF9sHP4CFT8icttD0b0/Pmdjh28JIXDqsOTPHH2qLJj0rNfVIsZHBAk4E\\nlpF7sDPwsRROEW+1QK8bRaVK7362rPKgH1g/EkZgPI2h4H3PVz4zHvtH8aoVlwdV\\nZqW1LS7YgFmypw23RuwhY/81q6UCzyr0TP579ZRdhE2o8mCP2w4lPJ9zcc+U30rq\\n299yOIzzlr3xF7zSujtFWsan9sYXiwGd/BmoKoMWuDpI/k4+oKsGGelT84ATB+0t\\nvz8KPFUgOSwsAGl0lUq8ILKpeeUYiZGo3BxN77t+Nwtd/jmliFKMAGzsGHxBvfaL\\ndXe6YJ2E5/4tAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQD\\nAgEGMB0GA1UdDgQWBBQVOIMPPyw/cDMezUb+B4wg4NfDtzANBgkqhkiG9w0BAQUF\\nAAOCAQEAX/FBfXxcCLkr4NWSR/pnXKUTwwMhmytMiUbPWU3J/qVAtmPN3XEolWcR\\nzCSs00Rsca4BIGsDoo8Ytyk6feUWYFN4PMCvFYP3j1IzJL1kk5fui/fbGKhtcbP3\\nLBfQdCVp9/5rPJS+TUtBjE7ic9DjkCJzQ83z7+pzzkWKsKZJ/0x9nXGIxHYdkFsd\\n7v3M9+79YKWxehZx0RbQfBI8bGmX265fOZpwLwU8GUYEmSA20GBuYQa7FkKMcPcw\\n++DbZqMAAb3mLNqRX6BGi01qnD093QVG/na/oAo85ADmJ7f/hC3euiInlhBx6yLt\\n398znM/jra6O1I7mT1GvFpLgXPYHDw==\\n-----END CERTIFICATE-----\\n",\n "-----BEGIN CERTIFICATE-----\\nMIIFqTCCA5GgAwIBAgIPUT6WAAAA20Qn7qzgvuFIMA0GCSqGSIb3DQEBCwUAMG8x\\nCzAJBgNVBAYTAlVTMQ0wCwYDVQQKDARWSVNBMS8wLQYDVQQLDCZWaXNhIEludGVy\\nbmF0aW9uYWwgU2VydmljZSBBc3NvY2lhdGlvbjEgMB4GA1UEAwwXVmlzYSBQdWJs\\naWMgUlNBIFJvb3QgQ0EwHhcNMjEwMzE2MDAwMDAwWhcNNDEwMzE1MDAwMDAwWjBv\\nMQswCQYDVQQGEwJVUzENMAsGA1UECgwEVklTQTEvMC0GA1UECwwmVmlzYSBJbnRl\\ncm5hdGlvbmFsIFNlcnZpY2UgQXNzb2NpYXRpb24xIDAeBgNVBAMMF1Zpc2EgUHVi\\nbGljIFJTQSBSb290IENBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA\\n2WEbXLS3gI6LOY93bP7Kz6EO9L1QXlr8l+fTkJWZldJ6QuwZ1cv4369tfjeJ8O5w\\nSJiDcVw7eNdOP73LfAtwHlTnUnb0e9ILTTipc5bkNnAevocrJACsrpiQ8jBI9ttp\\ncqKUeJgzW4Ie25ypirKroVD42b4E0iICK2cZ5QfD4BSzUnftp4Bqh8AfpGvG1lre\\nCaD53qrsy5SUadY/NaeUGOkqdPvDSNoDIdrbExwnZaSFUmjQT1svKwMqGo2GFrgJ\\n4cULEp4NNj5rga8YTTZ7Xo5MblHrLpSPOmJev30KWi/BcbvtCNYNWBTg7UMzP3cK\\nMQ1pGLvG2PgvFTZSRvH3QzngJRgrDYYOJ6kj9ave+6yOOFqj80ZCuH0Nugt2mMS3\\nc3+Nksaw+6H3cQPsE/Gv5zjfsKleRhEFtE1gyrdUg1DMgu8o/YhKM7FAqkXUn74z\\nwoRFgx3Mi5OaGTQbg+NlwJgR4sVHXCV4s9b8PjneLhzWMn353SFARF9dnO7LDBqq\\ntT6WltJu1z9x2Ze0UVNZvxKGcyCkLody29O8j9/MGZ8SOSUu4U6NHrebKuuf9Fht\\nn6PqQ4ppkhy6sReXeV5NVGfVpDYY5ZAKEWqTYgMULWpQ2Py4BGpFzBe07jXkyulR\\npoKvz14iXeA0oq16c94DrFYX0jmrWLeU4a/TCZQLFIsCAwEAAaNCMEAwHQYDVR0O\\nBBYEFEtNpg77oBHorQvi8PMKAC+sixb7MA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0P\\nAQH/BAQDAgEGMA0GCSqGSIb3DQEBCwUAA4ICAQC5BU9qQSZYPcgCp2x0Juq59kMm\\nXuBly094DaEnPqvtCgwwAirkv8x8/QSOxiWWiu+nveyuR+j6Gz/fJaV4u+J5QEDy\\ncfk605Mw3HIcJOeZvDgk1eyOmQwUP6Z/BdQTNJmZ92Z8dcG5yWCxLBrqPH7ro3Ss\\njhYq9duIJU7jfizCJCN4W8tp0D2pWBe1/CYNswP4GMs5jQ5+ZQKN/L5JFdwVTu7X\\nPt8b5zfgbmmQpVmUn0oFwm3OI++Z6gEpNmW5bd/2oUIZoG96Qff2fauVMAYiWQvN\\nnL3y1gkRguTOSMVUCCiGfdvwu5ygowillvV2nHb7+YibQ9N5Z2spP0o9Zlfzoat2\\n7WFpyK47TiUdu/4toarLKGZP+hbA/F4xlnM/8EfZkE1DeTTI0lhN3O8yEsHrtRl1\\nOuQZ/IexHO8UGU6jvn4TWo10HYeXzrGckL7oIXfGTrjPzfY62T5HDW/BAEZS+9Tk\\nijz25YM0fPPz7IdlEG+k4q4YwZ82j73Y9kDEM5423mrWorq/Bq7I5Y8v0LTY9GWH\\nYrpElYf0WdOXAbsfwQiT6qnRio+p82VyqlY8Jt6VVA6CDy/iHKwcj1ELEnDQfVv9\\nhedoxmnQ6xe/nK8czclu9hQJRv5Lh9gk9Q8DKK2nmgzZ8SSQ+lr3mSSeY8JOMRlE\\n+RKdOQIChWthTJKh7w==\\n-----END CERTIFICATE-----\\n"\n ]\n },\n "directory_server_name": "visa",\n "merchant": "acct_1LUUfAAbmaEugrFT",\n "one_click_authn": null,\n "server_transaction_id": "548e3b65-6f39-400f-888b-8823b95cd282",\n "three_d_secure_2_source": "src_1MTl1zAbmaEugrFTUz8oKW7w",\n "three_ds_method_url": "",\n "three_ds_optimizations": "kf",\n "type": "stripe_3ds2_fingerprint"\n }\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_uCANMxONoUb3OK message='Dashboard link for request' +INFO:root:2023-01-24 12:51:15.179064 : confirm_suscription -redirect_to_url - ERRORRRR AT Line : 315 +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:51:15] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2685940432016 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2685940432016 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2685940432016 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2685940432016 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2685872504272 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2685872504272 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2685872504272 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2685872504272 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2685942024016 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:51:48.780420 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 12:51:48.780420 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 12:51:48.780420 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 12:51:48.780420 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2685942024016 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2685942024016 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2685942024016 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 12:51:52.290123 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:51:52.292312 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:51:52.294315 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:51:52] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:51:52.302104 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:51:52] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:51:52] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:51:52.753744 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:51:52] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:51:54.882005 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:51:54.885023 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:51:54.887005 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:51:54] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_tA0vuAGN9U6nhh message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:51:55] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:51:58.269383 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:51:58.271382 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:51:58.274383 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:51:58.277380 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:51:58] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:51:58] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_N75lIGV5yhVlw2 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:51:58] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:51:58.648938 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:51:58.652934 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:51:58] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:52:02.421610 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 12:52:02.424624 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000108\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00nCJj\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold19090.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 90.0
    TVA 20% : 18.0
    Montant TTC : 108.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000108.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTl2lAbmaEugrFTHOtwSEW7",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674561123,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674561123,\n "currency": "eur",\n "current_period_end": 1677239523,\n "current_period_start": 1674561123,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEDTaTwMDujvXc",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674561124,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 1,\n "subscription": "sub_1MTl2lAbmaEugrFTHOtwSEW7",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTl2lAbmaEugrFTHOtwSEW7"\n },\n "latest_invoice": {\n "id": "in_1MTl2lAbmaEugrFTUiZGFUYk",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 9000,\n "amount_paid": 0,\n "amount_remaining": 9000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674561123,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORURUUTFldk11cTVJRlJiZDJuOTlSbWVUMllDekZzLDY1MTAxOTI00200isL8KfsA?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORURUUTFldk11cTVJRlJiZDJuOTlSbWVUMllDekZzLDY1MTAxOTI00200isL8KfsA/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTl2lAbmaEugrFT8Hc5cInm",\n "object": "line_item",\n "amount": 9000,\n "amount_excluding_tax": 9000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677239523,\n "start": 1674561123\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTl2lAbmaEugrFTHOtwSEW7",\n "subscription_item": "si_NEDTaTwMDujvXc",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTl2lAbmaEugrFTUiZGFUYk/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0490",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTl2mAbmaEugrFT0Ta1UVTn",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTl2mAbmaEugrFT0Ta1UVTn"\n },\n "client_secret": "pi_3MTl2mAbmaEugrFT0Ta1UVTn_secret_S3zYuCMhUYidD1rIEYnb5wtM9",\n "confirmation_method": "automatic",\n "created": 1674561124,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTl2lAbmaEugrFTUiZGFUYk",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674561123,\n "period_start": 1674561123,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674561123,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTl2lAbmaEugrFTHOtwSEW7",\n "subtotal": 9000,\n "subtotal_excluding_tax": 9000,\n "tax": null,\n "test_clock": null,\n "total": 9000,\n "total_discount_amounts": [],\n "total_excluding_tax": 9000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674561123\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674561123,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_wJuKWgjzUMw0pL message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:52:03] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0x5eadce50 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000108.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000108.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000108.pdf') +INFO:root:2023-01-24 12:52:04.911193 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000108.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000108.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 12:52:04.912402 : Impression facture N° FACT_231000108 OK +INFO:root:2023-01-24 12:52:04.925205 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 12:52:04.916182', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:52:04] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:52:05.094035 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTl2mAbmaEugrFT0Ta1UVTn/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTl2mAbmaEugrFT0Ta1UVTn/confirm response_code=400 +DEBUG:stripe:body='{\n "error": {\n "code": "parameter_invalid_empty",\n "doc_url": "https://stripe.com/docs/error-codes/parameter-invalid-empty",\n "message": "You passed an empty string for \'return_url\'. We assume empty values are an attempt to unset a parameter; however \'return_url\' cannot be unset. You should remove \'return_url\' from your request or supply a non-empty value.",\n "param": "return_url",\n "payment_intent": {\n "id": "pi_3MTl2mAbmaEugrFT0Ta1UVTn",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {\n }\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n\n ],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTl2mAbmaEugrFT0Ta1UVTn"\n },\n "client_secret": "pi_3MTl2mAbmaEugrFT0Ta1UVTn_secret_S3zYuCMhUYidD1rIEYnb5wtM9",\n "confirmation_method": "automatic",\n "created": 1674561124,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTl2lAbmaEugrFTUiZGFUYk",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {\n },\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {\n }\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_iB69SUGFa5hs45?t=1674561126",\n "type": "invalid_request_error"\n }\n}\n' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_iB69SUGFa5hs45 message='Dashboard link for request' +INFO:stripe:error_code=parameter_invalid_empty error_message="You passed an empty string for 'return_url'. We assume empty values are an attempt to unset a parameter; however 'return_url' cannot be unset. You should remove 'return_url' from your request or supply a non-empty value." error_param=return_url error_type=invalid_request_error message='Stripe API error received' +INFO:root:2023-01-24 12:52:05.520586 : confirm_suscription -Request req_iB69SUGFa5hs45: You passed an empty string for 'return_url'. We assume empty values are an attempt to unset a parameter; however 'return_url' cannot be unset. You should remove 'return_url' from your request or supply a non-empty value. - ERRORRRR AT Line : 308 +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:52:05] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2775925746000 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2775925746000 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2775925746000 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2775925746000 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2776162231696 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2776162231696 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2776162231696 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2776162231696 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:52:46.931267 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 12:52:46.931267 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 12:52:46.931267 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 12:52:46.931267 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to acquire lock 2776232359632 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2776232359632 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2776232359632 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2776232359632 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1974636805328 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1974636805328 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1974636805328 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1974636805328 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1974636922704 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1974636922704 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 1974636922704 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1974636922704 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1974638399632 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1974638399632 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:53:01.952834 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 12:53:01.952834 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 12:53:01.952834 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 12:53:01.952834 : ++ FLASK PORT 5001 ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1974638399632 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1974638399632 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 12:53:02.214002 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:53:02.216013 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:53:02.218011 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:53:02] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:53:02.228017 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:53:02] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:53:02] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:53:02.714563 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:53:02] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:53:04.253123 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:53:04.255122 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:53:04.258125 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:53:04] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_N7MbL0ZDUEyzEj message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:53:04] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:53:07.505154 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:53:07.508156 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:53:07.511157 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:53:07.515161 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:53:07] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:53:07] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_atIymhnnbpzx26 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:53:07] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:53:07.884984 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:53:07.888986 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:53:07] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:53:11.721937 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +INFO:root:2023-01-24 12:53:11.725185 : Security check : IP adresse '127.0.0.1' connected +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000109\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00sBa8\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard15050.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 50.0
    TVA 20% : 10.0
    Montant TTC : 60.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000109.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTl3tAbmaEugrFTjOdErEfM",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674561192,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674561192,\n "currency": "eur",\n "current_period_end": 1677239592,\n "current_period_start": 1674561192,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEDUdqKnGzE9iH",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674561193,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 1,\n "subscription": "sub_1MTl3tAbmaEugrFTjOdErEfM",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTl3tAbmaEugrFTjOdErEfM"\n },\n "latest_invoice": {\n "id": "in_1MTl3tAbmaEugrFThy7SmkOh",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 5000,\n "amount_paid": 0,\n "amount_remaining": 5000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674561193,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORURVa2FoTHMwRm9oYVJ0b2xaSW9NVGF1M1A1YVYyLDY1MTAxOTkz0200BCxqfYGT?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORURVa2FoTHMwRm9oYVJ0b2xaSW9NVGF1M1A1YVYyLDY1MTAxOTkz0200BCxqfYGT/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTl3tAbmaEugrFTARZEyfOK",\n "object": "line_item",\n "amount": 5000,\n "amount_excluding_tax": 5000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_STANDARD (at €50.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677239592,\n "start": 1674561192\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTl3tAbmaEugrFTjOdErEfM",\n "subscription_item": "si_NEDUdqKnGzE9iH",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "5000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTl3tAbmaEugrFThy7SmkOh/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0491",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTl3tAbmaEugrFT0LKhq6RN",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTl3tAbmaEugrFT0LKhq6RN"\n },\n "client_secret": "pi_3MTl3tAbmaEugrFT0LKhq6RN_secret_MDhFkucDrHnq3wXJeSbnmPQMs",\n "confirmation_method": "automatic",\n "created": 1674561193,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTl3tAbmaEugrFThy7SmkOh",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674561192,\n "period_start": 1674561192,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674561193,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTl3tAbmaEugrFTjOdErEfM",\n "subtotal": 5000,\n "subtotal_excluding_tax": 5000,\n "tax": null,\n "test_clock": null,\n "total": 5000,\n "total_discount_amounts": [],\n "total_excluding_tax": 5000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674561193\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674561192,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_jTwwH81OhxxPJ8 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:53:12] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0xaf17c290 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000109.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000109.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000109.pdf') +INFO:root:2023-01-24 12:53:14.228475 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000109.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000109.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +INFO:root:2023-01-24 12:53:14.228475 : Impression facture N° FACT_231000109 OK +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 12:53:14.243470 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 12:53:14.234473', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:53:14] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:53:14.412788 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTl3tAbmaEugrFT0LKhq6RN/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2FPartner%2Fabonnement%2Fpi_3MTl3tAbmaEugrFT0LKhq6RN%2Fgold +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTl3tAbmaEugrFT0LKhq6RN/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTl3tAbmaEugrFT0LKhq6RN",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTl3tAbmaEugrFT0LKhq6RN"\n },\n "client_secret": "pi_3MTl3tAbmaEugrFT0LKhq6RN_secret_MDhFkucDrHnq3wXJeSbnmPQMs",\n "confirmation_method": "automatic",\n "created": 1674561193,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTl3tAbmaEugrFThy7SmkOh",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/Partner/abonnement/pi_3MTl3tAbmaEugrFT0LKhq6RN/gold",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTl3tAbmaEugrFT0LKhq6RN&payment_intent_client_secret=pi_3MTl3tAbmaEugrFT0LKhq6RN_secret_MDhFkucDrHnq3wXJeSbnmPQMs&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTl3wAbmaEugrFTcnvZdP1O"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_pqyoc7I6yXeZ9p message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:53:15] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:53:23.031696 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTl3tAbmaEugrFT0LKhq6RN +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTl3tAbmaEugrFT0LKhq6RN response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTl3tAbmaEugrFT0LKhq6RN",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTl3tAbmaEugrFT0LKhq6RN"\n },\n "client_secret": "pi_3MTl3tAbmaEugrFT0LKhq6RN_secret_MDhFkucDrHnq3wXJeSbnmPQMs",\n "confirmation_method": "automatic",\n "created": 1674561193,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTl3tAbmaEugrFThy7SmkOh",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/Partner/abonnement/pi_3MTl3tAbmaEugrFT0LKhq6RN/gold",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTl3tAbmaEugrFT0LKhq6RN&payment_intent_client_secret=pi_3MTl3tAbmaEugrFT0LKhq6RN_secret_MDhFkucDrHnq3wXJeSbnmPQMs&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTl3wAbmaEugrFTcnvZdP1O"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_YqtGWAhePmJx7s message='Dashboard link for request' +INFO:root:2023-01-24 12:53:23.394369 : payment_retrieve_status Impossible de connaitre le status du payement pi_3MTl3tAbmaEugrFT0LKhq6RN +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:53:23] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:53:45.217643 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:53:45.220636 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:53:45] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:53:45.222629 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:53:45.225639 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:53:45.230645 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:53:45] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:53:45] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:53:45.236642 : CheckSalesOrder - La valeur 'token' n'est pas presente dans liste +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:53:45] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:53:45.374810 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:53:45.375811 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:root:2023-01-24 12:53:45.380816 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:53:45] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Gg0MmAgWaCl3lI message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:53:45] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:53:54.869215 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTl3tAbmaEugrFT0LKhq6RN +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTl3tAbmaEugrFT0LKhq6RN response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTl3tAbmaEugrFT0LKhq6RN",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 5000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTl3tAbmaEugrFT0DC87imZ",\n "object": "charge",\n "amount": 5000,\n "amount_captured": 5000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTl3tAbmaEugrFT0MkRw0LR",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674561223,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTl3tAbmaEugrFThy7SmkOh",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 62,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTl3tAbmaEugrFT0LKhq6RN",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKNWNv54GMgbjUKaM6Us6LBaCP8eKOpzrGGHtPR3DY4IEJaj33cZaaANe7Bma7ZkcnyFBCdyZEMXoAHSU?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTl3tAbmaEugrFT0DC87imZ/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTl3tAbmaEugrFT0LKhq6RN"\n },\n "client_secret": "pi_3MTl3tAbmaEugrFT0LKhq6RN_secret_MDhFkucDrHnq3wXJeSbnmPQMs",\n "confirmation_method": "automatic",\n "created": 1674561193,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTl3tAbmaEugrFThy7SmkOh",\n "last_payment_error": null,\n "latest_charge": "ch_3MTl3tAbmaEugrFT0DC87imZ",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_bmiuMXt3yFII4f message='Dashboard link for request' +INFO:root:2023-01-24 12:53:56.334352 : payment_retrieve_status le Payement pi_3MTl3tAbmaEugrFT0LKhq6RN est validé +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:53:56] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:55:43.372379 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:55:43.375378 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:55:43] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:55:43.378379 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:55:43.381372 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:55:43.383376 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:55:43] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:55:43.387379 : CheckSalesOrder - La valeur 'token' n'est pas presente dans liste +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:55:43] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:55:43] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1609126278224 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1609126278224 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1609126278224 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1609126278224 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1609126429520 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1609126429520 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 1609126429520 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1609126429520 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:56:14.226666 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 12:56:14.226666 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 12:56:14.226666 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 12:56:14.226666 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to acquire lock 1609126512336 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1609126512336 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1609126512336 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1609126512336 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 12:56:23.720251 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:56:23.723252 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:56:23.725262 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:56:23] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:56:23.733249 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:56:23] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:56:23] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:56:24.283001 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:56:24] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2941977625360 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2941977625360 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2941977625360 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2941977625360 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2941977627920 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2941977627920 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2941977627920 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2941977627920 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 12:57:14.132117 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 12:57:14.132117 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 12:57:14.132117 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 12:57:14.132117 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to acquire lock 2941977883664 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2941977883664 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2941977883664 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2941977883664 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 12:57:18.361452 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:57:18.364451 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:57:18.366457 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:57:18] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:57:18.380721 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:57:18] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:57:18] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:57:18.823938 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:57:18] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:57:19.999982 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:57:20.001978 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:57:20.004994 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:57:20] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Jetg7MaMCKOzpq message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:57:20] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:57:22.922311 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:57:22.924442 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:57:22.928504 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:57:22] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:57:22.932498 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:57:22] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_aylxkLheUBdJlD message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:57:23] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:57:23.310696 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:57:23.314695 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:57:23] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:57:26.201479 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 12:57:26.206299 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000110\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_008RAp\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold19090.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 90.0
    TVA 20% : 18.0
    Montant TTC : 108.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000110.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTl7zAbmaEugrFTqwHEY5Fo",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674561447,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674561447,\n "currency": "eur",\n "current_period_end": 1677239847,\n "current_period_start": 1674561447,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEDZRg0HKTXZmy",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674561448,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 1,\n "subscription": "sub_1MTl7zAbmaEugrFTqwHEY5Fo",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTl7zAbmaEugrFTqwHEY5Fo"\n },\n "latest_invoice": {\n "id": "in_1MTl7zAbmaEugrFT04I8W2eP",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 9000,\n "amount_paid": 0,\n "amount_remaining": 9000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674561447,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORURaeVhJNUc5UnE4bFFQYkJodDJGdGJiY2d0c0lxLDY1MTAyMjQ40200JOhVN9ZQ?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORURaeVhJNUc5UnE4bFFQYkJodDJGdGJiY2d0c0lxLDY1MTAyMjQ40200JOhVN9ZQ/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTl7zAbmaEugrFTHTb3yTWk",\n "object": "line_item",\n "amount": 9000,\n "amount_excluding_tax": 9000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677239847,\n "start": 1674561447\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTl7zAbmaEugrFTqwHEY5Fo",\n "subscription_item": "si_NEDZRg0HKTXZmy",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTl7zAbmaEugrFT04I8W2eP/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0492",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTl80AbmaEugrFT19Ko0yff",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTl80AbmaEugrFT19Ko0yff"\n },\n "client_secret": "pi_3MTl80AbmaEugrFT19Ko0yff_secret_PwYnzaRZf3dGCtVzmsNDSSK8y",\n "confirmation_method": "automatic",\n "created": 1674561448,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTl7zAbmaEugrFT04I8W2eP",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674561447,\n "period_start": 1674561447,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674561447,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTl7zAbmaEugrFTqwHEY5Fo",\n "subtotal": 9000,\n "subtotal_excluding_tax": 9000,\n "tax": null,\n "test_clock": null,\n "total": 9000,\n "total_discount_amounts": [],\n "total_excluding_tax": 9000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674561447\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674561447,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_1h9e9yAvbBJURp message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:57:27] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0xf6763410 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000110.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000110.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000110.pdf') +INFO:root:2023-01-24 12:57:28.664634 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000110.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000110.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +INFO:root:2023-01-24 12:57:28.664634 : Impression facture N° FACT_231000110 OK +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 12:57:28.680132 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 12:57:28.670620', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:57:28] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:57:28.886348 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTl80AbmaEugrFT19Ko0yff/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2FPartner%2Fordervalide%2FMySy_00nZDW%2Fgold +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTl80AbmaEugrFT19Ko0yff/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTl80AbmaEugrFT19Ko0yff",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTl80AbmaEugrFT19Ko0yff"\n },\n "client_secret": "pi_3MTl80AbmaEugrFT19Ko0yff_secret_PwYnzaRZf3dGCtVzmsNDSSK8y",\n "confirmation_method": "automatic",\n "created": 1674561448,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTl7zAbmaEugrFT04I8W2eP",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/Partner/ordervalide/MySy_00nZDW/gold",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTl80AbmaEugrFT19Ko0yff&payment_intent_client_secret=pi_3MTl80AbmaEugrFT19Ko0yff_secret_PwYnzaRZf3dGCtVzmsNDSSK8y&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTl82AbmaEugrFThPUHlKrC"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_t2n2UKVzu6tSl7 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:57:30] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:57:38.846285 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:57:38.848287 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:57:38.851282 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:57:38] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:57:38.854288 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 12:57:38.854288 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:57:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 12:57:38.860287 : CheckSalesOrder - La valeur 'token' n'est pas presente dans liste +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:57:38] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 12:57:38] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +DEBUG:filelock:Attempting to acquire lock 2018694944784 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2018694944784 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2018694944784 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2018694944784 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2018700065616 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2018700065616 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2018700065616 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2018700065616 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2018700065424 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2018700065424 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2018700065424 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2018700065424 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 16:33:12.974724 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 16:33:12.975734 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 16:33:12.975734 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 16:33:12.975734 : ++ FLASK PORT 5001 ++ +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2518433661200 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2518433661200 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2518433661200 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2518433661200 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2518433663376 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2518433663376 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2518433663376 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2518433663376 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2518437209488 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 16:33:20.549677 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Lock 2518437209488 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 16:33:20.549677 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-24 16:33:20.549677 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 16:33:20.549677 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 2518437209488 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2518437209488 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 16:37:06.419799 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:37:06.421928 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:37:06.423807 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:37:06] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:37:06] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:37:06] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:37:07.140543 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:37:07.142535 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:37:07] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:44:56.328956 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:44:56.329958 : Le token partner est vide +INFO:root:2023-01-24 16:44:57.041937 : CheckSalesOrder - Impossible de recuperer le recid du partenaire +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:44:57] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:45:04.419955 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:45:04.420942 : Le token partner est vide +INFO:root:2023-01-24 16:45:04.423482 : CheckSalesOrder - Impossible de recuperer le recid du partenaire +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:04] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:45:24.372820 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:45:24.374819 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:45:24.375817 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:24] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:24] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:24] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:45:25.202342 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:45:25.203340 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:25] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:45:25.610602 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:45:25.613604 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:45:25.616606 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:45:25.619604 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:45:25.623604 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:45:25.626604 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:45:25.632607 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:45:25.635603 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:45:25.640614 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:45:25.645613 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:45:25.649619 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:45:25.653139 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:45:25.655153 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:45:25.659160 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:45:25.661152 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:45:25.666153 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:45:25.668152 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:45:25.670154 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:45:25.675158 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:45:25.678154 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:45:29.776653 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:45:29.790304 : partner_login Connexion partnair mysytraining@gmail.com : OK, Date : 2023-01-24 16:45:29.776653 , _id = 638139d0934a818b1f6f85f7 +INFO:root:2023-01-24 16:45:29.795296 : partner_login Connexion partener_token : OK , _id = 63813a72b4c6b1dce20a0481 +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:29] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:45:29.930904 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:45:29.934162 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:29] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:45:29.937164 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:45:29.941169 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:29] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:45:30.170052 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:30] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:45:38.225024 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:45:38.237739 : CheckSalesOrder La commande ZZZZ n'existe pas +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:38] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:45:47.127981 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:45:47.133980 : CheckSalesOrder La commande ZZZZ n'existe pas +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:45:47] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:46:37.012176 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:46:37] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1258080528720 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1258080528720 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1258080528720 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1258080528720 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1258383986256 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1258383986256 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 1258383986256 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1258383986256 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1258383986896 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1258383986896 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-24 16:47:25.749900 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Attempting to release lock 1258383986896 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 16:47:25.749900 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 16:47:25.749900 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 16:47:25.749900 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 1258383986896 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 16:48:22.723210 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:48:22.725224 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:48:22.732211 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:48:22] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_IsX1uy56XiKaQD message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:48:23] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:48:26.415062 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:48:26.418571 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:48:26.421583 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:48:26] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:48:26.424581 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:48:26] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_NtS3wZEGxAmnHI message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:48:26] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:48:26.861644 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:48:26.866642 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:48:26] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:48:30.468894 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 16:48:30.471096 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000111\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00kTUB\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard15050.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 50.0
    TVA 20% : 10.0
    Montant TTC : 60.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000111.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTojbAbmaEugrFTuFLKZcno",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674575311,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674575311,\n "currency": "eur",\n "current_period_end": 1677253711,\n "current_period_start": 1674575311,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEHIn078DcQOtE",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674575312,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 1,\n "subscription": "sub_1MTojbAbmaEugrFTuFLKZcno",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTojbAbmaEugrFTuFLKZcno"\n },\n "latest_invoice": {\n "id": "in_1MTojbAbmaEugrFTsrbJH36k",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 5000,\n "amount_paid": 0,\n "amount_remaining": 5000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674575311,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUhJVFpqZDBPWUtCTU9rQWt4U1ZaZWNGSzlDTFBiLDY1MTE2MTEy02001aPdlp8s?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUhJVFpqZDBPWUtCTU9rQWt4U1ZaZWNGSzlDTFBiLDY1MTE2MTEy02001aPdlp8s/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTojbAbmaEugrFTcxgv9xXJ",\n "object": "line_item",\n "amount": 5000,\n "amount_excluding_tax": 5000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_STANDARD (at €50.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677253711,\n "start": 1674575311\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTojbAbmaEugrFTuFLKZcno",\n "subscription_item": "si_NEHIn078DcQOtE",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "5000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTojbAbmaEugrFTsrbJH36k/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0493",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTojcAbmaEugrFT15cDCCO4",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTojcAbmaEugrFT15cDCCO4"\n },\n "client_secret": "pi_3MTojcAbmaEugrFT15cDCCO4_secret_0qbARVoHpah4AgthpcdM4s9wL",\n "confirmation_method": "automatic",\n "created": 1674575312,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTojbAbmaEugrFTsrbJH36k",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674575311,\n "period_start": 1674575311,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674575311,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTojbAbmaEugrFTuFLKZcno",\n "subtotal": 5000,\n "subtotal_excluding_tax": 5000,\n "tax": null,\n "test_clock": null,\n "total": 5000,\n "total_discount_amounts": [],\n "total_excluding_tax": 5000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674575311\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674575311,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_DrZoofDTGq0LnZ message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:48:31] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0xeb69a710 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000111.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000111.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000111.pdf') +INFO:root:2023-01-24 16:48:36.783464 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000111.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000111.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +INFO:root:2023-01-24 16:48:36.783464 : Impression facture N° FACT_231000111 OK +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 16:48:36.808024 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 16:48:36.789444', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:48:36] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:48:36.927804 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTojcAbmaEugrFT15cDCCO4/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_008RAp%2FGold +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTojcAbmaEugrFT15cDCCO4/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTojcAbmaEugrFT15cDCCO4",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTojcAbmaEugrFT15cDCCO4"\n },\n "client_secret": "pi_3MTojcAbmaEugrFT15cDCCO4_secret_0qbARVoHpah4AgthpcdM4s9wL",\n "confirmation_method": "automatic",\n "created": 1674575312,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTojbAbmaEugrFTsrbJH36k",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_008RAp/Gold",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTojcAbmaEugrFT15cDCCO4&payment_intent_client_secret=pi_3MTojcAbmaEugrFT15cDCCO4_secret_0qbARVoHpah4AgthpcdM4s9wL&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTojiAbmaEugrFTyNgtYX0l"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_aaZRZjAiVug1xj message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:48:38] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:48:49.013847 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:48:49] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:49:41.748723 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:49:41] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:49:42.723345 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:49:42] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:52:54.118953 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:52:54.121957 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:52:54.126479 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:52:54.129484 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:52:54] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:52:54] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_2p3U2OpwCnTe8t message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:52:54] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:52:54.562853 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:52:54.566850 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:52:54] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:56:54.151870 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:56:54] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:56:54.178416 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:56:54] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:57:20.279933 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:57:20] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:57:21.071927 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:57:21] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:57:50.647131 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:57:50] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:57:50.986095 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:57:50] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:58:13.512640 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:58:13] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:58:14.231938 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:58:14] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:59:01.548395 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:59:01] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:59:01.984676 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:59:01] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:59:04.839193 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:59:04.842197 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:59:04] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:59:04.846196 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:59:04.849217 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:59:04] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:59:04] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:59:05.405424 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:59:05] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:59:07.926433 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:59:07.931437 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:59:07.934970 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:59:07] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_izTfN2LQ3tVk4b message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:59:08] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:59:10.797722 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:59:10.800726 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:59:10.803729 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:59:10.804721 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:59:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:59:10] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_kxiwnlMk5QCZ2y message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:59:11] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:59:11.187118 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:59:11.191120 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:59:11] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:59:17.644063 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 16:59:17.646586 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000112\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00xBXz\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold19090.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 90.0
    TVA 20% : 18.0
    Montant TTC : 108.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000112.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTou2AbmaEugrFT4ri85YjI",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674575958,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674575958,\n "currency": "eur",\n "current_period_end": 1677254358,\n "current_period_start": 1674575958,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEHS0YyJexlnJP",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674575959,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 1,\n "subscription": "sub_1MTou2AbmaEugrFT4ri85YjI",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTou2AbmaEugrFT4ri85YjI"\n },\n "latest_invoice": {\n "id": "in_1MTou2AbmaEugrFTyyjYLYiF",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 9000,\n "amount_paid": 0,\n "amount_remaining": 9000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674575958,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUhTOUl2ZktuUkl4TnBsWmh3cnhNdUJxRjFXd0JILDY1MTE2NzU502000q0u8m5J?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUhTOUl2ZktuUkl4TnBsWmh3cnhNdUJxRjFXd0JILDY1MTE2NzU502000q0u8m5J/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTou2AbmaEugrFT8VdAaSrL",\n "object": "line_item",\n "amount": 9000,\n "amount_excluding_tax": 9000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677254358,\n "start": 1674575958\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTou2AbmaEugrFT4ri85YjI",\n "subscription_item": "si_NEHS0YyJexlnJP",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTou2AbmaEugrFTyyjYLYiF/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0494",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTou3AbmaEugrFT1xlf7uto",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTou3AbmaEugrFT1xlf7uto"\n },\n "client_secret": "pi_3MTou3AbmaEugrFT1xlf7uto_secret_jmwzr0ViVAGS0JUe8Tt2kYgBT",\n "confirmation_method": "automatic",\n "created": 1674575959,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTou2AbmaEugrFTyyjYLYiF",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674575958,\n "period_start": 1674575958,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674575958,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTou2AbmaEugrFT4ri85YjI",\n "subtotal": 9000,\n "subtotal_excluding_tax": 9000,\n "tax": null,\n "test_clock": null,\n "total": 9000,\n "total_discount_amounts": [],\n "total_excluding_tax": 9000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674575958\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674575958,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_HZRDYbEOBojl5x message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:59:19] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0xfda32490 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000112.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000112.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000112.pdf') +INFO:root:2023-01-24 16:59:19.693731 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000112.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000112.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 16:59:19.694734 : Impression facture N° FACT_231000112 OK +INFO:root:2023-01-24 16:59:19.709742 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 16:59:19.700722', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:59:19] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:59:19.872279 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTou3AbmaEugrFT1xlf7uto/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_008RAp%2FGold +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTou3AbmaEugrFT1xlf7uto/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTou3AbmaEugrFT1xlf7uto",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTou3AbmaEugrFT1xlf7uto"\n },\n "client_secret": "pi_3MTou3AbmaEugrFT1xlf7uto_secret_jmwzr0ViVAGS0JUe8Tt2kYgBT",\n "confirmation_method": "automatic",\n "created": 1674575959,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTou2AbmaEugrFTyyjYLYiF",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_008RAp/Gold",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTou3AbmaEugrFT1xlf7uto&payment_intent_client_secret=pi_3MTou3AbmaEugrFT1xlf7uto_secret_jmwzr0ViVAGS0JUe8Tt2kYgBT&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTou5AbmaEugrFTeCNEoo0W"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_uSs0Us7Pc0VQOu message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:59:21] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:59:31.671062 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:59:31] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:59:40.735414 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:59:40.738407 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:59:40] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:59:40.740408 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 16:59:40.744409 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:59:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:59:40] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 16:59:41.245228 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 16:59:41] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:02:02.168536 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:02:02] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:02:06.941884 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:02:06.945888 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:02:06.947902 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:02:06.949898 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:02:06.952900 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:root:2023-01-24 17:02:06.954897 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:02:06] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:root:2023-01-24 17:02:06.964003 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:02:06] "POST /myclass/api/get_invoice_by_customer/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:02:06] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_YIt1fap1r14xV7 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:02:07] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_DcULIQPWCYLmLU message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:02:07] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:02:12.969810 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:02:12.973107 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:02:12.976247 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:02:12] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_MkRI7OOf2fzTUy message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:02:13] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:02:16.864589 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:02:16.867596 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:02:16.870595 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:02:16.872593 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:02:16] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:02:16] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_FWGho5xZs1S1Uw message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:02:17] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:02:17.243633 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:02:17.248633 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:02:17] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:02:21.270007 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 17:02:21.273003 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000113\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00rpKJ\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard15050.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 50.0
    TVA 20% : 10.0
    Montant TTC : 60.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000113.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTox0AbmaEugrFTvVXUT2Je",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674576142,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674576142,\n "currency": "eur",\n "current_period_end": 1677254542,\n "current_period_start": 1674576142,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEHWS8MVYzmJxL",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674576142,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 1,\n "subscription": "sub_1MTox0AbmaEugrFTvVXUT2Je",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTox0AbmaEugrFTvVXUT2Je"\n },\n "latest_invoice": {\n "id": "in_1MTox0AbmaEugrFT5kkWEegy",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 5000,\n "amount_paid": 0,\n "amount_remaining": 5000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674576142,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUhXQU5oUWZCNE55TWhyUkRJeW54dkhNYms0T09HLDY1MTE2OTQz0200RrJafAq8?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUhXQU5oUWZCNE55TWhyUkRJeW54dkhNYms0T09HLDY1MTE2OTQz0200RrJafAq8/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTox0AbmaEugrFTcnWd1K0w",\n "object": "line_item",\n "amount": 5000,\n "amount_excluding_tax": 5000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_STANDARD (at €50.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677254542,\n "start": 1674576142\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTox0AbmaEugrFTvVXUT2Je",\n "subscription_item": "si_NEHWS8MVYzmJxL",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "5000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTox0AbmaEugrFT5kkWEegy/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0495",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTox1AbmaEugrFT08Fq7a6K",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTox1AbmaEugrFT08Fq7a6K"\n },\n "client_secret": "pi_3MTox1AbmaEugrFT08Fq7a6K_secret_dxesCQuzE2FVqWsl8EEYTtC3A",\n "confirmation_method": "automatic",\n "created": 1674576143,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTox0AbmaEugrFT5kkWEegy",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674576142,\n "period_start": 1674576142,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674576142,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTox0AbmaEugrFTvVXUT2Je",\n "subtotal": 5000,\n "subtotal_excluding_tax": 5000,\n "tax": null,\n "test_clock": null,\n "total": 5000,\n "total_discount_amounts": [],\n "total_excluding_tax": 5000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674576142\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674576142,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_DiA6E37Bl9xz8K message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:02:22] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0xfdaf1110 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000113.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000113.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000113.pdf') +INFO:root:2023-01-24 17:02:23.272865 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000113.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000113.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 17:02:23.273859 : Impression facture N° FACT_231000113 OK +INFO:root:2023-01-24 17:02:23.291115 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 17:02:23.278867', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:02:23] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:02:23.400639 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTox1AbmaEugrFT08Fq7a6K/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_008RAp%2FGold +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTox1AbmaEugrFT08Fq7a6K/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTox1AbmaEugrFT08Fq7a6K",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTox1AbmaEugrFT08Fq7a6K"\n },\n "client_secret": "pi_3MTox1AbmaEugrFT08Fq7a6K_secret_dxesCQuzE2FVqWsl8EEYTtC3A",\n "confirmation_method": "automatic",\n "created": 1674576143,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTox0AbmaEugrFT5kkWEegy",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_008RAp/Gold",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTox1AbmaEugrFT08Fq7a6K&payment_intent_client_secret=pi_3MTox1AbmaEugrFT08Fq7a6K_secret_dxesCQuzE2FVqWsl8EEYTtC3A&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTox2AbmaEugrFTY7rsp1wz"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_6ofYap3b1guuB3 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:02:24] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:04:52.701535 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:04:52.708227 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:04:52.708227 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:root:2023-01-24 17:04:52.710295 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:04:52] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:04:52] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_zRWq2Zm9XnQdNr message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:04:53] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:04:53.130439 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:04:53.133445 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:04:53] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:05:38.043192 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:05:38.047194 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:05:38.050525 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:05:38.055517 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:05:38] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:05:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_mf3w0TBtxQPC0X message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:05:38] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:05:38.590246 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:05:38.596242 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:05:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:07:09.050243 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:07:09.053262 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:07:09.056258 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:07:09.059256 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:07:09] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:07:09] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_0DSuzM9wOMGUH1 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:07:09] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:07:09.444584 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:07:09.449584 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:07:09] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:07:59.358730 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:07:59.361250 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:07:59.365261 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:07:59] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:07:59.369263 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:07:59] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_9b2rdPvYX0BT4Y message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:07:59] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:07:59.703918 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:07:59.707929 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:07:59] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:08:05.135633 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:08:05.138648 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:08:05] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:08:05.140645 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:08:05.145639 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:08:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:08:05] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:08:05.662433 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:08:05] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:08:07.136137 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:08:07.139447 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:08:07.141441 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:08:07] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_17bUWJlgmc7zV4 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:08:07] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:08:10.412422 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:08:10.414433 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:08:10.417437 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:08:10.420434 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:08:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:08:10] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_oo9z4N6X2lW1OV message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:08:10] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:08:10.843056 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:08:10.847074 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:08:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:08:15.867708 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 17:08:15.871057 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000114\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00X8U7\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold19090.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 90.0
    TVA 20% : 18.0
    Montant TTC : 108.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000114.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:stripe:body='{\n "id": "sub_1MTp2iAbmaEugrFTv8UtQnax",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674576496,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674576496,\n "currency": "eur",\n "current_period_end": 1677254896,\n "current_period_start": 1674576496,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEHb0nHTwi2Vn6",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674576497,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 1,\n "subscription": "sub_1MTp2iAbmaEugrFTv8UtQnax",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTp2iAbmaEugrFTv8UtQnax"\n },\n "latest_invoice": {\n "id": "in_1MTp2iAbmaEugrFTku6YqTbB",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 9000,\n "amount_paid": 0,\n "amount_remaining": 9000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674576496,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUhiNmhWT3hBazdNQ21zR3I4bVpWY1FrdEFMNGJHLDY1MTE3Mjk30200GrbsShbr?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUhiNmhWT3hBazdNQ21zR3I4bVpWY1FrdEFMNGJHLDY1MTE3Mjk30200GrbsShbr/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTp2iAbmaEugrFTKqvBm3wY",\n "object": "line_item",\n "amount": 9000,\n "amount_excluding_tax": 9000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677254896,\n "start": 1674576496\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTp2iAbmaEugrFTv8UtQnax",\n "subscription_item": "si_NEHb0nHTwi2Vn6",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTp2iAbmaEugrFTku6YqTbB/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0496",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTp2jAbmaEugrFT1WFOMCMR",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTp2jAbmaEugrFT1WFOMCMR"\n },\n "client_secret": "pi_3MTp2jAbmaEugrFT1WFOMCMR_secret_Zj4kWd89WikPjlMeIIU352C7Z",\n "confirmation_method": "automatic",\n "created": 1674576497,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTp2iAbmaEugrFTku6YqTbB",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674576496,\n "period_start": 1674576496,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674576496,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTp2iAbmaEugrFTv8UtQnax",\n "subtotal": 9000,\n "subtotal_excluding_tax": 9000,\n "tax": null,\n "test_clock": null,\n "total": 9000,\n "total_discount_amounts": [],\n "total_excluding_tax": 9000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674576496\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674576496,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_nsb5R7T2CxRwUw message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:08:17] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0xfd8eb390 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000114.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000114.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000114.pdf') +INFO:root:2023-01-24 17:08:18.358461 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000114.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000114.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 17:08:18.359466 : Impression facture N° FACT_231000114 OK +INFO:root:2023-01-24 17:08:18.377480 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 17:08:18.366480', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:08:18] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:08:18.607504 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTp2jAbmaEugrFT1WFOMCMR/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_008RAp%2FGold +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTp2jAbmaEugrFT1WFOMCMR/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTp2jAbmaEugrFT1WFOMCMR",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTp2jAbmaEugrFT1WFOMCMR"\n },\n "client_secret": "pi_3MTp2jAbmaEugrFT1WFOMCMR_secret_Zj4kWd89WikPjlMeIIU352C7Z",\n "confirmation_method": "automatic",\n "created": 1674576497,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTp2iAbmaEugrFTku6YqTbB",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_008RAp/Gold",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTp2jAbmaEugrFT1WFOMCMR&payment_intent_client_secret=pi_3MTp2jAbmaEugrFT1WFOMCMR_secret_Zj4kWd89WikPjlMeIIU352C7Z&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTp2lAbmaEugrFT1VlS3DGk"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_y2aXh0ip01Ob9I message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:08:19] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:08:35.417524 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTp2jAbmaEugrFT1WFOMCMR +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTp2jAbmaEugrFT1WFOMCMR response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTp2jAbmaEugrFT1WFOMCMR",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTp2jAbmaEugrFT1WFOMCMR"\n },\n "client_secret": "pi_3MTp2jAbmaEugrFT1WFOMCMR_secret_Zj4kWd89WikPjlMeIIU352C7Z",\n "confirmation_method": "automatic",\n "created": 1674576497,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTp2iAbmaEugrFTku6YqTbB",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_008RAp/Gold",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTp2jAbmaEugrFT1WFOMCMR&payment_intent_client_secret=pi_3MTp2jAbmaEugrFT1WFOMCMR_secret_Zj4kWd89WikPjlMeIIU352C7Z&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTp2lAbmaEugrFT1VlS3DGk"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_igNRNXydBidnXB message='Dashboard link for request' +INFO:root:2023-01-24 17:08:35.843890 : payment_retrieve_status Impossible de connaitre le status du payement pi_3MTp2jAbmaEugrFT1WFOMCMR +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:08:35] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:08:43.050438 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:08:43] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:10:20.094783 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:10:20.098920 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:10:20.101054 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:10:20.103148 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:10:20] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:10:20] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_GbpRlBgkPNdPZU message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:10:20] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:10:20.531731 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:10:20.536273 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:10:20] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:11:04.476237 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:11:04.480233 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:11:04.482234 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:11:04.485482 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:11:04] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:11:04] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_t8hgcnwd3991gN message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:11:04] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:11:04.872678 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:11:04.875679 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:11:04] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:13:31.279337 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:13:31.281339 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:13:31.284334 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:13:31.288488 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:13:31] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:13:31] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_TbpLt9ZdXrINaT message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:13:31] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:13:31.709568 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:13:31.714691 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:13:31] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:13:35.133218 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:13:35.136217 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:13:35] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:13:35.139219 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:13:35.142730 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:13:35] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:13:35] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:13:35.653036 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:13:35] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:13:38.443893 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:13:38.447425 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:13:38.450424 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:13:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_FcEBQsH6oRMEIu message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:13:38] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:13:42.074013 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:13:42.076167 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:13:42.078219 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:13:42.082752 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:13:42] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:13:42] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_9DwKYs78YuIZhx message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:13:42] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:13:42.441227 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:13:42.446222 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:13:42] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:13:46.349992 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 17:13:46.352823 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000115\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00W3pT\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard15050.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 50.0
    TVA 20% : 10.0
    Montant TTC : 60.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000115.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTp83AbmaEugrFTWjXVVaIM",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674576827,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674576827,\n "currency": "eur",\n "current_period_end": 1677255227,\n "current_period_start": 1674576827,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEHhtjrOxTp5hn",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674576827,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 1,\n "subscription": "sub_1MTp83AbmaEugrFTWjXVVaIM",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTp83AbmaEugrFTWjXVVaIM"\n },\n "latest_invoice": {\n "id": "in_1MTp83AbmaEugrFTekQrhSoR",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 5000,\n "amount_paid": 0,\n "amount_remaining": 5000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674576827,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUhoVXhONUZ6Z01UMlFSTDJNVnVPbmFVcjNFNGFvLDY1MTE3NjI40200QsgvF0Vc?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUhoVXhONUZ6Z01UMlFSTDJNVnVPbmFVcjNFNGFvLDY1MTE3NjI40200QsgvF0Vc/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTp83AbmaEugrFT0jfBsUeV",\n "object": "line_item",\n "amount": 5000,\n "amount_excluding_tax": 5000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_STANDARD (at €50.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677255227,\n "start": 1674576827\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTp83AbmaEugrFTWjXVVaIM",\n "subscription_item": "si_NEHhtjrOxTp5hn",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "5000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTp83AbmaEugrFTekQrhSoR/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0497",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTp84AbmaEugrFT1UCUsYbU",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTp84AbmaEugrFT1UCUsYbU"\n },\n "client_secret": "pi_3MTp84AbmaEugrFT1UCUsYbU_secret_QZcPqKfMd8DDozOas2oKIkmxU",\n "confirmation_method": "automatic",\n "created": 1674576828,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTp83AbmaEugrFTekQrhSoR",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674576827,\n "period_start": 1674576827,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674576827,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTp83AbmaEugrFTWjXVVaIM",\n "subtotal": 5000,\n "subtotal_excluding_tax": 5000,\n "tax": null,\n "test_clock": null,\n "total": 5000,\n "total_discount_amounts": [],\n "total_excluding_tax": 5000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674576827\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674576827,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_c5Nl0Ayx94Ae4O message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:13:47] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0xfed54d10 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000115.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000115.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000115.pdf') +INFO:root:2023-01-24 17:13:48.354630 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000115.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000115.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +INFO:root:2023-01-24 17:13:48.355631 : Impression facture N° FACT_231000115 OK +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 17:13:48.369641 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 17:13:48.361642', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:13:48] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:13:50.795387 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTp84AbmaEugrFT1UCUsYbU/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_008RAp%2FGold +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTp84AbmaEugrFT1UCUsYbU/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTp84AbmaEugrFT1UCUsYbU",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTp84AbmaEugrFT1UCUsYbU"\n },\n "client_secret": "pi_3MTp84AbmaEugrFT1UCUsYbU_secret_QZcPqKfMd8DDozOas2oKIkmxU",\n "confirmation_method": "automatic",\n "created": 1674576828,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTp83AbmaEugrFTekQrhSoR",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_008RAp/Gold",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTp84AbmaEugrFT1UCUsYbU&payment_intent_client_secret=pi_3MTp84AbmaEugrFT1UCUsYbU_secret_QZcPqKfMd8DDozOas2oKIkmxU&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTp88AbmaEugrFTGXRd7D5Z"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_y0ngQVt8KH1Bql message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:13:52] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2622975540112 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2622975540112 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2622975540112 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2622975540112 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2622975689232 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2622975689232 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2622975689232 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2622975689232 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2622976482128 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2622976482128 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-24 17:18:04.290613 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Attempting to release lock 2622976482128 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 17:18:04.291612 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 17:18:04.291612 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 17:18:04.291612 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2622976482128 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1961040020048 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1961040020048 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1961040020048 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1961040020048 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1961040022288 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1961040022288 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 1961040022288 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1961040022288 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1961041540752 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1961041540752 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 17:18:21.635099 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 17:18:21.635099 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 17:18:21.635725 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 17:18:21.635725 : ++ FLASK PORT 5001 ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1961041540752 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1961041540752 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1490770445200 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1490770445200 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1490770445200 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1490770445200 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1490770526352 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1490770526352 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 1490770526352 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1490770526352 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 17:23:36.025767 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 17:23:36.026914 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 17:23:36.026914 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 17:23:36.026914 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to acquire lock 1490441220688 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1490441220688 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1490441220688 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1490441220688 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1783712085328 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1783712085328 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1783712085328 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1783712085328 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1783712235600 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1783712235600 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 1783712235600 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1783712235600 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1783713500752 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1783713500752 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 17:27:56.114368 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 17:27:56.114368 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 17:27:56.114368 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 17:27:56.114368 : ++ FLASK PORT 5001 ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1783713500752 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1783713500752 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 3139359490128 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3139359490128 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 3139359490128 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3139359490128 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 3139359492880 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3139359492880 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 3139359492880 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 17:28:03.568188 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 17:28:03.569188 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 17:28:03.569188 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 17:28:03.569188 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 3139359492880 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 3139360974160 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3139360974160 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 3139360974160 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3139360974160 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 17:28:21.761151 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:28:21] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:28:36.542285 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:28:36.545290 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:28:36] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:28:36.548289 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:28:36.554832 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:28:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:28:36] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:28:36.988302 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:28:36] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:28:38.836314 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:28:38.839335 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:28:38.843334 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:28:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_YN8Qo97cvxYrgm message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:28:39] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:28:41.929409 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:28:41.931889 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:28:41.935961 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:28:41] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:28:41.939967 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:28:41] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_xVhq1YaNWdUksB message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:28:42] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:28:42.302938 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:28:42.306945 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:28:42] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:28:46.167808 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=2&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 17:28:46.170935 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000116\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00cLsJ\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold290180.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 180.0
    TVA 20% : 36.0
    Montant TTC : 216.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000116.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:paramiko.transport:starting thread (client mode): 0xddc2b050 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTpMZAbmaEugrFTP9qsfhnC",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674577727,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674577727,\n "currency": "eur",\n "current_period_end": 1677256127,\n "current_period_start": 1674577727,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEHwQPivoBKDPa",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674577727,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 2,\n "subscription": "sub_1MTpMZAbmaEugrFTP9qsfhnC",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTpMZAbmaEugrFTP9qsfhnC"\n },\n "latest_invoice": {\n "id": "in_1MTpMZAbmaEugrFT6zchCIRB",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 18000,\n "amount_paid": 0,\n "amount_remaining": 18000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674577727,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUh3am14T3RjV2lVcG05SUUzbGt5VERCeGtEa29VLDY1MTE4NTI402009mXF8k90?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUh3am14T3RjV2lVcG05SUUzbGt5VERCeGtEa29VLDY1MTE4NTI402009mXF8k90/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTpMZAbmaEugrFTB00FkJ1W",\n "object": "line_item",\n "amount": 18000,\n "amount_excluding_tax": 18000,\n "currency": "eur",\n "description": "2 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677256127,\n "start": 1674577727\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 2,\n "subscription": "sub_1MTpMZAbmaEugrFTP9qsfhnC",\n "subscription_item": "si_NEHwQPivoBKDPa",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTpMZAbmaEugrFT6zchCIRB/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0498",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTpMZAbmaEugrFT0Sfjx8yk",\n "object": "payment_intent",\n "amount": 18000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTpMZAbmaEugrFT0Sfjx8yk"\n },\n "client_secret": "pi_3MTpMZAbmaEugrFT0Sfjx8yk_secret_84qKYbfwYBb4ITT1Dork0pS2Q",\n "confirmation_method": "automatic",\n "created": 1674577727,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTpMZAbmaEugrFT6zchCIRB",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674577727,\n "period_start": 1674577727,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674577727,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTpMZAbmaEugrFTP9qsfhnC",\n "subtotal": 18000,\n "subtotal_excluding_tax": 18000,\n "tax": null,\n "test_clock": null,\n "total": 18000,\n "total_discount_amounts": [],\n "total_excluding_tax": 18000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674577727\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 2,\n "schedule": null,\n "start_date": 1674577727,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_BxKywdIfXYjr2E message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:28:47] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000116.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000116.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000116.pdf') +INFO:root:2023-01-24 17:28:50.696984 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000116.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000116.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 17:28:50.697964 : Impression facture N° FACT_231000116 OK +INFO:root:2023-01-24 17:28:50.713983 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 17:28:50.704963', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:28:50] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:28:57.490752 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:28:57.496815 : confirm_suscription -'dict' object has no attribute 'sort' - ERRORRRR AT Line : 310 +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:28:57] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1838749843792 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1838749843792 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1838749843792 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1838749843792 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1838749909200 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1838749909200 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 1838749909200 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1838749909200 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1838751365520 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1838751365520 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 17:29:40.537727 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 17:29:40.537727 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 17:29:40.537727 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-24 17:29:40.537727 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 1838751365520 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1838751365520 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2994691622160 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2994691622160 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2994691622160 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2994691622160 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2994691703056 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2994691703056 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2994691703056 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2994691703056 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2994691635088 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2994691635088 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 17:30:18.518261 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 17:30:18.518261 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-24 17:30:18.518261 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 17:30:18.518261 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 2994691635088 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2994691635088 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 17:30:18.691920 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:30:18.694928 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:30:18.697928 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:30:18.700435 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:30:18.712847 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:30:18] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:30:18] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:30:18] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_eyoqIQqFMkEEwr message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:30:19] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:30:21.036341 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:30:21.038339 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:30:21.041884 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:30:21] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:30:21.047890 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:30:21] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_W8IpMtzDsA3Eim message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:30:21] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:30:21.416493 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:30:21.420498 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:30:21] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:30:28.808435 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 17:30:28.810542 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000117\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00b_iQ\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard15050.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 50.0
    TVA 20% : 10.0
    Montant TTC : 60.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000117.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:paramiko.transport:starting thread (client mode): 0x2d150890 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTpODAbmaEugrFTM0PaeSHm",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674577829,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674577829,\n "currency": "eur",\n "current_period_end": 1677256229,\n "current_period_start": 1674577829,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEHyZVqc7OnOFZ",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674577830,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 1,\n "subscription": "sub_1MTpODAbmaEugrFTM0PaeSHm",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTpODAbmaEugrFTM0PaeSHm"\n },\n "latest_invoice": {\n "id": "in_1MTpODAbmaEugrFTCTMUM7BF",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 5000,\n "amount_paid": 0,\n "amount_remaining": 5000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674577829,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUh5Z2FZMmlvRmxneHRndzNQaG90WWp6dERIWGJLLDY1MTE4NjMw0200uhZNRCwD?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUh5Z2FZMmlvRmxneHRndzNQaG90WWp6dERIWGJLLDY1MTE4NjMw0200uhZNRCwD/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTpODAbmaEugrFTLze32ifb",\n "object": "line_item",\n "amount": 5000,\n "amount_excluding_tax": 5000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_STANDARD (at €50.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677256229,\n "start": 1674577829\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTpODAbmaEugrFTM0PaeSHm",\n "subscription_item": "si_NEHyZVqc7OnOFZ",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "5000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTpODAbmaEugrFTCTMUM7BF/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0499",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTpOEAbmaEugrFT0qmMWKTI",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTpOEAbmaEugrFT0qmMWKTI"\n },\n "client_secret": "pi_3MTpOEAbmaEugrFT0qmMWKTI_secret_Z38yLNbEEJvVUXgm0wfGGcl5R",\n "confirmation_method": "automatic",\n "created": 1674577830,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTpODAbmaEugrFTCTMUM7BF",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674577829,\n "period_start": 1674577829,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674577829,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTpODAbmaEugrFTM0PaeSHm",\n "subtotal": 5000,\n "subtotal_excluding_tax": 5000,\n "tax": null,\n "test_clock": null,\n "total": 5000,\n "total_discount_amounts": [],\n "total_excluding_tax": 5000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674577829\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674577829,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_THslX4KX2NCLEr message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:30:30] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000117.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000117.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000117.pdf') +INFO:root:2023-01-24 17:30:33.290257 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000117.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000117.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 17:30:33.291266 : Impression facture N° FACT_231000117 OK +INFO:root:2023-01-24 17:30:33.307292 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 17:30:33.297268', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:30:33] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:30:35.347971 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:30:35.355191 : confirm_suscription Impossible de finaliser le payement +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:30:35] "POST /myclass/api/confirm_payment/ HTTP/1.1" 500 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2866154569104 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2866154569104 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2866154569104 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2866154569104 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2866460295248 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2866460295248 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2866460295248 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2866460295248 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2866460295312 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2866460295312 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2866460295312 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 17:32:43.249311 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 17:32:43.249311 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 17:32:43.249311 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 17:32:43.249311 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2866460295312 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2726068471504 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2726068471504 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2726068471504 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2726068471504 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2726068473808 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2726068473808 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2726068473808 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2726068473808 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2726072084048 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 17:33:21.925898 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 17:33:21.925898 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 17:33:21.925898 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 17:33:21.925898 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2726072084048 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2726072084048 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2726072084048 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2444734394384 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2444734394384 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2444734394384 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2444734394384 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2444734546448 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2444734546448 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2444734546448 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2444734546448 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2444735890000 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2444735890000 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-24 17:34:34.168134 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 17:34:34.168134 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 17:34:34.168134 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 17:34:34.168134 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 2444735890000 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2444735890000 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 17:34:36.438109 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:34:36.441105 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:34:36.444110 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:34:36] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:34:36.450638 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:34:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:34:36] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:34:36.981563 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:34:36] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:34:42.748867 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:34:42.751869 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:34:42.754889 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:34:42] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Dwiw3SAwFmwmW9 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:34:43] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:34:46.125374 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:34:46.128511 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:34:46.132640 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:34:46.135653 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:34:46] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:34:46] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_PlU2gbESBc8ALe message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:34:46] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:34:46.494638 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:34:46.499661 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:34:46] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:34:49.995833 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 17:34:49.997923 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000118\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00QQ4U\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold19090.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 90.0
    TVA 20% : 18.0
    Montant TTC : 108.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000118.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTpSRAbmaEugrFTugqtR6kB",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674578090,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674578090,\n "currency": "eur",\n "current_period_end": 1677256490,\n "current_period_start": 1674578090,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEI2LklZkgQ66s",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674578091,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 1,\n "subscription": "sub_1MTpSRAbmaEugrFTugqtR6kB",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTpSRAbmaEugrFTugqtR6kB"\n },\n "latest_invoice": {\n "id": "in_1MTpSRAbmaEugrFTQyc7BvTE",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 9000,\n "amount_paid": 0,\n "amount_remaining": 9000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674578091,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUkydFJhcVhiSGVUWjg1ME5UMWE5NjVyZGZkQVpWLDY1MTE4ODkx0200P8g87JQA?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUkydFJhcVhiSGVUWjg1ME5UMWE5NjVyZGZkQVpWLDY1MTE4ODkx0200P8g87JQA/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTpSRAbmaEugrFT7xYIGGWQ",\n "object": "line_item",\n "amount": 9000,\n "amount_excluding_tax": 9000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677256490,\n "start": 1674578090\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTpSRAbmaEugrFTugqtR6kB",\n "subscription_item": "si_NEI2LklZkgQ66s",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTpSRAbmaEugrFTQyc7BvTE/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0500",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTpSRAbmaEugrFT0i1Q8Mpg",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTpSRAbmaEugrFT0i1Q8Mpg"\n },\n "client_secret": "pi_3MTpSRAbmaEugrFT0i1Q8Mpg_secret_nKdGyFMh5SaxwlxEYIxkbWCKt",\n "confirmation_method": "automatic",\n "created": 1674578091,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTpSRAbmaEugrFTQyc7BvTE",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674578090,\n "period_start": 1674578090,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674578091,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTpSRAbmaEugrFTugqtR6kB",\n "subtotal": 9000,\n "subtotal_excluding_tax": 9000,\n "tax": null,\n "test_clock": null,\n "total": 9000,\n "total_discount_amounts": [],\n "total_excluding_tax": 9000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674578091\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674578090,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_6GGbBAlqiqZkEs message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:34:51] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0x35517ad0 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000118.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000118.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000118.pdf') +INFO:root:2023-01-24 17:34:55.147402 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000118.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000118.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 17:34:55.149398 : Impression facture N° FACT_231000118 OK +INFO:root:2023-01-24 17:34:55.164416 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 17:34:55.154398', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:34:55] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:35:11.971832 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTpSRAbmaEugrFT0i1Q8Mpg/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_00TU53%2FGold +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTpSRAbmaEugrFT0i1Q8Mpg/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTpSRAbmaEugrFT0i1Q8Mpg",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTpSRAbmaEugrFT0i1Q8Mpg"\n },\n "client_secret": "pi_3MTpSRAbmaEugrFT0i1Q8Mpg_secret_nKdGyFMh5SaxwlxEYIxkbWCKt",\n "confirmation_method": "automatic",\n "created": 1674578091,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTpSRAbmaEugrFTQyc7BvTE",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_00TU53/Gold",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTpSRAbmaEugrFT0i1Q8Mpg&payment_intent_client_secret=pi_3MTpSRAbmaEugrFT0i1Q8Mpg_secret_nKdGyFMh5SaxwlxEYIxkbWCKt&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTpSnAbmaEugrFTFkZs5wVS"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_8G2tBXFtTTEgRJ message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:35:13] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:35:34.293929 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:35:34] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:40:39.162964 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:40:39] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:40:39.227042 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:40:39] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:40:42.250138 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:40:42.253147 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:40:42.255146 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:40:42] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_JeO8PlAarncrby message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:40:42] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:40:45.547336 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:40:45.550348 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:40:45.552347 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:40:45.558347 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:40:45] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:40:45] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_n4KnOjjsOvoMXy message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:40:45] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:40:45.922498 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:40:45.926499 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:40:45] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:40:49.089193 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 17:40:49.092185 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000119\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00wK0R\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard15050.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 50.0
    TVA 20% : 10.0
    Montant TTC : 60.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000119.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTpYEAbmaEugrFTlgpoV3E8",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674578450,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674578450,\n "currency": "eur",\n "current_period_end": 1677256850,\n "current_period_start": 1674578450,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEI8T87TOgBTvL",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674578450,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 1,\n "subscription": "sub_1MTpYEAbmaEugrFTlgpoV3E8",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTpYEAbmaEugrFTlgpoV3E8"\n },\n "latest_invoice": {\n "id": "in_1MTpYEAbmaEugrFTuuAsQnH6",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 5000,\n "amount_paid": 0,\n "amount_remaining": 5000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674578450,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUk4b0t4TWJhTVFSZnR3bVYwZjV1eVlleHllN3RrLDY1MTE5MjUx0200bJstMDvw?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUk4b0t4TWJhTVFSZnR3bVYwZjV1eVlleHllN3RrLDY1MTE5MjUx0200bJstMDvw/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTpYEAbmaEugrFTnTImiYlE",\n "object": "line_item",\n "amount": 5000,\n "amount_excluding_tax": 5000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_STANDARD (at €50.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677256850,\n "start": 1674578450\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTpYEAbmaEugrFTlgpoV3E8",\n "subscription_item": "si_NEI8T87TOgBTvL",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "5000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTpYEAbmaEugrFTuuAsQnH6/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0501",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTpYEAbmaEugrFT15Yc9PEU",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTpYEAbmaEugrFT15Yc9PEU"\n },\n "client_secret": "pi_3MTpYEAbmaEugrFT15Yc9PEU_secret_5pppNtmIRNql3zgRjsrcgsUJm",\n "confirmation_method": "automatic",\n "created": 1674578450,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTpYEAbmaEugrFTuuAsQnH6",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674578450,\n "period_start": 1674578450,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674578450,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTpYEAbmaEugrFTlgpoV3E8",\n "subtotal": 5000,\n "subtotal_excluding_tax": 5000,\n "tax": null,\n "test_clock": null,\n "total": 5000,\n "total_discount_amounts": [],\n "total_excluding_tax": 5000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674578450\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674578450,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_5ipUZhi7moMBKD message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:40:50] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0x35850490 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000119.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000119.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000119.pdf') +INFO:root:2023-01-24 17:40:53.589544 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000119.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000119.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 17:40:53.591548 : Impression facture N° FACT_231000119 OK +INFO:root:2023-01-24 17:40:53.641581 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 17:40:53.618538', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:40:53] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:41:08.285901 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTpYEAbmaEugrFT15Yc9PEU/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_00TU53%2FStandard +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTpYEAbmaEugrFT15Yc9PEU/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTpYEAbmaEugrFT15Yc9PEU",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTpYEAbmaEugrFT15Yc9PEU"\n },\n "client_secret": "pi_3MTpYEAbmaEugrFT15Yc9PEU_secret_5pppNtmIRNql3zgRjsrcgsUJm",\n "confirmation_method": "automatic",\n "created": 1674578450,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTpYEAbmaEugrFTuuAsQnH6",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_00TU53/Standard",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTpYEAbmaEugrFT15Yc9PEU&payment_intent_client_secret=pi_3MTpYEAbmaEugrFT15Yc9PEU_secret_5pppNtmIRNql3zgRjsrcgsUJm&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTpYXAbmaEugrFTBkLear7E"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_3SlKE5zJ3jayQH message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:41:09] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2100113688208 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2100113688208 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2100113688208 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2100113688208 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2100113785104 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2100113785104 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2100113785104 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2100113785104 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2100114803024 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2100114803024 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 17:43:37.664115 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 17:43:37.664115 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-24 17:43:37.665117 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 17:43:37.665117 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 2100114803024 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2100114803024 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 17:44:10.308851 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:44:10.311853 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:44:10.315847 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:44:10.324086 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:44:10] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:44:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_uymGki0IqHhGvM message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:44:10] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:44:10.768184 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:44:10.774173 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:44:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:44:12.127160 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:44:12.130364 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:44:12.134520 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:44:12.139022 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:44:12.139022 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:44:12] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:44:12.144026 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:44:12] "POST /myclass/api/get_invoice_by_customer/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:44:12.151028 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:44:12] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Af1cjzEhL8fDyu message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:44:12] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_QcOSQujsXloxBm message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:44:12] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:44:13.385049 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:44:13.387065 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:44:13.390055 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:44:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_O1zUGu80bGYIvt message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:44:13] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:44:16.618352 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:44:16.620359 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:44:16.623353 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:44:16.624361 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:44:16] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:44:16] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_lVZQJjKD7kXLcQ message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:44:16] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:44:17.004633 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:44:17.008624 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:44:17] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:44:19.907838 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 17:44:19.912068 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000120\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00My4V\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold19090.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 90.0
    TVA 20% : 18.0
    Montant TTC : 108.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000120.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:paramiko.transport:starting thread (client mode): 0xf4aa9610 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTpbcAbmaEugrFTcVfANENS",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674578660,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674578660,\n "currency": "eur",\n "current_period_end": 1677257060,\n "current_period_start": 1674578660,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEICDAaieGXurH",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674578661,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 1,\n "subscription": "sub_1MTpbcAbmaEugrFTcVfANENS",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTpbcAbmaEugrFTcVfANENS"\n },\n "latest_invoice": {\n "id": "in_1MTpbcAbmaEugrFTnvjSRLEW",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 9000,\n "amount_paid": 0,\n "amount_remaining": 9000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674578660,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUlDOHJQdWMzUEo2VDQxMFFxb0g4YTM0OFBpTUdNLDY1MTE5NDYx02009lkZSDq6?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUlDOHJQdWMzUEo2VDQxMFFxb0g4YTM0OFBpTUdNLDY1MTE5NDYx02009lkZSDq6/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTpbcAbmaEugrFTuaExwVNG",\n "object": "line_item",\n "amount": 9000,\n "amount_excluding_tax": 9000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677257060,\n "start": 1674578660\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTpbcAbmaEugrFTcVfANENS",\n "subscription_item": "si_NEICDAaieGXurH",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTpbcAbmaEugrFTnvjSRLEW/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0502",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTpbdAbmaEugrFT0qxUigue",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTpbdAbmaEugrFT0qxUigue"\n },\n "client_secret": "pi_3MTpbdAbmaEugrFT0qxUigue_secret_y0AUcqPS6zEfIki5RJ8rTDaI3",\n "confirmation_method": "automatic",\n "created": 1674578661,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTpbcAbmaEugrFTnvjSRLEW",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674578660,\n "period_start": 1674578660,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674578660,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTpbcAbmaEugrFTcVfANENS",\n "subtotal": 9000,\n "subtotal_excluding_tax": 9000,\n "tax": null,\n "test_clock": null,\n "total": 9000,\n "total_discount_amounts": [],\n "total_excluding_tax": 9000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674578660\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674578660,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_wrUhnlITJ5932O message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:44:21] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000120.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000120.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000120.pdf') +INFO:root:2023-01-24 17:44:24.233280 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000120.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000120.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 17:44:24.235261 : Impression facture N° FACT_231000120 OK +INFO:root:2023-01-24 17:44:24.257306 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 17:44:24.240280', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:44:24] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:44:24.363468 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTpbdAbmaEugrFT0qxUigue/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_00TU53%2FGold +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTpbdAbmaEugrFT0qxUigue/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTpbdAbmaEugrFT0qxUigue",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTpbdAbmaEugrFT0qxUigue"\n },\n "client_secret": "pi_3MTpbdAbmaEugrFT0qxUigue_secret_y0AUcqPS6zEfIki5RJ8rTDaI3",\n "confirmation_method": "automatic",\n "created": 1674578661,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTpbcAbmaEugrFTnvjSRLEW",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_00TU53/Gold",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTpbdAbmaEugrFT0qxUigue&payment_intent_client_secret=pi_3MTpbdAbmaEugrFT0qxUigue_secret_y0AUcqPS6zEfIki5RJ8rTDaI3&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTpbhAbmaEugrFT6ldylant"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_JTGTbllkztI4MY message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:44:25] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:45:52.853476 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:45:52] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2407327650768 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2407327650768 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2407327650768 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2407327650768 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2405494704656 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2405494704656 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2405494704656 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2405494704656 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2405496076432 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2405496076432 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2405496076432 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 17:47:08.212066 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Lock 2405496076432 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 17:47:08.214071 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 17:47:08.214071 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 17:47:08.214071 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 17:47:08.401434 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:47:08.404435 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:47:08.405430 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:47:08] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:47:08.416427 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:47:08] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:47:08] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:47:08.597280 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:47:08] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:47:10.198705 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:47:10.200710 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:47:10.204702 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:47:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_iOwntV1qEAl9Nv message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:47:10] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:47:13.556213 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:47:13.558339 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:47:13.561529 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:47:13.562531 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:47:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:47:13] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_KoLZi6zGbVEpfA message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:47:13] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:47:13.933433 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:47:13.938441 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:47:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:47:18.787605 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 17:47:18.790610 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000121\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00F2ix\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard15050.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 50.0
    TVA 20% : 10.0
    Montant TTC : 60.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000121.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTpeVAbmaEugrFTckM9uYs5",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674578839,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674578839,\n "currency": "eur",\n "current_period_end": 1677257239,\n "current_period_start": 1674578839,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEIE8odZbe5Upm",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674578840,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 1,\n "subscription": "sub_1MTpeVAbmaEugrFTckM9uYs5",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTpeVAbmaEugrFTckM9uYs5"\n },\n "latest_invoice": {\n "id": "in_1MTpeVAbmaEugrFTimtVN4fw",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 5000,\n "amount_paid": 0,\n "amount_remaining": 5000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674578839,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUlFOXpXOG9UN2tLdXpCZWJvYUlNVEZpUnNrTGFLLDY1MTE5NjQw0200QqpgmoEO?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUlFOXpXOG9UN2tLdXpCZWJvYUlNVEZpUnNrTGFLLDY1MTE5NjQw0200QqpgmoEO/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTpeVAbmaEugrFT4oW6kdjD",\n "object": "line_item",\n "amount": 5000,\n "amount_excluding_tax": 5000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_STANDARD (at €50.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677257239,\n "start": 1674578839\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTpeVAbmaEugrFTckM9uYs5",\n "subscription_item": "si_NEIE8odZbe5Upm",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "5000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTpeVAbmaEugrFTimtVN4fw/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0503",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTpeWAbmaEugrFT1aRNIiAY",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTpeWAbmaEugrFT1aRNIiAY"\n },\n "client_secret": "pi_3MTpeWAbmaEugrFT1aRNIiAY_secret_HhuE5669NUZqoQSHGZ2z1AcGo",\n "confirmation_method": "automatic",\n "created": 1674578840,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTpeVAbmaEugrFTimtVN4fw",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674578839,\n "period_start": 1674578839,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674578839,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTpeVAbmaEugrFTckM9uYs5",\n "subtotal": 5000,\n "subtotal_excluding_tax": 5000,\n "tax": null,\n "test_clock": null,\n "total": 5000,\n "total_discount_amounts": [],\n "total_excluding_tax": 5000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674578839\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674578839,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_iKDLa3h2SLMB3g message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:47:20] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0x1163b810 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000121.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000121.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000121.pdf') +INFO:root:2023-01-24 17:47:28.639480 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000121.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000121.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 17:47:28.639480 : Impression facture N° FACT_231000121 OK +INFO:root:2023-01-24 17:47:28.654004 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 17:47:28.645006', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:47:28] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:47:28.760606 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTpeWAbmaEugrFT1aRNIiAY/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_00yXau%2FStandard +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTpeWAbmaEugrFT1aRNIiAY/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTpeWAbmaEugrFT1aRNIiAY",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTpeWAbmaEugrFT1aRNIiAY"\n },\n "client_secret": "pi_3MTpeWAbmaEugrFT1aRNIiAY_secret_HhuE5669NUZqoQSHGZ2z1AcGo",\n "confirmation_method": "automatic",\n "created": 1674578840,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTpeVAbmaEugrFTimtVN4fw",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_00yXau/Standard",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTpeWAbmaEugrFT1aRNIiAY&payment_intent_client_secret=pi_3MTpeWAbmaEugrFT1aRNIiAY_secret_HhuE5669NUZqoQSHGZ2z1AcGo&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTpegAbmaEugrFTz7Fdv5zI"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_0GRk10iDkKNicH message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:47:30] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2594002333840 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2594002333840 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2594002333840 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2594002333840 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2594002502096 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2594002502096 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2594002502096 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2594002502096 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2594003975248 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 17:48:22.128899 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Lock 2594003975248 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 17:48:22.129897 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-24 17:48:22.129897 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 17:48:22.129897 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 2594003975248 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2594003975248 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 17:48:26.924170 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:48:26] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:48:26.994409 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:48:27] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:48:28.056039 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:48:28.059032 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:48:28.062031 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:48:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_pJGWDqmr8xUsYC message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:48:28] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:48:31.327390 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:48:31.330400 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:48:31.333464 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:48:31.338479 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:48:31] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:48:31] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_0Y8l3qKkERBenE message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:48:31] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:48:31.692242 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:48:31.696243 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:48:31] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:48:37.950271 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 17:48:37.952550 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000122\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00ewPk\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold19090.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 90.0
    TVA 20% : 18.0
    Montant TTC : 108.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000122.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:paramiko.transport:starting thread (client mode): 0xf6b2cc10 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTpfmAbmaEugrFTbB3dVrS5",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674578918,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674578918,\n "currency": "eur",\n "current_period_end": 1677257318,\n "current_period_start": 1674578918,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEIGiw1DFG8mJt",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674578919,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 1,\n "subscription": "sub_1MTpfmAbmaEugrFTbB3dVrS5",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTpfmAbmaEugrFTbB3dVrS5"\n },\n "latest_invoice": {\n "id": "in_1MTpfnAbmaEugrFTQWOE229Y",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 9000,\n "amount_paid": 0,\n "amount_remaining": 9000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674578919,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUlHTzNudXdLUlo1REJvekhXNEZmSldqamNTMWlRLDY1MTE5NzIw0200kfeadiIz?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUlHTzNudXdLUlo1REJvekhXNEZmSldqamNTMWlRLDY1MTE5NzIw0200kfeadiIz/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTpfnAbmaEugrFT1pU0eEr6",\n "object": "line_item",\n "amount": 9000,\n "amount_excluding_tax": 9000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677257318,\n "start": 1674578918\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTpfmAbmaEugrFTbB3dVrS5",\n "subscription_item": "si_NEIGiw1DFG8mJt",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTpfnAbmaEugrFTQWOE229Y/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0504",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTpfnAbmaEugrFT0rEcfa4f",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTpfnAbmaEugrFT0rEcfa4f"\n },\n "client_secret": "pi_3MTpfnAbmaEugrFT0rEcfa4f_secret_mvqj64kc0jpTYMIdsZ0xiiPTq",\n "confirmation_method": "automatic",\n "created": 1674578919,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTpfnAbmaEugrFTQWOE229Y",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674578918,\n "period_start": 1674578918,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674578919,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTpfmAbmaEugrFTbB3dVrS5",\n "subtotal": 9000,\n "subtotal_excluding_tax": 9000,\n "tax": null,\n "test_clock": null,\n "total": 9000,\n "total_discount_amounts": [],\n "total_excluding_tax": 9000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674578919\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674578918,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Lxoic2mh4RStRI message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:48:39] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000122.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000122.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000122.pdf') +INFO:root:2023-01-24 17:48:42.565872 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000122.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000122.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 17:48:42.566860 : Impression facture N° FACT_231000122 OK +INFO:root:2023-01-24 17:48:42.580299 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 17:48:42.571860', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:48:42] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:48:42.688407 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTpfnAbmaEugrFT0rEcfa4f/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_00VcZR%2FGold +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTpfnAbmaEugrFT0rEcfa4f/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTpfnAbmaEugrFT0rEcfa4f",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTpfnAbmaEugrFT0rEcfa4f"\n },\n "client_secret": "pi_3MTpfnAbmaEugrFT0rEcfa4f_secret_mvqj64kc0jpTYMIdsZ0xiiPTq",\n "confirmation_method": "automatic",\n "created": 1674578919,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTpfnAbmaEugrFTQWOE229Y",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_00VcZR/Gold",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTpfnAbmaEugrFT0rEcfa4f&payment_intent_client_secret=pi_3MTpfnAbmaEugrFT0rEcfa4f_secret_mvqj64kc0jpTYMIdsZ0xiiPTq&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTpfrAbmaEugrFTR0U6O0nE"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_HXTLtHpd3cIdh5 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:48:43] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2459495202576 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2459495202576 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2459495202576 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2459495202576 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2459495320080 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2459495320080 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2459495320080 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 17:50:28.043852 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 17:50:28.043852 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +DEBUG:filelock:Lock 2459495320080 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 17:50:28.044853 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 17:50:28.044853 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to acquire lock 2459486290768 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2459486290768 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2459486290768 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2459486290768 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 17:50:51.521959 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:50:51] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:50:51.598765 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:50:51] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1442527560592 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1442527560592 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1442527560592 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1442527560592 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1442527642064 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1442527642064 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 1442527642064 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1442527642064 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1442531184016 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 17:51:13.998484 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 17:51:13.998484 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +DEBUG:filelock:Lock 1442531184016 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 17:51:13.998484 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-24 17:51:13.998484 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 1442531184016 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1442531184016 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 17:51:14.171008 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:51:14.174007 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:51:14.181008 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:51:14] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_jO1shwbHNhZGvi message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:51:14] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:51:19.105072 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:51:19.107070 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:51:19.110064 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:51:19] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:51:19.115070 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:51:19] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:51:19] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:51:19.614929 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:51:19] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:51:23.220578 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:51:23.223592 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:51:23.226601 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:51:23] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_8d4aw3aTNDp0lq message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:51:23] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:51:26.389638 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:51:26.392646 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:51:26.396168 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:51:26] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:51:26.400167 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:51:26] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_npwPF2dCVow6Mh message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:51:26] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:51:26.738417 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:51:26.742413 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:51:26] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:51:30.212865 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 17:51:30.215865 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000123\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00RTJU\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard15050.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 50.0
    TVA 20% : 10.0
    Montant TTC : 60.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000123.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:paramiko.transport:starting thread (client mode): 0xdd91a510 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:userauth is OK +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTpiZAbmaEugrFTvp4l5TGj",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674579091,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674579091,\n "currency": "eur",\n "current_period_end": 1677257491,\n "current_period_start": 1674579091,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEIJb9C8nvyCnz",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674579091,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 1,\n "subscription": "sub_1MTpiZAbmaEugrFTvp4l5TGj",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTpiZAbmaEugrFTvp4l5TGj"\n },\n "latest_invoice": {\n "id": "in_1MTpiZAbmaEugrFTPnkAv1uf",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 5000,\n "amount_paid": 0,\n "amount_remaining": 5000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674579091,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUlKY1k4b2JoTGJHc016blg1b3BPaTFuVDJjbEM2LDY1MTE5ODky0200ZL3cYumK?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUlKY1k4b2JoTGJHc016blg1b3BPaTFuVDJjbEM2LDY1MTE5ODky0200ZL3cYumK/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTpiZAbmaEugrFTWaaQfPiF",\n "object": "line_item",\n "amount": 5000,\n "amount_excluding_tax": 5000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_STANDARD (at €50.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677257491,\n "start": 1674579091\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTpiZAbmaEugrFTvp4l5TGj",\n "subscription_item": "si_NEIJb9C8nvyCnz",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "5000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTpiZAbmaEugrFTPnkAv1uf/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0505",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTpiZAbmaEugrFT0WNCAoDk",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTpiZAbmaEugrFT0WNCAoDk"\n },\n "client_secret": "pi_3MTpiZAbmaEugrFT0WNCAoDk_secret_B66wrxR3WBaZb72vRrvK5k96R",\n "confirmation_method": "automatic",\n "created": 1674579091,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTpiZAbmaEugrFTPnkAv1uf",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674579091,\n "period_start": 1674579091,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674579091,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTpiZAbmaEugrFTvp4l5TGj",\n "subtotal": 5000,\n "subtotal_excluding_tax": 5000,\n "tax": null,\n "test_clock": null,\n "total": 5000,\n "total_discount_amounts": [],\n "total_excluding_tax": 5000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674579091\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674579091,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_IdFKGGyuJx1R1k message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:51:31] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000123.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000123.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000123.pdf') +INFO:root:2023-01-24 17:51:34.804730 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000123.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000123.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +INFO:root:2023-01-24 17:51:34.805735 : Impression facture N° FACT_231000123 OK +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 17:51:34.818714 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 17:51:34.810728', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:51:34] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:51:35.013200 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTpiZAbmaEugrFT0WNCAoDk/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_00yXau%2FStandard +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTpiZAbmaEugrFT0WNCAoDk/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTpiZAbmaEugrFT0WNCAoDk",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTpiZAbmaEugrFT0WNCAoDk"\n },\n "client_secret": "pi_3MTpiZAbmaEugrFT0WNCAoDk_secret_B66wrxR3WBaZb72vRrvK5k96R",\n "confirmation_method": "automatic",\n "created": 1674579091,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTpiZAbmaEugrFTPnkAv1uf",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_00yXau/Standard",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTpiZAbmaEugrFT0WNCAoDk&payment_intent_client_secret=pi_3MTpiZAbmaEugrFT0WNCAoDk_secret_B66wrxR3WBaZb72vRrvK5k96R&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTpieAbmaEugrFTKWLNbRiP"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Idao7VQCNkGACv message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:51:36] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2753384838032 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2753384838032 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2753384838032 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2753384838032 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2753384840272 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2753384840272 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2753384840272 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2753384840272 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2753384998480 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 17:52:51.390719 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 17:52:51.390719 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 17:52:51.390719 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 17:52:51.390719 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2753384998480 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2753384998480 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2753384998480 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 17:53:02.630821 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:53:02.633495 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:53:02.636779 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:53:02.640809 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:53:02.644806 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:53:02.650806 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:53:02] "POST /myclass/api/get_invoice_by_customer/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:53:02] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:53:02.656817 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:53:02] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_c18fh9F5rr28I3 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:53:02] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_YqcI5plEFfmh2J message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:53:02] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:53:03.711065 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:53:03.713066 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:53:03.716078 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:53:03] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_fauJexY3aUGgnH message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:53:04] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:53:07.494295 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:53:07.496412 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:53:07.498585 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:53:07.501597 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:53:07] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:53:07] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_g16HQKZ141T1EC message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:53:07] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:53:07.946529 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:53:07.951071 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:53:07] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:53:13.362797 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 17:53:13.366101 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000124\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00d9rG\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold19090.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 90.0
    TVA 20% : 18.0
    Montant TTC : 108.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000124.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTpkEAbmaEugrFTbNPtn4ix",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674579194,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674579194,\n "currency": "eur",\n "current_period_end": 1677257594,\n "current_period_start": 1674579194,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEIKbl7u9ohmyj",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674579194,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 1,\n "subscription": "sub_1MTpkEAbmaEugrFTbNPtn4ix",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTpkEAbmaEugrFTbNPtn4ix"\n },\n "latest_invoice": {\n "id": "in_1MTpkEAbmaEugrFTW35fUrxn",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 9000,\n "amount_paid": 0,\n "amount_remaining": 9000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674579194,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUlLV0R0b0tabE93Y0NmYlh3Y1VzMEpmRGRKN3VOLDY1MTE5OTk10200eNjT76I2?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUlLV0R0b0tabE93Y0NmYlh3Y1VzMEpmRGRKN3VOLDY1MTE5OTk10200eNjT76I2/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTpkEAbmaEugrFT9VQaWmY2",\n "object": "line_item",\n "amount": 9000,\n "amount_excluding_tax": 9000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677257594,\n "start": 1674579194\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTpkEAbmaEugrFTbNPtn4ix",\n "subscription_item": "si_NEIKbl7u9ohmyj",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTpkEAbmaEugrFTW35fUrxn/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0506",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTpkFAbmaEugrFT0ioonRSa",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTpkFAbmaEugrFT0ioonRSa"\n },\n "client_secret": "pi_3MTpkFAbmaEugrFT0ioonRSa_secret_HxRI0cF9QcCQmB16oQcoAuOOe",\n "confirmation_method": "automatic",\n "created": 1674579195,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTpkEAbmaEugrFTW35fUrxn",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674579194,\n "period_start": 1674579194,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674579194,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTpkEAbmaEugrFTbNPtn4ix",\n "subtotal": 9000,\n "subtotal_excluding_tax": 9000,\n "tax": null,\n "test_clock": null,\n "total": 9000,\n "total_discount_amounts": [],\n "total_excluding_tax": 9000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674579194\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674579194,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_moFYLfAydnkzCg message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:53:14] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0x12af7cd0 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000124.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000124.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000124.pdf') +INFO:root:2023-01-24 17:53:18.622826 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000124.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000124.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 17:53:18.623836 : Impression facture N° FACT_231000124 OK +INFO:root:2023-01-24 17:53:18.644399 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 17:53:18.628827', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:53:18] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:53:18.744690 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTpkFAbmaEugrFT0ioonRSa/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_00d9rG%2FGold +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTpkFAbmaEugrFT0ioonRSa/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTpkFAbmaEugrFT0ioonRSa",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTpkFAbmaEugrFT0ioonRSa"\n },\n "client_secret": "pi_3MTpkFAbmaEugrFT0ioonRSa_secret_HxRI0cF9QcCQmB16oQcoAuOOe",\n "confirmation_method": "automatic",\n "created": 1674579195,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTpkEAbmaEugrFTW35fUrxn",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_00d9rG/Gold",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTpkFAbmaEugrFT0ioonRSa&payment_intent_client_secret=pi_3MTpkFAbmaEugrFT0ioonRSa_secret_HxRI0cF9QcCQmB16oQcoAuOOe&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTpkKAbmaEugrFTl5Mqv2yX"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_SpsPhiR3kh3bKz message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:53:19] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-01-24 17:53:39.267146 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:53:39] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2920617067984 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2920617067984 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2920617067984 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2920617067984 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2920617071056 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2920617071056 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2920617071056 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2920617071056 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2920617081872 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2920617081872 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 17:54:19.202148 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 17:54:19.202148 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-24 17:54:19.202148 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 17:54:19.202148 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 2920617081872 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2920617081872 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 17:55:09.215149 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 17:55:09.228340 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:55:09] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:55:09] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2621851566672 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2621851566672 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2621851566672 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2621851566672 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2621851631696 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2621851631696 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2621851631696 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2621851631696 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2621853066768 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 17:55:24.459213 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 17:55:24.459213 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 17:55:24.459213 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 17:55:24.459213 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2621853066768 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2621853066768 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2621853066768 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 17:57:49.652439 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTpkFAbmaEugrFT0ioonRSa +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTpkFAbmaEugrFT0ioonRSa response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTpkFAbmaEugrFT0ioonRSa",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 9000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTpkFAbmaEugrFT0vIQdjYz",\n "object": "charge",\n "amount": 9000,\n "amount_captured": 9000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTpkFAbmaEugrFT0M6y5pcw",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674579216,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTpkEAbmaEugrFTW35fUrxn",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 47,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTpkFAbmaEugrFT0ioonRSa",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKI6cwJ4GMgYmZwkmP8Y6LBZbOO4WgoOVjRvcrgUyjoY4MlbJI5YAgPbBYaaeMgeJWscYgs9D3r9bDd5G?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTpkFAbmaEugrFT0vIQdjYz/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTpkFAbmaEugrFT0ioonRSa"\n },\n "client_secret": "pi_3MTpkFAbmaEugrFT0ioonRSa_secret_HxRI0cF9QcCQmB16oQcoAuOOe",\n "confirmation_method": "automatic",\n "created": 1674579195,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTpkEAbmaEugrFTW35fUrxn",\n "last_payment_error": null,\n "latest_charge": "ch_3MTpkFAbmaEugrFT0vIQdjYz",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_FlezcZGAaZuHGi message='Dashboard link for request' +INFO:root:2023-01-24 17:57:50.771955 : payment_retrieve_status le Payement pi_3MTpkFAbmaEugrFT0ioonRSa est validé +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 17:57:50] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:16:42.318538 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:16:42.320547 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:16:42.329885 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:16:42.332878 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:16:42] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:16:42] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_k4j6y1cSyuBJdE message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:16:42] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:16:42.734318 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:16:42.739307 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:16:42] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:18:13.691469 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:18:13.693494 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:18:13.697493 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:18:13.699494 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:18:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:18:13] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_9pG4CitmyClWS1 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:18:14] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:18:14.035559 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:18:14.039566 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:18:14] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:34:05.417632 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:34:05.422629 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:34:05.426634 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:34:05.428631 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:34:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:34:05] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_THiIMKfT7VRDey message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:34:05] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:34:05.809091 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:34:05.813093 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:34:05.816093 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:34:05.821091 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:34:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:34:05] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:root:2023-01-24 18:34:05.846109 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:34:05.850117 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:34:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_WR4I3V7nmUOKr3 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:34:06] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:34:06.225127 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:34:06.231125 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:34:06] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:34:10.310482 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTpkFAbmaEugrFT0ioonRSa +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTpkFAbmaEugrFT0ioonRSa response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTpkFAbmaEugrFT0ioonRSa",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 9000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTpkFAbmaEugrFT0vIQdjYz",\n "object": "charge",\n "amount": 9000,\n "amount_captured": 9000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTpkFAbmaEugrFT0M6y5pcw",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674579216,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTpkEAbmaEugrFTW35fUrxn",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 47,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTpkFAbmaEugrFT0ioonRSa",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKJOtwJ4GMgaKjf-6WhY6LBa7Tu5r7OsicA1-UjtVM4zLhLbrHUVKR-1W6EMVIEujBfx9HeMKBEhyNdyF?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTpkFAbmaEugrFT0vIQdjYz/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTpkFAbmaEugrFT0ioonRSa"\n },\n "client_secret": "pi_3MTpkFAbmaEugrFT0ioonRSa_secret_HxRI0cF9QcCQmB16oQcoAuOOe",\n "confirmation_method": "automatic",\n "created": 1674579195,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTpkEAbmaEugrFTW35fUrxn",\n "last_payment_error": null,\n "latest_charge": "ch_3MTpkFAbmaEugrFT0vIQdjYz",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_E7ueBCfYVGHGee message='Dashboard link for request' +INFO:root:2023-01-24 18:34:10.753623 : payment_retrieve_status le Payement pi_3MTpkFAbmaEugrFT0ioonRSa est validé +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:34:10] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Session_Formation.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 3018666494992 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3018666494992 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 3018666494992 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3018666494992 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 3018666426832 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3018666426832 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 3018666426832 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3018666426832 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 3018666427024 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3018666427024 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 3018666427024 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3018666427024 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 18:39:20.214817 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 18:39:20.214817 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 18:39:20.214817 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 18:39:20.214817 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2246209601104 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2246209601104 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2246209601104 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2246209601104 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2246209718608 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2246209718608 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2246209718608 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2246209718608 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2246211217168 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 18:40:30.138437 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 18:40:30.139442 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 18:40:30.139442 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 18:40:30.139442 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2246211217168 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2246211217168 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2246211217168 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1841183588816 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1841183588816 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1841183588816 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1841183588816 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1841183654096 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1841183654096 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 1841183654096 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1841183654096 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1841184760144 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1841184760144 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1841184760144 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 18:40:45.195552 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 18:40:45.196547 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 18:40:45.196547 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 18:40:45.196547 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 1841184760144 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 18:40:45.868584 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:40:45.871582 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:40:45.875588 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:40:45] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:40:45.888586 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:40:45] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:40:45] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:40:46.700701 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:40:46] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:40:48.979324 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:40:48.982324 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:40:48.987327 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:40:48] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_ydL3u2BxwfPFjB message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:40:49] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:40:51.241408 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:40:51.245059 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:40:51.248114 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:40:51.252109 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:40:51] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:40:51] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_lXuY18AgYgkfRl message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:40:51] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:40:51.700711 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:40:51.704709 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:40:51] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:40:54.139640 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTqUNAbmaEugrFTq8PcqECv",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674582055,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674582055,\n "currency": "eur",\n "current_period_end": 1677260455,\n "current_period_start": 1674582055,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEJ6DVDxDlZMpx",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674582055,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 1,\n "subscription": "sub_1MTqUNAbmaEugrFTq8PcqECv",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTqUNAbmaEugrFTq8PcqECv"\n },\n "latest_invoice": {\n "id": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 5000,\n "amount_paid": 0,\n "amount_remaining": 5000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674582055,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUo2d2d5ZDhRSWJ0UmRGSURuekllcmIzZFJkWlNYLDY1MTIyODU20200gEpmXZnl?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUo2d2d5ZDhRSWJ0UmRGSURuekllcmIzZFJkWlNYLDY1MTIyODU20200gEpmXZnl/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTqUNAbmaEugrFTlB0Ha1H7",\n "object": "line_item",\n "amount": 5000,\n "amount_excluding_tax": 5000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_STANDARD (at €50.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677260455,\n "start": 1674582055\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTqUNAbmaEugrFTq8PcqECv",\n "subscription_item": "si_NEJ6DVDxDlZMpx",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "5000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTqUNAbmaEugrFT9LLq4U6t/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0507",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTqUNAbmaEugrFT0u0PniAd"\n },\n "client_secret": "pi_3MTqUNAbmaEugrFT0u0PniAd_secret_075q2ekCaDw78fswYBy7E8yiH",\n "confirmation_method": "automatic",\n "created": 1674582055,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674582055,\n "period_start": 1674582055,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674582055,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTqUNAbmaEugrFTq8PcqECv",\n "subtotal": 5000,\n "subtotal_excluding_tax": 5000,\n "tax": null,\n "test_clock": null,\n "total": 5000,\n "total_discount_amounts": [],\n "total_excluding_tax": 5000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674582055\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674582055,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_OIPDL0h2kYDDSE message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:40:55] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:40:56.145865 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000125\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00mQZM\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard15050.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 50.0
    TVA 20% : 10.0
    Montant TTC : 60.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000125.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:paramiko.transport:starting thread (client mode): 0x9c6ae6d0 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000125.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000125.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000125.pdf') +INFO:root:2023-01-24 18:41:03.956500 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000125.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000125.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 18:41:03.957515 : Impression facture N° FACT_231000125 OK +INFO:root:2023-01-24 18:41:03.974058 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 18:41:03.963035', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:41:03] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:41:04.195368 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_00mQZM%2FStandard +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTqUNAbmaEugrFT0u0PniAd"\n },\n "client_secret": "pi_3MTqUNAbmaEugrFT0u0PniAd_secret_075q2ekCaDw78fswYBy7E8yiH",\n "confirmation_method": "automatic",\n "created": 1674582055,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_00mQZM/Standard",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTqUNAbmaEugrFT0u0PniAd&payment_intent_client_secret=pi_3MTqUNAbmaEugrFT0u0PniAd_secret_075q2ekCaDw78fswYBy7E8yiH&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTqUXAbmaEugrFT2L57WjUg"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_BnD9URXaqJVENS message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:41:05] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:41:27.391003 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:41:27] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1525104915088 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1525104915088 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1525104915088 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1525104915088 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1525105066512 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1525105066512 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 1525105066512 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1525105066512 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1525105075664 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1525105075664 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1525105075664 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 18:47:17.655166 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 18:47:17.655166 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 18:47:17.656168 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 18:47:17.656168 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 1525105075664 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2340682088208 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2340682088208 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2340682088208 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2340682088208 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2340682188944 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2340682188944 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2340682188944 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2340682188944 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 18:47:36.368334 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 18:47:36.368334 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 18:47:36.368334 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +DEBUG:filelock:Attempting to acquire lock 2340682188944 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 18:47:36.368334 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2340682188944 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2340682188944 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2340682188944 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2129688772880 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2129688772880 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2129688772880 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2129688772880 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2129688838416 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2129688838416 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2129688838416 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2129688838416 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2129688786768 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 18:49:05.923792 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 18:49:05.923792 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 18:49:05.923792 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 18:49:05.923792 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2129688786768 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2129688786768 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2129688786768 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 18:51:47.568660 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:51:47.571662 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:51:47] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:51:47] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:56:09.355134 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:56:09.358149 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:56:09] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:56:09] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:56:27.029521 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:56:27] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:56:27.043197 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:56:27] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:56:31.247630 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 5000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "object": "charge",\n "amount": 5000,\n "amount_captured": 5000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTqUNAbmaEugrFT0LUWbgF2",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674582084,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 18,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKNC3wJ4GMgbNHv-6CFk6LBbGbMD8ZpwpZc0HRMwUUBe6nh6lte3Vt_Ewo7tro5uQCJiP2fJHd-7sxRok?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTqUNAbmaEugrFT0NazAEpG/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTqUNAbmaEugrFT0u0PniAd"\n },\n "client_secret": "pi_3MTqUNAbmaEugrFT0u0PniAd_secret_075q2ekCaDw78fswYBy7E8yiH",\n "confirmation_method": "automatic",\n "created": 1674582055,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "last_payment_error": null,\n "latest_charge": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_DCDueFDkJ7pdul message='Dashboard link for request' +INFO:root:2023-01-24 18:56:32.305236 : payment_retrieve_status le Payement pi_3MTqUNAbmaEugrFT0u0PniAd est validé +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:56:32] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:56:36.830380 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:56:36.835391 : payment_retrieve_status -Could not determine which URL to request: PaymentIntent instance has invalid ID: None, . ID should be of type `str` (or `unicode`) - ERRORRRR AT Line : 381 +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:56:36] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:56:52.934173 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:56:52.942180 : CheckSalesOrder La commande MySy_00mQZM n'existe pas +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:56:52] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:56:55.229281 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:56:55.235300 : payment_retrieve_status -Could not determine which URL to request: PaymentIntent instance has invalid ID: None, . ID should be of type `str` (or `unicode`) - ERRORRRR AT Line : 381 +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:56:55] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:57:23.423517 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:57:23.430056 : CheckSalesOrder La commande MySy_00mQZM n'existe pas +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:57:23] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:57:25.566110 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:57:25.571633 : payment_retrieve_status -Could not determine which URL to request: PaymentIntent instance has invalid ID: None, . ID should be of type `str` (or `unicode`) - ERRORRRR AT Line : 381 +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:57:25] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:59:19.208694 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:59:19.217697 : CheckSalesOrder La commande MySy_00mQZM n'existe pas +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:59:19] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:59:19.271965 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:59:19] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:59:20.569327 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:59:20.574875 : payment_retrieve_status -Could not determine which URL to request: PaymentIntent instance has invalid ID: None, . ID should be of type `str` (or `unicode`) - ERRORRRR AT Line : 381 +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:59:20] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:59:24.118776 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:59:24.124787 : CheckSalesOrder La commande MySy_00mQZM n'existe pas +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:59:24] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 18:59:26.480160 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 18:59:26.486159 : payment_retrieve_status -Could not determine which URL to request: PaymentIntent instance has invalid ID: None, . ID should be of type `str` (or `unicode`) - ERRORRRR AT Line : 381 +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 18:59:26] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:00:37.494278 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:00:37.503271 : CheckSalesOrder La commande MySy_00mQZM n'existe pas +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:00:37] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:00:40.475331 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:00:40.482331 : payment_retrieve_status -Could not determine which URL to request: PaymentIntent instance has invalid ID: None, . ID should be of type `str` (or `unicode`) - ERRORRRR AT Line : 381 +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:00:40] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:00:50.684977 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:00:50.690972 : CheckSalesOrder La commande MySy_00mQZM n'existe pas +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:00:50] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:00:52.206847 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:00:52.214848 : payment_retrieve_status -Could not determine which URL to request: PaymentIntent instance has invalid ID: None, . ID should be of type `str` (or `unicode`) - ERRORRRR AT Line : 381 +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:00:52] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:01:17.935129 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:01:17.942099 : CheckSalesOrder La commande MySy_00mQZM n'existe pas +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:01:17] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:01:21.245262 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:01:21.252256 : CheckSalesOrder La commande MySy_00mQZM n'existe pas +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:01:21] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:01:42.985099 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:01:42] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:01:58.807757 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:01:58] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:02:00.075408 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 5000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "object": "charge",\n "amount": 5000,\n "amount_captured": 5000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTqUNAbmaEugrFT0LUWbgF2",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674582084,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 18,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKJm6wJ4GMgbb89O0mig6LBbufPqEmrejfEkbdxF_gM7ksa5lI0hl7ah8ctXnPrZjq_oiilNF1KL9ErC5?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTqUNAbmaEugrFT0NazAEpG/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTqUNAbmaEugrFT0u0PniAd"\n },\n "client_secret": "pi_3MTqUNAbmaEugrFT0u0PniAd_secret_075q2ekCaDw78fswYBy7E8yiH",\n "confirmation_method": "automatic",\n "created": 1674582055,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "last_payment_error": null,\n "latest_charge": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_MwmDKwkwEDAIc3 message='Dashboard link for request' +INFO:root:2023-01-24 19:02:00.557392 : payment_retrieve_status le Payement pi_3MTqUNAbmaEugrFT0u0PniAd est validé +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:02:00] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:02:03.064914 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:02:03] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:02:04.457064 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:02:04.462060 : payment_retrieve_status -Could not determine which URL to request: PaymentIntent instance has invalid ID: None, . ID should be of type `str` (or `unicode`) - ERRORRRR AT Line : 381 +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:02:04] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:12:57.322831 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:12:57] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:12:59.669243 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 5000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "object": "charge",\n "amount": 5000,\n "amount_captured": 5000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTqUNAbmaEugrFT0LUWbgF2",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674582084,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 18,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKKy_wJ4GMgbcngQEPXo6LBZ838fL6S1JmAx8W13Jt2N-RUJ-IPa9h3p9OexPq7u8SGBrvUBmaKcdAw2D?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTqUNAbmaEugrFT0NazAEpG/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTqUNAbmaEugrFT0u0PniAd"\n },\n "client_secret": "pi_3MTqUNAbmaEugrFT0u0PniAd_secret_075q2ekCaDw78fswYBy7E8yiH",\n "confirmation_method": "automatic",\n "created": 1674582055,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "last_payment_error": null,\n "latest_charge": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_iEoMWDwLu0gzwK message='Dashboard link for request' +INFO:root:2023-01-24 19:13:00.132764 : payment_retrieve_status le Payement pi_3MTqUNAbmaEugrFT0u0PniAd est validé +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:13:00] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:13:03.074086 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:13:03] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:13:06.343132 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 5000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "object": "charge",\n "amount": 5000,\n "amount_captured": 5000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTqUNAbmaEugrFT0LUWbgF2",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674582084,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 18,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKLO_wJ4GMgYtS-DR2J06LBY5Lz8rDIs66xZ8Q7_2LwIZqOrFrmo4TSm_uv8OAfK3E0OR50yT-4nnfbGt?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTqUNAbmaEugrFT0NazAEpG/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTqUNAbmaEugrFT0u0PniAd"\n },\n "client_secret": "pi_3MTqUNAbmaEugrFT0u0PniAd_secret_075q2ekCaDw78fswYBy7E8yiH",\n "confirmation_method": "automatic",\n "created": 1674582055,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "last_payment_error": null,\n "latest_charge": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_gsHrWT8x6Pn3DJ message='Dashboard link for request' +INFO:root:2023-01-24 19:13:06.777612 : payment_retrieve_status le Payement pi_3MTqUNAbmaEugrFT0u0PniAd est validé +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:13:06] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:13:14.380267 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:13:14] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:13:22.094761 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 5000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "object": "charge",\n "amount": 5000,\n "amount_captured": 5000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTqUNAbmaEugrFT0LUWbgF2",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674582084,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 18,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKMO_wJ4GMgamk1oUrlo6LBZLJhaMPNYH9cRcVyDi0nqDNV_g4E2vZ7h0K9EAqatPtKsGsXnU7j7ne_I9?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTqUNAbmaEugrFT0NazAEpG/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTqUNAbmaEugrFT0u0PniAd"\n },\n "client_secret": "pi_3MTqUNAbmaEugrFT0u0PniAd_secret_075q2ekCaDw78fswYBy7E8yiH",\n "confirmation_method": "automatic",\n "created": 1674582055,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "last_payment_error": null,\n "latest_charge": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_NgbOMNk89LiAmJ message='Dashboard link for request' +INFO:root:2023-01-24 19:13:22.531206 : payment_retrieve_status le Payement pi_3MTqUNAbmaEugrFT0u0PniAd est validé +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:13:22] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:13:27.352277 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:13:27] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:16:49.103024 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:root:2023-01-24 19:16:49.424179 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:16:49] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:16:49.435177 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 5000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "object": "charge",\n "amount": 5000,\n "amount_captured": 5000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTqUNAbmaEugrFT0LUWbgF2",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674582084,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 18,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKJLBwJ4GMgZAI9vmrPg6LBZuiNdsbuZAemqq_orUpMNlYxfApUZhwAN1kDZZki_2g94CQEZ8oGdxEmLE?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTqUNAbmaEugrFT0NazAEpG/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTqUNAbmaEugrFT0u0PniAd"\n },\n "client_secret": "pi_3MTqUNAbmaEugrFT0u0PniAd_secret_075q2ekCaDw78fswYBy7E8yiH",\n "confirmation_method": "automatic",\n "created": 1674582055,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "last_payment_error": null,\n "latest_charge": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_wwYbqGTxSiW1Xa message='Dashboard link for request' +INFO:root:2023-01-24 19:16:49.613415 : payment_retrieve_status le Payement pi_3MTqUNAbmaEugrFT0u0PniAd est validé +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:16:49] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 5000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "object": "charge",\n "amount": 5000,\n "amount_captured": 5000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTqUNAbmaEugrFT0LUWbgF2",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674582084,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 18,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKJLBwJ4GMgZj9QGk21M6LBYn-i0tspjSClwZuyty6W_U6veaoywNUWCLLsqt-fIX5GM9k591wiS3SCzf?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTqUNAbmaEugrFT0NazAEpG/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTqUNAbmaEugrFT0u0PniAd"\n },\n "client_secret": "pi_3MTqUNAbmaEugrFT0u0PniAd_secret_075q2ekCaDw78fswYBy7E8yiH",\n "confirmation_method": "automatic",\n "created": 1674582055,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "last_payment_error": null,\n "latest_charge": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Un7AbjxnsSVK1J message='Dashboard link for request' +INFO:root:2023-01-24 19:16:49.982488 : payment_retrieve_status le Payement pi_3MTqUNAbmaEugrFT0u0PniAd est validé +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:16:49] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:16:53.785974 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:16:53] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:16:53.955911 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 5000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "object": "charge",\n "amount": 5000,\n "amount_captured": 5000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTqUNAbmaEugrFT0LUWbgF2",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674582084,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 18,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKJbBwJ4GMgbkHKBCfXA6LBb8KZsCFuP4SpBmGw-oHhEw_pPVvIpo2hSVXwFJtA89bCwp3FkvdnQoOfaT?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTqUNAbmaEugrFT0NazAEpG/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTqUNAbmaEugrFT0u0PniAd"\n },\n "client_secret": "pi_3MTqUNAbmaEugrFT0u0PniAd_secret_075q2ekCaDw78fswYBy7E8yiH",\n "confirmation_method": "automatic",\n "created": 1674582055,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "last_payment_error": null,\n "latest_charge": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Vtn1pXck7kJyqr message='Dashboard link for request' +INFO:root:2023-01-24 19:16:54.429053 : payment_retrieve_status le Payement pi_3MTqUNAbmaEugrFT0u0PniAd est validé +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:16:54] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:17:08.848193 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:17:08] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:17:08.860195 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 5000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "object": "charge",\n "amount": 5000,\n "amount_captured": 5000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTqUNAbmaEugrFT0LUWbgF2",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674582084,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 18,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKKXBwJ4GMgZy1dsaeqg6LBbbZtvCdxUVokOwrMT1fnJkJD8h8Qpf7zpLeABalVSW05BkiMjhXyCPouBE?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTqUNAbmaEugrFT0NazAEpG/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTqUNAbmaEugrFT0u0PniAd"\n },\n "client_secret": "pi_3MTqUNAbmaEugrFT0u0PniAd_secret_075q2ekCaDw78fswYBy7E8yiH",\n "confirmation_method": "automatic",\n "created": 1674582055,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "last_payment_error": null,\n "latest_charge": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_XQxJadNCHYQgbD message='Dashboard link for request' +INFO:root:2023-01-24 19:17:09.333184 : payment_retrieve_status le Payement pi_3MTqUNAbmaEugrFT0u0PniAd est validé +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:17:09] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:17:39.940791 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:17:39] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:18:32.768846 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:18:32] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:18:37.710233 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:18:37] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:19:28.794466 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:19:28] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:20:10.704551 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:20:10] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:20:23.387452 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:20:23] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:20:33.945832 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:20:33] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:20:55.303075 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:root:2023-01-24 19:20:55.491652 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:20:55] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:20:55.598232 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:20:55] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 5000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "object": "charge",\n "amount": 5000,\n "amount_captured": 5000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTqUNAbmaEugrFT0LUWbgF2",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674582084,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 18,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKIjDwJ4GMgYe1-eGTbk6LBYfhkpxQtBAwgZmFmnofH6XYPyujMBdH_nGcVAn6-HqeS7LQ87g84K0V6pH?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTqUNAbmaEugrFT0NazAEpG/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTqUNAbmaEugrFT0u0PniAd"\n },\n "client_secret": "pi_3MTqUNAbmaEugrFT0u0PniAd_secret_075q2ekCaDw78fswYBy7E8yiH",\n "confirmation_method": "automatic",\n "created": 1674582055,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "last_payment_error": null,\n "latest_charge": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_UvtJsmspxbpamc message='Dashboard link for request' +INFO:root:2023-01-24 19:20:55.746135 : payment_retrieve_status le Payement pi_3MTqUNAbmaEugrFT0u0PniAd est validé +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:20:55] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:20:57.510770 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:root:2023-01-24 19:20:57.578461 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:20:57] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:20:57.598459 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:root:2023-01-24 19:20:57.655210 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:20:57] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:20:57.695315 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:root:2023-01-24 19:20:57.706840 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:20:57] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:20:57.726843 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:root:2023-01-24 19:20:57.786930 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:20:57] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:20:57.802458 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:root:2023-01-24 19:20:57.846628 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:20:57] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:20:57.860469 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 5000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "object": "charge",\n "amount": 5000,\n "amount_captured": 5000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTqUNAbmaEugrFT0LUWbgF2",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674582084,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 18,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKIrDwJ4GMgZ876qMZs46LBbvsYJEKw-m2XIAAwb11rdXRhJZZ8H42gLSfYw5Xq7T65l6VUcCbsuoymIN?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTqUNAbmaEugrFT0NazAEpG/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTqUNAbmaEugrFT0u0PniAd"\n },\n "client_secret": "pi_3MTqUNAbmaEugrFT0u0PniAd_secret_075q2ekCaDw78fswYBy7E8yiH",\n "confirmation_method": "automatic",\n "created": 1674582055,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "last_payment_error": null,\n "latest_charge": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_QUBidsCl6VYiu6 message='Dashboard link for request' +INFO:root:2023-01-24 19:20:57.949509 : payment_retrieve_status le Payement pi_3MTqUNAbmaEugrFT0u0PniAd est validé +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:20:57] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 5000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "object": "charge",\n "amount": 5000,\n "amount_captured": 5000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTqUNAbmaEugrFT0LUWbgF2",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674582084,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 18,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKIrDwJ4GMgbw-g3bTKE6LBayzEsqlAIEfb9hWcpALqa-lsf5gdMMlUvHp2NMy_OpZ-FLk6XaECc9JK-P?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTqUNAbmaEugrFT0NazAEpG/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTqUNAbmaEugrFT0u0PniAd"\n },\n "client_secret": "pi_3MTqUNAbmaEugrFT0u0PniAd_secret_075q2ekCaDw78fswYBy7E8yiH",\n "confirmation_method": "automatic",\n "created": 1674582055,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "last_payment_error": null,\n "latest_charge": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Jd4YPPpw4kAqcQ message='Dashboard link for request' +INFO:root:2023-01-24 19:20:58.010917 : payment_retrieve_status le Payement pi_3MTqUNAbmaEugrFT0u0PniAd est validé +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:20:58] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 5000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "object": "charge",\n "amount": 5000,\n "amount_captured": 5000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTqUNAbmaEugrFT0LUWbgF2",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674582084,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 18,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKIrDwJ4GMgacg1ZOgaQ6LBZj_dr5gYfCyNsiS9POUASbHC1Y6jhX5uzlDzDjlen8wJFtKKBTgcavpLF8?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTqUNAbmaEugrFT0NazAEpG/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTqUNAbmaEugrFT0u0PniAd"\n },\n "client_secret": "pi_3MTqUNAbmaEugrFT0u0PniAd_secret_075q2ekCaDw78fswYBy7E8yiH",\n "confirmation_method": "automatic",\n "created": 1674582055,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "last_payment_error": null,\n "latest_charge": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_aJwqTeTWFdL9U4 message='Dashboard link for request' +INFO:root:2023-01-24 19:20:58.146735 : payment_retrieve_status le Payement pi_3MTqUNAbmaEugrFT0u0PniAd est validé +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:20:58] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 5000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "object": "charge",\n "amount": 5000,\n "amount_captured": 5000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTqUNAbmaEugrFT0LUWbgF2",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674582084,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 18,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKIrDwJ4GMgZxkojpehM6LBbif6OLkSeO857RAV2rUtqjN__hBRZUqDqIH9IvgZNiwMgqWNGB0e3BuDMS?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTqUNAbmaEugrFT0NazAEpG/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTqUNAbmaEugrFT0u0PniAd"\n },\n "client_secret": "pi_3MTqUNAbmaEugrFT0u0PniAd_secret_075q2ekCaDw78fswYBy7E8yiH",\n "confirmation_method": "automatic",\n "created": 1674582055,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "last_payment_error": null,\n "latest_charge": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_GOuYQhlesHKwou message='Dashboard link for request' +INFO:root:2023-01-24 19:20:58.177334 : payment_retrieve_status le Payement pi_3MTqUNAbmaEugrFT0u0PniAd est validé +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:20:58] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 5000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "object": "charge",\n "amount": 5000,\n "amount_captured": 5000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTqUNAbmaEugrFT0LUWbgF2",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674582084,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 18,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKIrDwJ4GMgbLSeWSm0k6LBZKdLGrlD6zgHdlYkF-NTCj204oqYRz4PlEuiBpcJpSlBQIk04fTGogmlnK?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTqUNAbmaEugrFT0NazAEpG/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTqUNAbmaEugrFT0u0PniAd"\n },\n "client_secret": "pi_3MTqUNAbmaEugrFT0u0PniAd_secret_075q2ekCaDw78fswYBy7E8yiH",\n "confirmation_method": "automatic",\n "created": 1674582055,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "last_payment_error": null,\n "latest_charge": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_67UJ70QSNuhpNs message='Dashboard link for request' +INFO:root:2023-01-24 19:20:58.247621 : payment_retrieve_status le Payement pi_3MTqUNAbmaEugrFT0u0PniAd est validé +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:20:58] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTqUNAbmaEugrFT0u0PniAd response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 5000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "object": "charge",\n "amount": 5000,\n "amount_captured": 5000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTqUNAbmaEugrFT0LUWbgF2",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674582084,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 18,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTqUNAbmaEugrFT0u0PniAd",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKIrDwJ4GMgZ5VlLl65A6LBYjxB9F00gsfbLcj1SrenODSU9oGbQfOR43dL2xaT-iTjoTl8XcbwuIPtGe?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTqUNAbmaEugrFT0NazAEpG/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTqUNAbmaEugrFT0u0PniAd"\n },\n "client_secret": "pi_3MTqUNAbmaEugrFT0u0PniAd_secret_075q2ekCaDw78fswYBy7E8yiH",\n "confirmation_method": "automatic",\n "created": 1674582055,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTqUNAbmaEugrFT9LLq4U6t",\n "last_payment_error": null,\n "latest_charge": "ch_3MTqUNAbmaEugrFT0NazAEpG",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_YEyibVTCUXoykf message='Dashboard link for request' +INFO:root:2023-01-24 19:20:58.268675 : payment_retrieve_status le Payement pi_3MTqUNAbmaEugrFT0u0PniAd est validé +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:20:58] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:21:01.214861 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:21:01.222859 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:21:01.231863 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:21:01] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:21:01.252867 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:21:01] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:21:01] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:21:02.232624 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:21:02] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:21:02.732931 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:21:02.736936 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:21:02.742938 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:21:02] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_3kR2jlpOKkGtKK message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:21:03] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:21:05.431408 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:21:05.436410 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:21:05.442504 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:root:2023-01-24 19:21:05.443406 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:21:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:21:05] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_8X6bnyxLEES1wD message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:21:05] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:21:05.824020 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:21:05.829027 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:21:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:21:09.746435 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTr7KAbmaEugrFTputqqEwD",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674584470,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674584470,\n "currency": "eur",\n "current_period_end": 1677262870,\n "current_period_start": 1674584470,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEJkOkhycdXX6a",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674584471,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 1,\n "subscription": "sub_1MTr7KAbmaEugrFTputqqEwD",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTr7KAbmaEugrFTputqqEwD"\n },\n "latest_invoice": {\n "id": "in_1MTr7KAbmaEugrFTUD1ttzpR",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 9000,\n "amount_paid": 0,\n "amount_remaining": 9000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674584470,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUprdGdzSU1uUXBtOUpNaVNuVGw4aFUzYkRUaDEwLDY1MTI1Mjcx0200Akf1xPJJ?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUprdGdzSU1uUXBtOUpNaVNuVGw4aFUzYkRUaDEwLDY1MTI1Mjcx0200Akf1xPJJ/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTr7KAbmaEugrFTz0x1cUiU",\n "object": "line_item",\n "amount": 9000,\n "amount_excluding_tax": 9000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677262870,\n "start": 1674584470\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTr7KAbmaEugrFTputqqEwD",\n "subscription_item": "si_NEJkOkhycdXX6a",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTr7KAbmaEugrFTUD1ttzpR/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0508",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTr7LAbmaEugrFT1iw2gv2P",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTr7LAbmaEugrFT1iw2gv2P"\n },\n "client_secret": "pi_3MTr7LAbmaEugrFT1iw2gv2P_secret_Xsx929ICbtVjvcN8P6dekXpfK",\n "confirmation_method": "automatic",\n "created": 1674584471,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTr7KAbmaEugrFTUD1ttzpR",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674584470,\n "period_start": 1674584470,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674584470,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTr7KAbmaEugrFTputqqEwD",\n "subtotal": 9000,\n "subtotal_excluding_tax": 9000,\n "tax": null,\n "test_clock": null,\n "total": 9000,\n "total_discount_amounts": [],\n "total_excluding_tax": 9000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674584470\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674584470,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_BhF2xAmVorW67x message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:21:11] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:21:12.366048 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000126\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_002qi1\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold19090.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 90.0
    TVA 20% : 18.0
    Montant TTC : 108.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000126.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:paramiko.transport:starting thread (client mode): 0xd78ad750 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000126.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000126.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000126.pdf') +INFO:root:2023-01-24 19:21:18.112735 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000126.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000126.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 19:21:18.113738 : Impression facture N° FACT_231000126 OK +INFO:root:2023-01-24 19:21:18.132241 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 19:21:18.122730', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:21:18] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:21:18.316251 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTr7LAbmaEugrFT1iw2gv2P/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_002qi1%2FGold +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTr7LAbmaEugrFT1iw2gv2P/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTr7LAbmaEugrFT1iw2gv2P",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTr7LAbmaEugrFT1iw2gv2P"\n },\n "client_secret": "pi_3MTr7LAbmaEugrFT1iw2gv2P_secret_Xsx929ICbtVjvcN8P6dekXpfK",\n "confirmation_method": "automatic",\n "created": 1674584471,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTr7KAbmaEugrFTUD1ttzpR",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_002qi1/Gold",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTr7LAbmaEugrFT1iw2gv2P&payment_intent_client_secret=pi_3MTr7LAbmaEugrFT1iw2gv2P_secret_Xsx929ICbtVjvcN8P6dekXpfK&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTr7TAbmaEugrFTWObQrllw"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Rj3YZkrfoK92nF message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:21:19] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:21:28.269499 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:21:28] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:21:28.361091 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTr7LAbmaEugrFT1iw2gv2P +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTr7LAbmaEugrFT1iw2gv2P response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTr7LAbmaEugrFT1iw2gv2P",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTr7LAbmaEugrFT1iw2gv2P"\n },\n "client_secret": "pi_3MTr7LAbmaEugrFT1iw2gv2P_secret_Xsx929ICbtVjvcN8P6dekXpfK",\n "confirmation_method": "automatic",\n "created": 1674584471,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTr7KAbmaEugrFTUD1ttzpR",\n "last_payment_error": {\n "code": "payment_intent_authentication_failure",\n "doc_url": "https://stripe.com/docs/error-codes/payment-intent-authentication-failure",\n "message": "The provided PaymentMethod has failed authentication. You can provide payment_method_data or a new PaymentMethod to attempt to fulfill this PaymentIntent again.",\n "payment_method": {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n "type": "invalid_request_error"\n },\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Dn7t8ETLrnLqQs message='Dashboard link for request' +INFO:root:2023-01-24 19:21:28.748993 : payment_retrieve_status Impossible de connaitre le status du payement pi_3MTr7LAbmaEugrFT1iw2gv2P +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:21:28] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:21:33.794457 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:21:33.800458 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:21:33.806008 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:21:33] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:21:33.819531 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:21:33] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:21:33] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:21:34.757046 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:21:34] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:22:02.993305 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:22:02.999309 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:22:03.002315 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:22:03] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:22:03.006308 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:22:03.012303 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:22:03.017306 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:22:03] "POST /myclass/api/get_invoice_by_customer/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:root:2023-01-24 19:22:03.032322 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:22:03] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_ZUbvmvSF5QSkp2 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:22:03] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_N206h7rIZHcw5U message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:22:03] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:22:05.510347 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:22:05.515350 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:22:05.519351 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:22:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_GRZCb0CU8mOqOd message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:22:05] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:22:07.864660 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:22:07.868655 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:22:07.872658 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:22:07.875679 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:22:07] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:22:07] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_TcYmTbObiGg5Ms message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:22:08] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:22:08.233881 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:22:08.239410 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:22:08] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:22:10.960967 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTr8JAbmaEugrFTw4Oe1zhT",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674584531,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674584531,\n "currency": "eur",\n "current_period_end": 1677262931,\n "current_period_start": 1674584531,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEJlEFt0qZn2tQ",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674584532,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 1,\n "subscription": "sub_1MTr8JAbmaEugrFTw4Oe1zhT",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTr8JAbmaEugrFTw4Oe1zhT"\n },\n "latest_invoice": {\n "id": "in_1MTr8JAbmaEugrFT9BaUydrr",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 5000,\n "amount_paid": 0,\n "amount_remaining": 5000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674584531,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUpsdFVwTjkwdmZGbnU1SGF1RzZQNTdtcTJ1d2FsLDY1MTI1MzMy0200cs1SnhIz?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUpsdFVwTjkwdmZGbnU1SGF1RzZQNTdtcTJ1d2FsLDY1MTI1MzMy0200cs1SnhIz/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTr8JAbmaEugrFTqpwaixmo",\n "object": "line_item",\n "amount": 5000,\n "amount_excluding_tax": 5000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_STANDARD (at €50.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677262931,\n "start": 1674584531\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTr8JAbmaEugrFTw4Oe1zhT",\n "subscription_item": "si_NEJlEFt0qZn2tQ",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "5000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTr8JAbmaEugrFT9BaUydrr/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0509",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTr8KAbmaEugrFT1yhEzGrf",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTr8KAbmaEugrFT1yhEzGrf"\n },\n "client_secret": "pi_3MTr8KAbmaEugrFT1yhEzGrf_secret_ZutObtZG4KEXtaJMpbC4R5uzt",\n "confirmation_method": "automatic",\n "created": 1674584532,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTr8JAbmaEugrFT9BaUydrr",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674584531,\n "period_start": 1674584531,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674584531,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTr8JAbmaEugrFTw4Oe1zhT",\n "subtotal": 5000,\n "subtotal_excluding_tax": 5000,\n "tax": null,\n "test_clock": null,\n "total": 5000,\n "total_discount_amounts": [],\n "total_excluding_tax": 5000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674584531\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674584531,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_MvZin4sK6SKfmC message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:22:12] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:22:25.258922 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000127\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00hIHc\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard15050.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 50.0
    TVA 20% : 10.0
    Montant TTC : 60.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000127.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:root:2023-01-24 19:22:28.186510 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:22:28.190513 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:22:28.193512 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:root:2023-01-24 19:22:28.195524 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:22:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:22:28] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +DEBUG:paramiko.transport:starting thread (client mode): 0xdbdf9b90 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_CHbPShT7OqWQMP message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:22:28] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +INFO:root:2023-01-24 19:22:28.552291 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:22:28.559296 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:22:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000127.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000127.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000127.pdf') +INFO:root:2023-01-24 19:22:28.654360 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000127.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000127.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 19:22:28.655357 : Impression facture N° FACT_231000127 OK +INFO:root:2023-01-24 19:22:28.673358 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 19:22:28.664363', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:22:28] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:22:29.046969 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTr8KAbmaEugrFT1yhEzGrf/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_00hIHc%2FStandard +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTr8KAbmaEugrFT1yhEzGrf/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTr8KAbmaEugrFT1yhEzGrf",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTr8KAbmaEugrFT1yhEzGrf"\n },\n "client_secret": "pi_3MTr8KAbmaEugrFT1yhEzGrf_secret_ZutObtZG4KEXtaJMpbC4R5uzt",\n "confirmation_method": "automatic",\n "created": 1674584532,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTr8JAbmaEugrFT9BaUydrr",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_00hIHc/Standard",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTr8KAbmaEugrFT1yhEzGrf&payment_intent_client_secret=pi_3MTr8KAbmaEugrFT1yhEzGrf_secret_ZutObtZG4KEXtaJMpbC4R5uzt&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTr8cAbmaEugrFTWajUewjK"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_b68t8NRe9ayAW7 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:22:30] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:22:41.575653 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:22:41] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:22:41.698731 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTr8KAbmaEugrFT1yhEzGrf +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTr8KAbmaEugrFT1yhEzGrf response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTr8KAbmaEugrFT1yhEzGrf",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 5000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTr8KAbmaEugrFT1G1H2Cnu",\n "object": "charge",\n "amount": 5000,\n "amount_captured": 5000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTr8KAbmaEugrFT1lg7sff6",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674584558,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTr8JAbmaEugrFT9BaUydrr",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 56,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTr8KAbmaEugrFT1yhEzGrf",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKPLDwJ4GMgbzjE1ERL86LBbLpFlYsSbW7M9HUp60NVVVBs9WxI6_Lal0UWV-9LuNmfciuTe_dIiUBqck?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTr8KAbmaEugrFT1G1H2Cnu/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTr8KAbmaEugrFT1yhEzGrf"\n },\n "client_secret": "pi_3MTr8KAbmaEugrFT1yhEzGrf_secret_ZutObtZG4KEXtaJMpbC4R5uzt",\n "confirmation_method": "automatic",\n "created": 1674584532,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTr8JAbmaEugrFT9BaUydrr",\n "last_payment_error": null,\n "latest_charge": "ch_3MTr8KAbmaEugrFT1G1H2Cnu",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_LEZUb7DViFE94z message='Dashboard link for request' +INFO:root:2023-01-24 19:22:42.183945 : payment_retrieve_status le Payement pi_3MTr8KAbmaEugrFT1yhEzGrf est validé +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:22:42] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2707146831120 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2707146831120 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2707146831120 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2707146831120 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2707146998416 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2707146998416 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2707146998416 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2707146998416 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2707147707088 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2707147707088 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2707147707088 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2707147707088 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 19:28:07.869920 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 19:28:07.870919 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 19:28:07.870919 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 19:28:07.870919 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 19:28:08.080704 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:28:08.083707 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:28:08.085708 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:28:08.089228 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:28:08.093225 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:28:08.096230 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:28:08] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:28:08.104226 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:28:08.108221 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:28:08] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:28:08] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:28:08] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:28:08.119241 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:28:08] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:28:08] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_JNU6KY1UBgKGUL message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:28:08] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:28:09.386818 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:28:09.391340 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:28:09.393343 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:root:2023-01-24 19:28:09.395332 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:28:09] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:28:09] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_SqMQrUnOFZjMFY message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:28:09] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:28:09.850690 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:28:09.854689 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:28:09] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:28:14.859100 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 19:28:14.862271 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTrEBAbmaEugrFTtcd7EI1r",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674584895,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674584895,\n "currency": "eur",\n "current_period_end": 1677263295,\n "current_period_start": 1674584895,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEJrMU3wJDyxqb",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674584896,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 1,\n "subscription": "sub_1MTrEBAbmaEugrFTtcd7EI1r",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTrEBAbmaEugrFTtcd7EI1r"\n },\n "latest_invoice": {\n "id": "in_1MTrEBAbmaEugrFTJAZRWz06",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 9000,\n "amount_paid": 0,\n "amount_remaining": 9000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674584895,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUpySUMxMzVmVnNKU096TVRvV2M2amIzNGI3bGZsLDY1MTI1Njk20200dx0lc3fP?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUpySUMxMzVmVnNKU096TVRvV2M2amIzNGI3bGZsLDY1MTI1Njk20200dx0lc3fP/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTrEBAbmaEugrFT2D2hnHed",\n "object": "line_item",\n "amount": 9000,\n "amount_excluding_tax": 9000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677263295,\n "start": 1674584895\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTrEBAbmaEugrFTtcd7EI1r",\n "subscription_item": "si_NEJrMU3wJDyxqb",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTrEBAbmaEugrFTJAZRWz06/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0510",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTrECAbmaEugrFT0ZOAoMU0",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTrECAbmaEugrFT0ZOAoMU0"\n },\n "client_secret": "pi_3MTrECAbmaEugrFT0ZOAoMU0_secret_4QRePaITAyqH9oW9ItNAwV4JC",\n "confirmation_method": "automatic",\n "created": 1674584896,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTrEBAbmaEugrFTJAZRWz06",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674584895,\n "period_start": 1674584895,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674584895,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTrEBAbmaEugrFTtcd7EI1r",\n "subtotal": 9000,\n "subtotal_excluding_tax": 9000,\n "tax": null,\n "test_clock": null,\n "total": 9000,\n "total_discount_amounts": [],\n "total_excluding_tax": 9000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674584895\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674584895,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_IFCUwkNxIdsnTp message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:28:16] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000128\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00BjoG\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold19090.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 90.0
    TVA 20% : 18.0
    Montant TTC : 108.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000128.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:paramiko.transport:starting thread (client mode): 0x4eaa3110 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000128.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000128.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000128.pdf') +INFO:root:2023-01-24 19:28:20.073575 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000128.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000128.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +INFO:root:2023-01-24 19:28:20.074576 : Impression facture N° FACT_231000128 OK +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 19:28:20.090608 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 19:28:20.080573', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:28:20] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:28:20.298837 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTrECAbmaEugrFT0ZOAoMU0/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_00BjoG%2FGold +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTrECAbmaEugrFT0ZOAoMU0/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTrECAbmaEugrFT0ZOAoMU0",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTrECAbmaEugrFT0ZOAoMU0"\n },\n "client_secret": "pi_3MTrECAbmaEugrFT0ZOAoMU0_secret_4QRePaITAyqH9oW9ItNAwV4JC",\n "confirmation_method": "automatic",\n "created": 1674584896,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTrEBAbmaEugrFTJAZRWz06",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_00BjoG/Gold",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTrECAbmaEugrFT0ZOAoMU0&payment_intent_client_secret=pi_3MTrECAbmaEugrFT0ZOAoMU0_secret_4QRePaITAyqH9oW9ItNAwV4JC&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTrEHAbmaEugrFTrSzJyK5X"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_koflZmJQ7bDdRA message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:28:21] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:29:27.473713 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:29:27] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:29:27.617152 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTrECAbmaEugrFT0ZOAoMU0 +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTrECAbmaEugrFT0ZOAoMU0 response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTrECAbmaEugrFT0ZOAoMU0",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 9000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTrECAbmaEugrFT0k4Y3eOK",\n "object": "charge",\n "amount": 9000,\n "amount_captured": 9000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTrECAbmaEugrFT03rZKxFb",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674584964,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTrEBAbmaEugrFTJAZRWz06",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 39,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTrECAbmaEugrFT0ZOAoMU0",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKIjHwJ4GMgacGWrA5wU6LBaua1HBOG9JsZmD3pX5Ef_BVv70OHYzZIhFFRmv5wB3qeJvKXROLRdzj04c?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTrECAbmaEugrFT0k4Y3eOK/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTrECAbmaEugrFT0ZOAoMU0"\n },\n "client_secret": "pi_3MTrECAbmaEugrFT0ZOAoMU0_secret_4QRePaITAyqH9oW9ItNAwV4JC",\n "confirmation_method": "automatic",\n "created": 1674584896,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTrEBAbmaEugrFTJAZRWz06",\n "last_payment_error": null,\n "latest_charge": "ch_3MTrECAbmaEugrFT0k4Y3eOK",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_kMG8ycnLp7ghXv message='Dashboard link for request' +INFO:root:2023-01-24 19:29:28.115258 : payment_retrieve_status le Payement pi_3MTrECAbmaEugrFT0ZOAoMU0 est validé +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:29:28] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2540728485392 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2540728485392 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2540728485392 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2540728485392 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2540728566288 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2540728566288 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2540728566288 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2540728566288 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2540729768016 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 19:31:14.974058 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 19:31:14.974058 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 19:31:14.974058 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 19:31:14.974058 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2540729768016 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2540729768016 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2540729768016 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2420273214864 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2420273214864 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2420273214864 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2420273214864 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2420273381840 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2420273381840 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2420273381840 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2420273381840 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2420273855760 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 19:35:00.838713 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 19:35:00.838713 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 19:35:00.838713 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 19:35:00.838713 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2420273855760 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2420273855760 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2420273855760 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1648904126992 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1648904126992 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1648904126992 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1648904126992 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1648904192400 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1648904192400 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 1648904192400 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1648904192400 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1648906985104 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1648906985104 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 19:35:33.394816 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 19:35:33.394816 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 19:35:33.394816 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-24 19:35:33.395807 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 1648906985104 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1648906985104 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2769256202448 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2769256202448 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2769256202448 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2769256202448 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2769256205328 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2769256205328 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2769256205328 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2769256205328 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2769257543696 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 19:36:29.596400 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 19:36:29.596400 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +DEBUG:filelock:Lock 2769257543696 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 19:36:29.596400 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-24 19:36:29.596400 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 2769257543696 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2769257543696 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2623663405136 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2623663405136 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2623663405136 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2623663405136 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2623663522704 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2623663522704 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2623663522704 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2623663522704 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2623664998608 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 19:38:59.117014 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Lock 2623664998608 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 19:38:59.117014 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 19:38:59.117014 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-24 19:38:59.118033 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 2623664998608 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2623664998608 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1869947093776 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1869947093776 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1869947093776 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1869947093776 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1869947158992 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1869947158992 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 1869947158992 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1869947158992 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1869948576528 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 19:41:04.689929 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 19:41:04.689929 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 19:41:04.689929 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 19:41:04.689929 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 1869948576528 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1869948576528 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1869948576528 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2291305824720 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2291305824720 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2291305824720 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2291305824720 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2291305827408 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2291305827408 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2291305827408 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2291305827408 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2291309188816 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 19:41:53.300981 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 19:41:53.300981 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-01-24 19:41:53.300981 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 19:41:53.300981 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2291309188816 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2291309188816 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2291309188816 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2165921709456 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2165921709456 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2165921709456 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2165921709456 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2166232793552 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2166232793552 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Not updating because file is fresh enough. +DEBUG:filelock:Attempting to release lock 2166232793552 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2166232793552 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2166233854096 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2166233854096 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-01-24 19:43:08.708572 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-01-24 19:43:08.708572 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-01-24 19:43:08.708572 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-01-24 19:43:08.708572 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 2166233854096 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2166233854096 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-01-24 19:43:17.678292 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:43:17.682292 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:43:17.684816 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:43:17] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:43:17.694824 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:43:17] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:43:17] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:43:18.608879 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:43:18] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:43:24.728298 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:43:24.732291 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:43:24.735294 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:43:24] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_zJSOoYFmGGahwm message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:43:25] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:43:26.497641 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:43:26.503638 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:43:26.503638 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:43:26] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:43:26.507636 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:43:26] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_fprppmbx0rEncB message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:43:26] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:43:26.887364 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:43:26.891880 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:43:26] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:43:30.507237 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 19:43:30.510449 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000129\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00auf7\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard15050.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 50.0
    TVA 20% : 10.0
    Montant TTC : 60.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000129.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTrSxAbmaEugrFTPdAc5Z0G",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674585811,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674585811,\n "currency": "eur",\n "current_period_end": 1677264211,\n "current_period_start": 1674585811,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEK7X8vT59pJvD",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674585811,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 1,\n "subscription": "sub_1MTrSxAbmaEugrFTPdAc5Z0G",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTrSxAbmaEugrFTPdAc5Z0G"\n },\n "latest_invoice": {\n "id": "in_1MTrSxAbmaEugrFTnEC5qKqe",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 5000,\n "amount_paid": 0,\n "amount_remaining": 5000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674585811,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUs3alJIaXFYNk9oSmZaTU1lRTFmRGFDMGd2aTJELDY1MTI2NjEy020081WnjfQq?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUs3alJIaXFYNk9oSmZaTU1lRTFmRGFDMGd2aTJELDY1MTI2NjEy020081WnjfQq/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTrSxAbmaEugrFTpOEZjRYd",\n "object": "line_item",\n "amount": 5000,\n "amount_excluding_tax": 5000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_STANDARD (at €50.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677264211,\n "start": 1674585811\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTrSxAbmaEugrFTPdAc5Z0G",\n "subscription_item": "si_NEK7X8vT59pJvD",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "5000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTrSxAbmaEugrFTnEC5qKqe/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0511",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTrSyAbmaEugrFT1v21hIjX",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTrSyAbmaEugrFT1v21hIjX"\n },\n "client_secret": "pi_3MTrSyAbmaEugrFT1v21hIjX_secret_PQUeXaKbvOrpXxssdFq2VgiDP",\n "confirmation_method": "automatic",\n "created": 1674585812,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTrSxAbmaEugrFTnEC5qKqe",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674585811,\n "period_start": 1674585811,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674585811,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTrSxAbmaEugrFTPdAc5Z0G",\n "subtotal": 5000,\n "subtotal_excluding_tax": 5000,\n "tax": null,\n "test_clock": null,\n "total": 5000,\n "total_discount_amounts": [],\n "total_excluding_tax": 5000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674585811\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674585811,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_MtJkKGj0s6GWDd message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:43:31] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0x4afe73d0 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000129.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000129.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000129.pdf') +INFO:root:2023-01-24 19:43:33.323232 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000129.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000129.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +INFO:root:2023-01-24 19:43:33.323232 : Impression facture N° FACT_231000129 OK +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 19:43:33.338619 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 19:43:33.330610', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:43:33] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:43:33.459044 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTrSyAbmaEugrFT1v21hIjX/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_00auf7%2FStandard +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTrSyAbmaEugrFT1v21hIjX/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTrSyAbmaEugrFT1v21hIjX",\n "object": "payment_intent",\n "amount": 5000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTrSyAbmaEugrFT1v21hIjX"\n },\n "client_secret": "pi_3MTrSyAbmaEugrFT1v21hIjX_secret_PQUeXaKbvOrpXxssdFq2VgiDP",\n "confirmation_method": "automatic",\n "created": 1674585812,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTrSxAbmaEugrFTnEC5qKqe",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_00auf7/Standard",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTrSyAbmaEugrFT1v21hIjX&payment_intent_client_secret=pi_3MTrSyAbmaEugrFT1v21hIjX_secret_PQUeXaKbvOrpXxssdFq2VgiDP&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTrT0AbmaEugrFTh6y0xdJm"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_dV7QMGuhtu7KBu message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:43:34] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:44:21.305333 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:44:21] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:44:21.417407 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:44:21.426403 : payment_retrieve_status - La valeur 'packs' n'est pas presente dans liste +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:44:21] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:45:15.112176 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:45:15.116167 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:45:15.118189 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:45:15] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:root:2023-01-24 19:45:15.196702 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:45:15] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:45:15.207703 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:45:15.211697 : payment_retrieve_status - La valeur 'packs' n'est pas presente dans liste +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:45:15] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_QyyQH7WOcja0J6 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:45:15] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:45:19.405644 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:45:19] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:45:19.412643 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:45:19.415644 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:45:19.421718 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:45:19] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:45:19] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:45:20.240610 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:45:20] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:45:23.204713 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:45:23.208710 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:45:23.212712 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:45:23] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_HNV2rlKd5X3y6d message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:45:23] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:45:25.331787 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:45:25.337782 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:45:25.340780 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:45:25] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:45:25.344777 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:45:25] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_R3uL22pFkST802 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:45:25] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:45:25.730348 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:45:25.736343 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:45:25] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:45:28.951895 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=1&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 19:45:28.956894 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000130\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00fD2I\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold19090.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 90.0
    TVA 20% : 18.0
    Montant TTC : 108.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000130.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTrUrAbmaEugrFTZY1QVsno",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674585929,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674585929,\n "currency": "eur",\n "current_period_end": 1677264329,\n "current_period_start": 1674585929,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEK9UVSLdYnzyl",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674585930,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 1,\n "subscription": "sub_1MTrUrAbmaEugrFTZY1QVsno",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTrUrAbmaEugrFTZY1QVsno"\n },\n "latest_invoice": {\n "id": "in_1MTrUrAbmaEugrFTNcvp8C9T",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 9000,\n "amount_paid": 0,\n "amount_remaining": 9000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674585929,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUs5dGEyYVo1Nk5XaWlES2ZOYWFkRHZ4OVp4eEdILDY1MTI2NzMw0200t0n281ZH?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUs5dGEyYVo1Nk5XaWlES2ZOYWFkRHZ4OVp4eEdILDY1MTI2NzMw0200t0n281ZH/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTrUrAbmaEugrFT0mjqYmBa",\n "object": "line_item",\n "amount": 9000,\n "amount_excluding_tax": 9000,\n "currency": "eur",\n "description": "1 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677264329,\n "start": 1674585929\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 1,\n "subscription": "sub_1MTrUrAbmaEugrFTZY1QVsno",\n "subscription_item": "si_NEK9UVSLdYnzyl",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTrUrAbmaEugrFTNcvp8C9T/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0512",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTrUsAbmaEugrFT1KNgo05C",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTrUsAbmaEugrFT1KNgo05C"\n },\n "client_secret": "pi_3MTrUsAbmaEugrFT1KNgo05C_secret_Vv2VhYkD9TjUiLiR6CDKmX0Kc",\n "confirmation_method": "automatic",\n "created": 1674585930,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTrUrAbmaEugrFTNcvp8C9T",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674585929,\n "period_start": 1674585929,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674585929,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTrUrAbmaEugrFTZY1QVsno",\n "subtotal": 9000,\n "subtotal_excluding_tax": 9000,\n "tax": null,\n "test_clock": null,\n "total": 9000,\n "total_discount_amounts": [],\n "total_excluding_tax": 9000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674585929\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1674585929,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_tMTFsFWeNtbTT3 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:45:30] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0x592ba950 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000130.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000130.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000130.pdf') +INFO:root:2023-01-24 19:45:31.188510 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000130.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000130.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +INFO:root:2023-01-24 19:45:31.189515 : Impression facture N° FACT_231000130 OK +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 19:45:31.205257 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 19:45:31.193512', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:45:31] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:45:31.408370 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTrUsAbmaEugrFT1KNgo05C/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_00fD2I%2FGold +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTrUsAbmaEugrFT1KNgo05C/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTrUsAbmaEugrFT1KNgo05C",\n "object": "payment_intent",\n "amount": 9000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTrUsAbmaEugrFT1KNgo05C"\n },\n "client_secret": "pi_3MTrUsAbmaEugrFT1KNgo05C_secret_Vv2VhYkD9TjUiLiR6CDKmX0Kc",\n "confirmation_method": "automatic",\n "created": 1674585930,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTrUrAbmaEugrFTNcvp8C9T",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_00fD2I/Gold",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTrUsAbmaEugrFT1KNgo05C&payment_intent_client_secret=pi_3MTrUsAbmaEugrFT1KNgo05C_secret_Vv2VhYkD9TjUiLiR6CDKmX0Kc&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTrUuAbmaEugrFTufqBWI1x"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_XkvDJ76dDgAwKe message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:45:32] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:46:07.306007 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:46:07] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:46:07.459090 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:46:07.463086 : payment_retrieve_status - La valeur 'packs' n'est pas presente dans liste +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:46:07] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:46:48.237959 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:46:48] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:46:48.242962 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:46:48.246471 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:46:48.251497 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:46:48] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:46:48] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:46:49.242255 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:46:49] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:46:50.745254 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:46:50.749256 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:46:50.752793 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:46:50] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_bi7GLGmRgn723Y message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:46:51] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:46:52.100914 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:46:52.105914 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:46:52] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:46:52.112915 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:46:52.114924 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:46:52] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_abvQfMCnFnZuQn message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:46:52] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:46:52.493394 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:46:52.496939 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:46:52] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:46:55.060308 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=2&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 19:46:55.063838 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000131\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00XuQ2\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard250100.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 100.0
    TVA 20% : 20.0
    Montant TTC : 120.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000131.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTrWFAbmaEugrFTSpq6AO8k",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674586015,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674586015,\n "currency": "eur",\n "current_period_end": 1677264415,\n "current_period_start": 1674586015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEKAVubH8VFhui",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674586016,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 2,\n "subscription": "sub_1MTrWFAbmaEugrFTSpq6AO8k",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTrWFAbmaEugrFTSpq6AO8k"\n },\n "latest_invoice": {\n "id": "in_1MTrWFAbmaEugrFTRhzuPi7i",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 10000,\n "amount_paid": 0,\n "amount_remaining": 10000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674586015,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUtBOUZING5nd1ExZFJuVUZ3cE1XV2o5dDBFaXBtLDY1MTI2ODE20200tlTBzFkE?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUtBOUZING5nd1ExZFJuVUZ3cE1XV2o5dDBFaXBtLDY1MTI2ODE20200tlTBzFkE/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTrWFAbmaEugrFTVD3EmM8a",\n "object": "line_item",\n "amount": 10000,\n "amount_excluding_tax": 10000,\n "currency": "eur",\n "description": "2 × DEV_SPACK_STANDARD (at €50.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677264415,\n "start": 1674586015\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 2,\n "subscription": "sub_1MTrWFAbmaEugrFTSpq6AO8k",\n "subscription_item": "si_NEKAVubH8VFhui",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "5000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTrWFAbmaEugrFTRhzuPi7i/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0513",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTrWGAbmaEugrFT1rLPaA6V",\n "object": "payment_intent",\n "amount": 10000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTrWGAbmaEugrFT1rLPaA6V"\n },\n "client_secret": "pi_3MTrWGAbmaEugrFT1rLPaA6V_secret_uU3butItbnvHgixavMqQqfvsF",\n "confirmation_method": "automatic",\n "created": 1674586016,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTrWFAbmaEugrFTRhzuPi7i",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674586015,\n "period_start": 1674586015,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674586015,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTrWFAbmaEugrFTSpq6AO8k",\n "subtotal": 10000,\n "subtotal_excluding_tax": 10000,\n "tax": null,\n "test_clock": null,\n "total": 10000,\n "total_discount_amounts": [],\n "total_excluding_tax": 10000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674586015\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 2,\n "schedule": null,\n "start_date": 1674586015,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Nr1I0ZaAgEOVgu message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:46:56] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0x4afe7bd0 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000131.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000131.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000131.pdf') +INFO:root:2023-01-24 19:46:57.252894 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000131.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000131.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 19:46:57.253893 : Impression facture N° FACT_231000131 OK +INFO:root:2023-01-24 19:46:57.271105 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 19:46:57.261433', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:46:57] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:46:57.470510 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTrWGAbmaEugrFT1rLPaA6V/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_00XuQ2%2FStandard +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTrWGAbmaEugrFT1rLPaA6V/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTrWGAbmaEugrFT1rLPaA6V",\n "object": "payment_intent",\n "amount": 10000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTrWGAbmaEugrFT1rLPaA6V"\n },\n "client_secret": "pi_3MTrWGAbmaEugrFT1rLPaA6V_secret_uU3butItbnvHgixavMqQqfvsF",\n "confirmation_method": "automatic",\n "created": 1674586016,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTrWFAbmaEugrFTRhzuPi7i",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_00XuQ2/Standard",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTrWGAbmaEugrFT1rLPaA6V&payment_intent_client_secret=pi_3MTrWGAbmaEugrFT1rLPaA6V_secret_uU3butItbnvHgixavMqQqfvsF&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTrWIAbmaEugrFTUplKETMi"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_XnmVTauMYig6NX message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:46:58] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:47:08.940352 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:47:08] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:47:09.112830 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTrWGAbmaEugrFT1rLPaA6V +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTrWGAbmaEugrFT1rLPaA6V response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTrWGAbmaEugrFT1rLPaA6V",\n "object": "payment_intent",\n "amount": 10000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 10000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTrWGAbmaEugrFT1N3dL7Dt",\n "object": "charge",\n "amount": 10000,\n "amount_captured": 10000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTrWGAbmaEugrFT1arNvzfn",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674586025,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTrWFAbmaEugrFTRhzuPi7i",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 47,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTrWGAbmaEugrFT1rLPaA6V",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKK7PwJ4GMgasbIghlU46LBaTUqZCQ2nuv6cB8h4HfCGtXJZbTAtTBXZlbuCSOEdjWp9sp6H62O1xsSuM?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTrWGAbmaEugrFT1N3dL7Dt/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTrWGAbmaEugrFT1rLPaA6V"\n },\n "client_secret": "pi_3MTrWGAbmaEugrFT1rLPaA6V_secret_uU3butItbnvHgixavMqQqfvsF",\n "confirmation_method": "automatic",\n "created": 1674586016,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTrWFAbmaEugrFTRhzuPi7i",\n "last_payment_error": null,\n "latest_charge": "ch_3MTrWGAbmaEugrFT1N3dL7Dt",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_aSXhfrLUeYl8Vh message='Dashboard link for request' +INFO:root:2023-01-24 19:47:09.574499 : payment_retrieve_status le Payement pi_3MTrWGAbmaEugrFT1rLPaA6V est validé +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:47:09] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:47:15.711438 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:47:15.714437 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:47:15] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:47:15.718434 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:47:15.723437 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:47:15] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:47:15] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:47:16.887123 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:47:16] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:47:19.940653 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:47:19.945651 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:47:19.948648 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:47:19] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_h7lckjObsfbwdS message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:47:20] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:47:23.253971 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:47:23.258970 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:47:23.259968 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:47:23] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:47:23.261967 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:47:23] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674486015,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_CZEAPPKCn6ILz2 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:47:23] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:47:23.633952 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:47:23.638953 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:47:23] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:47:25.698004 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NDWmBTkRCuW8J1&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=2&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-01-24 19:47:25.703123 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_231000132\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 24/01/2023 Date échéance : 24/01/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_002f-U\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold290180.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 180.0
    TVA 20% : 36.0
    Montant TTC : 216.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_231000132.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MTrWkAbmaEugrFTK8hYuaxL",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1674586046,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "collection_method": "charge_automatically",\n "created": 1674586046,\n "currency": "eur",\n "current_period_end": 1677264446,\n "current_period_start": 1674586046,\n "customer": "cus_NDWmBTkRCuW8J1",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NEKBOr8UBm9TRf",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1674586047,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 2,\n "subscription": "sub_1MTrWkAbmaEugrFTK8hYuaxL",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MTrWkAbmaEugrFTK8hYuaxL"\n },\n "latest_invoice": {\n "id": "in_1MTrWkAbmaEugrFT2D3WlZlG",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 18000,\n "amount_paid": 0,\n "amount_remaining": 18000,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1674586046,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NDWmBTkRCuW8J1",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining@gmail.com",\n "customer_name": "3IL",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUtCTk9KZllFTWVpckIxRlVMdGRoQjgySnVpMDRELDY1MTI2ODQ3020039ooUD2e?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9ORUtCTk9KZllFTWVpckIxRlVMdGRoQjgySnVpMDRELDY1MTI2ODQ3020039ooUD2e/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MTrWkAbmaEugrFTMhDRdDlF",\n "object": "line_item",\n "amount": 18000,\n "amount_excluding_tax": 18000,\n "currency": "eur",\n "description": "2 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1677264446,\n "start": 1674586046\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 2,\n "subscription": "sub_1MTrWkAbmaEugrFTK8hYuaxL",\n "subscription_item": "si_NEKBOr8UBm9TRf",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1MTrWkAbmaEugrFT2D3WlZlG/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0514",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MTrWlAbmaEugrFT0oYbWoOJ",\n "object": "payment_intent",\n "amount": 18000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTrWlAbmaEugrFT0oYbWoOJ"\n },\n "client_secret": "pi_3MTrWlAbmaEugrFT0oYbWoOJ_secret_uIPorBHEzX4gTAtze6GJoI46X",\n "confirmation_method": "automatic",\n "created": 1674586047,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTrWkAbmaEugrFT2D3WlZlG",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1674586046,\n "period_start": 1674586046,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1674586046,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MTrWkAbmaEugrFTK8hYuaxL",\n "subtotal": 18000,\n "subtotal_excluding_tax": 18000,\n "tax": null,\n "test_clock": null,\n "total": 18000,\n "total_discount_amounts": [],\n "total_excluding_tax": 18000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1674586046\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 2,\n "schedule": null,\n "start_date": 1674586046,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_0w3aBJPlkKGsH6 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:47:27] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0x5da8e9d0 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000132.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000132.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000132.pdf') +INFO:root:2023-01-24 19:47:27.812025 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_231000132.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_231000132.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-01-24 19:47:27.813018 : Impression facture N° FACT_231000132 OK +INFO:root:2023-01-24 19:47:27.827011 : UpdataPartnerRankingClass - Le RANKING de 13 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-01-24 19:47:27.819016', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:47:27] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:47:28.003915 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3MTrWlAbmaEugrFT0oYbWoOJ/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MTRVLAbmaEugrFTFMiKjCBy&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_002f-U%2FGold +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTrWlAbmaEugrFT0oYbWoOJ/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTrWlAbmaEugrFT0oYbWoOJ",\n "object": "payment_intent",\n "amount": 18000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3MTrWlAbmaEugrFT0oYbWoOJ"\n },\n "client_secret": "pi_3MTrWlAbmaEugrFT0oYbWoOJ_secret_uIPorBHEzX4gTAtze6GJoI46X",\n "confirmation_method": "automatic",\n "created": 1674586047,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTrWkAbmaEugrFT2D3WlZlG",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_002f-U/Gold",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3MTrWlAbmaEugrFT0oYbWoOJ&payment_intent_client_secret=pi_3MTrWlAbmaEugrFT0oYbWoOJ_secret_uIPorBHEzX4gTAtze6GJoI46X&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=src_1MTrWnAbmaEugrFThC0JHWkg"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Y9IpBBJJxMSzr9 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:47:29] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:47:40.067731 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:47:40] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:47:40.224259 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3MTrWlAbmaEugrFT0oYbWoOJ +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MTrWlAbmaEugrFT0oYbWoOJ response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3MTrWlAbmaEugrFT0oYbWoOJ",\n "object": "payment_intent",\n "amount": 18000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 18000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3MTrWlAbmaEugrFT062q8JgS",\n "object": "charge",\n "amount": 18000,\n "amount_captured": 18000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MTrWlAbmaEugrFT0bx4l8fp",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte 3DS",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1674586057,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1MTrWkAbmaEugrFT2D3WlZlG",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 13,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MTrWlAbmaEugrFT0oYbWoOJ",\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKM3PwJ4GMgaC3VvoFH46LBZs6TI0f90gxoB8KRIZF8UYont84qPUzTLJRsMvgioy4IUB2GnQY6wLofmG?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3MTrWlAbmaEugrFT062q8JgS/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3MTrWlAbmaEugrFT0oYbWoOJ"\n },\n "client_secret": "pi_3MTrWlAbmaEugrFT0oYbWoOJ_secret_uIPorBHEzX4gTAtze6GJoI46X",\n "confirmation_method": "automatic",\n "created": 1674586047,\n "currency": "eur",\n "customer": "cus_NDWmBTkRCuW8J1",\n "description": "Subscription creation",\n "invoice": "in_1MTrWkAbmaEugrFT2D3WlZlG",\n "last_payment_error": null,\n "latest_charge": "ch_3MTrWlAbmaEugrFT062q8JgS",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MTRVLAbmaEugrFTFMiKjCBy",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_xXKbAjO07Zge2y message='Dashboard link for request' +INFO:root:2023-01-24 19:47:40.678484 : payment_retrieve_status le Payement pi_3MTrWlAbmaEugrFT0oYbWoOJ est validé +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:47:40] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:47:50.678062 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:47:50.681058 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:47:50] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:47:50.685057 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-01-24 19:47:50.690056 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:47:50] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:47:50] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-01-24 19:47:51.883079 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [24/Jan/2023 19:47:51] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - diff --git a/Session_Formation.py b/Session_Formation.py index a2390c6..d918df0 100644 --- a/Session_Formation.py +++ b/Session_Formation.py @@ -243,7 +243,7 @@ def Add_Update_SessionFormation(diction): # Fin Controle de cohérence sur les dates - print(" ### query_key = ", query_key) + #print(" ### query_key = ", query_key) coll_name = MYSY_GV.dbname['session_formation'] ret_val = coll_name.find_one_and_update( query_key, @@ -252,7 +252,7 @@ def Add_Update_SessionFormation(diction): return_document=ReturnDocument.AFTER ) - if (ret_val['_id'] is False): + if (ret_val['_id'] is None): mycommon.myprint( str(inspect.stack()[0][3]) + " Impossible d'ajouter/mettre à jour la session '"+str(diction['code_session'])+"' ") return False, "Impossible d'ajouter/mettre à jour la session '"+str(diction['code_session'])+"' " diff --git a/main.py b/main.py index fb1f268..55f6844 100644 --- a/main.py +++ b/main.py @@ -2332,6 +2332,31 @@ def stop_strip_subscription(): +""" +Cette API verifie le statut d'un payement +""" +@app.route('/myclass/api/payment_retrieve_status/', methods=['POST','GET']) +@crossdomain(origin='*') +def payment_retrieve_status(): + # On recupere le corps (payload) de la requete + payload = request.form.to_dict() + print(" ### payment_retrieve_status : payload = ",payload) + localStatus, message = Stripe.payment_retrieve_status(payload) + return jsonify(status=localStatus, message=message ) + + + +""" +Cette API verifie l'existance ou non d'une commande vente +""" +@app.route('/myclass/api/CheckSalesOrder/', methods=['POST','GET']) +@crossdomain(origin='*') +def CheckSalesOrder(): + # On recupere le corps (payload) de la requete + payload = request.form.to_dict() + print(" ### CheckSalesOrder : payload = ",payload) + localStatus, message = mycommon.CheckSalesOrder(payload) + return jsonify(status=localStatus, message=message ) if __name__ == '__main__': print(" debut api") diff --git a/prj_common.py b/prj_common.py index 3b191de..b8a4c98 100644 --- a/prj_common.py +++ b/prj_common.py @@ -2746,3 +2746,56 @@ def Sedesabonner(diction): exc_type, exc_obj, exc_tb = sys.exc_info() myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno)) return False, " Impossible de desactivier l'adresse email " + + + +""" +Cette fonction verifie qu'une commande existe est qu'elle est bien valide +""" +def CheckSalesOrder(diction): + + try: + field_list_obligatoire = ['token', 'orderid'] + + for val in field_list_obligatoire: + if val not in diction: + myprint( + str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ") + return False, " Toutes les informations obligatoires n'ont pas été fornies" + + my_orderid = "" + if ("orderid" in diction.keys()): + if diction['orderid']: + my_orderid = diction['orderid'] + + + my_token = "" + if ("token" in diction.keys()): + if diction['token']: + my_token = diction['token'] + + # Recuperation du recid du partenaire + partner_recid = get_parnter_recid_from_token(str(my_token)) + if partner_recid is False: + myprint(str(inspect.stack()[0][3]) + " - Impossible de recuperer le recid du partenaire") + return False, " Les informations d'identification sont invalides" + + insertObject = [] + + salesorder = MYSY_GV.dbname['sales_order'].find_one({'client_recid':partner_recid, 'order_id':my_orderid, + 'valide':'1'}, {'order_id':1, 'order_date':1, 'stripe_pi':1, + }) + + if (salesorder is None or salesorder['order_id'] is None): + myprint(str(inspect.stack()[0][3]) + " La commande "+str(my_orderid)+" n'existe pas") + return False, " La commande "+str(my_orderid)+" n'existe pas" + + insertObject.append(JSONEncoder().encode(salesorder)) + + return True, insertObject + + except Exception as e: + exc_type, exc_obj, exc_tb = sys.exc_info() + myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno)) + return False, " Impossible de verifier l'existence de la commande " + diff --git a/strype_payement.py b/strype_payement.py index fb3794b..b9f76a6 100644 --- a/strype_payement.py +++ b/strype_payement.py @@ -2,6 +2,7 @@ """ Python 3.6 or newer required. """ +import pymongo import stripe import json import os @@ -281,7 +282,7 @@ def confirm_suscription(diction): if val not in diction: mycommon.myprint( str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ") - return False, " Impossible de créer el moyen de payement", False + return False, " Impossible de créer el moyen de payement", False, False stripe_payment_id = "" @@ -301,17 +302,61 @@ def confirm_suscription(diction): if (local_ret_val['stripe_paymentmethod_id'] is None): mycommon.myprint( str(inspect.stack()[0][3]) + " Impossible de finaliser le payement") - return False, " Impossible de finaliser le payement ", False + return False, " Impossible de finaliser le payement ", False, False + # Recuperation de la dernière commande du client + cmd_ret_val = MYSY_GV.dbname['sales_order'].find( + {'client_recid': str(local_ret_val['recid']), 'valide': '1'}).sort([("_id",pymongo.DESCENDING) ]) - print(" ### stripe_payment_id = ", stripe_payment_id, " ### stripe_paymentmethod_id = ", local_ret_val['stripe_paymentmethod_id']) + if(cmd_ret_val[0] is None or cmd_ret_val[0]['order_id'] is None ): + mycommon.myprint( + str(inspect.stack()[0][3]) + " Impossible de finaliser le payement") + return False, " Impossible de finaliser le payement ", False, False + + cmd_order_id = cmd_ret_val[0]['order_id'] + mydata_update = {'stripe_pi':stripe_payment_id} + + ### Mise à jour de la commande avec le payement id + local_update_val = MYSY_GV.dbname['sales_order'].find_one_and_update( + {'order_id':str(cmd_order_id)}, + {"$set": mydata_update}, + upsert=False, + return_document=ReturnDocument.AFTER + ) + + if (local_update_val['_id'] is None): + mycommon.myprint( + str(inspect.stack()[0][3]) + " Impossible de finaliser le payement 2") + return False, " Impossible de finaliser le payement (2) ", False, False + + #print(" ### stripe_payment_id = ", stripe_payment_id, " ### stripe_paymentmethod_id = ", local_ret_val['stripe_paymentmethod_id']) confirmation_payement = stripe.PaymentIntent.confirm( stripe_payment_id, payment_method=str(local_ret_val['stripe_paymentmethod_id']), - return_url="http://localhost:3009/testurl/:course/:tab", + return_url="http://localhost:3009/OrderConfirmation_3DS/"+str(cmd_order_id)+"/"+str(local_ret_val['pack_service']) + ) - print(' #### confirmation_payement = ', confirmation_payement) + """ + /!\ : le client a demarré un payement. + 1 - je supprimer son pack abonnement pour se premunir d'un echec au prelevement + 2 - Je remettrai le bon pack lors qu'il aura confirmé + + """ + ### Mise à jour de la commande avec le payement id + local_update_cust = MYSY_GV.dbname['partnair_account'].find_one_and_update( + {'token': token, 'active': '1', 'locked': '0'}, + {"$set": {'pack_service':'', }}, + upsert=False, + return_document=ReturnDocument.AFTER + ) + + if (local_update_cust['_id'] is None): + mycommon.myprint( + str(inspect.stack()[0][3]) + " Impossible de finaliser le payement 3") + return False, " Impossible de finaliser le payement (3) ", False, False + + #print(' #### confirmation_payement = ', confirmation_payement) return True, confirmation_payement.id, confirmation_payement.status, confirmation_payement.next_action.redirect_to_url.url @@ -320,6 +365,82 @@ def confirm_suscription(diction): mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno)) return False, False, False, False +""" +Cette fonction verifier si un payement est ok ou Ko""" +def payment_retrieve_status(diction): + try: + field_list_obligatoire = ['stripe_payment_id','token', 'packs'] + for val in field_list_obligatoire: + if val not in diction: + mycommon.myprint( + str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ") + return False, " Impossible de verifier le payement les données obligatoires ne sont pas fournies", + + + stripe_payment_id = "" + if ("stripe_payment_id" in diction.keys()): + if diction['stripe_payment_id']: + stripe_payment_id = diction['stripe_payment_id'] + + token = "" + if ("token" in diction.keys()): + if diction['token']: + token = diction['token'] + + packs = "" + if ("packs" in diction.keys()): + if diction['packs']: + packs = diction['packs'] + + # Recuperation du payement methode du client. + local_ret_val = MYSY_GV.dbname['partnair_account'].find_one( + {'token': token, 'active': '1', 'locked': '0'}) + + if (local_ret_val['stripe_paymentmethod_id'] is None): + mycommon.myprint( + str(inspect.stack()[0][3]) + " Impossible de verifier le payement 'stripe_paymentmethod_id' instrouvable ") + return False, " Impossible de verifier le payement 'stripe_paymentmethod_id' instrouvable " + + + payement_retrive_status = stripe.PaymentIntent.retrieve( + stripe_payment_id, + ) + + #print(" ### payement_retrive_status = ", payement_retrive_status, ) + + if( payement_retrive_status is None or payement_retrive_status['status'] is None): + mycommon.myprint( + str(inspect.stack()[0][3]) + " le Payement "+str(stripe_payment_id)+" n'est pas validé") + return False, " le Payement "+str(stripe_payment_id)+" n'est pas validé" + + if( payement_retrive_status['status'] and str(payement_retrive_status['status'] ).strip() == "succeeded" ): + + #On reactive le pack du partner + local_coll_name = MYSY_GV.dbname['partnair_account'] + + now = datetime.now() + ret_val = local_coll_name.find_one_and_update({'token': token, 'active': '1', 'locked': '0', 'pack_service':''}, + {"$set": + {"pack_service": str(packs), + "date_update": str(now)} + }, + upsert=False, + return_document=ReturnDocument.AFTER + ) + + mycommon.myprint( + str(inspect.stack()[0][3]) + " le Payement "+str(stripe_payment_id)+" est validé") + return True, " le Payement "+str(stripe_payment_id)+" est validé" + + mycommon.myprint( + str(inspect.stack()[0][3]) + " Impossible de connaitre le status du payement " + str(stripe_payment_id) + " ") + return False, " Impossible de connaitre le status du payement " + str(stripe_payment_id) + " " + + + except Exception as e: + exc_type, exc_obj, exc_tb = sys.exc_info() + mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno)) + return False, False """