diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 2bc2a6f..186d4e9 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,8 +4,14 @@
+
+
+
+
-
+
+
+
diff --git a/Log/log_file.log b/Log/log_file.log
index cce73d1..eff749f 100644
--- a/Log/log_file.log
+++ b/Log/log_file.log
@@ -1539541,3 +1539541,1738 @@ INFO:root:2023-03-22 15:21:50.817529 : Security check : IP adresse '127.0.0.1'
INFO:root:2023-03-22 15:21:50.821543 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:21:50] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:21:50] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 -
+DEBUG:filelock:Attempting to acquire lock 2716158796368 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2716158796368 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 2716158796368 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2716158796368 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 2716158797264 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2716158797264 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf
+INFO:root:2023-03-22 17:16:29.140192 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-03-22 17:16:29.140192 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-03-22 17:16:29.140192 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-03-22 17:16:29.140192 : ++ FLASK PORT 5001 ++
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+DEBUG:validate_email.updater:Local file is fresh enough (same ETag).
+DEBUG:filelock:Attempting to release lock 2716158797264 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2716158797264 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2716070004560 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2716070004560 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 2716070004560 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2716070004560 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 3038630549328 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3038630549328 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 3038630549328 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3038630549328 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 3038630550160 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3038630550160 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf
+INFO:root:2023-03-22 17:16:36.742025 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-03-22 17:16:36.743035 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-03-22 17:16:36.743035 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-03-22 17:16:36.743035 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 127-713-359
+DEBUG:validate_email.updater:Local file is fresh enough (same ETag).
+DEBUG:filelock:Attempting to release lock 3038630550160 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3038630550160 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 3038323864400 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3038323864400 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 3038323864400 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3038323864400 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2434217696272 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2434217696272 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 2434217696272 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2434217696272 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 2434217697040 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2434217697040 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf
+INFO:root:2023-03-23 10:29:33.708358 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-03-23 10:29:33.708358 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-03-23 10:29:33.708358 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-03-23 10:29:33.709361 : ++ FLASK PORT 5001 ++
+DEBUG:validate_email.updater:Local file is fresh enough (same ETag).
+DEBUG:filelock:Attempting to release lock 2434217697040 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2434217697040 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2434155483984 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2434155483984 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 2434155483984 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2434155483984 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 1574585654224 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1574585654224 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 1574585654224 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1574585654224 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 1574585654736 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1574585654736 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf
+INFO:root:2023-03-23 10:29:43.589022 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-03-23 10:29:43.590015 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-03-23 10:29:43.590015 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-03-23 10:29:43.590015 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+DEBUG:validate_email.updater:Local file is fresh enough (same ETag).
+DEBUG:filelock:Attempting to release lock 1574585654736 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1574585654736 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 1574585423952 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1574585423952 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:werkzeug: * Debugger PIN: 127-713-359
+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 1574585423952 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1574585423952 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-03-23 10:49:26.659345 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 10:49:26.662345 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 10:49:26.663341 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:26] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:26] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:26] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 10:49:27.364952 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 10:49:27.367955 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:27] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 10:49:28.473642 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 10:49:28.477823 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:28] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 10:49:28.481081 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:28] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 10:49:28.485836 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:28] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 10:49:28.490150 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:28] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 10:49:28.495161 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 10:49:28.498165 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:28] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 10:49:28.503171 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:28] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 10:49:28.507162 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:28] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 10:49:28.512160 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 10:49:28.515344 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:28] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 10:49:28.520359 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:28] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:28] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 10:49:28.526162 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:28] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:28] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:28] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 10:49:28.534161 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:28] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 10:49:28.541159 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 10:49:28.543161 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 10:49:28.547450 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:28] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 10:49:28.550163 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:28] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:28] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 10:49:28.555159 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 10:49:28.558160 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:28] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:28] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:49:28] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 10:52:38.706208 : Security check : IP adresse '127.0.0.1' connected
+INFO:root: TMP = 0
+INFO:root: TMP = 0
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:52:39] "POST /myclass/api/add_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 10:57:12.511724 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/customers
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=email=contact%40mysy-training.com&name=MySy+Demo+2303&address[city]=&address[country]=
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers response_code=200
+DEBUG:stripe:body='{\n "id": "cus_NZuiEjjPZ6CP06",\n "object": "customer",\n "address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "balance": 0,\n "created": 1679565432,\n "currency": null,\n "default_currency": null,\n "default_source": null,\n "delinquent": false,\n "description": null,\n "discount": null,\n "email": "contact@mysy-training.com",\n "invoice_prefix": "DDA52F45",\n "invoice_settings": {\n "custom_fields": null,\n "default_payment_method": null,\n "footer": null,\n "rendering_options": null\n },\n "livemode": false,\n "metadata": {},\n "name": "MySy Demo 2303",\n "phone": null,\n "preferred_locales": [],\n "shipping": null,\n "tax_exempt": "none",\n "test_clock": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_gW26f0ngKUIQQ6 message='Dashboard link for request'
+INFO:root:2023-03-23 10:57:13.762596 : create_customer - le partenaire contact@mysy-training.com a été correctement créé dans Stripe. Son Id = cus_NZuiEjjPZ6CP06
+INFO:root:2023-03-23 10:57:13.764572 : La modif a bien ete faite Ajout Token OK, =641c21666cad03956ab28252
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 10:57:14] "[32mGET /myclass/api/valide_partnair_account/641c21666cad03956ab28252 HTTP/1.1[0m" 302 -
+INFO:root:2023-03-23 11:00:50.277744 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:00:50.283767 : partner_login Connexion partnair contact@mysy-training.com : OK, Date : 2023-03-23 11:00:50.277744 , _id = 641c21666cad03956ab28252
+INFO:root:2023-03-23 11:00:50.294555 : partner_login Connexion partener_token : OK , _id = 641c23520d5d7f136a823b3c
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:00:50] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:00:50.491918 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:00:50] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:00:50.504866 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:00:50.506874 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:00:50.511872 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:00:50] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:00:50] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:00:50.736497 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:00:50] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:01:07.610974 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:01:07.612971 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:01:07.616972 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:01: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_NZuiEjjPZ6CP06/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_NZuiEjjPZ6CP06/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [],\n "has_more": false,\n "url": "/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_sC7pyX1aNZCnyd message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:01:07] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:01:08.527076 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:01:08.530081 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:01:08.533082 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:01:08] "POST /myclass/api/get_cust_prices_by_partner/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:01:08] "POST /myclass/api/get_linked_customer_to_partner/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:01:08] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:01:09.622424 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:01:09.624424 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:01:09.627422 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:01:09.630425 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:01:09.635417 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:01:09.635744 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:root:2023-03-23 11:01:09.635744 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:01:09] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:01: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_NZuiEjjPZ6CP06/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:01:09] "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_NZuiEjjPZ6CP06/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_NZuiEjjPZ6CP06/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [],\n "has_more": false,\n "url": "/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_i4gnDHWzKVb2xb message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:01:09] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [],\n "has_more": false,\n "url": "/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_XAROlxwdzD1tOL message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:01:09] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:01:11.192678 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:01:11.194680 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:01:11.197676 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:01:11] "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_NZuiEjjPZ6CP06/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_NZuiEjjPZ6CP06/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [],\n "has_more": false,\n "url": "/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_C5f2Dr3MLk9Svr message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:01:11] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:01:18.073723 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:01:18.075912 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:01:18] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:01:18] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:02:48.297092 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:02:48.300094 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:02:48.303281 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:02:48.306283 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:02:48] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:02:48] "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_NZuiEjjPZ6CP06/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_NZuiEjjPZ6CP06/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [],\n "has_more": false,\n "url": "/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_vLEr3Sd5LvZwyj message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:02:48] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:03:56.471660 : 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-03-23 11:03:56.473659 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=undefined&items[0][price]=&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=404
+DEBUG:stripe:body='{\n "error": {\n "code": "resource_missing",\n "doc_url": "https://stripe.com/docs/error-codes/resource-missing",\n "message": "No such customer: \'undefined\'",\n "param": "customer",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_OVfzTGr9iw4bEz?t=1679565836",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_OVfzTGr9iw4bEz message='Dashboard link for request'
+INFO:stripe:error_code=resource_missing error_message="No such customer: 'undefined'" error_param=customer error_type=invalid_request_error message='Stripe API error received'
+INFO:root:2023-03-23 11:03:56.807762 : create_subscription -Request req_OVfzTGr9iw4bEz: No such customer: 'undefined' - ERRORRRR AT Line : 571
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:03:56] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:03:57.412934 : UpdataPartnerRankingClass - Le RANKING de 0 ont été mise à jour avec la valeur {'display_rank': '10', 'date_update': '2023-03-23 11:03:57.382343'}
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:03:57] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:03:58.701620 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:03:58.703609 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:03:58.706148 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:03:58] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:03:58.710142 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:03:58] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:03:58] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:03:59.324640 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:03:59] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:04:04.922102 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:04:04.924101 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:04:04] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:04:04.928102 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:04:04.933108 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:04:04] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:04:04] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:04:05.481719 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:04:05] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:04:07.847365 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:04:07.849361 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:04:07.852375 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:04: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_NZuiEjjPZ6CP06/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_NZuiEjjPZ6CP06/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [],\n "has_more": false,\n "url": "/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_TgTGXE4V2WiMtB message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:04:08] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:04:14.758103 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:04:14.761084 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:04:14] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:04:14] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:04:19.903703 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:04:20.986680 : UpdataPartnerRankingClass - Le RANKING de 0 ont été mise à jour avec la valeur {'display_rank': '10', 'date_update': '2023-03-23 11:04:20.978662'}
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:04:20] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:04:21.162445 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:04:21.164447 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:04:21] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:04:21.175043 : strip_update_subscription_qty -'stripe_subscription_id' - ERRORRRR AT Line : 823
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:04:21] "POST /myclass/api/strip_update_subscription_qty/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:13:01.363482 : 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_methods
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=23&card[cvc]=123&billing_details[name]=mysy+demo
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods response_code=200
+DEBUG:stripe:body='{\n "id": "pm_1Mol8jAbmaEugrFTZg2P5ePQ",\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": "mysy demo",\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": "unchecked"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\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": 1679566381,\n "customer": null,\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_mrgyXHLxxiLikC message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods/pm_1Mol8jAbmaEugrFTZg2P5ePQ/attach
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NZuiEjjPZ6CP06
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods/pm_1Mol8jAbmaEugrFTZg2P5ePQ/attach response_code=200
+DEBUG:stripe:body='{\n "id": "pm_1Mol8jAbmaEugrFTZg2P5ePQ",\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": "mysy demo",\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": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\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": 1679566381,\n "customer": "cus_NZuiEjjPZ6CP06",\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Ago6dVAdqmqfqY message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:13:02] "POST /myclass/api/add_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:13:03.872912 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:13:03.874921 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:13:03] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:13:03.878923 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:13:03.882921 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:13:03] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:13:03] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:13:04.547189 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:13:04] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:13:11.803634 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:13:11.807642 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:13:11] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:13:12.923180 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:13:12] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:13:12.961214 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:13:12] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:13:15.362702 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:13:15.364709 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:13:15.368709 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:13: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_NZuiEjjPZ6CP06/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_NZuiEjjPZ6CP06/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1Mol8jAbmaEugrFTZg2P5ePQ",\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": "mysy demo",\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": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\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": 1679566381,\n "customer": "cus_NZuiEjjPZ6CP06",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_VrsrCFLNzOww2h message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:13:15] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:14:25.485522 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:14:25.488523 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:14:25.491538 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:14:25.493535 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:14:25] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:14: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_NZuiEjjPZ6CP06/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_NZuiEjjPZ6CP06/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1Mol8jAbmaEugrFTZg2P5ePQ",\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": "mysy demo",\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": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\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": 1679566381,\n "customer": "cus_NZuiEjjPZ6CP06",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_TQDkxnSLteaMrh message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:14:25] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:14:25.827673 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:14:25.831671 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:14:25] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:14:43.646531 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:14:43] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:14:43.675070 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:14:43] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:14:44.754091 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:14:44.757089 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:14:44.760086 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:14:44] "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_NZuiEjjPZ6CP06/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_NZuiEjjPZ6CP06/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1Mol8jAbmaEugrFTZg2P5ePQ",\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": "mysy demo",\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": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\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": 1679566381,\n "customer": "cus_NZuiEjjPZ6CP06",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_W78LuP9xYyntHD message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:14:45] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:14:48.551714 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:14:48.553714 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:14:48.557301 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:14:48] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:14:48.561308 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:14: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_NZuiEjjPZ6CP06/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_NZuiEjjPZ6CP06/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1Mol8jAbmaEugrFTZg2P5ePQ",\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": "mysy demo",\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": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\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": 1679566381,\n "customer": "cus_NZuiEjjPZ6CP06",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_ZvhORCvlVXwmua message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:14:48] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:14:48.882314 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:14:48.885312 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:14:48] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:15:46.362715 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:15:46.371711 : update_partner_accountLe partenaire a bien ete mise à jour =641c21666cad03956ab28252
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:15:46] "POST /myclass/api/update_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:16:04.053947 : 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_NZuiEjjPZ6CP06&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=3&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:root:2023-03-23 11:16:04.056942 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:xhtml2pdf:pisaDocument options:
+ src = '\n\n\n
\n\t\n\t\t
\n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t
Facture \n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tMySy Demo 2303 \n\t\t\t\t\t2 place du test \n\t\t\t\t\t75001 Paris \n\t\t\t\t\tFrane \n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_233000208\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\tDate de facture: 23/03/2023 \n\t\t\t\t\t\tDate échéance : 23/03/2023 \n\t\t\t\t\t \n\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\tOrigine : MySy_000RNh\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\tDescription \n\t\t\t\t\t\t\tQuantité \n\t\t\t\t\t\t\tPrix unitaire \n\t\t\t\t\t\t\tMontant \n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t\tStandard \n\t\t\t\t\t\t\t3 \n\t\t\t\t\t\t\t50 \n\t\t\t\t\t\t\t150.0 \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
\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\tMontant HT: \n\t\t\t\t\t150.0 \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\tTVA 20% : \n\t\t\t\t\t30.0 \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\tMontant TTC : \n\t\t\t\t\t180.0 \n\t\t\t\t \n\t\t\t
\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_233000208.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_1MolBgAbmaEugrFTOiroBxMJ",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679566564,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679566564,\n "currency": "eur",\n "current_period_end": 1682244964,\n "current_period_start": 1679566564,\n "customer": "cus_NZuiEjjPZ6CP06",\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_NZv1jqWdZAlFeU",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679566564,\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": 3,\n "subscription": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MolBgAbmaEugrFTOiroBxMJ"\n },\n "latest_invoice": {\n "id": "in_1MolBgAbmaEugrFTDL0rDnV2",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 15000,\n "amount_paid": 0,\n "amount_remaining": 15000,\n "amount_shipping": 0,\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": 1679566564,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NZuiEjjPZ6CP06",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "contact@mysy-training.com",\n "customer_name": "MySy Demo 2303",\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_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9OWnYxQ1pLV2FsNWpTYU8wQUdGdXNXSlBWZ0NHM1ZuLDcwMTA3MzY10200JYXooU1Q?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9OWnYxQ1pLV2FsNWpTYU8wQUdGdXNXSlBWZ0NHM1ZuLDcwMTA3MzY10200JYXooU1Q/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1MolBgAbmaEugrFT8nTPTLm4",\n "object": "line_item",\n "amount": 15000,\n "amount_excluding_tax": 15000,\n "currency": "eur",\n "description": "3 × DEV_SPACK_STANDARD (at €50.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1682244964,\n "start": 1679566564\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": 3,\n "subscription": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "subscription_item": "si_NZv1jqWdZAlFeU",\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_1MolBgAbmaEugrFTDL0rDnV2/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0692",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3MolBgAbmaEugrFT1L8ezIt3",\n "object": "payment_intent",\n "amount": 15000,\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_3MolBgAbmaEugrFT1L8ezIt3"\n },\n "client_secret": "pi_3MolBgAbmaEugrFT1L8ezIt3_secret_arc9qb9p3neVqN4LaH1r5NwsB",\n "confirmation_method": "automatic",\n "created": 1679566564,\n "currency": "eur",\n "customer": "cus_NZuiEjjPZ6CP06",\n "description": "Subscription creation",\n "invoice": "in_1MolBgAbmaEugrFTDL0rDnV2",\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": 1679566564,\n "period_start": 1679566564,\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 "shipping_cost": null,\n "shipping_details": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1679566564,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "subtotal": 15000,\n "subtotal_excluding_tax": 15000,\n "tax": null,\n "test_clock": null,\n "total": 15000,\n "total_discount_amounts": [],\n "total_excluding_tax": 15000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1679566564\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": 3,\n "schedule": null,\n "start_date": 1679566564,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_CC2aI1Fx41g1ky message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:16:05] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+DEBUG:paramiko.transport:starting thread (client mode): 0x9b8aef10
+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_233000208.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000208.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_233000208.pdf')
+INFO:root:2023-03-23 11:16:10.835103 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_233000208.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000208.pdf EST OKKKK
+INFO:paramiko.transport.sftp:[chan 0] sftp session closed.
+DEBUG:paramiko.transport:[chan 0] EOF sent (0)
+INFO:root:2023-03-23 11:16:10.836103 : Impression facture N° FACT_233000208 OK
+DEBUG:paramiko.transport:EOF in transport thread
+INFO:root:2023-03-23 11:16:10.850091 : UpdataPartnerRankingClass - Le RANKING de 0 ont été mise à jour avec la valeur {'display_rank': '20', 'date_update': '2023-03-23 11:16:10.843079'}
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:16:10] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:16:10.977224 : 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_3MolBgAbmaEugrFT1L8ezIt3/confirm
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1Mol8jAbmaEugrFTZg2P5ePQ&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_000RNh%2FStandard
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3MolBgAbmaEugrFT1L8ezIt3/confirm response_code=200
+DEBUG:stripe:body='{\n "id": "pi_3MolBgAbmaEugrFT1L8ezIt3",\n "object": "payment_intent",\n "amount": 15000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 15000,\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_3MolBgAbmaEugrFT1fWiY9Cw",\n "object": "charge",\n "amount": 15000,\n "amount_captured": 15000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MolBgAbmaEugrFT1Oql113p",\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": "mysy demo",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1679566571,\n "currency": "eur",\n "customer": "cus_NZuiEjjPZ6CP06",\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_1MolBgAbmaEugrFTDL0rDnV2",\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": 32,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MolBgAbmaEugrFT1L8ezIt3",\n "payment_method": "pm_1Mol8jAbmaEugrFTZg2P5ePQ",\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": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "installments": null,\n "last4": "4242",\n "mandate": null,\n "network": "visa",\n "three_d_secure": null,\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/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKOzN8KAGMgYUHbhLk546LBZ-93rE1_nh0hAXVLm8W_8dIq4d58WIFyvJREf9klKAyRSY7-0QXXiq_WVF?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_3MolBgAbmaEugrFT1fWiY9Cw/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_3MolBgAbmaEugrFT1L8ezIt3"\n },\n "client_secret": "pi_3MolBgAbmaEugrFT1L8ezIt3_secret_arc9qb9p3neVqN4LaH1r5NwsB",\n "confirmation_method": "automatic",\n "created": 1679566564,\n "currency": "eur",\n "customer": "cus_NZuiEjjPZ6CP06",\n "description": "Subscription creation",\n "invoice": "in_1MolBgAbmaEugrFTDL0rDnV2",\n "last_payment_error": null,\n "latest_charge": "ch_3MolBgAbmaEugrFT1fWiY9Cw",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1Mol8jAbmaEugrFTZg2P5ePQ",\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_2iq2FjYtIdcGhe message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:16:12] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:16:14.104851 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:16:14] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:16:14.193906 : 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_3MolBgAbmaEugrFT1L8ezIt3
+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_3MolBgAbmaEugrFT1L8ezIt3 response_code=200
+DEBUG:stripe:body='{\n "id": "pi_3MolBgAbmaEugrFT1L8ezIt3",\n "object": "payment_intent",\n "amount": 15000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 15000,\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_3MolBgAbmaEugrFT1fWiY9Cw",\n "object": "charge",\n "amount": 15000,\n "amount_captured": 15000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3MolBgAbmaEugrFT1Oql113p",\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": "mysy demo",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1679566571,\n "currency": "eur",\n "customer": "cus_NZuiEjjPZ6CP06",\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_1MolBgAbmaEugrFTDL0rDnV2",\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": 32,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3MolBgAbmaEugrFT1L8ezIt3",\n "payment_method": "pm_1Mol8jAbmaEugrFTZg2P5ePQ",\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": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "installments": null,\n "last4": "4242",\n "mandate": null,\n "network": "visa",\n "three_d_secure": null,\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/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKO7N8KAGMgb9c3Dv7Cw6LBZjURK0yGM4ZzRHoDczVHRUc7cSUuv_9eo_nG5WSrwLQH3XQAsBFFKQDqSe?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_3MolBgAbmaEugrFT1fWiY9Cw/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_3MolBgAbmaEugrFT1L8ezIt3"\n },\n "client_secret": "pi_3MolBgAbmaEugrFT1L8ezIt3_secret_arc9qb9p3neVqN4LaH1r5NwsB",\n "confirmation_method": "automatic",\n "created": 1679566564,\n "currency": "eur",\n "customer": "cus_NZuiEjjPZ6CP06",\n "description": "Subscription creation",\n "invoice": "in_1MolBgAbmaEugrFTDL0rDnV2",\n "last_payment_error": null,\n "latest_charge": "ch_3MolBgAbmaEugrFT1fWiY9Cw",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1Mol8jAbmaEugrFTZg2P5ePQ",\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_IGYWXBkiSEiYkJ message='Dashboard link for request'
+INFO:root:2023-03-23 11:16:14.576990 : payment_retrieve_status le Payement pi_3MolBgAbmaEugrFT1L8ezIt3 est validé
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:16:14] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:16:14.587512 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:16:14.993233 : Impossible de créer l'utilisateur LMS {IntegrityError("Duplicate entry 'contact@mysy-training.com' for key 'UNIQ_8D93D649F85E0677'")}
+INFO:root:2023-03-23 11:16:15.013518 : Check_MySy_LMS_Account - Impossible de créer le compte LSM
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:16:15] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:16:21.856135 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:16:21.860133 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:16:21.863132 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:16:21] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:16:21.868138 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:16:21] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:16:21] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:16:22.565658 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:16:22] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:16:29.815929 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:16:29.819916 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:16:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:17:42.205749 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:17:42] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:17:42.274494 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:17:42] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:17:43.839371 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:17:43.841374 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:17:43.845389 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:17:43] "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_NZuiEjjPZ6CP06/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_NZuiEjjPZ6CP06/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1Mol8jAbmaEugrFTZg2P5ePQ",\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": "mysy demo",\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": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\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": 1679566381,\n "customer": "cus_NZuiEjjPZ6CP06",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_xe7Ekc4i3TtgYA message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:17:44] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:17:50.694351 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:17:50.697186 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:17:50.700189 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:17:50] "POST /myclass/api/get_cust_prices_by_partner/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:17:50] "POST /myclass/api/get_linked_customer_to_partner/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:17:50] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:20:33.641653 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:20:33.643654 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:20:33.647652 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:20: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_NZuiEjjPZ6CP06/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_NZuiEjjPZ6CP06/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1Mol8jAbmaEugrFTZg2P5ePQ",\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": "mysy demo",\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": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\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": 1679566381,\n "customer": "cus_NZuiEjjPZ6CP06",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Tt6eUzgvqTO67X message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:20:33] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:20:36.824512 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:20:36.826513 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:20:36] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:20:36] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:20:45.372260 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:xhtml2pdf:pisaDocument options:
+ src = '\n\n\n\n\t\n\t\t
\n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t
Facture \n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tMySy Demo 2303 \n\t\t\t\t\t2 place du test \n\t\t\t\t\t75001 Paris \n\t\t\t\t\tFrane \n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_233000209\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\tDate de facture: 23/03/2023 \n\t\t\t\t\t\tDate échéance : 23/03/2023 \n\t\t\t\t\t \n\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\tOrigine : MySy_00VmZ5\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\tDescription \n\t\t\t\t\t\t\tQuantité \n\t\t\t\t\t\t\tPrix unitaire \n\t\t\t\t\t\t\tMontant \n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t\tstandard \n\t\t\t\t\t\t\t4 \n\t\t\t\t\t\t\t50 \n\t\t\t\t\t\t\t200.0 \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
\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\tMontant HT: \n\t\t\t\t\t200.0 \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\tTVA 20% : \n\t\t\t\t\t40.0 \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\tMontant TTC : \n\t\t\t\t\t240.0 \n\t\t\t\t \n\t\t\t
\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_233000209.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): 0x9ce5fdd0
+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_233000209.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000209.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_233000209.pdf')
+INFO:root:2023-03-23 11:20:52.273217 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_233000209.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000209.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-03-23 11:20:52.274223 : Impression facture N° FACT_233000209 OK
+INFO:root:2023-03-23 11:20:52.293175 : UpdataPartnerRankingClass - Le RANKING de 0 ont été mise à jour avec la valeur {'display_rank': '20', 'date_update': '2023-03-23 11:20:52.279870'}
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:20:52] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:20:52.413894 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:20:52.419100 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=
+INFO:root:2023-03-23 11:20:52.671418 : Impossible de créer l'utilisateur LMS {IntegrityError("Duplicate entry 'contact@mysy-training.com' for key 'UNIQ_8D93D649F85E0677'")}
+INFO:root:2023-03-23 11:20:52.674428 : Check_MySy_LMS_Account - Impossible de créer le compte LSM
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:20:52] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679566564,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679566564,\n "currency": "eur",\n "current_period_end": 1682244964,\n "current_period_start": 1679566564,\n "customer": "cus_NZuiEjjPZ6CP06",\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_NZv1jqWdZAlFeU",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679566564,\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": 3,\n "subscription": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MolBgAbmaEugrFTOiroBxMJ"\n },\n "latest_invoice": "in_1MolBgAbmaEugrFTDL0rDnV2",\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": 3,\n "schedule": null,\n "start_date": 1679566564,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_CSo4UhyXK7mYx6 message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NZv1jqWdZAlFeU&items[0][quantity]=4
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679566564,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679566564,\n "currency": "eur",\n "current_period_end": 1682244964,\n "current_period_start": 1679566564,\n "customer": "cus_NZuiEjjPZ6CP06",\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_NZv1jqWdZAlFeU",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679566564,\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": 4,\n "subscription": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MolBgAbmaEugrFTOiroBxMJ"\n },\n "latest_invoice": "in_1MolBgAbmaEugrFTDL0rDnV2",\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": 4,\n "schedule": null,\n "start_date": 1679566564,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_y7xPwHMQuojNaN message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:20:53] "POST /myclass/api/strip_update_subscription_qty/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:28:44.202642 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:28:44.205167 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:28:44] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:28:44] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:28:57.300393 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:xhtml2pdf:pisaDocument options:
+ src = '\n\n\n\n\t\n\t\t
\n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t
Facture \n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tMySy Demo 2303 \n\t\t\t\t\t2 place du test \n\t\t\t\t\t75001 Paris \n\t\t\t\t\tFrane \n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_233000210\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\tDate de facture: 23/03/2023 \n\t\t\t\t\t\tDate échéance : 23/03/2023 \n\t\t\t\t\t \n\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\tOrigine : MySy_00ifi5\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\tDescription \n\t\t\t\t\t\t\tQuantité \n\t\t\t\t\t\t\tPrix unitaire \n\t\t\t\t\t\t\tMontant \n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t\tstandard \n\t\t\t\t\t\t\t3 \n\t\t\t\t\t\t\t50 \n\t\t\t\t\t\t\t150.0 \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
\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\tMontant HT: \n\t\t\t\t\t150.0 \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\tTVA 20% : \n\t\t\t\t\t30.0 \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\tMontant TTC : \n\t\t\t\t\t180.0 \n\t\t\t\t \n\t\t\t
\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_233000210.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): 0x9d278d90
+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_233000210.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000210.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_233000210.pdf')
+INFO:root:2023-03-23 11:29:02.538388 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_233000210.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000210.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-03-23 11:29:02.539397 : Impression facture N° FACT_233000210 OK
+INFO:root:2023-03-23 11:29:02.554156 : UpdataPartnerRankingClass - Le RANKING de 0 ont été mise à jour avec la valeur {'display_rank': '20', 'date_update': '2023-03-23 11:29:02.545369'}
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:29:02] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:29:02.665439 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:29:02.670462 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679566564,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679566564,\n "currency": "eur",\n "current_period_end": 1682244964,\n "current_period_start": 1679566564,\n "customer": "cus_NZuiEjjPZ6CP06",\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_NZv1jqWdZAlFeU",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679566564,\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": 4,\n "subscription": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MolBgAbmaEugrFTOiroBxMJ"\n },\n "latest_invoice": "in_1MolBgAbmaEugrFTDL0rDnV2",\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": 4,\n "schedule": null,\n "start_date": 1679566564,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_n3Qugt43KN8AkN message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NZv1jqWdZAlFeU&items[0][quantity]=3
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:29:03] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679566564,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679566564,\n "currency": "eur",\n "current_period_end": 1682244964,\n "current_period_start": 1679566564,\n "customer": "cus_NZuiEjjPZ6CP06",\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_NZv1jqWdZAlFeU",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679566564,\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": 3,\n "subscription": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MolBgAbmaEugrFTOiroBxMJ"\n },\n "latest_invoice": "in_1MolBgAbmaEugrFTDL0rDnV2",\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": 3,\n "schedule": null,\n "start_date": 1679566564,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Ou5mEd9zfZK3h0 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:29:04] "POST /myclass/api/strip_update_subscription_qty/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:31:24.533541 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:31:24.536549 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:31:24.541543 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:31:24] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:31:24.549550 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:31: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_NZuiEjjPZ6CP06/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_NZuiEjjPZ6CP06/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1Mol8jAbmaEugrFTZg2P5ePQ",\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": "mysy demo",\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": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\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": 1679566381,\n "customer": "cus_NZuiEjjPZ6CP06",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_4rDaBCkTkmjpIu message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:31:25] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:31:25.512888 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:31:25.519899 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:31:25] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:31:54.603250 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:31:54.608245 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679566564,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679566564,\n "currency": "eur",\n "current_period_end": 1682244964,\n "current_period_start": 1679566564,\n "customer": "cus_NZuiEjjPZ6CP06",\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_NZv1jqWdZAlFeU",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679566564,\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": 3,\n "subscription": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MolBgAbmaEugrFTOiroBxMJ"\n },\n "latest_invoice": "in_1MolBgAbmaEugrFTDL0rDnV2",\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": 3,\n "schedule": null,\n "start_date": 1679566564,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_irOjwWL8qo1AGU message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NZv1jqWdZAlFeU&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=2
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679566564,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679566564,\n "currency": "eur",\n "current_period_end": 1682244964,\n "current_period_start": 1679566564,\n "customer": "cus_NZuiEjjPZ6CP06",\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_NZv1jqWdZAlFeU",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679566564,\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_1MolBgAbmaEugrFTOiroBxMJ",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MolBgAbmaEugrFTOiroBxMJ"\n },\n "latest_invoice": "in_1MolBgAbmaEugrFTDL0rDnV2",\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": 1679566564,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_NDsvteAY0hreju message='Dashboard link for request'
+DEBUG:xhtml2pdf:pisaDocument options:
+ src = '\n\n\n\n\t\n\t\t
\n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t
Facture \n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tMySy Demo 2303 \n\t\t\t\t\t2 place du test \n\t\t\t\t\t75001 Paris \n\t\t\t\t\tFrane \n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_233000211\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\tDate de facture: 23/03/2023 \n\t\t\t\t\t\tDate échéance : 23/03/2023 \n\t\t\t\t\t \n\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\tOrigine : MySy_00O_Kr\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\tDescription \n\t\t\t\t\t\t\tQuantité \n\t\t\t\t\t\t\tPrix unitaire \n\t\t\t\t\t\t\tMontant \n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t\tGold \n\t\t\t\t\t\t\t2 \n\t\t\t\t\t\t\t90 \n\t\t\t\t\t\t\t180.0 \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
\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\tMontant HT: \n\t\t\t\t\t180.0 \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\tTVA 20% : \n\t\t\t\t\t36.0 \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\tMontant TTC : \n\t\t\t\t\t216.0 \n\t\t\t\t \n\t\t\t
\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_233000211.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:werkzeug:127.0.0.1 - - [23/Mar/2023 11:31:56] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 -
+DEBUG:paramiko.transport:starting thread (client mode): 0x9cc31a50
+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_233000211.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000211.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_233000211.pdf')
+INFO:root:2023-03-23 11:32:02.558635 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_233000211.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000211.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-03-23 11:32:02.559634 : Impression facture N° FACT_233000211 OK
+INFO:root:2023-03-23 11:32:02.578643 : UpdataPartnerRankingClass - Le RANKING de 0 ont été mise à jour avec la valeur {'display_rank': '30', 'date_update': '2023-03-23 11:32:02.568634'}
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:32:02] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:32:02.735437 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:32:03] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:32:09.991789 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:32:09.994321 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:32:09.997313 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:32:09] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:32:10.003309 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:32:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:32:10] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:32:10.734535 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:32:10] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:38:51.175031 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:38:51.244350 : add_class_mass : entete du fichier csv. 'Unnamed: 24' n'est pas acceptée
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:38:51] "POST /myclass/api/add_class_mass/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:42:49.700749 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:42:49.726936 : add_class_mass - Vous avez atteint le nombre maximum de formation autorisé
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:42:49] "POST /myclass/api/add_class_mass/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:43:05.763885 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:43:05.771882 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:43:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:43:07.865253 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:43:07.869250 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:43:07.876238 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:43: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_NZuiEjjPZ6CP06/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_NZuiEjjPZ6CP06/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1Mol8jAbmaEugrFTZg2P5ePQ",\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": "mysy demo",\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": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\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": 1679566381,\n "customer": "cus_NZuiEjjPZ6CP06",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_KW2JOCAwkXs2ky message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:43:08] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:43:09.466005 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:43:09.470005 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:43:09] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:43:09] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:43:14.521813 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:xhtml2pdf:pisaDocument options:
+ src = '\n\n\n\n\t\n\t\t
\n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t
Facture \n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tMySy Demo 2303 \n\t\t\t\t\t2 place du test \n\t\t\t\t\t75001 Paris \n\t\t\t\t\tFrane \n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_233000212\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\tDate de facture: 23/03/2023 \n\t\t\t\t\t\tDate échéance : 23/03/2023 \n\t\t\t\t\t \n\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\tOrigine : MySy_00ajIV\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\tDescription \n\t\t\t\t\t\t\tQuantité \n\t\t\t\t\t\t\tPrix unitaire \n\t\t\t\t\t\t\tMontant \n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t\tGold \n\t\t\t\t\t\t\t4 \n\t\t\t\t\t\t\t90 \n\t\t\t\t\t\t\t360.0 \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
\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\tMontant HT: \n\t\t\t\t\t360.0 \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\tTVA 20% : \n\t\t\t\t\t72.0 \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\tMontant TTC : \n\t\t\t\t\t432.0 \n\t\t\t\t \n\t\t\t
\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_233000212.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): 0x9d4a8ad0
+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_233000212.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000212.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_233000212.pdf')
+INFO:root:2023-03-23 11:43:21.456711 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_233000212.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000212.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-03-23 11:43:21.458718 : Impression facture N° FACT_233000212 OK
+INFO:root:2023-03-23 11:43:21.487106 : UpdataPartnerRankingClass - Le RANKING de 0 ont été mise à jour avec la valeur {'display_rank': '30', 'date_update': '2023-03-23 11:43:21.468720'}
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:43:21] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:43:21.613472 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:43:21.617481 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679566564,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679566564,\n "currency": "eur",\n "current_period_end": 1682244964,\n "current_period_start": 1679566564,\n "customer": "cus_NZuiEjjPZ6CP06",\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_NZv1jqWdZAlFeU",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679566564,\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_1MolBgAbmaEugrFTOiroBxMJ",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MolBgAbmaEugrFTOiroBxMJ"\n },\n "latest_invoice": "in_1MolBgAbmaEugrFTDL0rDnV2",\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": 1679566564,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_HFtAI2YvLWgUHb message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NZv1jqWdZAlFeU&items[0][quantity]=4
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:43:22] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679566564,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679566564,\n "currency": "eur",\n "current_period_end": 1682244964,\n "current_period_start": 1679566564,\n "customer": "cus_NZuiEjjPZ6CP06",\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_NZv1jqWdZAlFeU",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679566564,\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": 4,\n "subscription": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MolBgAbmaEugrFTOiroBxMJ"\n },\n "latest_invoice": "in_1MolBgAbmaEugrFTDL0rDnV2",\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": 4,\n "schedule": null,\n "start_date": 1679566564,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_EgesiRXUU2qRBV message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:43:23] "POST /myclass/api/strip_update_subscription_qty/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:43:39.615398 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:43:39.619394 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:43:39] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:43:39.625179 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:43:39.631392 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:43:39] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:43:39] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:43:40.272116 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:43:40] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:43:58.196924 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:43:58.467385 : external_code = MYSY_Test_AP ==> PRATICIEN EN AROMATHERAPIE INTEGRATIVE
+INFO:root:2023-03-23 11:43:59.219698 : La formation indexée (champ title) =641c2d6e0d5d7f136a824a93
+INFO:root:2023-03-23 11:43:59.220677 : 1 ont été indexes => title
+INFO:root:2023-03-23 11:43:59.524315 : ela_index_class_key_word 3 mot(s) clé(s) ont été indexés pour la formation MYSY_Test_AP
+INFO:root:2023-03-23 11:43:59.620962 : external_code = MYSY_Test_OP ==> PRATICIEN EN OLFACTOTHERAPIE
+INFO:root:2023-03-23 11:43:59.942823 : La formation indexée (champ title) =641c2d6f0d5d7f136a824ab8
+INFO:root:2023-03-23 11:43:59.942823 : 1 ont été indexes => title
+INFO:root:2023-03-23 11:44:00.233955 : ela_index_class_key_word 2 mot(s) clé(s) ont été indexés pour la formation MYSY_Test_OP
+INFO:root:2023-03-23 11:44:00.329413 : external_code = MYSY_Test_AR ==> PRATICIEN EN AROMATHERAPIE INTEGRATIVE
+INFO:root:2023-03-23 11:44:00.654810 : La formation indexée (champ title) =641c2d700d5d7f136a824ad8
+INFO:root:2023-03-23 11:44:00.655810 : 1 ont été indexes => title
+INFO:root:2023-03-23 11:44:00.948951 : ela_index_class_key_word 3 mot(s) clé(s) ont été indexés pour la formation MYSY_Test_AR
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:44:00] "POST /myclass/api/add_class_mass/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:44:06.861003 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:44:06] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:44:06.953715 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:44:06] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:44:27.600076 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:44:27.603340 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:44:27] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:44:27.607474 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:44:27] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:44:27] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:44:37.066689 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:44:37.070110 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:44:37.076104 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:44: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_NZuiEjjPZ6CP06/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_NZuiEjjPZ6CP06/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1Mol8jAbmaEugrFTZg2P5ePQ",\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": "mysy demo",\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": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\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": 1679566381,\n "customer": "cus_NZuiEjjPZ6CP06",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_OY4bA2v5vvhzDn message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:44:37] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 11:44:39.068864 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 11:44:39.071895 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:44:39] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 11:44:39] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 2107565300624 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2107565300624 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 2107565300624 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2107565300624 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 2107565301136 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2107565301136 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf
+INFO:root:2023-03-23 13:48:50.902873 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-03-23 13:48:50.903869 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-03-23 13:48:50.903869 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-03-23 13:48:50.903869 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 127-713-359
+DEBUG:validate_email.updater:Local file is fresh enough (same ETag).
+DEBUG:filelock:Attempting to release lock 2107565301136 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2107565301136 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2107567397328 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2107567397328 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 2107567397328 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2107567397328 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 3015453858832 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3015453858832 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 3015453858832 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3015453858832 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 3015453859728 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3015453859728 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf
+INFO:root:2023-03-23 13:51:26.065575 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-03-23 13:51:26.065575 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-03-23 13:51:26.065575 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-03-23 13:51:26.065575 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+DEBUG:validate_email.updater:Local file is fresh enough (same ETag).
+DEBUG:filelock:Attempting to release lock 3015453859728 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3015453859728 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 3015449477584 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3015449477584 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 3015449477584 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3015449477584 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:werkzeug: * Debugger PIN: 127-713-359
+INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 1777324678672 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1777324678672 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 1777324678672 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1777324678672 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 1777324753424 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1777324753424 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf
+INFO:root:2023-03-23 14:06:00.756152 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-03-23 14:06:00.756152 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-03-23 14:06:00.757152 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-03-23 14:06:00.757152 : ++ FLASK PORT 5001 ++
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+DEBUG:validate_email.updater:Local file is fresh enough (same ETag).
+DEBUG:filelock:Attempting to release lock 1777324753424 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1777324753424 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 1777324448272 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1777324448272 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 1777324448272 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1777324448272 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 3008468259920 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3008468259920 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 3008468259920 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3008468259920 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 3008468260880 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3008468260880 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf
+INFO:root:2023-03-23 14:06:10.141116 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-03-23 14:06:10.141116 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-03-23 14:06:10.142115 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-03-23 14:06:10.142115 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 127-713-359
+DEBUG:validate_email.updater:Local file is fresh enough (same ETag).
+DEBUG:filelock:Attempting to release lock 3008468260880 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3008468260880 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 3008468923536 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3008468923536 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 3008468923536 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3008468923536 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 2132831803152 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2132831803152 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 2132831803152 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2132831803152 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 2132831803920 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2132831803920 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf
+INFO:root:2023-03-23 14:13:07.919170 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-03-23 14:13:07.920171 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-03-23 14:13:07.920171 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-03-23 14:13:07.920171 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 127-713-359
+DEBUG:validate_email.updater:Local file is fresh enough (same ETag).
+DEBUG:filelock:Attempting to release lock 2132831803920 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2132831803920 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2132751016656 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2132751016656 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 2132751016656 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2132751016656 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 1868087301072 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1868087301072 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 1868087301072 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1868087301072 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 1868087303824 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1868087303824 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf
+INFO:root:2023-03-23 14:16:14.155094 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-03-23 14:16:14.155094 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-03-23 14:16:14.155094 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-03-23 14:16:14.155094 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 127-713-359
+DEBUG:validate_email.updater:Local file is fresh enough (same ETag).
+DEBUG:filelock:Attempting to release lock 1868087303824 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1868087303824 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 1868087304336 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1868087304336 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 1868087304336 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1868087304336 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-03-23 14:16:28.480717 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:16:28.485264 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:16:28.487253 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:16:28] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 14:16:28.498251 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:16:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:16:28] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 14:16:29.194386 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:16:29] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 14:16:31.355519 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:16:31.359522 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:16:31.365560 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:16: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_NZuiEjjPZ6CP06/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_NZuiEjjPZ6CP06/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1Mol8jAbmaEugrFTZg2P5ePQ",\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": "mysy demo",\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": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\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": 1679566381,\n "customer": "cus_NZuiEjjPZ6CP06",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_6n4iGAR1xHimSk message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:16:31] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 14:16:34.747253 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:16:34.751247 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:16:34] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:16:34] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 14:16:54.405747 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:xhtml2pdf:pisaDocument options:
+ src = '\n\n\n\n\t\n\t\t
\n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t
Facture \n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tMySy Demo 2303 \n\t\t\t\t\t2 place du test \n\t\t\t\t\t75001 Paris \n\t\t\t\t\tFrane \n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_233000213\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\tDate de facture: 23/03/2023 \n\t\t\t\t\t\tDate échéance : 23/03/2023 \n\t\t\t\t\t \n\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\tOrigine : MySy_00GAIO\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\tDescription \n\t\t\t\t\t\t\tQuantité \n\t\t\t\t\t\t\tPrix unitaire \n\t\t\t\t\t\t\tMontant \n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t\tGold \n\t\t\t\t\t\t\t5 \n\t\t\t\t\t\t\t90 \n\t\t\t\t\t\t\t450.0 \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
\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\tMontant HT: \n\t\t\t\t\t450.0 \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\tTVA 20% : \n\t\t\t\t\t90.0 \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\tMontant TTC : \n\t\t\t\t\t540.0 \n\t\t\t\t \n\t\t\t
\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_233000213.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): 0xf3d43350
+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_233000213.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000213.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_233000213.pdf')
+INFO:root:2023-03-23 14:17:01.571725 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_233000213.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000213.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-03-23 14:17:01.573245 : Impression facture N° FACT_233000213 OK
+INFO:root:2023-03-23 14:17:01.614263 : UpdataPartnerRankingClass - Le RANKING de 3 ont été mise à jour avec la valeur {'display_rank': '30', 'date_update': '2023-03-23 14:17:01.588263'}
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:17:01] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 14:17:01.965528 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:17:01.971534 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679566564,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679566564,\n "currency": "eur",\n "current_period_end": 1682244964,\n "current_period_start": 1679566564,\n "customer": "cus_NZuiEjjPZ6CP06",\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_NZv1jqWdZAlFeU",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679566564,\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": 4,\n "subscription": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MolBgAbmaEugrFTOiroBxMJ"\n },\n "latest_invoice": "in_1MolBgAbmaEugrFTDL0rDnV2",\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": 4,\n "schedule": null,\n "start_date": 1679566564,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_0UVosjKd6pM7BE message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NZv1jqWdZAlFeU&items[0][quantity]=5
+INFO:root:2023-03-23 14:17:02.413795 : Impossible de créer l'utilisateur LMS {ProgrammingError("You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'enabled='1', expired='0', locked = '0', auth_source = 'platform',roles = 'a:...' at line 1")}
+INFO:root:2023-03-23 14:17:02.420797 : Check_MySy_LMS_Account - Impossible de créer le compte LSM
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:17:02] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679566564,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679566564,\n "currency": "eur",\n "current_period_end": 1682244964,\n "current_period_start": 1679566564,\n "customer": "cus_NZuiEjjPZ6CP06",\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_NZv1jqWdZAlFeU",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679566564,\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": 5,\n "subscription": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MolBgAbmaEugrFTOiroBxMJ"\n },\n "latest_invoice": "in_1MolBgAbmaEugrFTDL0rDnV2",\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": 5,\n "schedule": null,\n "start_date": 1679566564,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_2X6MuIn9AqPXvX message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:17:03] "POST /myclass/api/strip_update_subscription_qty/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 1918905490064 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1918905490064 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 1918905490064 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1918905490064 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 1918905490896 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1918905490896 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf
+INFO:root:2023-03-23 14:19:23.262445 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-03-23 14:19:23.262445 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-03-23 14:19:23.262445 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-03-23 14:19:23.262445 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 127-713-359
+DEBUG:validate_email.updater:Local file is fresh enough (same ETag).
+DEBUG:filelock:Attempting to release lock 1918905490896 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1918905490896 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 1918589504400 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1918589504400 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 1918589504400 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1918589504400 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-03-23 14:21:01.540721 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:21:01.543722 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:21:01] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:21:01] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 14:21:11.269499 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:xhtml2pdf:pisaDocument options:
+ src = '\n\n\n\n\t\n\t\t
\n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t
Facture \n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tMySy Demo 2303 \n\t\t\t\t\t2 place du test \n\t\t\t\t\t75001 Paris \n\t\t\t\t\tFrane \n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_233000214\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\tDate de facture: 23/03/2023 \n\t\t\t\t\t\tDate échéance : 23/03/2023 \n\t\t\t\t\t \n\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\tOrigine : MySy_00lD7u\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\tDescription \n\t\t\t\t\t\t\tQuantité \n\t\t\t\t\t\t\tPrix unitaire \n\t\t\t\t\t\t\tMontant \n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t\tGold \n\t\t\t\t\t\t\t4 \n\t\t\t\t\t\t\t90 \n\t\t\t\t\t\t\t360.0 \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
\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\tMontant HT: \n\t\t\t\t\t360.0 \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\tTVA 20% : \n\t\t\t\t\t72.0 \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\tMontant TTC : \n\t\t\t\t\t432.0 \n\t\t\t\t \n\t\t\t
\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_233000214.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): 0xb52f1ed0
+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_233000214.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000214.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_233000214.pdf')
+INFO:root:2023-03-23 14:21:14.377889 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_233000214.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000214.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-03-23 14:21:14.378876 : Impression facture N° FACT_233000214 OK
+INFO:root:2023-03-23 14:21:14.392433 : UpdataPartnerRankingClass - Le RANKING de 3 ont été mise à jour avec la valeur {'display_rank': '30', 'date_update': '2023-03-23 14:21:14.383880'}
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:21:14] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 14:21:14.505490 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:21:14.507490 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679566564,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679566564,\n "currency": "eur",\n "current_period_end": 1682244964,\n "current_period_start": 1679566564,\n "customer": "cus_NZuiEjjPZ6CP06",\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_NZv1jqWdZAlFeU",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679566564,\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": 5,\n "subscription": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MolBgAbmaEugrFTOiroBxMJ"\n },\n "latest_invoice": "in_1MolBgAbmaEugrFTDL0rDnV2",\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": 5,\n "schedule": null,\n "start_date": 1679566564,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_LPqoOUnddCnWfi message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NZv1jqWdZAlFeU&items[0][quantity]=4
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:21:14] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679566564,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679566564,\n "currency": "eur",\n "current_period_end": 1682244964,\n "current_period_start": 1679566564,\n "customer": "cus_NZuiEjjPZ6CP06",\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_NZv1jqWdZAlFeU",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679566564,\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": 4,\n "subscription": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MolBgAbmaEugrFTOiroBxMJ"\n },\n "latest_invoice": "in_1MolBgAbmaEugrFTDL0rDnV2",\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": 4,\n "schedule": null,\n "start_date": 1679566564,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_lBvTVGRgaINb8p message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:21:15] "POST /myclass/api/strip_update_subscription_qty/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 14:24:17.209614 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:24:17.211610 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:24:17.214611 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:24:17] "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_NZuiEjjPZ6CP06/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_NZuiEjjPZ6CP06/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1Mol8jAbmaEugrFTZg2P5ePQ",\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": "mysy demo",\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": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\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": 1679566381,\n "customer": "cus_NZuiEjjPZ6CP06",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_BsTv6yg9EPrS73 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:24:17] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 14:24:28.274362 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:24:28.277375 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:24:28] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 14:24:28.280372 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:24:28.284371 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:24:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:24:28] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 14:24:29.169833 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:24:29] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 14:24:30.868160 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:24:30.871183 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:24:30.874179 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:24:30] "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_NZuiEjjPZ6CP06/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_NZuiEjjPZ6CP06/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1Mol8jAbmaEugrFTZg2P5ePQ",\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": "mysy demo",\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": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\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": 1679566381,\n "customer": "cus_NZuiEjjPZ6CP06",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_NAS8UNfY4IJWxY message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:24:31] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 14:24:56.180819 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:24:56.182822 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:24:56.184818 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:24:56] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 14:24:56.190816 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:24:56] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:24:56] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 14:24:56.727795 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:24:56] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 14:24:59.351566 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:24:59.354094 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:24:59.357112 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:24: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_NZuiEjjPZ6CP06/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_NZuiEjjPZ6CP06/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1Mol8jAbmaEugrFTZg2P5ePQ",\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": "mysy demo",\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": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\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": 1679566381,\n "customer": "cus_NZuiEjjPZ6CP06",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_5sHJ8oV08xRJSy message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:24:59] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 14:25:34.532881 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:25:34.534883 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:25:34.539892 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:25: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_NZuiEjjPZ6CP06/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_NZuiEjjPZ6CP06/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1Mol8jAbmaEugrFTZg2P5ePQ",\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": "mysy demo",\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": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\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": 1679566381,\n "customer": "cus_NZuiEjjPZ6CP06",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_G0at0brtOvwAaG message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:25:34] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 14:25:37.798597 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:25:37.801599 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:25:37.803599 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:25:37] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 14:25:37.807596 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:25:37] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:25:37] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 14:25:38.327967 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:25:38] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 14:25:41.674760 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:25:41.677750 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 14:25:41.680754 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:25: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_NZuiEjjPZ6CP06/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_NZuiEjjPZ6CP06/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1Mol8jAbmaEugrFTZg2P5ePQ",\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": "mysy demo",\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": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\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": 1679566381,\n "customer": "cus_NZuiEjjPZ6CP06",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_NqgMMn2F8usmNj message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 14:25:41] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partners.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 2306659474256 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2306659474256 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 2306659474256 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2306659474256 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 2306659549776 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2306659549776 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf
+INFO:root:2023-03-23 14:32:59.203419 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-03-23 14:32:59.204206 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-03-23 14:32:59.204206 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-03-23 14:32:59.204206 : ++ FLASK PORT 5001 ++
+DEBUG:validate_email.updater:Local file is fresh enough (same ETag).
+DEBUG:filelock:Attempting to release lock 2306659549776 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2306659549776 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 2306660038096 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2306660038096 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 2306660038096 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 2306660038096 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\\partners.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 1653505662608 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1653505662608 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 1653505662608 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1653505662608 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 1653505662992 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1653505662992 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf
+INFO:root:2023-03-23 14:33:24.551973 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-03-23 14:33:24.551973 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-03-23 14:33:24.551973 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-03-23 14:33:24.551973 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 127-713-359
+DEBUG:validate_email.updater:Local file is fresh enough (same ETag).
+DEBUG:filelock:Attempting to release lock 1653505662992 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1653505662992 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 1653396337232 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1653396337232 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 1653396337232 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 1653396337232 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partners.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:filelock:Attempting to acquire lock 3032628484304 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3032628484304 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 3032628484304 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3032628484304 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 3032628560464 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3032628560464 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf
+INFO:root:2023-03-23 14:33:36.662177 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-03-23 14:33:36.662177 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-03-23 14:33:36.662177 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-03-23 14:33:36.662177 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 127-713-359
+DEBUG:validate_email.updater:Local file is fresh enough (same ETag).
+DEBUG:filelock:Attempting to release lock 3032628560464 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3032628560464 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Attempting to acquire lock 3032599446736 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3032599446736 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 3032599446736 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+DEBUG:filelock:Lock 3032599446736 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
+INFO:root:2023-03-23 15:14:43.117732 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 15:14:43.121732 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 15:14:43.123729 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:43] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:43] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:43] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 15:14:43.794262 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 15:14:43.796252 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:43] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 15:14:44.311993 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 15:14:44.315994 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:44] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 15:14:44.319561 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 15:14:44.324086 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 15:14:44.328098 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:44] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 15:14:44.331099 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:44] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 15:14:44.336099 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 15:14:44.341102 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:44] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 15:14:44.347096 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 15:14:44.352099 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:44] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 15:14:44.356110 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 15:14:44.360108 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:44] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 15:14:44.364109 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 15:14:44.368201 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:44] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 15:14:44.373200 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 15:14:44.376201 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:44] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 15:14:44.380206 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 15:14:44.385196 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:44] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-03-23 15:14:44.388203 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-03-23 15:14:44.391204 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:44] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [23/Mar/2023 15:14:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
diff --git a/Template/MySy_Create_PRO_account_tpl.html b/Template/MySy_Create_PRO_account_tpl.html
index 701e6a2..3969f83 100644
--- a/Template/MySy_Create_PRO_account_tpl.html
+++ b/Template/MySy_Create_PRO_account_tpl.html
@@ -65,7 +65,7 @@
+ style="background-color:#ffffff">
Bonjour {{ params.user_name }}
-
+
Vous avez fait une demande de création d'un compte
professionnel sur mysy-training.com.
- La sécurité de vos données
- est primordiale pour nous. Une fois que vous aurez
- activé votre compte vous allez recevoir une clé secrète nécessaire
- pour vous connecter.
+ Après l'activation de
+ votre compte, vous allez recevoir
+ une clé secrète
+ nécessaire pour la saisie et la modification de vos
+ modes de payement.
-
Pour activer votre compte,
+ Seules les personnes autorisées à utiliser vos
+ moyens de payement doivent connaitre cette clé.
+
+
+
+ Pour activer votre compte,
veuillez cliquer sur le lien ci-dessous.
@@ -107,18 +112,13 @@
-
- Important
-
- Pour vous connecter entant que professionnel sur le
- site mysy-training.com, la clé secrète et le mot de
- passe sont nécessaires.
+
+
+ style="font-size:12px;margin-top: 1rem; line-height: normal; margin-bottom: 1rem;">
Cordialement
MySy Training Technology
Contact : +337 69 20 39 45
@@ -162,7 +162,7 @@
Training 1 Cr du Havre, 75008 Paris ou par mail :
contact@mysy-training.com.
-
+
diff --git a/Template/MySy_account_pro_enabled_tpl.html b/Template/MySy_account_pro_enabled_tpl.html
index b65a6f0..50dae12 100644
--- a/Template/MySy_account_pro_enabled_tpl.html
+++ b/Template/MySy_account_pro_enabled_tpl.html
@@ -65,7 +65,7 @@
+ style="background-color:#ffffff">
@@ -84,10 +84,10 @@
Bonjour {{ params.user_name }}
-
+
Vous venez d'activer votre compte professionnel sur
- le moteur de recherche MySy-Training. Tout s'est
+ le site MySy-training.com Tout s'est
bien déroulé.
-
+
Vous pouvez dès à présent vous connecter à l'aide de
- votre email, mot de passe et votre clé secrète pour utiliser
- les services proposés par MySy.
+ votre email et votre mot de passe.
+ Conservez votre clé secrète
+ pour la gestion de vos modes de paiement.
+
- Votre clé secrète est : {{
- params.secrete }} url de connexion :
- https://www.mysy-training.com/PartnerLogin
+ Votre clé
+ secrète est : {{
+ params.secrete }}
+ Rendez-vous sur le site https://www.mysy-training.com/ pour vous connecter
+ style="font-size:12px;margin-top: 1rem; line-height: normal;margin-bottom: 1rem;">
Cordialement
MySy Training Technology
Contact : +337 69 20 39 45
@@ -161,7 +163,7 @@
Training 1 Cr du Havre, 75008 Paris ou par mail :
contact@mysy-training.com.
-
+
diff --git a/data_indexees.csv b/data_indexees.csv
index 604537a..5956781 100644
--- a/data_indexees.csv
+++ b/data_indexees.csv
@@ -1,3 +1,4 @@
,index,mots,occurence,moyenne,id_formation,source_field
-0,0,developpement,1,0.5,5Disc_0008,title
-1,1,personnel,1,0.5,5Disc_0008,title
+0,0,praticien,1,0.33,MYSY_Test_AR,title
+1,1,aromatherapie,1,0.33,MYSY_Test_AR,title
+2,2,integrative,1,0.33,MYSY_Test_AR,title
diff --git a/ela_output_test_file_pandas_2.txt b/ela_output_test_file_pandas_2.txt
index ecf34be..1533bd9 100644
--- a/ela_output_test_file_pandas_2.txt
+++ b/ela_output_test_file_pandas_2.txt
@@ -1,3 +1,4 @@
- mots occurence moyenne id_formation source_field
-0 developpement 1 0.5 5Disc_0008 title
-1 personnel 1 0.5 5Disc_0008 title
\ No newline at end of file
+ mots occurence moyenne id_formation source_field
+0 praticien 1 0.33 MYSY_Test_AR title
+1 aromatherapie 1 0.33 MYSY_Test_AR title
+2 integrative 1 0.33 MYSY_Test_AR title
\ No newline at end of file
diff --git a/lms_chamilo/mysy_lms.py b/lms_chamilo/mysy_lms.py
index ab09e65..182fbb7 100644
--- a/lms_chamilo/mysy_lms.py
+++ b/lms_chamilo/mysy_lms.py
@@ -166,39 +166,73 @@ def Create_MySy_LMS_User(diction):
for username, email_canonical in cur:
print(f"username: {username}, email_canonical : {email_canonical}")
"""
+ # Verification d'abord si le compte exite.
+ query_compte_exist = " Select count(*), user_id From user WHERE username = '"+username+"' "
+ print(" ### query_compte_exist = ", query_compte_exist)
+ query_compte_exist_exec = cur.execute(query_compte_exist)
- # insert information
- my_query = "INSERT INTO user SET id='"+str(new_lms_user_id)+"' , " \
- "user_id='"+str(new_lms_user_id)+"' , " \
- "lastname = '"+lastname+"', " \
- "firstname = '"+firstname+"', " \
- "username = '"+username+"', " \
- "salt = '"+str(salt)+"'," \
- " registration_date = '"+registration_date+"'," \
- " credentials_expired='0', " \
- "enabled='1', " \
- "expired='0', " \
- "created_at='" + str( registration_date) + "'," \
- " updated_at='" + str( registration_date) + "', " \
- " status = '1', " \
- "password = '"+str(hashed_pwd)+"', " \
- "locked = '0', " \
- "username_canonical = '"+username+"', " \
- " email_canonical = '"+email+"', " \
- "email = '"+email+"'," \
- " official_code = '"+official_code+"', " \
- "creator_id = '1', " \
- "auth_source = 'platform'," \
- "roles = 'a:0:{}', " \
- "language = 'french'," \
- "active = '1';"
+ query_compte_exist_exec = ""
+ query_compte_exist_exec_val = "0"
+ for query_compte_exist_exec in cur:
+ query_compte_exist_exec_val = query_compte_exist_exec[0]
+ new_lms_user_id = query_compte_exist_exec[1]
+ conn.commit()
+
+
+ if( int(mycommon.tryInt(query_compte_exist_exec_val)) > 0 ):
+ # Le compte existe, il faut donc faire une mise à jour
+ my_query = "UPDATE user SET salt = '" + str(salt) + "', credentials_expired='0', " \
+ "updated_at='" + str(registration_date) + " ', " \
+ "password = '" + str(
+ hashed_pwd) + "', " \
+ "enabled='1', " \
+ "expired='0', " \
+ "locked = '0', " \
+ "auth_source = 'platform'," \
+ "roles = 'a:0:{}', " \
+ "language = 'french'," \
+ "username_canonical = '" + username + "', " \
+ " email_canonical = '" + email + "', " \
+ "email = '" + email + "'," \
+ " official_code = '" + official_code + "', " \
+ "active = '1' WHERE username='" + str(
+ email) + "' ;"
+ else:
+ # Le compte n'existe pas, il faut le créer
+
+
+ # insert information
+ my_query = "INSERT INTO user SET id='"+str(new_lms_user_id)+"' , " \
+ "user_id='"+str(new_lms_user_id)+"' , " \
+ "lastname = '"+lastname+"', " \
+ "firstname = '"+firstname+"', " \
+ "username = '"+username+"', " \
+ "salt = '"+str(salt)+"'," \
+ " registration_date = '"+registration_date+"'," \
+ " credentials_expired='0', " \
+ "enabled='1', " \
+ "expired='0', " \
+ "created_at='" + str( registration_date) + "'," \
+ " updated_at='" + str( registration_date) + "', " \
+ " status = '1', " \
+ "password = '"+str(hashed_pwd)+"', " \
+ "locked = '0', " \
+ "username_canonical = '"+username+"', " \
+ " email_canonical = '"+email+"', " \
+ "email = '"+email+"'," \
+ " official_code = '"+official_code+"', " \
+ "creator_id = '1', " \
+ "auth_source = 'platform'," \
+ "roles = 'a:0:{}', " \
+ "language = 'french'," \
+ "active = '1';"
try:
- #print(" ### my_query = ", my_query)
+ print(" ### my_query = ", my_query)
#cur.execute("INSERT INTO employees (first_name,last_name) VALUES (?, ?)", ("Maria", "DB"))
cur.execute(my_query)
except mariadb.Error as e:
- print(f"Error: {e}")
+ #print(f"Error: {e}")
mycommon.myprint(" Impossible de créer l'utilisateur LMS "+str({e}))
return False, "Impossible de créer l'utilisateur LMS "+str({e}), False
@@ -218,7 +252,7 @@ def Create_MySy_LMS_User(diction):
new_dicton = {}
new_dicton['token'] = my_token
- new_dicton['lms_user_id'] = str(cur.lastrowid)
+ new_dicton['lms_user_id'] = str(new_lms_user_id)
new_dicton['mysy_pack'] = my_partner['pack_service']
new_dicton['mysy_nb_formation'] = my_partner['nb_formation']
@@ -243,7 +277,7 @@ def Create_MySy_LMS_User(diction):
)
- return True, " Creation du compte LMS OK. l'id = "+str(lastrowid), str(lastrowid)
+ return True, " Creation du compte LMS OK. l'id = "+str(new_lms_user_id), str(new_lms_user_id)
except Exception as e:
exc_type, exc_obj, exc_tb = sys.exc_info()
diff --git a/main.py b/main.py
index d767533..49e1e06 100644
--- a/main.py
+++ b/main.py
@@ -1579,6 +1579,18 @@ def removeLSaccount():
return jsonify(status=status, message=message)
+"""
+API de suppression du compte de Nicole"""
+@app.route('/myclass/api/removeNBaccount/', methods=['GET','POST'])
+@crossdomain(origin='*')
+def removeNBaccount():
+ # On recupere le corps (payload) de la requete
+ payload = request.form.to_dict()
+ print(" ### removeNBaccount payload = ", str(payload))
+ status, message = mycommon.removeNBaccount()
+ return jsonify(status=status, message=message)
+
+
"""
Pour des test, et seulement pour les test
cette fonction permet de mettre les formation du user "ls"
diff --git a/partners.py b/partners.py
index cb1d3cb..6e8547e 100644
--- a/partners.py
+++ b/partners.py
@@ -187,12 +187,12 @@ def add_partner_account(diction):
ret_val = coll_name.insert_one(mydata)
mail.send_partner_account_mail(ret_val.inserted_id, str(mydata['email']))
- return True, " Le partenaire a été créé"
+ return True, "Le compte utilisateur a été correctement créé. Vous allez recevoir un email avec les informations de connexion."
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, "Impossible de créer le partenaire"
+ return False, "Impossible de créer le compte utilisateur"
diff --git a/prj_common.py b/prj_common.py
index 9dc64c5..078bd0f 100644
--- a/prj_common.py
+++ b/prj_common.py
@@ -2272,6 +2272,23 @@ def removeLSaccount():
print(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno))
return False
+"""
+Suppression du compte de Nicole"""
+def removeNBaccount():
+ try:
+ coll = MYSY_GV.dbname["partnair_account"]
+ myquery = {"email": "nicole.beauchesne@hotmail.fr"}
+ x = coll.delete_many(myquery)
+ print(x.deleted_count, " documents deleted.")
+ return True, str(x.deleted_count) + " documents deleted."
+
+ except Exception as e:
+ exc_type, exc_obj, exc_tb = sys.exc_info()
+ print(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno))
+ return False
+
+
+
"""
Cette fonction verifier si une url est une image.
elle permet si besoin de verifier la taille de l'image