diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index a68544a..62c1345 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -1,11 +1,9 @@
-
+
-
-
@@ -98,7 +96,14 @@
1681505500999
-
+
+ 1681566348906
+
+
+
+ 1681566348906
+
+
@@ -117,6 +122,7 @@
-
+
+
\ No newline at end of file
diff --git a/Log/log_file.log b/Log/log_file.log
index 46deb31..2084d1c 100644
--- a/Log/log_file.log
+++ b/Log/log_file.log
@@ -1563824,3 +1563824,2053 @@ INFO:root:2023-04-15 15:45:23.492097 : ++ DBNAME Database(MongoClient(host=['loc
INFO:root:2023-04-15 15:45:23.492097 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 954-387-124
+INFO:root:2023-04-15 19:54:50.603900 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-04-15 19:54:50.604909 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-04-15 19:54:50.604909 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-04-15 19:54:50.604909 : ++ 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
+INFO:root:2023-04-15 19:54:59.835018 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-04-15 19:54:59.835018 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-04-15 19:54:59.835018 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-04-15 19:54:59.835018 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 138-504-518
+INFO:root:2023-04-15 19:55:28.291578 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 19:55:28.293594 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 19:55:28.295601 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:28] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:28] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:28] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 19:55:29.313174 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 19:55:29.315167 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:29] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 19:55:30.329095 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 19:55:30.334520 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 19:55:30.339811 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 19:55:30.344266 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 19:55:30.349259 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 19:55:30.356311 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 19:55:30.366309 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 19:55:30.373882 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 19:55:30.384331 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 19:55:30.392333 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 19:55:30.395331 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 19:55:30.403324 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 19:55:30.407329 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 19:55:30.415054 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 19:55:30.421180 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 19:55:30.424697 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 19:55:30.432769 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 19:55:30.438563 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 19:55:30.445135 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 19:55:30.452426 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 19:55:33.987560 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 19:55:34.880041 : partner_login Connexion partnair mysylaplumedepierrot@gmail.com : OK, Date : 2023-04-15 19:55:33.988758 , _id = 63e8f2745d4b4085b83f3aec
+INFO:root:2023-04-15 19:55:34.892092 : partner_login Connexion partener_token : OK , _id = 63e8f2c17b7f1fbbc5ee9419
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:34] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 19:55:35.019416 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 19:55:35.022420 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 19:55:35.026213 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:35] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 19:55:35.031265 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 19:55:35.037133 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:35] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:35] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:35] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 19:55:35.363228 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 19:55:35] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-04-15 19:58:56.253093 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-04-15 19:58:56.254093 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-04-15 19:58:56.254093 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-04-15 19:58:56.254093 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 138-504-518
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-04-15 19:59:34.855918 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-04-15 19:59:34.855918 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-04-15 19:59:34.855918 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-04-15 19:59:34.855918 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 138-504-518
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-04-15 20:01:04.726040 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-04-15 20:01:04.726040 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-04-15 20:01:04.727031 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-04-15 20:01:04.727031 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 138-504-518
+INFO:root:2023-04-15 20:01:54.613916 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:01:54.619200 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:01:54.622044 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:01:54.627057 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:01:54] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:01:54.638067 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:01:54] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:01:54] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:01:54] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:14:23.121604 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:14:23.126024 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:14:23.131666 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:14:23] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:14:23.137463 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:14:23.145471 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:14:23] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:14:23] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:14:23] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:14:24.227856 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:14:24] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:23:09.867839 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:23:09.872149 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:09] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:23:09.875620 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:23:09.879073 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:23:09.884617 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:09] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:09] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:23:10.617236 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:10] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:23:11.116536 : LMS_Get_Partner_Data -'mysy_lms_user_id' - Line : 1866
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:11] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:23:16.848389 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:23:16.852388 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:23:16.856374 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:16] "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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_REb7twuEbQNNDC message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:17] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:23:23.034327 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:23:23.036880 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:23:23.042455 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:23:23.045801 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:23] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:23] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_mgxwsp4iVXN6DK message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:23] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:23:23.405909 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:23:23.410925 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:23] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:23:27.418373 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:23:27.421455 : 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_1MagFcAbmaEugrFTtVSSQg3U
+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_1MagFcAbmaEugrFTtVSSQg3U response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MagFcAbmaEugrFTtVSSQg3U",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1676210996,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": 1679930201,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": "payment_failed"\n },\n "collection_method": "charge_automatically",\n "created": 1676210996,\n "currency": "eur",\n "current_period_end": 1681308596,\n "current_period_start": 1678630196,\n "customer": "cus_NLMwePQlYvgJeA",\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": 1679930201,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NLMz8iMYugPQgy",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1676210997,\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": 10,\n "subscription": "sub_1MagFcAbmaEugrFTtVSSQg3U",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MagFcAbmaEugrFTtVSSQg3U"\n },\n "latest_invoice": "in_1MkpeMAbmaEugrFTXE8N2fmJ",\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": 10,\n "schedule": null,\n "start_date": 1676210996,\n "status": "canceled",\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_yCiMiRXq4sw5kv message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MagFcAbmaEugrFTtVSSQg3U
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NLMz8iMYugPQgy&items[0][price]=&items[0][quantity]=1
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MagFcAbmaEugrFTtVSSQg3U response_code=400
+DEBUG:stripe:body='{\n "error": {\n "code": "parameter_invalid_empty",\n "doc_url": "https://stripe.com/docs/error-codes/parameter-invalid-empty",\n "message": "You passed an empty string for \'items[0][price]\'. We assume empty values are an attempt to unset a parameter; however \'items[0][price]\' cannot be unset. You should remove \'items[0][price]\' from your request or supply a non-empty value.",\n "param": "items[0][price]",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_AanGmSgjkbyHYs?t=1681583009",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_AanGmSgjkbyHYs message='Dashboard link for request'
+INFO:stripe:error_code=parameter_invalid_empty error_message="You passed an empty string for 'items[0][price]'. We assume empty values are an attempt to unset a parameter; however 'items[0][price]' cannot be unset. You should remove 'items[0][price]' from your request or supply a non-empty value." error_param=items[0][price] error_type=invalid_request_error message='Stripe API error received'
+INFO:root:2023-04-15 20:23:27.986767 : strip_update_subscription_plan -Request req_AanGmSgjkbyHYs: You passed an empty string for 'items[0][price]'. We assume empty values are an attempt to unset a parameter; however 'items[0][price]' cannot be unset. You should remove 'items[0][price]' from your request or supply a non-empty value. - ERRORRRR AT Line : 973
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:27] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:23:29.166588 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '10', 'date_update': '2023-04-15 20:23:29.139074'}
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:29] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:23:29.257736 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:29] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:23:35.545282 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:23:35.547783 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:23:35.553172 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:35] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:23:35.558186 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:23:35.565835 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:35] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:35] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:35] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:23:36.212612 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:36] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:23:40.387229 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:23:40.390845 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:40] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:23:40.395298 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:23:40.397076 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:23:40.403573 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:40] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:40] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:23:40.957497 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:23:40] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:24:11.353037 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:24:11.356071 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:24:11.359653 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:24: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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_gBxLyxwkRmrI01 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:24:11] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:24:13.934274 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:24:13.936832 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:24:13.942585 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:24:13.944596 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:24:13] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:24:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_z74zsij1RNV9iK message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:24:14] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:24:14.304330 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:24:14.309192 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:24:14] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:24:25.515446 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:24:25.519823 : 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_1MagFcAbmaEugrFTtVSSQg3U
+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_1MagFcAbmaEugrFTtVSSQg3U response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MagFcAbmaEugrFTtVSSQg3U",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1676210996,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": 1679930201,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": "payment_failed"\n },\n "collection_method": "charge_automatically",\n "created": 1676210996,\n "currency": "eur",\n "current_period_end": 1681308596,\n "current_period_start": 1678630196,\n "customer": "cus_NLMwePQlYvgJeA",\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": 1679930201,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NLMz8iMYugPQgy",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1676210997,\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": 10,\n "subscription": "sub_1MagFcAbmaEugrFTtVSSQg3U",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MagFcAbmaEugrFTtVSSQg3U"\n },\n "latest_invoice": "in_1MkpeMAbmaEugrFTXE8N2fmJ",\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": 10,\n "schedule": null,\n "start_date": 1676210996,\n "status": "canceled",\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_DzqjxqDWS5MCO3 message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MagFcAbmaEugrFTtVSSQg3U
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NLMz8iMYugPQgy&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=3
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MagFcAbmaEugrFTtVSSQg3U response_code=404
+DEBUG:stripe:body='{\n "error": {\n "message": "You cannot update a subscription that is `canceled` or `incomplete_expired`.",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_a6KFlzMRiZdsFQ?t=1681583067",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_a6KFlzMRiZdsFQ message='Dashboard link for request'
+INFO:stripe:error_code=None error_message='You cannot update a subscription that is `canceled` or `incomplete_expired`.' error_param=None error_type=invalid_request_error message='Stripe API error received'
+INFO:root:2023-04-15 20:24:26.083229 : strip_update_subscription_plan -Request req_a6KFlzMRiZdsFQ: You cannot update a subscription that is `canceled` or `incomplete_expired`. - ERRORRRR AT Line : 973
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:24:26] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 -
+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
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tLa plume de pierrot
\n\t\t\t\t\t2 place du test
\n\t\t\t\t\t75001 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_234000239\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: 15/04/2023 | \n\t\t\t\t\t\tDate échéance : 15/04/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_00vcM1\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\n\n'
+ dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_234000239.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\\billa\\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): 0xc1882860
+DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.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_234000239.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000239.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_234000239.pdf')
+INFO:root:2023-04-15 20:24:31.174079 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_234000239.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000239.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-04-15 20:24:31.176084 : Impression facture N° FACT_234000239 OK
+INFO:root:2023-04-15 20:24:31.212070 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '20', 'date_update': '2023-04-15 20:24:31.196073'}
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:24:31] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:24:31.389462 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:24:33] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:24:36.665296 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:24:36.667295 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:24:36.671147 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:24:36] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:24:36.685660 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:24:36.691805 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:24:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:24:36] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:24:36] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:24:37.375794 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:24:37] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-04-15 20:28:13.740453 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-04-15 20:28:13.740453 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-04-15 20:28:13.741450 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-04-15 20:28:13.741450 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 138-504-518
+INFO:root:2023-04-15 20:33:31.100087 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:33:31.103510 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:33:31.106397 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:33:31.109844 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:33:31] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:33:31] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:33:31.120446 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:33:31] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:33:31] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:33:31.835137 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:33:31] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:33:34.090301 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:33:34.092791 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:33:34.096984 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:33: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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_qw82kVqIVrWgAu message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:33:34] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:33:36.336350 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:33:36.339414 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:33:36] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:33:36] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:33:41.006169 : 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
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tLa plume de pierrot
\n\t\t\t\t\t2 place du test
\n\t\t\t\t\t75001 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_234000240\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: 15/04/2023 | \n\t\t\t\t\t\tDate échéance : 15/04/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_00RxKc\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\t5 | \n\t\t\t\t\t\t\t50 | \n\t\t\t\t\t\t\t250.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\t250.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\t50.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\t300.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\n\n'
+ dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_234000240.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\\billa\\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): 0xdd5fe2c0
+DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.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_234000240.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000240.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_234000240.pdf')
+INFO:root:2023-04-15 20:33:47.323187 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_234000240.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000240.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-04-15 20:33:47.324187 : Impression facture N° FACT_234000240 OK
+INFO:root:2023-04-15 20:33:47.342048 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '20', 'date_update': '2023-04-15 20:33:47.332171'}
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:33:47] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:33:47.559151 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:33:47.563178 : 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_1MagFcAbmaEugrFTtVSSQg3U
+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_1MagFcAbmaEugrFTtVSSQg3U response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MagFcAbmaEugrFTtVSSQg3U",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1676210996,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": 1679930201,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": "payment_failed"\n },\n "collection_method": "charge_automatically",\n "created": 1676210996,\n "currency": "eur",\n "current_period_end": 1681308596,\n "current_period_start": 1678630196,\n "customer": "cus_NLMwePQlYvgJeA",\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": 1679930201,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NLMz8iMYugPQgy",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1676210997,\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": 10,\n "subscription": "sub_1MagFcAbmaEugrFTtVSSQg3U",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MagFcAbmaEugrFTtVSSQg3U"\n },\n "latest_invoice": "in_1MkpeMAbmaEugrFTXE8N2fmJ",\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": 10,\n "schedule": null,\n "start_date": 1676210996,\n "status": "canceled",\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_QkxZC6eNrbPTbM message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MagFcAbmaEugrFTtVSSQg3U
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NLMz8iMYugPQgy&items[0][quantity]=5
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:33:48] "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_1MagFcAbmaEugrFTtVSSQg3U response_code=404
+DEBUG:stripe:body='{\n "error": {\n "message": "You cannot update a subscription that is `canceled` or `incomplete_expired`.",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_zzd2hGcPLBXolc?t=1681583629",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_zzd2hGcPLBXolc message='Dashboard link for request'
+INFO:stripe:error_code=None error_message='You cannot update a subscription that is `canceled` or `incomplete_expired`.' error_param=None error_type=invalid_request_error message='Stripe API error received'
+INFO:root:2023-04-15 20:33:48.132912 : strip_update_subscription_qty -Request req_zzd2hGcPLBXolc: You cannot update a subscription that is `canceled` or `incomplete_expired`. - ERRORRRR AT Line : 849
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:33:48] "POST /myclass/api/strip_update_subscription_qty/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:34:15.159576 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:34:15.161948 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:34:15.165816 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:34:15] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:34:15.170319 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:34:15.171389 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:34:15] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:34:15] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:34:15] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:34:15.703990 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:34:15] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:34:29.483309 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:34:29.487761 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:34:29.491498 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:34:29] "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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_VzG2kTVnl8jTBI message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:34:29] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:34:31.623672 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:34:31.627700 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:34:31.632219 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:34:31.635384 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:34:31] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:34:31] "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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_newv3NjKjlhAAS message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:34:32] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:34:32.090572 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:34:32.096847 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:34:32] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:34:38.264513 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:34:38.267735 : 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_1MagFcAbmaEugrFTtVSSQg3U
+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_1MagFcAbmaEugrFTtVSSQg3U response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MagFcAbmaEugrFTtVSSQg3U",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1676210996,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": 1679930201,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": "payment_failed"\n },\n "collection_method": "charge_automatically",\n "created": 1676210996,\n "currency": "eur",\n "current_period_end": 1681308596,\n "current_period_start": 1678630196,\n "customer": "cus_NLMwePQlYvgJeA",\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": 1679930201,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NLMz8iMYugPQgy",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1676210997,\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": 10,\n "subscription": "sub_1MagFcAbmaEugrFTtVSSQg3U",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MagFcAbmaEugrFTtVSSQg3U"\n },\n "latest_invoice": "in_1MkpeMAbmaEugrFTXE8N2fmJ",\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": 10,\n "schedule": null,\n "start_date": 1676210996,\n "status": "canceled",\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_5HudIeeCcS4fd0 message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MagFcAbmaEugrFTtVSSQg3U
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NLMz8iMYugPQgy&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=3
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MagFcAbmaEugrFTtVSSQg3U response_code=404
+DEBUG:stripe:body='{\n "error": {\n "message": "You cannot update a subscription that is `canceled` or `incomplete_expired`.",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_rnKN6OaTzQ6Nae?t=1681583680",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_rnKN6OaTzQ6Nae message='Dashboard link for request'
+INFO:stripe:error_code=None error_message='You cannot update a subscription that is `canceled` or `incomplete_expired`.' error_param=None error_type=invalid_request_error message='Stripe API error received'
+INFO:root:2023-04-15 20:34:38.856739 : strip_update_subscription_plan -Request req_rnKN6OaTzQ6Nae: You cannot update a subscription that is `canceled` or `incomplete_expired`. - ERRORRRR AT Line : 973
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:34:38] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 -
+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
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tLa plume de pierrot
\n\t\t\t\t\t2 place du test
\n\t\t\t\t\t75001 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_234000241\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: 15/04/2023 | \n\t\t\t\t\t\tDate échéance : 15/04/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_00Oohe\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\t3 | \n\t\t\t\t\t\t\t90 | \n\t\t\t\t\t\t\t270.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\t270.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\t54.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\t324.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\n\n'
+ dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_234000241.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\\billa\\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): 0xdda1ff10
+DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.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_234000241.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000241.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_234000241.pdf')
+INFO:root:2023-04-15 20:34:41.693376 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_234000241.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000241.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-04-15 20:34:41.694370 : Impression facture N° FACT_234000241 OK
+INFO:root:2023-04-15 20:34:41.717532 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '30', 'date_update': '2023-04-15 20:34:41.710352'}
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:34:41] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:34:41.878919 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:34:42] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:34:45.609449 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:34:45.617449 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:34:45.622123 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:34:45] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:34:45.826961 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:34:45.833141 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:34:45] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:34:45] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:34:45] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:34:47.184443 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:34:47] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:36:15.359897 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:36:15.363233 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:36:15.367242 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:36: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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_2RNr6Fskcm1xMt message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:36:15] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:36:21.147014 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:36:21.150357 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:36:21.155947 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:36:21] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:36:21.159950 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:36:21] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_KfksrdJiiwtGrn message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:36:21] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:36:21.536421 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:36:21.542519 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:36:21] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:40:27.555355 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:40:27.557351 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:40:27.562889 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:40:27.562889 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:40:27] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:40:27] "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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_34aztKBdSn96eQ message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:40:27] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:40:27.945641 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:40:27.950099 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:40:27] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:40:52.106813 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:40:52.108905 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:40:52.115158 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:40:52.115158 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:40:52] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:40:52] "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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_DWchmmTeGXrwPc message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:40:52] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:40:52.439066 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:40:52.443620 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:40:52] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:42:02.013855 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:42:02.018139 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42:02] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:42:02.023655 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:42:02.025677 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:42:02.029479 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42:02] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42:02] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42:02] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:42:02.277171 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42:02] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:42:24.411974 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42:24] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:42:24.420505 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:42:24.425352 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:42:24.430156 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:42:24.434663 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42:24] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42:24] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42:24] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:42:25.671754 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42:25] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:42:34.301224 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:42:34.304616 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:42:34.310167 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42: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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Y9gRlF6BfMSIOb message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42:34] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:42:37.081721 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:42:37.085454 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:42:37.089383 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:42:37.092397 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42:37] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42:37] "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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_EOmOk11UTiYNMP message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42:37] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:42:37.455911 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:42:37.460951 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42:37] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:42:44.127618 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:42:44.130463 : 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_1MagFcAbmaEugrFTtVSSQg3U
+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_1MagFcAbmaEugrFTtVSSQg3U response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MagFcAbmaEugrFTtVSSQg3U",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1676210996,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": 1679930201,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": "payment_failed"\n },\n "collection_method": "charge_automatically",\n "created": 1676210996,\n "currency": "eur",\n "current_period_end": 1681308596,\n "current_period_start": 1678630196,\n "customer": "cus_NLMwePQlYvgJeA",\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": 1679930201,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NLMz8iMYugPQgy",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1676210997,\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": 10,\n "subscription": "sub_1MagFcAbmaEugrFTtVSSQg3U",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MagFcAbmaEugrFTtVSSQg3U"\n },\n "latest_invoice": "in_1MkpeMAbmaEugrFTXE8N2fmJ",\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": 10,\n "schedule": null,\n "start_date": 1676210996,\n "status": "canceled",\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_qXPn4g0fqMjxw9 message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MagFcAbmaEugrFTtVSSQg3U
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NLMz8iMYugPQgy&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=2
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MagFcAbmaEugrFTtVSSQg3U response_code=404
+DEBUG:stripe:body='{\n "error": {\n "message": "You cannot update a subscription that is `canceled` or `incomplete_expired`.",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_cVzy0g8yM5jPby?t=1681584166",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_cVzy0g8yM5jPby message='Dashboard link for request'
+INFO:stripe:error_code=None error_message='You cannot update a subscription that is `canceled` or `incomplete_expired`.' error_param=None error_type=invalid_request_error message='Stripe API error received'
+INFO:root:2023-04-15 20:42:44.727049 : strip_update_subscription_plan -Request req_cVzy0g8yM5jPby: You cannot update a subscription that is `canceled` or `incomplete_expired`. - ERRORRRR AT Line : 973
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42:44] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 -
+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
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tLa plume de pierrot
\n\t\t\t\t\t2 place du test
\n\t\t\t\t\t75001 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_234000242\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: 15/04/2023 | \n\t\t\t\t\t\tDate échéance : 15/04/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_00fu7J\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\t2 | \n\t\t\t\t\t\t\t50 | \n\t\t\t\t\t\t\t100.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\t100.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\t20.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\t120.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\n\n'
+ dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_234000242.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\\billa\\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): 0xdd537ee0
+DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.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_234000242.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000242.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_234000242.pdf')
+INFO:root:2023-04-15 20:42:51.152149 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_234000242.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000242.pdf EST OKKKK
+INFO:paramiko.transport.sftp:[chan 0] sftp session closed.
+DEBUG:paramiko.transport:[chan 0] EOF sent (0)
+INFO:root:2023-04-15 20:42:51.153151 : Impression facture N° FACT_234000242 OK
+DEBUG:paramiko.transport:EOF in transport thread
+INFO:root:2023-04-15 20:42:51.166584 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '20', 'date_update': '2023-04-15 20:42:51.160584'}
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42:51] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:42:51.322068 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42:52] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:42:54.590578 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:42:54.593578 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42:54] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:42:54.599419 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:42:54.603954 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 20:42:54.609967 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42:54] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42:54] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42:54] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 20:42:55.189416 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 20:42:55] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:00:57.778968 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:00:57.782779 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:00:57.786310 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:00:57] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:00:57.791401 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:00:57.795421 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:00:57] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:00:57] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:00:57] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:00:58.425512 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:00:58] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:00:59.586697 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:00:59.589331 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card
+INFO:root:2023-04-15 21:00:59.595370 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:00:59] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_DBONQQkenN1Hl6 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:00:59] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:01:02.423474 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:01:02.426510 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:01:02.430534 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:01:02] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:01:02.435111 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:01:02] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_PwoGv3xnCnALRj message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:01:02] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:01:02.798906 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:01:02.804261 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:01:02] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:01:08.770086 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:01:08.773871 : 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_1MagFcAbmaEugrFTtVSSQg3U
+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_1MagFcAbmaEugrFTtVSSQg3U response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MagFcAbmaEugrFTtVSSQg3U",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1676210996,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": 1679930201,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": "payment_failed"\n },\n "collection_method": "charge_automatically",\n "created": 1676210996,\n "currency": "eur",\n "current_period_end": 1681308596,\n "current_period_start": 1678630196,\n "customer": "cus_NLMwePQlYvgJeA",\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": 1679930201,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NLMz8iMYugPQgy",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1676210997,\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": 10,\n "subscription": "sub_1MagFcAbmaEugrFTtVSSQg3U",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MagFcAbmaEugrFTtVSSQg3U"\n },\n "latest_invoice": "in_1MkpeMAbmaEugrFTXE8N2fmJ",\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": 10,\n "schedule": null,\n "start_date": 1676210996,\n "status": "canceled",\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_RCGRZ2IyilbOPM message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MagFcAbmaEugrFTtVSSQg3U
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NLMz8iMYugPQgy&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=1
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MagFcAbmaEugrFTtVSSQg3U response_code=404
+DEBUG:stripe:body='{\n "error": {\n "message": "You cannot update a subscription that is `canceled` or `incomplete_expired`.",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_5PJmmQhEZuatkn?t=1681585271",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_5PJmmQhEZuatkn message='Dashboard link for request'
+INFO:stripe:error_code=None error_message='You cannot update a subscription that is `canceled` or `incomplete_expired`.' error_param=None error_type=invalid_request_error message='Stripe API error received'
+INFO:root:2023-04-15 21:01:09.522531 : strip_update_subscription_plan -Request req_5PJmmQhEZuatkn: You cannot update a subscription that is `canceled` or `incomplete_expired`. - ERRORRRR AT Line : 973
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:01:09] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 -
+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
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tLa plume de pierrot
\n\t\t\t\t\t2 place du test
\n\t\t\t\t\t75001 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_234000243\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: 15/04/2023 | \n\t\t\t\t\t\tDate échéance : 15/04/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_00vqFW\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\t1 | \n\t\t\t\t\t\t\t90 | \n\t\t\t\t\t\t\t90.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\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\tTVA 20% : | \n\t\t\t\t\t18.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\t108.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\n\n'
+ dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_234000243.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\\billa\\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): 0xdd5909a0
+DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.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_234000243.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000243.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_234000243.pdf')
+INFO:root:2023-04-15 21:01:14.977973 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_234000243.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000243.pdf EST OKKKK
+INFO:paramiko.transport.sftp:[chan 0] sftp session closed.
+DEBUG:paramiko.transport:[chan 0] EOF sent (0)
+INFO:root:2023-04-15 21:01:14.977973 : Impression facture N° FACT_234000243 OK
+DEBUG:paramiko.transport:EOF in transport thread
+INFO:root:2023-04-15 21:01:14.992498 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '30', 'date_update': '2023-04-15 21:01:14.986709'}
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:01:14] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:01:15.075816 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:01:16] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:01:20.420570 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:01:20.422583 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:01:20.426780 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:01:20] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:01:20.431801 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:01:20.437210 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:01:20] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:01:20] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:01:20] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:01:20.956006 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:01:20] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:01:23.381537 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:01:23.384551 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:01:23.388098 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:01:23] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_GNsPCfQLErd9i9 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:01:23] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:01:26.216595 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:01:26.219643 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:01:26.224319 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:01:26] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:01:26.229359 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:01:26] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_SQ2zmaCVPMmDdk message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:01:26] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:01:26.603131 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:01:26.609269 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:01:26] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:08:42.255038 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:08:42.257524 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:08:42.262536 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:08:42.264548 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:08:42] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:08:42] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_CyafUuXhAMPMsD message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:08:42] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:08:42.605814 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:08:42.610353 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:08:42] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:11:52.549581 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:11:52.551037 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:11:52.553245 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:11:52.561014 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:11:52] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:11:52.569300 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:11:52] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:11:52] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:11:52] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:11:53.123144 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:11:53] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:15:13.251770 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:15:13.255261 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:15:13.258277 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:15:13] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:15:13.261267 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:15:13.269273 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:15:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:15:13] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:15:13] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:17:29.230402 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:17:29.233784 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:17:29.237042 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:17:29] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:17:29.241235 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:17:29.246925 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:17:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:17:29] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:17:29] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:17:29.833071 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:17:29] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:17:32.991248 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:17:32.994259 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:17:32.998857 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:17: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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_wjgtCszrKXeXfs message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:17:33] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:18:10.865238 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:18:10.871554 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:18:10] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:18:10.877553 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:18:10.881191 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:18:10.885794 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:18:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:18:10] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:18:10] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:18:10.940972 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:18:10] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:18:14.068162 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:18:14.071181 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:18:14.076185 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:18:14] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:18:14.081701 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:18:14.087445 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:18:14] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:18:14] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:18:14] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:18:14.666815 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:18:14] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:18:17.792837 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:18:17.796689 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:18:17.801953 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:18: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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_dJpyQSNnnF5Zqm message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:18:18] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:18:32.035490 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:18:32.038703 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:18:32.044789 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:18:32] "POST /myclass/api/get_cust_prices_by_partner/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:18:32] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:18:32] "POST /myclass/api/get_linked_customer_to_partner/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:18:33.361744 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:18:33.366160 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:18:33.371537 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:18: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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_i3g1IBoK7jD7VR message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:18:33] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:19:45.217639 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:19:45.223678 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:19:45] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:19:45.229306 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:19:45.235311 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:19:45.242481 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:19:45] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:19:45] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:19:45] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:19:45.806488 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:19:45] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:19:47.843439 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:19:47.847680 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:19:47.854202 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:19:47] "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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_cRfKCHjssEV3x7 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:19:48] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:21:44.228074 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:21:44.233251 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:21:44.236260 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:21: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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_MVepWN8qWsA6fx message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:21:44] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:22:00.956163 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:22:00.960696 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:22:00.966893 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:22:00] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:22:00.970888 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:22:00.976892 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:22:00] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:22:00] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:22:00] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:22:01.544134 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:22:01] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:22:03.222464 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:22:03.227597 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:22:03.232023 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:22:03] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_mYQonQkvCpizUr message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:22:03] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:22:09.250321 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:22:09.254194 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:22:09.258215 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:22:09.262216 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:22:09] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:22:09] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_wAWf7Hobj7X6ZO message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:22:09] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:22:09.606841 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:22:09.612739 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:22:09] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:23:37.303305 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:23:37.310476 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:23:37.316482 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:23: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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_rXwqecOstaypAG message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:23:37] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:24:26.546292 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:24:26.555684 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:24:26.559318 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:24:26.564762 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:24:26] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:24:26] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_pmkXUrQy26gJS0 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:24:26] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:24:26.923434 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:24:26.928463 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:24:26] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:24:32.160629 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:24:32.167642 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:24:32] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:24:32.173864 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:24:32.179039 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:24:32.188456 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:24:32] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:24:32] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:24:32] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:24:32.792494 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:24:32] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:24:34.196554 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:24:34.200729 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:24:34.207315 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:24: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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_bty1JmfgF3lQif message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:24:34] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:24:36.294875 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:24:36.302944 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:24:36.306317 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:24:36.311051 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:24:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:24:36] "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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_uz83U2VSwndAkm message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:24:36] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:24:36.649518 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:24:36.656069 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:24:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:26:10.358312 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:26:10.367087 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:26:10] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:26:10.374102 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:26:10.377105 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:26:10.382104 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:26:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:26:10] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:26:10] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:26:11.041802 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:26:11] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:26:12.036389 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:26:12.039916 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:26:12.043989 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:26:12] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_S8rbvzMCmMvBRJ message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:26:12] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:26:15.199773 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:26:15.202784 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:26:15.206784 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:26:15] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:26:15.212783 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:26: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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Gp2exmbYHEYbMC message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:26:15] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:26:15.543886 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:26:15.548784 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:26:15] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:26:21.412366 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:26:21.417009 : 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_1MagFcAbmaEugrFTtVSSQg3U
+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_1MagFcAbmaEugrFTtVSSQg3U response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MagFcAbmaEugrFTtVSSQg3U",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1676210996,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": 1679930201,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": "payment_failed"\n },\n "collection_method": "charge_automatically",\n "created": 1676210996,\n "currency": "eur",\n "current_period_end": 1681308596,\n "current_period_start": 1678630196,\n "customer": "cus_NLMwePQlYvgJeA",\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": 1679930201,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NLMz8iMYugPQgy",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1676210997,\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": 10,\n "subscription": "sub_1MagFcAbmaEugrFTtVSSQg3U",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MagFcAbmaEugrFTtVSSQg3U"\n },\n "latest_invoice": "in_1MkpeMAbmaEugrFTXE8N2fmJ",\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": 10,\n "schedule": null,\n "start_date": 1676210996,\n "status": "canceled",\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_GO1B2Nt1QA41dN message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MagFcAbmaEugrFTtVSSQg3U
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NLMz8iMYugPQgy&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=1
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MagFcAbmaEugrFTtVSSQg3U response_code=404
+DEBUG:stripe:body='{\n "error": {\n "message": "You cannot update a subscription that is `canceled` or `incomplete_expired`.",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_dDozDosb5zqpup?t=1681586783",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_dDozDosb5zqpup message='Dashboard link for request'
+INFO:stripe:error_code=None error_message='You cannot update a subscription that is `canceled` or `incomplete_expired`.' error_param=None error_type=invalid_request_error message='Stripe API error received'
+INFO:root:2023-04-15 21:26:21.946904 : strip_update_subscription_plan -Request req_dDozDosb5zqpup: You cannot update a subscription that is `canceled` or `incomplete_expired`. - ERRORRRR AT Line : 973
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:26:21] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 -
+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
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tLa plume de pierrot
\n\t\t\t\t\t2 place du test
\n\t\t\t\t\t75001 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_234000244\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: 15/04/2023 | \n\t\t\t\t\t\tDate échéance : 15/04/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_00l36A\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\t1 | \n\t\t\t\t\t\t\t50 | \n\t\t\t\t\t\t\t50.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\t50.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\t10.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\t60.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\n\n'
+ dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_234000244.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\\billa\\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): 0xdda0d480
+DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.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_234000244.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000244.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_234000244.pdf')
+INFO:root:2023-04-15 21:26:27.717741 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_234000244.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000244.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-04-15 21:26:27.718740 : Impression facture N° FACT_234000244 OK
+INFO:root:2023-04-15 21:26:27.733084 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '20', 'date_update': '2023-04-15 21:26:27.726830'}
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:26:27] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:26:27.846680 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:26:28] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:26:31.609953 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:26:31.620291 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:26:31] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:26:31.627222 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:26:31.629446 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:26:31.637327 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:26:31] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:26:31] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:26:31] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:26:32.181636 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:26:32] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:27:11.866334 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:27:11.869541 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:27:11.874060 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:27: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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_TOAFE9ZDW4kHHq message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:27:12] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:27:14.924624 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:27:14.927753 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:27:14.929919 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:27:14.934625 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:27:14] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:27:14] "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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_J05TJFKcCZKAw4 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:27:15] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:27:15.286028 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:27:15.291620 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:27:15] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:27:32.283780 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:27:32.286661 : 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_1MagFcAbmaEugrFTtVSSQg3U
+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_1MagFcAbmaEugrFTtVSSQg3U response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MagFcAbmaEugrFTtVSSQg3U",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1676210996,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": 1679930201,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": "payment_failed"\n },\n "collection_method": "charge_automatically",\n "created": 1676210996,\n "currency": "eur",\n "current_period_end": 1681308596,\n "current_period_start": 1678630196,\n "customer": "cus_NLMwePQlYvgJeA",\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": 1679930201,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NLMz8iMYugPQgy",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1676210997,\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": 10,\n "subscription": "sub_1MagFcAbmaEugrFTtVSSQg3U",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MagFcAbmaEugrFTtVSSQg3U"\n },\n "latest_invoice": "in_1MkpeMAbmaEugrFTXE8N2fmJ",\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": 10,\n "schedule": null,\n "start_date": 1676210996,\n "status": "canceled",\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_ROcvuKu30Ctozs message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MagFcAbmaEugrFTtVSSQg3U
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NLMz8iMYugPQgy&items[0][price]=&items[0][quantity]=1
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MagFcAbmaEugrFTtVSSQg3U response_code=400
+DEBUG:stripe:body='{\n "error": {\n "code": "parameter_invalid_empty",\n "doc_url": "https://stripe.com/docs/error-codes/parameter-invalid-empty",\n "message": "You passed an empty string for \'items[0][price]\'. We assume empty values are an attempt to unset a parameter; however \'items[0][price]\' cannot be unset. You should remove \'items[0][price]\' from your request or supply a non-empty value.",\n "param": "items[0][price]",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_7TnnD3c2CsJL7f?t=1681586854",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_7TnnD3c2CsJL7f message='Dashboard link for request'
+INFO:stripe:error_code=parameter_invalid_empty error_message="You passed an empty string for 'items[0][price]'. We assume empty values are an attempt to unset a parameter; however 'items[0][price]' cannot be unset. You should remove 'items[0][price]' from your request or supply a non-empty value." error_param=items[0][price] error_type=invalid_request_error message='Stripe API error received'
+INFO:root:2023-04-15 21:27:32.884887 : strip_update_subscription_plan -Request req_7TnnD3c2CsJL7f: You passed an empty string for 'items[0][price]'. We assume empty values are an attempt to unset a parameter; however 'items[0][price]' cannot be unset. You should remove 'items[0][price]' from your request or supply a non-empty value. - ERRORRRR AT Line : 973
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:27:32] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:27:33.316185 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '10', 'date_update': '2023-04-15 21:27:33.308570'}
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:27:33] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:27:33.457146 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:27:33] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:27:44.518538 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:27:44.521762 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:27:44] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:27:44.527641 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:27:44.529640 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:27:44.534643 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:27:44] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:27:44] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:27:44] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:27:45.109176 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:27:45] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:27:48.597825 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:27:48.607611 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:27:48] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:27:48.612088 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:27:48.615419 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:27:48.619401 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:27:48] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:27:48] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:27:48] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:27:49.136581 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:27:49] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:28:48.272410 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:28:48.274951 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:28:48.279984 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:28: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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_YMfRjgAGfa7D4H message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:28:48] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:28:50.466734 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:28:50.469853 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:28:50.475202 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:28:50.479178 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:28:50] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:28:50] "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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_gQeZKKKDF6MU5v message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:28:50] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:28:50.813366 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:28:50.819332 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:28:50] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:28:55.087214 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:28:55.091498 : 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_1MagFcAbmaEugrFTtVSSQg3U
+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_1MagFcAbmaEugrFTtVSSQg3U response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MagFcAbmaEugrFTtVSSQg3U",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1676210996,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": 1679930201,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": "payment_failed"\n },\n "collection_method": "charge_automatically",\n "created": 1676210996,\n "currency": "eur",\n "current_period_end": 1681308596,\n "current_period_start": 1678630196,\n "customer": "cus_NLMwePQlYvgJeA",\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": 1679930201,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NLMz8iMYugPQgy",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1676210997,\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": 10,\n "subscription": "sub_1MagFcAbmaEugrFTtVSSQg3U",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MagFcAbmaEugrFTtVSSQg3U"\n },\n "latest_invoice": "in_1MkpeMAbmaEugrFTXE8N2fmJ",\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": 10,\n "schedule": null,\n "start_date": 1676210996,\n "status": "canceled",\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_YiTSSQHiNViEx5 message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MagFcAbmaEugrFTtVSSQg3U
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NLMz8iMYugPQgy&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=2
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MagFcAbmaEugrFTtVSSQg3U response_code=404
+DEBUG:stripe:body='{\n "error": {\n "message": "You cannot update a subscription that is `canceled` or `incomplete_expired`.",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_rOTbSp7wslKvNR?t=1681586937",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_rOTbSp7wslKvNR message='Dashboard link for request'
+INFO:stripe:error_code=None error_message='You cannot update a subscription that is `canceled` or `incomplete_expired`.' error_param=None error_type=invalid_request_error message='Stripe API error received'
+INFO:root:2023-04-15 21:28:55.680224 : strip_update_subscription_plan -Request req_rOTbSp7wslKvNR: You cannot update a subscription that is `canceled` or `incomplete_expired`. - ERRORRRR AT Line : 973
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:28:55] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 -
+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
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tLa plume de pierrot
\n\t\t\t\t\t2 place du test
\n\t\t\t\t\t75001 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_234000245\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: 15/04/2023 | \n\t\t\t\t\t\tDate échéance : 15/04/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_001wci\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\t2 | \n\t\t\t\t\t\t\t50 | \n\t\t\t\t\t\t\t100.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\t100.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\t20.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\t120.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\n\n'
+ dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_234000245.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\\billa\\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): 0xdda0ca30
+DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.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_234000245.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000245.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_234000245.pdf')
+INFO:root:2023-04-15 21:28:59.366457 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_234000245.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000245.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-04-15 21:28:59.367470 : Impression facture N° FACT_234000245 OK
+INFO:root:2023-04-15 21:28:59.383501 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '20', 'date_update': '2023-04-15 21:28:59.376489'}
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:28:59] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:28:59.466810 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:28:59] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:29:02.399266 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:29:02.402770 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:29:02] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:29:02.407454 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:29:02.411045 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:29:02.417383 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:29:02] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:29:02] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:29:02] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:29:02.998271 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:29:03] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-04-15 21:33:26.779310 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-04-15 21:33:26.780359 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-04-15 21:33:26.780359 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-04-15 21:33:26.780359 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 138-504-518
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-04-15 21:33:38.032551 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-04-15 21:33:38.033557 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-04-15 21:33:38.033557 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-04-15 21:33:38.033557 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 138-504-518
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-04-15 21:34:25.763130 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-04-15 21:34:25.764442 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-04-15 21:34:25.764442 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-04-15 21:34:25.764442 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 138-504-518
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-04-15 21:34:48.056325 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-04-15 21:34:48.057329 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-04-15 21:34:48.057329 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-04-15 21:34:48.057329 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 138-504-518
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-04-15 21:35:00.611987 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-04-15 21:35:00.611987 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-04-15 21:35:00.611987 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-04-15 21:35:00.611987 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 138-504-518
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-04-15 21:36:48.558837 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-04-15 21:36:48.558837 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-04-15 21:36:48.558837 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-04-15 21:36:48.558837 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 138-504-518
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-04-15 21:37:35.687555 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-04-15 21:37:35.687555 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-04-15 21:37:35.687555 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-04-15 21:37:35.687555 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 138-504-518
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-04-15 21:39:33.658885 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-04-15 21:39:33.658885 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-04-15 21:39:33.658885 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-04-15 21:39:33.658885 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 138-504-518
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-04-15 21:40:09.004575 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-04-15 21:40:09.004575 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-04-15 21:40:09.004575 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-04-15 21:40:09.004575 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 138-504-518
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-04-15 21:41:18.006808 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-04-15 21:41:18.006808 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-04-15 21:41:18.006808 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-04-15 21:41:18.006808 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 138-504-518
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-04-15 21:43:12.890900 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-04-15 21:43:12.890900 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-04-15 21:43:12.890900 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-04-15 21:43:12.890900 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 138-504-518
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-04-15 21:43:33.811386 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-04-15 21:43:33.811386 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-04-15 21:43:33.811386 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-04-15 21:43:33.811386 : ++ FLASK PORT 5001 ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 138-504-518
+INFO:root:2023-04-15 21:43:36.582807 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:43:36.586342 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:43:36.587651 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:43:36.590974 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:43:36] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:43:36.603983 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:43:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:43:36] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:43:36] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:43:37.444459 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:43:37] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:43:47.149117 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:43:47.151701 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:43:47.156207 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:43:47] "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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_vkzKe0kGM5x1xP message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:43:47] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:43:51.680392 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:43:51.683883 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:43:51.687586 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:43:51] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:43:51.694198 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:43:51] "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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_ujtKBD4rH59K97 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:43:51] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:43:52.046031 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:43:52.051306 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:43:52] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:44:01.164829 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:44:01.168028 : 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_1MagFcAbmaEugrFTtVSSQg3U
+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_1MagFcAbmaEugrFTtVSSQg3U response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MagFcAbmaEugrFTtVSSQg3U",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1676210996,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": 1679930201,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": "payment_failed"\n },\n "collection_method": "charge_automatically",\n "created": 1676210996,\n "currency": "eur",\n "current_period_end": 1681308596,\n "current_period_start": 1678630196,\n "customer": "cus_NLMwePQlYvgJeA",\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": 1679930201,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NLMz8iMYugPQgy",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1676210997,\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": 10,\n "subscription": "sub_1MagFcAbmaEugrFTtVSSQg3U",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MagFcAbmaEugrFTtVSSQg3U"\n },\n "latest_invoice": "in_1MkpeMAbmaEugrFTXE8N2fmJ",\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": 10,\n "schedule": null,\n "start_date": 1676210996,\n "status": "canceled",\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_UoGBVNXpDOkxna message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MagFcAbmaEugrFTtVSSQg3U
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NLMz8iMYugPQgy&items[0][price]=&items[0][quantity]=1
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MagFcAbmaEugrFTtVSSQg3U response_code=400
+DEBUG:stripe:body='{\n "error": {\n "code": "parameter_invalid_empty",\n "doc_url": "https://stripe.com/docs/error-codes/parameter-invalid-empty",\n "message": "You passed an empty string for \'items[0][price]\'. We assume empty values are an attempt to unset a parameter; however \'items[0][price]\' cannot be unset. You should remove \'items[0][price]\' from your request or supply a non-empty value.",\n "param": "items[0][price]",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_MsBu5saIwPvcwm?t=1681587843",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_MsBu5saIwPvcwm message='Dashboard link for request'
+INFO:stripe:error_code=parameter_invalid_empty error_message="You passed an empty string for 'items[0][price]'. We assume empty values are an attempt to unset a parameter; however 'items[0][price]' cannot be unset. You should remove 'items[0][price]' from your request or supply a non-empty value." error_param=items[0][price] error_type=invalid_request_error message='Stripe API error received'
+INFO:root:2023-04-15 21:44:02.495120 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '10', 'date_update': '2023-04-15 21:44:02.243412'}
+INFO:root:2023-04-15 21:44:02.496113 : strip_update_subscription_plan -Request req_MsBu5saIwPvcwm: You passed an empty string for 'items[0][price]'. We assume empty values are an attempt to unset a parameter; however 'items[0][price]' cannot be unset. You should remove 'items[0][price]' from your request or supply a non-empty value. - ERRORRRR AT Line : 973
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:44:02] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:44:02] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:44:02.640453 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:44:02] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:44:09.654588 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:44:09.657958 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:44:09] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:44:09.661730 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:44:09.665987 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:44:09.673021 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:44:09] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:44:09] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:44:09] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:44:10.436349 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:44:10] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:44:44.644209 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:44:44.646220 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:44:44.651472 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NLMwePQlYvgJeA/payment_methods?type=card
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:44:44] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_rO4oog9MXpp9AB message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:44:44] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:44:47.067103 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:44:47.070799 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:44:47.073818 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:44:47.078817 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:44:47] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:44:47] "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_NLMwePQlYvgJeA/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_NLMwePQlYvgJeA/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MagEkAbmaEugrFT5drJGGgS",\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": "la plume de pierrot",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1676210942,\n "customer": "cus_NLMwePQlYvgJeA",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NLMwePQlYvgJeA/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_aZW2qDoSRiIbB6 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:44:47] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:44:47.431546 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:44:47.435617 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:44:47] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:44:55.214569 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:44:55.220082 : 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_1MagFcAbmaEugrFTtVSSQg3U
+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_1MagFcAbmaEugrFTtVSSQg3U response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1MagFcAbmaEugrFTtVSSQg3U",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1676210996,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": 1679930201,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": "payment_failed"\n },\n "collection_method": "charge_automatically",\n "created": 1676210996,\n "currency": "eur",\n "current_period_end": 1681308596,\n "current_period_start": 1678630196,\n "customer": "cus_NLMwePQlYvgJeA",\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": 1679930201,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NLMz8iMYugPQgy",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1676210997,\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": 10,\n "subscription": "sub_1MagFcAbmaEugrFTtVSSQg3U",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MagFcAbmaEugrFTtVSSQg3U"\n },\n "latest_invoice": "in_1MkpeMAbmaEugrFTXE8N2fmJ",\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": 10,\n "schedule": null,\n "start_date": 1676210996,\n "status": "canceled",\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_wp6bCORTfofcvg message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MagFcAbmaEugrFTtVSSQg3U
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NLMz8iMYugPQgy&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=2
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MagFcAbmaEugrFTtVSSQg3U response_code=404
+DEBUG:stripe:body='{\n "error": {\n "message": "You cannot update a subscription that is `canceled` or `incomplete_expired`.",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_C2e3PhCsLCMNQt?t=1681587897",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_C2e3PhCsLCMNQt message='Dashboard link for request'
+INFO:stripe:error_code=None error_message='You cannot update a subscription that is `canceled` or `incomplete_expired`.' error_param=None error_type=invalid_request_error message='Stripe API error received'
+INFO:root:2023-04-15 21:44:55.782053 : strip_update_subscription_plan -Request req_C2e3PhCsLCMNQt: You cannot update a subscription that is `canceled` or `incomplete_expired`. - ERRORRRR AT Line : 973
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:44:55] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 -
+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
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tLa plume de pierrot
\n\t\t\t\t\t2 place du test
\n\t\t\t\t\t75001 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_234000246\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: 15/04/2023 | \n\t\t\t\t\t\tDate échéance : 15/04/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_00bC89\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\t2 | \n\t\t\t\t\t\t\t50 | \n\t\t\t\t\t\t\t100.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\t100.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\t20.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\t120.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\n\n'
+ dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_234000246.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\\billa\\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): 0xb2c56080
+DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.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_234000246.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000246.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_234000246.pdf')
+INFO:root:2023-04-15 21:45:00.532422 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_234000246.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000246.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-04-15 21:45:00.533425 : Impression facture N° FACT_234000246 OK
+INFO:root:2023-04-15 21:45:00.549372 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '20', 'date_update': '2023-04-15 21:45:00.542422'}
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:45:00] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:45:00.685067 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:45:01] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:45:08.061416 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:45:08.064986 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:45:08] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:45:08.069350 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:45:08.071336 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:45:08.076975 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:45:08] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:45:08] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:45:08] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:45:08.633200 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:45:08] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:45:32.794041 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:45:32.796532 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:45:32.798545 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:45:32] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:45:32.805040 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:45:32.809662 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:45:32] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:45:32] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:45:32] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:45:33.300345 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:45:33] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:46:20.167009 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:46:20.172026 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:46:20.178028 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:46:20] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:46:20.185539 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:46:20.189550 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:46:20] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:46:20] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:46:20] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:46:21.238493 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:46:21] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:48:22.865211 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:48:22.870649 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:48:22] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:48:22.875653 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:48:22.878654 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:48:22.890467 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:48:22] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:48:22] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:48:22] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:48:26.496157 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:48:26.500676 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:48:26] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:48:26.507670 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:48:26.510218 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-04-15 21:48:26.517810 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:48:26] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:48:26] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:48:26] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-04-15 21:48:28.150897 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Apr/2023 21:48:28] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
diff --git a/lms_chamilo/mysy_lms.py b/lms_chamilo/mysy_lms.py
index e7b9808..3c3d120 100644
--- a/lms_chamilo/mysy_lms.py
+++ b/lms_chamilo/mysy_lms.py
@@ -300,16 +300,21 @@ def Create_MySy_LMS_User(diction):
else:
"""
/!\ On va l'ajouter une 2ieme fois si le compte partenaire necessite la creation d'un nouvel url.
- :!\ : on ajoute aussi le user ad
+ /!\ : on ajoute aussi le user admin qui a comme user_id = 1
"""
virutal_host_id = local_virtualhost_id
virutal_host_url = local_virtualhost_full_url
my_query_access_url_rel_user = "INSERT INTO access_url_rel_user SET access_url_id='"+ str(virutal_host_id)+"' , user_id='" + str(new_lms_user_id) + "' "
+ my_query_access_url_rel_user_admin = "INSERT INTO access_url_rel_user SET access_url_id='" + str(
+ virutal_host_id) + "' , user_id='1' "
+
print(" ### my_query_access_url_rel_user = ", my_query_access_url_rel_user)
+ print(" ### my_query_access_url_rel_user_admin = ", my_query_access_url_rel_user)
try:
# cur.execute("INSERT INTO employees (first_name,last_name) VALUES (?, ?)", ("Maria", "DB"))
cur.execute(my_query_access_url_rel_user)
+ cur.execute(my_query_access_url_rel_user_admin)
except mariadb.Error as e:
# print(f"Error: {e}")
mycommon.myprint(str(inspect.stack()[0][3]) + " WARNING - impossible d'ajouter le user '" + str(
@@ -604,8 +609,8 @@ def Disable_MySy_LMS_User(diction):
cur.execute(my_query)
except mariadb.Error as 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})
+ mycommon.myprint(" Impossible de desactiver l'utilisateur LMS " + str({e}))
+ return False, "Impossible de desactiver l'utilisateur LMS " + str({e})
conn.commit()
@@ -644,6 +649,122 @@ def Disable_MySy_LMS_User(diction):
mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno))
return False, " Impossible de desactiver le compte"
+"""
+Cette fonction desactive le virtualHost / url d'un compte partenaire s'il en a
+"""
+def Disable_MySy_LMS_User_VirtualHost_Url(diction):
+ try:
+
+ field_list_obligatoire = ['lms_virtualhost_id',]
+
+ for val in field_list_obligatoire:
+ if val not in diction:
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ")
+ return False, " Toutes les informations obligatoire n'ont pas été fournies"
+
+ # recuperation des paramettre
+ lms_virtualhost_id = ""
+ if ("lms_virtualhost_id" in diction.keys()):
+ if diction['lms_virtualhost_id']:
+ lms_virtualhost_id = diction['lms_virtualhost_id']
+
+ updated_at = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
+
+ conn = mariadb.connect(
+ user=MYSY_GV.MYSY_MARIADB_USER,
+ password=MYSY_GV.MYSY_MARIADB_USER_PASS,
+ host=MYSY_GV.MYSY_MARIADB_HOST,
+ port=MYSY_GV.MYSY_MARIADB_PORT,
+ database=MYSY_GV.MYSY_LMS_BDD
+ )
+ cur = conn.cursor()
+ cur2 = conn.cursor()
+
+ # Desactivation du compte :
+ # Reactivation du compte dans chamilo
+ # insert information
+ my_query = "UPDATE access_url SET active='0' WHERE id='" + str(lms_virtualhost_id) + "' ;"
+ try:
+ #print(" ### my_query update = ", 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}")
+ mycommon.myprint(" Impossible de desactiver le virtualhost/url " + str({e}))
+ return False, "Impossible de desactiver le virtualhost/url " + str({e})
+
+ conn.commit()
+
+
+ conn.close()
+
+ return True, " Le virtualHost/url a été correctement desactive"
+
+ except Exception as e:
+ exc_type, exc_obj, exc_tb = sys.exc_info()
+ mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno))
+ return False, " Impossible de desactiver le virtualhost/url "
+
+
+"""
+Cette fonction Reactive le virtualHost / url d'un compte partenaire s'il en a
+"""
+def Enable_MySy_LMS_User_VirtualHost_Url(diction):
+ try:
+
+ field_list_obligatoire = ['lms_virtualhost_id',]
+
+ for val in field_list_obligatoire:
+ if val not in diction:
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ")
+ return False, " Toutes les informations obligatoire n'ont pas été fournies"
+
+ # recuperation des paramettre
+ lms_virtualhost_id = ""
+ if ("lms_virtualhost_id" in diction.keys()):
+ if diction['lms_virtualhost_id']:
+ lms_virtualhost_id = diction['lms_virtualhost_id']
+
+ updated_at = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
+
+ conn = mariadb.connect(
+ user=MYSY_GV.MYSY_MARIADB_USER,
+ password=MYSY_GV.MYSY_MARIADB_USER_PASS,
+ host=MYSY_GV.MYSY_MARIADB_HOST,
+ port=MYSY_GV.MYSY_MARIADB_PORT,
+ database=MYSY_GV.MYSY_LMS_BDD
+ )
+ cur = conn.cursor()
+ cur2 = conn.cursor()
+
+ # Desactivation du compte :
+ # Reactivation du compte dans chamilo
+ # insert information
+ my_query = "UPDATE access_url SET active='1' WHERE id='" + str(lms_virtualhost_id) + "' ;"
+ try:
+ #print(" ### my_query update = ", 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}")
+ mycommon.myprint(" Impossible de desactiver le virtualhost/url " + str({e}))
+ return False, "Impossible de desactiver le virtualhost/url " + str({e})
+
+ conn.commit()
+
+
+ conn.close()
+
+ return True, " Le virtualHost/url a été correctement desactive"
+
+ except Exception as e:
+ exc_type, exc_obj, exc_tb = sys.exc_info()
+ mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno))
+ return False, " Impossible de desactiver le virtualhost/url "
+
+
"""
Cette fonction permet de desactivier les formation d'un utilisateur
@@ -1096,6 +1217,18 @@ def Check_MySy_LMS_Account(diction):
mycommon.myprint(str(inspect.stack()[0][3]) + " - Impossible de reactiver le compte LSM ")
return False, str(inspect.stack()[0][3]) + " - Impossible de reactiver le compte LSM "
+ # Reactivation du virtualHost s'il en a 1
+ if( "lms_virtualhost_id" in my_partner.keys() ) :
+ if( my_partner['lms_virtualhost_id'] ):
+ new_diction = {}
+ new_diction['lms_virtualhost_id'] = my_partner['lms_virtualhost_id']
+ print(" ### Ractivation du virtualHost/url lms_virtualhost_id = ", my_partner['lms_virtualhost_id'])
+ local_status, local_retval = Enable_MySy_LMS_User_VirtualHost_Url(new_diction)
+ if (local_status is False):
+ mycommon.myprint(str(inspect.stack()[0][3]) + " - Impossible de reactiver le virtualHost/url du compte ")
+ return False, str(inspect.stack()[0][3]) + " - Impossible de reactiver le virtualHost/url du compte "
+
+
# Mise à jour des autres info.
new_diction = {}
new_diction['token'] = my_partner['token']
@@ -1119,19 +1252,24 @@ def Check_MySy_LMS_Account(diction):
cas il faut le desactiver
"""
if (mysy_lms_user_id.strip() != ""):
- print(" ### Ce partenaire a deja un compte LMS, il faut donc le desactiver ")
+ print(" ### Ce partenaire a deja un compte LMS, il faut donc le desactiver, PUIS desactiver son virtualhost s'il en a ")
"""
Ce partenaire a deja un compte LMS, c'est donc une mise à jour qu'il faut faire
"""
new_diction = {}
-
new_diction['lms_user_id'] = my_partner['mysy_lms_user_id']
-
local_status, local_retval = Disable_MySy_LMS_User(new_diction)
if (local_status is False):
mycommon.myprint(str(inspect.stack()[0][3]) + " - Impossible de desactiver le compte LSM ")
return False, str(inspect.stack()[0][3]) + " - Impossible de desactiver le compte LSM "
+ new_diction = {}
+ new_diction['lms_virtualhost_id'] = my_partner['lms_virtualhost_id']
+ local_status, local_retval = Disable_MySy_LMS_User_VirtualHost_Url(new_diction)
+ if (local_status is False):
+ mycommon.myprint(str(inspect.stack()[0][3]) + " - WARNING Impossible de desactiver le virtualHost/url ")
+
+
return True, " Creation/mise à jour du compte LSM ok"
@@ -1787,6 +1925,7 @@ Elle verifie si l'abonnement du partner necessite un LMS
- lms_user_id
- lms_userid (login)
- lms pwd
+- lms_virtualhost_url
"""
def LMS_Get_Partner_Data(diction):
@@ -1859,12 +1998,14 @@ def LMS_Get_Partner_Data(diction):
lms_user_name = ""
lms_pwd_mask = ""
lms_part_recid = ""
+ lms_virtualhost_url = ""
lms_url = ""
if( lms_account == "1"):
lms_user_id = my_partner['mysy_lms_user_id']
lms_user_name = my_partner['email']
lms_pwd_mask = my_partner['pwd']
lms_part_recid = my_partner['recid']
+ lms_virtualhost_url = my_partner['lms_virtualhost_url']
lms_url = MYSY_GV.MYSY_LMS_URL
"""
@@ -1888,6 +2029,7 @@ def LMS_Get_Partner_Data(diction):
val_tmp['lms_user_name'] = lms_user_name
val_tmp['lms_pwd_mask'] = lms_pwd_mask
val_tmp['lms_part_recid'] = lms_part_recid
+ val_tmp['lms_virtualhost_url'] = lms_virtualhost_url
val_tmp['lms_url'] = lms_url
insertObject = []