diff --git a/.idea/workspace.xml b/.idea/workspace.xml index fde415e..2bc2a6f 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,15 +1,11 @@ - + - - - - @@ -384,7 +387,6 @@ - @@ -409,6 +411,7 @@ - \ No newline at end of file diff --git a/Log/log_file.log b/Log/log_file.log index 13c242b..cce73d1 100644 --- a/Log/log_file.log +++ b/Log/log_file.log @@ -1536575,3 +1536575,2969 @@ INFO:werkzeug:127.0.0.1 - - [21/Mar/2023 22:13:17] "POST /myclass/api/get_partne INFO:werkzeug:127.0.0.1 - - [21/Mar/2023 22:13:17] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - INFO:root:2023-03-21 22:13:18.056882 : Security check : IP adresse '127.0.0.1' connected INFO:werkzeug:127.0.0.1 - - [21/Mar/2023 22:13:18] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +DEBUG:filelock:Attempting to acquire lock 2287014369488 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2287014369488 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2287014369488 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2287014369488 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2287014370448 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2287014370448 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 10:12:53.056311 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 10:12:53.056311 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 10:12:53.056311 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 10:12:53.056311 : ++ FLASK PORT 5001 ++ +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2287014370448 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2287014370448 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2286705825808 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2286705825808 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2286705825808 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2286705825808 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 3069331772944 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3069331772944 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 3069331772944 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3069331772944 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 3069331850192 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3069331850192 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 10:13:04.034856 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 10:13:04.034856 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 10:13:04.034856 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 10:13:04.034856 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 3069331850192 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3069331850192 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 3069331850000 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3069331850000 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 3069331850000 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3069331850000 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2556546256912 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2556546256912 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2556546256912 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2556546256912 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2556643104784 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2556643104784 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 10:25:44.176818 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 10:25:44.177825 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 10:25:44.177825 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 10:25:44.177825 : ++ FLASK PORT 5001 ++ +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2556643104784 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2556643104784 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2556643105552 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2556643105552 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2556643105552 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2556643105552 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2350816039888 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2350816039888 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2350816039888 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2350816039888 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2350815978576 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2350815978576 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 10:25:54.395000 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 10:25:54.396014 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 10:25:54.396014 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 10:25:54.396014 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2350815978576 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2350815978576 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2350815978576 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2350815978576 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2350815978576 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2350815978576 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-22 10:25:54.616124 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:25:54.618191 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:25:54.620199 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:25:54.621182 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:25:54.623191 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:25:54.626186 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:25:54] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:25:54] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:25:54] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:25:54] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:25:55.463826 : partner_login Connexion partnair contact@mysy-training.com : OK, Date : 2023-03-22 10:25:54.627178 , _id = 63df9a429d95fcc1c2475167 +INFO:root:2023-03-22 10:25:55.469825 : partner_login Connexion partener_token : OK , _id = 63df9ac3486549268c864159 +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:25:55] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:25:55.692840 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:25:55.695852 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:25:55.698832 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:25:55] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:25:55.705853 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:25:55] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:25:55] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:25:56.001348 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:25:56] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:29:12.099600 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:29:12.102591 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:29:12.110595 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:29: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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_H4hRYTKljZgrhV message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:29:13] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:29:20.644065 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:29:20.647048 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:29:20.652047 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:29:20.655048 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:29:20] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:29:20] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_rP9k0fphOetD0A message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:29:21] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:29:21.425129 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:29:21.434129 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:29:21] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:29:40.636195 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:29:40.641326 : 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_1Mo5YnAbmaEugrFT2L1SW4rO +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_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 122,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 122,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_M4YeuicyYWs0bu message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NZE09SzFHVK9Um&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=4 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 4,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 4,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_D1Fx8rytKQeIWY message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:29:43] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 - +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\tMySy Demo
\n\t\t\t\t\t1 rue de la republique
\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_233000196\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 22/03/2023 Date échéance : 22/03/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00F-lH\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold490360.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 360.0
    TVA 20% : 72.0
    Montant TTC : 432.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

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

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_233000196.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:paramiko.transport:starting thread (client mode): 0x52bde110 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000196.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000196.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_233000196.pdf') +INFO:root:2023-03-22 10:29:48.836130 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_233000196.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000196.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-03-22 10:29:48.838146 : Impression facture N° FACT_233000196 OK +INFO:root:2023-03-22 10:29:48.870133 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '30', 'date_update': '2023-03-22 10:29:48.846153'} +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:29:48] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:29:49.163670 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:29:49.456820 : Create_MySy_LMS_User -'str' object has no attribute 'decode' - Line : 138 +INFO:root:2023-03-22 10:29:49.461820 : Check_MySy_LMS_Account - Impossible de créer le compte LSM +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:29:49] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:30:04.394083 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:30:04.398084 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:30:04.402091 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:30:04] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:30:04.410084 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:30:04] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:30:04] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:30:06.280404 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:30:06] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2568458474256 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2568458474256 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2568458474256 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2568458474256 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2568458475280 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2568458475280 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 10:32:45.161269 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 10:32:45.162292 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 10:32:45.162292 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 10:32:45.162292 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2568458475280 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2568458475280 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2568450807312 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2568450807312 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2568450807312 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2568450807312 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2661850944592 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2661850944592 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2661850944592 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2661850944592 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2661850945104 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2661850945104 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 10:33:25.381586 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 10:33:25.381586 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 10:33:25.381586 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 10:33:25.381586 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2661850945104 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2661850945104 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2661850946512 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2661850946512 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2661850946512 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2661850946512 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-22 10:33:35.296359 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:33:35.300373 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:33:35.312364 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:33:35] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_lgEcBXHliG6LxJ message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:33:36] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:33:44.515292 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:33:44.523040 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:33:44.525302 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:root:2023-03-22 10:33:44.528437 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:33:44] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:33:44] "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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_DOZaMOK8bqiYPK message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:33:44] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:33:45.006105 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:33:45.015110 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:33:45] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:33:54.523529 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:33:54.527673 : 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_1Mo5YnAbmaEugrFT2L1SW4rO +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_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 4,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 4,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_DdsGc2DHTJhmbf message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NZE09SzFHVK9Um&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=7 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 7,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 7,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_FSGYwWgp2tnT0H message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:33:57] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 - +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\tMySy Demo
\n\t\t\t\t\t1 rue de la republique
\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_233000197\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 22/03/2023 Date échéance : 22/03/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00gG4o\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard750350.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 350.0
    TVA 20% : 70.0
    Montant TTC : 420.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

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

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_233000197.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:paramiko.transport:starting thread (client mode): 0xc2ae15d0 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000197.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000197.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_233000197.pdf') +INFO:root:2023-03-22 10:34:07.406773 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_233000197.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000197.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-03-22 10:34:07.407792 : Impression facture N° FACT_233000197 OK +INFO:root:2023-03-22 10:34:07.429308 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '20', 'date_update': '2023-03-22 10:34:07.415303'} +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:34:07] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:34:07.574388 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:34:09] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:34:13.558769 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:34:13] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:34:13.569305 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:34:13.578348 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:34:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:34:13.597381 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:34:13] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:34:15.923716 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:34:15] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:35:33.573330 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:35:33.577685 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:35:33.582740 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:35:33] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_yiaY9pjC4xS9ph message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:35:34] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:36:46.110316 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:36:46.118037 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:36:46.120694 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:36:46.123726 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:36:46] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:36:46] "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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_OlKJ2VRaghhMCV message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:36:47] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:36:48.014435 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:36:48.019388 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:36:48] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:37:01.729722 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:37:01.734021 : 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_1Mo5YnAbmaEugrFT2L1SW4rO +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_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 7,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 7,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_5oyrhuGtoHNmU6 message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NZE09SzFHVK9Um&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=9 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\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": 9,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\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": 9,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_W2zebCPpOb3o1J message='Dashboard link for request' +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\tMySy Demo
\n\t\t\t\t\t1 rue de la republique
\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_233000198\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 22/03/2023 Date échéance : 22/03/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_001IA7\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold990810.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 810.0
    TVA 20% : 162.0
    Montant TTC : 972.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

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

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_233000198.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:37:04] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0xb022e410 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000198.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000198.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_233000198.pdf') +INFO:root:2023-03-22 10:37:10.812143 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_233000198.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000198.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-03-22 10:37:10.814138 : Impression facture N° FACT_233000198 OK +INFO:root:2023-03-22 10:37:10.833155 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '30', 'date_update': '2023-03-22 10:37:10.821149'} +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:37:10] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:37:10.975604 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:37:15] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:37:19.445164 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:37:19.450163 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:37:19.454166 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:37:19] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:37:19] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:37:19.470471 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:37:19] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:37:20.712131 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:37:20] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:39:11.705844 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:39:11.708836 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:39:11.712850 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:39: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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_TkWad2cLn77oRK message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:39:12] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:39:18.424641 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:39:18.432120 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:39:18.436424 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:39:18.437416 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:39:18] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:39:18] "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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_zPmxEiZ6yLndBs message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:39:19] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:39:19.268610 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:39:19.278610 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:39:19] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:40:11.683613 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:40:11] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:40:11.729660 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:40:11] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:40:13.205062 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:40:13.208731 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:40:13.213764 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:40: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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Ix90TeUdUowAlY message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:40:14] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:40:28.836359 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:40:28.847370 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:40:28.847370 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:40:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:40:28.852361 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:40:28] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_BfMlAVsvrMXB22 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:40:29] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:40:29.681461 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:40:29.688485 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:40:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:50:16.244075 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:50:16.250866 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:50:16.255037 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:50:16.255037 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:50:16] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:50: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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_lOeFPWQucn9Nzb message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:50:16] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:50:17.050314 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:50:17.056325 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:50:17] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:51:40.665466 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:51:40.674021 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:51:40.677256 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:51:40.678286 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:51:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:51:40] "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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_EAF0Kw1AZdAa2w message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:51:41] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 10:51:41.342982 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 10:51:41.347989 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 10:51:41] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:03:35.943424 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:03:35.950089 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:03:35.955269 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:03:35.956269 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:03:35] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:03:35] "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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_pRfthELlu3fPo3 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:03:36] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:03:36.660920 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:03:36.665914 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:03:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:06:27.790876 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:06:27.793882 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:06:27.799409 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:06:27] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:06:27.804411 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:06:27] "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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_ANxjHoee3Kx9zw message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:06:28] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:06:28.800801 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:06:28.806798 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:06:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1499244402896 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1499244402896 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1499244402896 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1499244402896 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1499244404240 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1499244404240 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 11:11:40.069290 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 11:11:40.069290 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 11:11:40.070195 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 11:11:40.070195 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 1499244404240 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1499244404240 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1499224201872 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1499224201872 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1499224201872 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1499224201872 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2040068461136 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2040068461136 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2040068461136 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2040068461136 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2040068461584 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2040068461584 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 11:12:19.011369 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 11:12:19.012661 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 11:12:19.012661 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 11:12:19.012661 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2040068461584 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2040068461584 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2040068462480 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2040068462480 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2040068462480 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2040068462480 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1851107710480 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1851107710480 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1851107710480 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1851107710480 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1851107787408 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1851107787408 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 11:12:50.470081 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 11:12:50.470081 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 11:12:50.470081 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 11:12:50.470081 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:filelock:Attempting to release lock 1851107787408 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1851107787408 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1851014172688 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1851014172688 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1851014172688 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1851014172688 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1942597845584 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1942597845584 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1942597845584 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1942597845584 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1942694464208 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1942694464208 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 11:13:45.460389 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 11:13:45.460389 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 11:13:45.460389 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 11:13:45.460389 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 1942694464208 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1942694464208 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1942694464208 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1942694464208 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1942694464208 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1942694464208 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1736268731856 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1736268731856 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1736268731856 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1736268731856 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1736268732880 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1736268732880 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 11:27:08.364024 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 11:27:08.364024 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 11:27:08.365026 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 11:27:08.365026 : ++ FLASK PORT 5001 ++ +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 1736268732880 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1736268732880 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1736268503312 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1736268503312 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1736268503312 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1736268503312 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1535377282576 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1535377282576 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1535377282576 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1535377282576 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1535377283472 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1535377283472 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 1535377283472 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-22 11:27:17.584206 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 11:27:17.585205 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 11:27:17.585205 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 11:27:17.585205 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 1535377283472 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1535377849808 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1535377849808 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1535377849808 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1535377849808 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-03-22 11:27:24.787634 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:27:24.791631 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:27:24.795640 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:27:24] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:27:24.807651 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:27:24] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:27:24] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:27:26.258165 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:27:26] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:29:21.055577 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:29:21.060611 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:29:21.067603 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:29: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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_KKOjkrUpqbtt21 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:29:21] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:29:25.762807 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:29:25.769337 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:29:25.776331 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:29:25.776331 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:29:25] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:29:25] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_50otZoKrvQdCTe message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:29:26] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:29:26.953931 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:29:26.961945 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:29:26] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:29:46.678949 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:29:46.685078 : 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_1Mo5YnAbmaEugrFT2L1SW4rO +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_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\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": 9,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\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": 9,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_4eooWb6Cwa51xU message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NZE09SzFHVK9Um&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=3 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 3,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 3,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_YKSvVCiCajOvkZ message='Dashboard link for request' +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\tMySy Demo
\n\t\t\t\t\t1 rue de la republique
\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_233000199\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 22/03/2023 Date échéance : 22/03/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00FkWw\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard350150.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 150.0
    TVA 20% : 30.0
    Montant TTC : 180.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

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

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_233000199.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:root:2023-03-22 11:29:49.625014 : strip_update_subscription_plan -'bool' object is not subscriptable - ERRORRRR AT Line : 1011 +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:29:49] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0x6373c3d0 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000199.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000199.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_233000199.pdf') +INFO:root:2023-03-22 11:29:52.974097 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_233000199.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000199.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-03-22 11:29:52.976095 : Impression facture N° FACT_233000199 OK +INFO:root:2023-03-22 11:29:52.999094 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '20', 'date_update': '2023-03-22 11:29:52.986095'} +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:29:53] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:29:53.191719 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:29:54] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:30:00.006358 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:30:00.011356 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:30:00] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:30:00.018368 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:30:00.028360 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:30:00] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:30:00] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:30:01.609431 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:30:01] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2724796963600 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2724796963600 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2724796963600 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2724796963600 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2724796965072 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2724796965072 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 11:35:32.738562 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 11:35:32.738562 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 11:35:32.739562 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 11:35:32.739562 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2724796965072 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2724796965072 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2724486106704 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2724486106704 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2724486106704 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2724486106704 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1610657683600 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1610657683600 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1610657683600 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1610657683600 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1610657776144 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1610657776144 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 11:35:53.741697 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 11:35:53.742696 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 11:35:53.742696 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 11:35:53.742696 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 1610657776144 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1610657776144 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1610657776336 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1610657776336 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1610657776336 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1610657776336 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-22 11:35:55.121216 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:35:55.125210 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:35:55.128231 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:35:55] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:35:55.143229 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:35:55] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:35:55] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:35:56.620165 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:35:56] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:35:57.915562 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:35:57.919567 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:35:57.924571 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:35:57] "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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_voTjPSWIJrppTs message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:35:58] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:36:01.837480 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:36:01.843887 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:36:01.848878 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:root:2023-03-22 11:36:01.849887 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:36:01] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:36:01] "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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_nUrshTROeVcljB message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:36:03] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:36:03.245294 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:36:03.253903 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:36:03] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:36:11.227122 : 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_1Mo5YnAbmaEugrFT2L1SW4rO +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:root:2023-03-22 11:36:11.240343 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 3,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 3,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_scT0zRMhVRCrlK message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NZE09SzFHVK9Um&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=2 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 2,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 2,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_smeOlH3I0rlBF2 message='Dashboard link for request' +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\tMySy Demo
\n\t\t\t\t\t1 rue de la republique
\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_233000200\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 22/03/2023 Date échéance : 22/03/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00OHXg\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold290180.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 180.0
    TVA 20% : 36.0
    Montant TTC : 216.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

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

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_233000200.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:root:2023-03-22 11:36:14.672559 : strip_update_subscription_plan -'bool' object is not subscriptable - ERRORRRR AT Line : 1011 +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:36:14] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0xeef19110 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000200.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000200.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_233000200.pdf') +INFO:root:2023-03-22 11:36:22.689859 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_233000200.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000200.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-03-22 11:36:22.690857 : Impression facture N° FACT_233000200 OK +INFO:root:2023-03-22 11:36:22.716057 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '30', 'date_update': '2023-03-22 11:36:22.701044'} +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:36:22] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:36:22.924748 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:36:25] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:36:40.631519 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:36:40.636536 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:36:40] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:36:40.645542 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:36:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:36:40.653080 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:36:40] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:36:41.936106 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:36:41] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2222055103056 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2222055103056 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2222055103056 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2222055103056 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2222055104528 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2222055104528 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 11:38:39.610277 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 11:38:39.611280 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 11:38:39.611280 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 11:38:39.611280 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2222055104528 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2222055104528 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2221978403344 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2221978403344 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2221978403344 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2221978403344 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-22 11:38:39.826933 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:38:39.829919 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:38:39.833934 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:38:39] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:38:39.842195 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:38:39] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:38:39] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:38:40.261990 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:38:40] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:38:41.736659 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:38:41.739677 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:38:41.742664 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:38:41] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_h21e2VRwSQObGZ message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:38:42] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:38:46.355191 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:38:46.364132 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:root:2023-03-22 11:38:46.366333 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:38:46] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:38:46.370382 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:38:46] "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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_rf9ovT45g2HwQN message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:38:47] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:38:47.527384 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:38:47.534941 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:38:47] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:38:56.595512 : 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_1Mo5YnAbmaEugrFT2L1SW4rO +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:root:2023-03-22 11:38:56.604554 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 2,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 2,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_2KbgVJQqe1hjda message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NZE09SzFHVK9Um&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=3 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 3,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 3,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_ureSbMZqUNBoDa message='Dashboard link for request' +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\tMySy Demo
\n\t\t\t\t\t1 rue de la republique
\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_233000201\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 22/03/2023 Date échéance : 22/03/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00OsVA\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard350150.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 150.0
    TVA 20% : 30.0
    Montant TTC : 180.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

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

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_233000201.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:root:2023-03-22 11:38:59.701465 : strip_update_subscription_plan -'bool' object is not subscriptable - ERRORRRR AT Line : 1016 +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:38:59] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0x4ad8b290 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000201.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000201.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_233000201.pdf') +INFO:root:2023-03-22 11:39:09.920758 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_233000201.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000201.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-03-22 11:39:09.921752 : Impression facture N° FACT_233000201 OK +INFO:root:2023-03-22 11:39:09.942053 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '20', 'date_update': '2023-03-22 11:39:09.929784'} +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:39:09] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:39:10.106045 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:39:16] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:39:43.072965 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:39:43.076973 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:39:43.079968 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:39:43] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:39:43.086986 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:39:43] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:39:43] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:39:45.283227 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:39:45] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1650938732432 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1650938732432 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1650938732432 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1650938732432 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1650938733200 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1650938733200 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 11:41:21.535742 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 11:41:21.535742 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 11:41:21.535742 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 11:41:21.535742 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 1650938733200 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1650938733200 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1650589812304 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1650589812304 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1650589812304 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1650589812304 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-22 11:41:21.833540 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:41:21.836545 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:41:21.838545 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:41:21] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:41:21.850089 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:41:21] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:41:21] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:41:22.329397 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:41:22] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:41:24.776162 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:41:24.781167 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:41:24.786162 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:41:24] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_CuHffFZEtLVHOv message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:41:25] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:41:29.883391 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:41:29.890398 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:41:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:41:29.893392 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:41:29.897396 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:41:29] "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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_29nMzzBy0IUcXE message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:41:30] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:41:30.809394 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:41:30.815377 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:41:30] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:41:41.235511 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:41:41.244629 : 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_1Mo5YnAbmaEugrFT2L1SW4rO +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_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 3,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 3,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_cjx8CQQLdmATgc message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NZE09SzFHVK9Um&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=6 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\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": 6,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\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": 6,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_PDXjaLCtkUHeQn message='Dashboard link for request' +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\tMySy Demo
\n\t\t\t\t\t1 rue de la republique
\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_233000202\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 22/03/2023 Date échéance : 22/03/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00_ozA\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold690540.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 540.0
    TVA 20% : 108.0
    Montant TTC : 648.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

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

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_233000202.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:paramiko.transport:starting thread (client mode): 0x5f9d2d90 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +INFO:root:2023-03-22 11:41:44.934420 : Disable_MySy_LMS_Class_Of_User - La valeur 'lms_user_id' n'est pas presente dans liste +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:41:44] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000202.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000202.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_233000202.pdf') +INFO:root:2023-03-22 11:41:48.537871 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_233000202.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000202.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-03-22 11:41:48.539874 : Impression facture N° FACT_233000202 OK +INFO:root:2023-03-22 11:41:48.563457 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '30', 'date_update': '2023-03-22 11:41:48.548403'} +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:41:48] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:41:48.723657 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:41:50] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:41:54.418792 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:41:54] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:41:54.427790 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:41:54.438782 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:41:54] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:41:54.441783 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:41:54] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:41:56.330678 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:41:56] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2000375649936 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2000375649936 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2000375649936 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2000375649936 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2000375726672 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2000375726672 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 11:46:11.801782 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 11:46:11.801782 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 11:46:11.801782 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 11:46:11.801782 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2000375726672 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2000375726672 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2000377577040 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2000377577040 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2000377577040 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2000377577040 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-22 11:46:17.176243 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:46:17.181247 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:46:17.192251 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:46: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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_UrjXZAu6itjbRo message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:46:18] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:46:21.567157 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:46:21.573154 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:46:21.578152 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:46:21.579152 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:46:21] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:46:21] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_NMmhrEsx58TRIx message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:46:22] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:46:22.915746 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:46:22.925769 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:46:22] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:46:28.913511 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:46:28.921615 : 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_1Mo5YnAbmaEugrFT2L1SW4rO +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_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\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": 6,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\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": 6,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_oJEJJD8Csdohpr message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NZE09SzFHVK9Um&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=2 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 2,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 2,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Sw2BDazn87S88T message='Dashboard link for request' +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\tMySy Demo
\n\t\t\t\t\t1 rue de la republique
\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_233000203\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 22/03/2023 Date échéance : 22/03/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00Z-hk\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard250100.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 100.0
    TVA 20% : 20.0
    Montant TTC : 120.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

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

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_233000203.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:paramiko.transport:starting thread (client mode): 0xbfdc9050 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +INFO:root:2023-03-22 11:46:32.280465 : Disable_MySy_LMS_Class_Of_User - La valeur 'lms_user_id' n'est pas presente dans liste +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:46:32] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000203.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000203.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_233000203.pdf') +INFO:root:2023-03-22 11:46:37.379609 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_233000203.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000203.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-03-22 11:46:37.381454 : Impression facture N° FACT_233000203 OK +INFO:root:2023-03-22 11:46:37.402453 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '20', 'date_update': '2023-03-22 11:46:37.391709'} +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:46:37] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:46:37.532521 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:46:38] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2458941018768 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2458941018768 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2458941018768 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2458941018768 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2458941080080 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2458941080080 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 11:48:55.140971 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 11:48:55.140971 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 11:48:55.140971 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 11:48:55.140971 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2458941080080 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2458941080080 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2460665020816 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2460665020816 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2460665020816 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2460665020816 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2974339176400 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2974339176400 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2974339176400 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2974339176400 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2974339252688 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2974339252688 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 11:49:52.295940 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 11:49:52.295940 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 11:49:52.295940 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 11:49:52.295940 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2974339252688 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2974339252688 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2974339253008 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2974339253008 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2974339253008 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2974339253008 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-22 11:49:52.511032 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:49:52.514027 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:49:52.517028 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:49:52.520488 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:49:52.523484 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:49:52] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:49:52.532481 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:49:52] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:49:52] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:49:52.541490 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:49: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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_pnEW2caPRfzUn6 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:49:53] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:49:55.701637 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:49:55.709609 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:49:55.712752 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:root:2023-03-22 11:49:55.714765 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:49:55] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:49:55] "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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_tFrRc89P9JGQHY message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:49:56] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:49:56.610520 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:49:56.617550 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:49:56] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:50:02.328293 : 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_1Mo5YnAbmaEugrFT2L1SW4rO +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:root:2023-03-22 11:50:02.337131 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 2,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 2,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_NRGolpMMK1QnbC message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NZE09SzFHVK9Um&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=1 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 1,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_qGnS211f85T7EY message='Dashboard link for request' +INFO:root:2023-03-22 11:50:06.129024 : Disable_MySy_LMS_Class_Of_User - La valeur 'lms_user_id' n'est pas presente dans liste +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:50:06] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 - +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\tMySy Demo
\n\t\t\t\t\t1 rue de la republique
\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_233000204\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 22/03/2023 Date échéance : 22/03/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00X6XR\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold19090.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 90.0
    TVA 20% : 18.0
    Montant TTC : 108.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

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

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_233000204.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:paramiko.transport:starting thread (client mode): 0x84f2a4d0 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000204.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000204.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_233000204.pdf') +INFO:root:2023-03-22 11:50:13.623507 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_233000204.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000204.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-03-22 11:50:13.629536 : Impression facture N° FACT_233000204 OK +INFO:root:2023-03-22 11:50:13.662701 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '30', 'date_update': '2023-03-22 11:50:13.650701'} +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:50:13] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:50:13.860586 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:50:15] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:50:17.183527 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:50:17.187530 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:50:17.190524 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:50:17] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:50:17.202551 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:50:17] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:50:17] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:50:19.733661 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:50:19] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1488303608336 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1488303608336 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1488303608336 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1488303608336 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1488303637136 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1488303637136 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 11:52:14.312905 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 11:52:14.313909 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 11:52:14.313909 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 11:52:14.313909 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 1488303637136 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1488303637136 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1487967781008 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1487967781008 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1487967781008 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1487967781008 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-22 11:52:14.536041 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:52:14.539041 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:52:14.543046 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:52:14.546042 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:52:14] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:52:14.549040 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:52:14] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:52:14.564549 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:root:2023-03-22 11:52:14.564549 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:52:14] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:52:14] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_EJFabGBh0ttyfd message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:52:14] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:52:17.100059 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:52:17.107121 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:52:17.112811 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:52:17.116815 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:52:17] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:52:17] "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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_8d0OejVtvgA65P message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:52:18] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:52:18.508421 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:52:18.517991 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:52:18] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:52:28.197099 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:52:28.205297 : 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_1Mo5YnAbmaEugrFT2L1SW4rO +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_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 1,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 1,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_ky8EC5SCv4Rbsc message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NZE09SzFHVK9Um&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=3 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 3,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 3,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_pdOUhD84aVXZ1L message='Dashboard link for request' +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\tMySy Demo
\n\t\t\t\t\t1 rue de la republique
\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_233000205\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 22/03/2023 Date échéance : 22/03/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00udgD\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard350150.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 150.0
    TVA 20% : 30.0
    Montant TTC : 180.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

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

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_233000205.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:52:30] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0x80ee1790 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000205.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000205.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_233000205.pdf') +INFO:root:2023-03-22 11:52:37.610872 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_233000205.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000205.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +INFO:root:2023-03-22 11:52:37.611861 : Impression facture N° FACT_233000205 OK +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-03-22 11:52:37.639157 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '20', 'date_update': '2023-03-22 11:52:37.625389'} +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:52:37] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:52:37.959862 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:52:39] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:52:43.320697 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:52:43.324701 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:52:43.328704 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:52:43] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:52:43.338712 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:52:43] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:52:43] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:52:45.176754 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:52:45] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2906269817744 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2906269817744 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2906269817744 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2906269817744 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2906269892880 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2906269892880 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 11:53:30.087480 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 11:53:30.087480 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 11:53:30.087480 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 11:53:30.087480 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2906269892880 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2906269892880 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2906269604624 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2906269604624 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2906269604624 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2906269604624 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2320836220304 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2320836220304 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2320836220304 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2320836220304 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2320836280720 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2320836280720 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 11:54:27.081079 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 11:54:27.081079 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 11:54:27.082084 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 11:54:27.082084 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2320836280720 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2320836280720 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2320836280720 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2320836280720 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2320836280720 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2320836280720 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2014580709520 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2014580709520 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2014580709520 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2014580709520 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2014580785616 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2014580785616 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 11:55:50.649599 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 11:55:50.649599 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 11:55:50.649599 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 11:55:50.649599 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2014580785616 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2014580785616 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2016406978832 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2016406978832 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2016406978832 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2016406978832 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-22 11:55:50.865167 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:55:50.868187 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:55:50.875178 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:55:50] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_ROpMIaB7Y4sQ3T message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:55:51] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:55:53.840100 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:55:53.852795 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:55:53.856305 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:55:53] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:55:53.858860 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:55:53] "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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_WUOFQycdSChpTq message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:55:54] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:55:55.048155 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:55:55.056114 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:55:55] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:56:01.037904 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:56:01.044060 : 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_1Mo5YnAbmaEugrFT2L1SW4rO +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_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 3,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 3,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_JNl17I2KFUoSXX message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NZE09SzFHVK9Um&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=2 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 2,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 2,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_iH4wnl2U2KJgcK message='Dashboard link for request' +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\tMySy Demo
\n\t\t\t\t\t1 rue de la republique
\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_233000206\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 22/03/2023 Date échéance : 22/03/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00Uyoz\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold290180.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 180.0
    TVA 20% : 36.0
    Montant TTC : 216.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

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

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_233000206.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:56:03] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:starting thread (client mode): 0xe8c8d90 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000206.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000206.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_233000206.pdf') +INFO:root:2023-03-22 11:56:08.911770 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_233000206.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000206.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +INFO:root:2023-03-22 11:56:08.913760 : Impression facture N° FACT_233000206 OK +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-03-22 11:56:08.938756 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '30', 'date_update': '2023-03-22 11:56:08.924766'} +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:56:08] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:56:09.111386 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:56:10] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:56:14.510608 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:56:14.514121 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:56:14] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:56:14.519145 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:56:14.525147 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:56:14] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:56:14] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:56:15.722789 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:56:15] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2118418062352 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2118418062352 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2118418062352 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2118418062352 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2118418063312 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2118418063312 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 11:57:48.732602 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 11:57:48.732602 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 11:57:48.732602 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 11:57:48.732602 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2118418063312 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2118418063312 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2118078255952 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2118078255952 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2118078255952 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2118078255952 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-22 11:57:49.418543 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:57:49.420814 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:57:49.428081 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:57:49] "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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_oWmzBQdRUx7moM message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:57:50] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:57:53.400156 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:57:53.403831 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:57:53.409922 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:57:53.413910 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:57:53] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:57:53] "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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_vFdxCNjzNyTRia message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:57:54] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:57:54.460352 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:57:54.469347 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:57:54] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:58:00.213186 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:58:00.219551 : 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_1Mo5YnAbmaEugrFT2L1SW4rO +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_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 2,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 2,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_pvIO2J5cBgZvYU message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NZE09SzFHVK9Um&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=2 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1Mo5YnAbmaEugrFT2L1SW4rO response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679406549,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679406549,\n "currency": "eur",\n "current_period_end": 1682084949,\n "current_period_start": 1679406549,\n "customer": "cus_NOJO1r2NpythE8",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZE09SzFHVK9Um",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679406550,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 2,\n "subscription": "sub_1Mo5YnAbmaEugrFT2L1SW4rO",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mo5YnAbmaEugrFT2L1SW4rO"\n },\n "latest_invoice": "in_1Mo5YnAbmaEugrFT9wMEcb3l",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 2,\n "schedule": null,\n "start_date": 1679406549,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_gmOab3gSNkvbCy message='Dashboard link for request' +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\tMySy Demo
\n\t\t\t\t\t1 rue de la republique
\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_233000207\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 22/03/2023 Date échéance : 22/03/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00Aw0f\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard250100.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 100.0
    TVA 20% : 20.0
    Montant TTC : 120.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

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

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_233000207.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:paramiko.transport:starting thread (client mode): 0x23d34e90 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +INFO:root:2023-03-22 11:58:03.110009 : Disable_MySy_LMS_Class_Of_User Desactivation de la formation_id = (8,) +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:58:03] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 - +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000207.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000207.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_233000207.pdf') +INFO:root:2023-03-22 11:58:09.334159 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_233000207.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000207.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-03-22 11:58:09.334942 : Impression facture N° FACT_233000207 OK +INFO:root:2023-03-22 11:58:09.352953 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '20', 'date_update': '2023-03-22 11:58:09.341947'} +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:58:09] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:58:09.496985 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:58:10] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:58:13.567552 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:58:13] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:58:13.574557 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:58:13.578548 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 11:58:13.586560 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:58:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:58:13] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 11:58:15.041753 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 11:58:15] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2990731564752 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2990731564752 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2990731564752 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2990731564752 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2990731565200 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2990731565200 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 12:00:24.465686 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 12:00:24.465686 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 12:00:24.465686 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 12:00:24.465686 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2990731565200 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2990731565200 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2990388102736 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2990388102736 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2990388102736 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2990388102736 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-22 12:01:27.854410 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 12:01:27.857946 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 12:01:27.863000 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:01:27] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 12:01:27.874988 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:01:27] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:01:27] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 12:01:30.578548 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:01:30] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1546903245712 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1546903245712 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1546903245712 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1546903245712 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1546903307408 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1546903307408 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 12:05:14.357510 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 12:05:14.357510 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 12:05:14.357510 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 12:05:14.357510 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 1546903307408 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1546903307408 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1546878913232 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1546878913232 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1546878913232 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1546878913232 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-22 12:05:14.568431 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 12:05:14.572425 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 12:05:14.579435 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:05:14] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_72MfZmbTNgGHi1 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:05:15] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 12:09:01.228867 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:09:01] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 12:09:01.234883 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 12:09:01.237887 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 12:09:01.241880 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:09:01] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:09:01] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 12:09:01.342417 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:09:01] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-22 12:09:08.364626 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 12:09:08.371646 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 12:09:08.374812 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:09:08] "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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_auhu8FSiOXFwHM message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:09:09] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 12:09:10.658439 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:09:10] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:root:2023-03-22 12:09:10.668475 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:09:10] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 - +INFO:root:2023-03-22 12:12:19.944854 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 12:12:19.947856 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:12:19] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 12:12:19.951855 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 12:12:19.956879 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:12:19] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:12:19] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 12:12:20.918226 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:12:20] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-22 12:14:52.557684 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 12:14:52.567707 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:14:52] "POST /myclass/api/get_cust_prices_by_partner/ HTTP/1.1" 200 - +INFO:root:2023-03-22 12:14:52.577698 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:14:52] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:14:52] "POST /myclass/api/get_linked_customer_to_partner/ HTTP/1.1" 200 - +INFO:root:2023-03-22 12:14:54.126779 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 12:14:54.133774 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 12:14:54.133774 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:14:54] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_41AScHs4rEOrVt message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:14:54] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 12:15:00.414951 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:15:00] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:root:2023-03-22 12:15:00.422493 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:15:00] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 - +INFO:root:2023-03-22 12:21:49.166037 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 12:21:49.169046 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:21:49] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 12:21:49.176042 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 12:21:49.179038 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:21:49] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:21:49] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 12:21:51.079749 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:21:51] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-22 12:21:55.042390 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 12:21:55.046396 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 12:21:55.050386 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:21:55] "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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_CQoGuobMirzPp3 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:21:56] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 12:21:56.907237 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:21:56] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:root:2023-03-22 12:21:56.917047 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 12:21:56] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 - +DEBUG:filelock:Attempting to acquire lock 2428093996112 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2428093996112 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2428093996112 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2428093996112 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2428094071632 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2428094071632 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 14:28:09.686332 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 14:28:09.686332 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 14:28:09.686332 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 14:28:09.686332 : ++ FLASK PORT 5001 ++ +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +DEBUG:filelock:Attempting to release lock 2428094071632 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug:Press CTRL+C to quit +DEBUG:filelock:Lock 2428094071632 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2428005777296 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2428005777296 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to release lock 2428005777296 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2428005777296 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2021159491984 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2021159491984 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2021159491984 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2021159491984 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2021159492816 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2021159492816 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-22 14:28:24.919794 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-22 14:28:24.919794 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-22 14:28:24.920793 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-22 14:28:24.920793 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2021159492816 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2021159492816 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2021084714512 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2021084714512 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2021084714512 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2021084714512 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-03-22 14:28:54.393339 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:28:54.394339 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:28:54.394339 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:54] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:54] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:54] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-03-22 14:28:54.747924 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:28:54.749929 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:54] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 14:28:55.520342 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:28:55.520342 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:28:55.521345 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:28:55.522335 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:28:55.522335 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:28:55.526342 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:55] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:55] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:55] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:55] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:55] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:55] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-22 14:28:55.847894 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:28:55.848896 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:28:55.848896 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:28:55.849907 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:28:55.852468 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:55] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:55] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-22 14:28:55.858459 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:55] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:55] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:55] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:55] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-22 14:28:56.174752 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:28:56.174752 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:28:56.175760 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:28:56.176771 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:28:56.177753 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:28:56.180805 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:56] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:56] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:56] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:56] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:56] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:56] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-03-22 14:28:56.500650 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:28:56.502643 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:56] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:28:56] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-22 14:59:18.647091 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:59:18.650096 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:59:18.654100 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:59:18] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 14:59:18.661098 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:59:18] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:59:18] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 14:59:19.677707 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:59:19] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-22 14:59:24.822733 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:59:24.825723 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:59:24.830744 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:59:24] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_vrv7UxdB8T0PPy message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:59:25] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 14:59:26.494549 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:59:26.499596 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:59:26] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:59:26] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 - +INFO:root:2023-03-22 14:59:53.916794 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:59:53.920956 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 14:59:53.922967 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:59:53] "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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_nAIfrjxYGc8QR3 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 14:59:54] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:05:52.211688 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:05:52.214687 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:05:52.218688 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:05:52] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:05:52.222215 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:05:52] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:05:52] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:05:53.324051 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:05:53] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:05:54.764313 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:05:54.767830 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:05:54.771364 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:05:54] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_YAf8kgUrrMu3vl message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:05:55] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:05:56.852195 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:05:56.854209 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:05:56] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:05:56] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:10:12.351612 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:10:12.356617 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:10:12.361617 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:10: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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_aWv9zo9eDsBvHU message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:10:12] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:11:47.174387 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:11:47.183061 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:11:47.186061 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:11: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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_aJFRLbpXZ5hg8k message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:11:47] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:12:16.476271 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:12:16.481791 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:12:16.482793 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:12: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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_97JQJragoVesNf message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:12:16] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:17:36.300140 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:17:36.303125 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:17:36] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:17:36.306670 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:17:36.311682 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:17:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:17:36] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:17:37.535787 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:17:37] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:17:38.980420 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:17:38.983422 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:17:38.986421 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:17:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_pyRdr1wGO83Fcc message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:17:39] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:17:40.578270 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:17:40.584280 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:17:40] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:17:40] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:20:08.157454 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:20:08.161457 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:20:08] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:20:08.165458 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:20:08.170458 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:20:08] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:20:08] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:20:09.429666 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:20:09] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:20:12.960766 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:20:12.966282 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:20:12] "POST /myclass/api/get_cust_prices_by_partner/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:20:12.974804 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:20:12] "POST /myclass/api/get_linked_customer_to_partner/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:20:12] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:21:15.600924 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:21:15.602922 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:21:15.613140 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:21: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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_oFOyoWKTvK09S1 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:21:15] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:21:20.255906 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:21:20.258896 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:21:20] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:21:20] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:21:30.131950 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:21:30.138947 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:21:30] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:21:30] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:21:44.262085 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:21:44.265087 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:21:44.272518 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:21:44] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:21:44.281534 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:21:44] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:21:44] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:21:45.296701 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:21:45] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:21:48.605168 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:21:48.608641 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:21:48.613170 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:21: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_NJnm0azNhUvrbu/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_NJnm0azNhUvrbu/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MZABeAbmaEugrFTewfE4Crl",\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": "Demo carte",\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": 1675849415,\n "customer": "cus_NJnm0azNhUvrbu",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NJnm0azNhUvrbu/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_ReVgUQy1hPUktR message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:21:48] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-22 15:21:50.817529 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-22 15:21:50.821543 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:21:50] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [22/Mar/2023 15:21:50] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 - diff --git a/lms_chamilo/mysy_lms.py b/lms_chamilo/mysy_lms.py index 4f5c77c..ab09e65 100644 --- a/lms_chamilo/mysy_lms.py +++ b/lms_chamilo/mysy_lms.py @@ -132,14 +132,11 @@ def Create_MySy_LMS_User(diction): salt = bcrypt.gensalt() hashed_pwd = bcrypt.hashpw(mypasswd, salt) - print(" ### SALT = ", salt) - print(" ### hashed_pwd = ", hashed_pwd) - salt = salt.decode("UTF-8") - hashed_pwd = hashed_pwd.decode("UTF-8") + if (type(salt) is bytes): + salt = salt.decode("UTF-8") + hashed_pwd = hashed_pwd.decode("UTF-8") - print(" ### SALT DECO = ", salt) - print(" ### hashed_pwd DECO = ", hashed_pwd) if (retval is None or "current_val" not in retval.keys()): @@ -197,7 +194,7 @@ def Create_MySy_LMS_User(diction): "active = '1';" try: - print(" ### my_query = ", my_query) + #print(" ### my_query = ", my_query) #cur.execute("INSERT INTO employees (first_name,last_name) VALUES (?, ?)", ("Maria", "DB")) cur.execute(my_query) except mariadb.Error as e: @@ -206,7 +203,7 @@ def Create_MySy_LMS_User(diction): return False, "Impossible de créer l'utilisateur LMS "+str({e}), False conn.commit() - print(f"Last Inserted ID: {cur.lastrowid}") + #print(f"Last Inserted ID: {cur.lastrowid}") """" @@ -235,7 +232,7 @@ def Create_MySy_LMS_User(diction): # Crementation de la sequence de l'objet "lms_user_id" dans la collection : "mysy_sequence" - print(" ### current_seq_value = ", current_seq_value) + #print(" ### current_seq_value = ", current_seq_value) new_sequence_value = int(mycommon.tryInt(current_seq_value))+1 mydata = {'current_val':new_sequence_value} @@ -335,8 +332,11 @@ def Update_Passwd_MySy_LMS_User(diction): salt = bcrypt.gensalt() hashed_pwd = bcrypt.hashpw(mypasswd, salt) - salt = salt.decode('UTF-8') - hashed_pwd = hashed_pwd.decode('UTF-8') + #print(" ### type(salt) = ", type(salt)) + if (type(salt) is bytes): + #print(" ### ON VA DECODER") + salt = salt.decode('UTF-8') + hashed_pwd = hashed_pwd.decode('UTF-8') conn = mariadb.connect( @@ -363,7 +363,7 @@ def Update_Passwd_MySy_LMS_User(diction): "id='" + str(lms_user_id) + "' " \ "AND user_id='" + str( lms_user_id) + "' AND enabled='1' AND status = '1' AND active = '1' ;" try: - print(" ### my_query update = ", my_query) + #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: @@ -417,8 +417,11 @@ def Enable_MySy_LMS_User(diction): salt = bcrypt.gensalt() hashed_pwd = bcrypt.hashpw(mypasswd, salt) - #salt = salt.decode('UTF-8') - #hashed_pwd = hashed_pwd.decode('UTF-8') + #print(" ### type(salt) = ", type(salt)) + if( type(salt) is bytes ): + #print(" ### ON VA DECODER") + salt = salt.decode('UTF-8') + hashed_pwd = hashed_pwd.decode('UTF-8') updated_at = datetime.now().strftime("%Y-%m-%d %H:%M:%S") @@ -436,7 +439,7 @@ def Enable_MySy_LMS_User(diction): my_query = "UPDATE user SET active='1', enabled = '1', " \ " salt = '"+str(salt)+"', password = '"+str(hashed_pwd)+"' WHERE id='" + str(lms_user_id) + "' AND user_id='" + str( lms_user_id) + "' ;" try: - print(" ### my_query update = ", my_query) + #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: @@ -495,7 +498,7 @@ def Disable_MySy_LMS_User(diction): my_query = "UPDATE user SET active='0', enabled = '0', " \ " updated_at='" + str(updated_at) + "' WHERE id='" + str(lms_user_id) + "' AND user_id='" + str(lms_user_id) + "' ;" try: - print(" ### my_query update = ", my_query) + #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: @@ -518,7 +521,7 @@ def Disable_MySy_LMS_User(diction): my_query = "UPDATE course SET subscribe='0', visibility = '0' , expiration_date='" + str(updated_at) + "' WHERE id='" + str(course_id[0]) + "' ;" try: - print(" ### my_query update = ", my_query) + #print(" ### my_query update = ", my_query) # cur.execute("INSERT INTO employees (first_name,last_name) VALUES (?, ?)", ("Maria", "DB")) cur2.execute(my_query) except mariadb.Error as e: @@ -541,6 +544,77 @@ def Disable_MySy_LMS_User(diction): return False, " Impossible de desactiver le compte" +""" +Cette fonction permet de desactivier les formation d'un utilisateur +""" +def Disable_MySy_LMS_Class_Of_User(diction): + try: + + field_list_obligatoire = ['lms_user_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_user_id = "" + if ("lms_user_id" in diction.keys()): + if diction['lms_user_id']: + lms_user_id = diction['lms_user_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() + + + # Recuperation des formation de cet utilisateur + #print(" ### Disable_MySy_LMS_Class_Of_User : lms_user_id = ", lms_user_id) + cur.execute("SELECT c_id FROM course_rel_user WHERE user_id='"+str(lms_user_id)+"' ") + + cpt_nb_disable_class = 0 + for course_id in cur: + cpt_nb_disable_class = cpt_nb_disable_class + 1 + mycommon.myprint(str(inspect.stack()[0][3]) + " Desactivation de la formation_id = " + str(course_id[0])+" ") + # Desactivation du compte dans chamilo + # insert information + my_query = "UPDATE course SET subscribe='0', visibility = '0' , expiration_date='" + str(updated_at) + "' WHERE id='" + str(course_id[0]) + "' ;" + + try: + #print(" ### Disable_MySy_LMS_Class_Of_User : my_query update = ", my_query) + # cur.execute("INSERT INTO employees (first_name,last_name) VALUES (?, ?)", ("Maria", "DB")) + cur2.execute(my_query) + except mariadb.Error as e: + print(f"Error: {e}") + mycommon.myprint(str(inspect.stack()[0][3]) + " IMPOSSIBLE DE Desactiver la formation_id = " + str(course_id[0])) + + conn.commit() + + # Desactivation des formations créées par ce compte utilisateur + conn.close() + + #print(" ### "+str(cpt_nb_disable_class)+" formations de l'utilisateur ont été bien desactivées" ) + + return True, str(cpt_nb_disable_class)+" formations de l'utilisateur ont été bien desactivées" + + 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 compte" + + + + """ Cette fonction permet de mettre à jour - le pack abonnement et @@ -636,7 +710,7 @@ def Update_Pack_MySy_LMS_User(diction): """ MISE à JOUR DU mysy_pack """ query_get_mysy_pack_id = "select id from extra_field where variable = 'mysy_pack' " - print(" ### query_get_mysy_pack_id = ", query_get_mysy_pack_id) + #print(" ### query_get_mysy_pack_id = ", query_get_mysy_pack_id) mysy_pack_id = cur.execute(query_get_mysy_pack_id) mysy_pack_id_val = "" @@ -647,12 +721,12 @@ def Update_Pack_MySy_LMS_User(diction): query_2 = "select id from extra_field_values where field_id = '"+str(mysy_pack_id_val)+"' and item_id = '"+str(lms_user_id)+"' " - print(" ### query_2 = ", query_2) + #print(" ### query_2 = ", query_2) mysy_pack_id2 = cur.execute(query_2) mysy_pack_id_val2 = "" for mysy_pack_id2 in cur: - print(f"mysy_pack_id2: ", mysy_pack_id2[0]) + #print(f"mysy_pack_id2: ", mysy_pack_id2[0]) mysy_pack_id_val2 = mysy_pack_id2[0] @@ -667,7 +741,7 @@ def Update_Pack_MySy_LMS_User(diction): mysy_pack) + "' where id = '" + str(mysy_pack_id_val2) + "' " elif( str(mysy_pack_id_val2).strip() == ""): - print(" #### la ligne n'existe pas, il faut la créer ") + #print(" #### la ligne n'existe pas, il faut la créer ") localquery = " INSERT INTO extra_field_values SET field_id = '"+str(mysy_pack_id_val)+"' , " \ " item_id = '"+str(lms_user_id)+"'," \ " created_at = '"+now+"', updated_at = '" + now + "', " \ @@ -675,10 +749,10 @@ def Update_Pack_MySy_LMS_User(diction): - print(" ### localquery = ", localquery) + #print(" ### localquery = ", localquery) try: - print(" ### my_query update = ", localquery) + #print(" ### my_query update = ", localquery) # cur.execute("INSERT INTO employees (first_name,last_name) VALUES (?, ?)", ("Maria", "DB")) cur.execute(localquery) except mariadb.Error as e: @@ -699,7 +773,7 @@ def Update_Pack_MySy_LMS_User(diction): """ MISE à JOUR DU mysy_nb_formation """ query_get_mysy_pack_id = "select id from extra_field where variable = 'mysy_nb_formation' " - print(" ### query_get_mysy_pack_id = ", query_get_mysy_pack_id) + #print(" ### query_get_mysy_pack_id = ", query_get_mysy_pack_id) mysy_pack_id = cur.execute(query_get_mysy_pack_id) mysy_pack_id_val = "" @@ -709,12 +783,12 @@ def Update_Pack_MySy_LMS_User(diction): query_2 = "select id from extra_field_values where field_id = '" + str( mysy_pack_id_val) + "' and item_id = '" + str(lms_user_id) + "' " - print(" ### query_2 = ", query_2) + #print(" ### query_2 = ", query_2) mysy_pack_id2 = cur.execute(query_2) mysy_pack_id_val2 = "" for mysy_pack_id2 in cur: - print(f"mysy_pack_id2: ", mysy_pack_id2[0]) + #print(f"mysy_pack_id2: ", mysy_pack_id2[0]) mysy_pack_id_val2 = mysy_pack_id2[0] query_get_mysy_nb_formation_id = "select id from extra_field where variable = '" + str( @@ -727,7 +801,7 @@ def Update_Pack_MySy_LMS_User(diction): mysy_nb_formation) + "' where id = '" + str(mysy_pack_id_val2) + "' " elif (str(mysy_pack_id_val2).strip() == ""): - print(" #### la ligne n'existe pas, il faut la créer ") + #print(" #### la ligne n'existe pas, il faut la créer ") localquery = " INSERT INTO extra_field_values SET field_id = '" + str(mysy_pack_id_val) + "' , " \ " item_id = '" + str( lms_user_id) + "'," \ @@ -736,10 +810,10 @@ def Update_Pack_MySy_LMS_User(diction): - print(" ### localquery = ", localquery) + #print(" ### localquery = ", localquery) try: - print(" ### my_query update = ", localquery) + #print(" ### my_query update = ", localquery) # cur.execute("INSERT INTO employees (first_name,last_name) VALUES (?, ?)", ("Maria", "DB")) cur.execute(localquery) except mariadb.Error as e: @@ -860,7 +934,7 @@ def Check_MySy_LMS_Account(diction): Ce pack necessite un compte LMS """ if( mysy_lms_user_id.strip() == ""): - print(" ### ce partenaire n'as pas de compte LMS, il faut en créer 1 ") + #print(" ### ce partenaire n'as pas de compte LMS, il faut en créer 1 ") new_diction = {} lastname = "" @@ -936,7 +1010,7 @@ def Check_MySy_LMS_Account(diction): new_diction['mysy_pack'] = my_partner['pack_service'] new_diction['mysy_nb_formation'] = my_partner['nb_formation'] - print(" ### stored mysy_nb_formation = ", my_partner['nb_formation']) + #print(" ### stored mysy_nb_formation = ", my_partner['nb_formation']) local_status, local_retval, new_lms_use_id = Update_Pack_MySy_LMS_User(new_diction) if (local_status is False): @@ -1057,13 +1131,13 @@ def Get_Active_Ftions_Mysy_and_Lms(diction): cur = conn.cursor() lms_count_qry = "select count(*) from course as a left join course_rel_user as b on a.id = b.c_id where a.visibility != '0' and b.user_id = '"+mysy_lms_user_id+"' " - print(" ### lms_count_qry = ", lms_count_qry) + #print(" ### lms_count_qry = ", lms_count_qry) lms_count_exec = cur.execute(lms_count_qry) lms_count_courses = "" lms_count_courses_val = "0" for lms_count_courses in cur: - print(f"lms_count_courses_val: ", lms_count_courses[0]) + #print(f"lms_count_courses_val: ", lms_count_courses[0]) lms_count_courses_val = lms_count_courses[0] diff --git a/strype_payement.py b/strype_payement.py index ed39af1..22a339c 100644 --- a/strype_payement.py +++ b/strype_payement.py @@ -19,6 +19,7 @@ import time from datetime import datetime from dateutil.relativedelta import relativedelta import email_mgt as email_mgt +import lms_chamilo.mysy_lms as mysy_lms # Setup Stripe python client library load_dotenv(find_dotenv()) @@ -884,7 +885,15 @@ def strip_update_subscription_qty(diction): """ Cette fonction permet de changer l'abonnement d'un partenaire. -Par exemple cas d'un "standard" qui passe "Gold" ou vice-versa +Par exemple cas d'un "standard" qui passe "Gold" ou vice-versa. + +IMPORTANT : +Le changement de plan d'abonnement entraine la desactivation et depublucation +des formations dans MySy et dans le LMS. + +Par la suite, le client pourra reactivier et republier ses formations selon +les nouvelles conditions de son abonnement. + """ def strip_update_subscription_plan(diction): try: @@ -933,12 +942,12 @@ def strip_update_subscription_plan(diction): str(inspect.stack()[0][3]) + " Impossible d'annuler le payement ") return False, " Impossible de changer l'abonnement " - """ - pack = "" - if ("pack_service" in local_ret_val.keys()): - if local_ret_val['pack_service']: - pack = local_ret_val['pack_service'] + lms_user_id = "" + if ("mysy_lms_user_id" in local_ret_val.keys()): + if local_ret_val['mysy_lms_user_id']: + lms_user_id = local_ret_val['mysy_lms_user_id'] + """ qty = "" if ("nb_formation" in local_ret_val.keys()): if local_ret_val['nb_formation']: @@ -988,6 +997,27 @@ def strip_update_subscription_plan(diction): mycommon.myprint( str(inspect.stack()[0][3]) + " - WARNING : changement qté abonnement, Impossible d'envoyer le mail de notification au partenaire") + + """ + Important : + Le changement de plan d'abonnement entraine la desactivation et depublucation + des formations dans MySy et dans le LMS. + + Par la suite, le client pourra reactivier et republier ses formations selon + les nouvelles conditions de son abonnement. + """ + + # 1 - Depublication des formations dans MySy + #print(" ### str(local_ret_val['recid']) = ", str(partner_recid)) + local_result = MYSY_GV.dbname['myclass'].update_many({'partner_owner_recid':str(partner_recid)}, {"$set":{'published':'0'}}) + #print(" #### "+str(local_result.matched_count)+" Formations ont été depubliées dans MySy ") + + # 2 - Desactivation des formations dans le LMS + new_diction = {} + new_diction['lms_user_id'] = lms_user_id + print(" #### new_diction = ", new_diction) + local_status, local_message = mysy_lms.Disable_MySy_LMS_Class_Of_User(new_diction) + print(" ### local_status = "+str(local_status)+" mysy_lms.Disable_MySy_LMS_Class_Of_User = "+str(local_message)) return True, " ok"