diff --git a/.idea/workspace.xml b/.idea/workspace.xml index ffb15e1..64f2439 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,10 +1,15 @@ - + - + + + + + + @@ -372,7 +384,6 @@ - @@ -397,6 +408,7 @@ - \ No newline at end of file diff --git a/Log/log_file.log b/Log/log_file.log index 80bfb55..f39b39d 100644 --- a/Log/log_file.log +++ b/Log/log_file.log @@ -1530903,3 +1530903,2424 @@ INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/custome DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MC3ZzAbmaEugrFTHOYIgDoT",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342471,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3ZEAbmaEugrFTToto64hi",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342424,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3QuAbmaEugrFTnTryqbnc",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670341908,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M7NaAAbmaEugrFTk4H2nWqy",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1669227722,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_N2bGPzzOOtLu8H message='Dashboard link for request' INFO:werkzeug:127.0.0.1 - - [19/Mar/2023 19:44:29] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +DEBUG:filelock:Attempting to acquire lock 1633508041168 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1633508041168 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 1633508041168 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1633508041168 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 1633508344144 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1633508344144 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-20 11:09:14.345954 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 11:09:14.345954 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 11:09:14.345954 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 11:09:14.345954 : ++ FLASK PORT 5001 ++ +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 1633508344144 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1633508344144 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1633509828816 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1633509828816 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 1633509828816 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1633509828816 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 2211757014672 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2211757014672 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 2211757014672 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2211757014672 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 2211832311120 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2211832311120 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). +INFO:root:2023-03-20 11:09:40.495292 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Attempting to release lock 2211832311120 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 11:09:40.496290 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 11:09:40.496290 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 11:09:40.496290 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2211832311120 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2211836092624 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2211836092624 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 2211836092624 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2211836092624 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-20 11:22:38.930822 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 11:22:38.931814 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 11:22:38.932813 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:39] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:39] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:39] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-03-20 11:22:39.750153 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 11:22:39.753156 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:40] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-03-20 11:22:40.532531 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 11:22:40.535532 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 11:22:40.539529 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 11:22:40.542537 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 11:22:40.545534 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-20 11:22:40.552535 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-20 11:22:40.560533 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 11:22:40.566532 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-20 11:22:40.576533 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-20 11:22:40.594072 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-03-20 11:22:40.598086 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-20 11:22:40.604087 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-03-20 11:22:40.611092 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-20 11:22:40.614089 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 11:22:40.615090 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 11:22:40.620091 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 11:22:40.621090 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-03-20 11:22:40.624087 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-20 11:22:46.501189 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 11:22:47.193857 : partner_login Connexion partnair billardman1@gmail.com : OK, Date : 2023-03-20 11:22:46.502188 , _id = 61e538fab80f67195de32dd2 +INFO:root:2023-03-20 11:22:47.206359 : partner_login Connexion partener_token : OK , _id = 6218ac277a813b77409aa7f6 +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:47] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-03-20 11:22:47.403149 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 11:22:47.406152 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 11:22:47.409149 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:47] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-20 11:22:47.421156 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:47] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:47] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-20 11:22:47.651815 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:22:47] "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\\ela_factures_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2810566059728 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2810566059728 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 2810566059728 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2810566059728 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 2810566061584 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2810566061584 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-20 11:29:43.868098 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 11:29:43.868098 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 11:29:43.868098 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 11:29:43.868098 : ++ 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 2810566061584 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2810566061584 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2810566062416 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2810566062416 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 2810566062416 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2810566062416 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\\ela_factures_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2833968176720 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2833968176720 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 2833968176720 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2833968176720 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 2833968178896 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2833968178896 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 2833968178896 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 11:30:58.722785 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Lock 2833968178896 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 11:30:58.722785 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 11:30:58.722785 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 11:30:58.722785 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to acquire lock 2833968819792 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2833968819792 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 2833968819792 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2833968819792 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-20 11:32:38.608255 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 11:32:38.611253 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 11:32:38.612253 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:32:38] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-20 11:32:38.621266 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:32:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:32:38] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-20 11:32:39.187116 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:32:39] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-20 11:32:42.940737 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 11:32:42.942733 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 11:32:42.945734 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:32:42] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/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_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MC3ZzAbmaEugrFTHOYIgDoT",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342471,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3ZEAbmaEugrFTToto64hi",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342424,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3QuAbmaEugrFTnTryqbnc",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670341908,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M7NaAAbmaEugrFTk4H2nWqy",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1669227722,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_qIBJJc6dEtRg18 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:32:43] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-20 11:32:44.601464 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:32:44] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:root:2023-03-20 11:33:00.189318 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\tChérif Balde
\n\t\t\t\t\tsdsdds
\n\t\t\t\t\t77680 Roissy En Brie
\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_233000180\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: 20/03/2023 Date échéance : 20/03/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00Wr7u\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
standard550250.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: 250.0
    TVA 20% : 50.0
    Montant TTC : 300.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_233000180.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): 0xd5d78910 +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_233000180.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000180.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_233000180.pdf') +INFO:root:2023-03-20 11:33:10.187013 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_233000180.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000180.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-20 11:33:10.188014 : Impression facture N° FACT_233000180 OK +INFO:root:2023-03-20 11:33:10.234042 : UpdataPartnerRankingClass - Le RANKING de 173 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-03-20 11:33:10.207765', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:33:10] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-03-20 11:33:10.407671 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 11:33:11] "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\\ela_factures_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1738398146000 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1738398146000 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 1738398146000 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1738398146000 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 1738398450128 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1738398450128 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-20 11:35:11.856059 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 11:35:11.857059 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 11:35:11.857059 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 11:35:11.857059 : ++ 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 1738398450128 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1738398450128 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1738396860688 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1738396860688 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 1738396860688 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1738396860688 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 3109381906576 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3109381906576 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 3109381906576 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3109381906576 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 3109381908496 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3109381908496 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 3109381908496 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 11:43:08.783094 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 11:43:08.783094 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 11:43:08.783094 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 11:43:08.783094 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 3109381908496 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 3109383655440 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3109383655440 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 3109383655440 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3109383655440 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1956433795920 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1956433795920 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 1956433795920 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1956433795920 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 1956434100752 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1956434100752 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 1956434100752 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1956434100752 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 11:43:48.829248 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Attempting to acquire lock 1956434101136 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 11:43:48.830251 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 11:43:48.830251 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 11:43:48.830251 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 1956434101136 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 1956434101136 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1956434101136 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2055520032912 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2055520032912 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 2055520032912 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2055520032912 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 2055520035152 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2055520035152 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 2055520035152 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2055520035152 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2055205290256 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2055205290256 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-03-20 11:44:46.169313 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 11:44:46.169313 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 11:44:46.169313 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 11:44:46.169313 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 2055205290256 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2055205290256 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2337629969104 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2337629969104 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 2337629969104 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2337629969104 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 2337629971152 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2337629971152 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-20 11:46:04.375543 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 11:46:04.375543 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 11:46:04.375543 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 11:46:04.375543 : ++ 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 2337629971152 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2337629971152 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2337628293840 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2337628293840 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 2337628293840 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2337628293840 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 1875148185744 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1875148185744 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 1875148185744 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1875148185744 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 1875148187920 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1875148187920 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 1875148187920 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1875148187920 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 11:46:27.732084 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 11:46:27.732879 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +DEBUG:filelock:Attempting to acquire lock 1875169954192 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 11:46:27.732879 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 11:46:27.732879 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 1875169954192 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 1875169954192 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1875169954192 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1971460938832 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1971460938832 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 1971460938832 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1971460938832 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 1971460940944 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1971460940944 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 1971460940944 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1971460940944 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1971462459024 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 11:48:13.684179 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Lock 1971462459024 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 11:48:13.685180 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 11:48:13.685180 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 11:48:13.685180 : ++ FLASK PORT 5001 ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1971462459024 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1971462459024 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2416539508624 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2416539508624 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 2416539508624 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2416539508624 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 2416539510672 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2416539510672 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 2416539510672 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2416539510672 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2416537833744 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2416537833744 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-03-20 11:49:07.539600 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 11:49:07.539600 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 11:49:07.540599 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 11:49:07.540599 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 2416537833744 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2416537833744 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2428711379152 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2428711379152 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 2428711379152 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2428711379152 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 2428711682640 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2428711682640 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 2428711682640 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2428711682640 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 11:49:51.915741 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Attempting to acquire lock 2428713133712 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 11:49:51.915741 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 11:49:51.915741 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 11:49:51.915741 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2428713133712 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 2428713133712 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2428713133712 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2167843496080 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2167843496080 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 2167843496080 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2167843496080 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 2167843799568 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2167843799568 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). +INFO:root:2023-03-20 11:50:25.143711 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Attempting to release lock 2167843799568 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 11:50:25.144723 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 11:50:25.144723 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 11:50:25.144723 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2167843799568 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2167843799568 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2167843799568 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 2167843799568 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2167843799568 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2699429583504 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2699429583504 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 2699429583504 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2699429583504 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 2699429888592 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2699429888592 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 2699429888592 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 11:52:02.936955 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 11:52:02.936955 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 11:52:02.936955 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 11:52:02.936955 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2699429888592 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2699427907664 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2699427907664 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 2699427907664 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2699427907664 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2652269920656 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2652269920656 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 2652269920656 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2652269920656 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 2652288756048 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2652288756048 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-20 11:58:43.954875 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 11:58:43.954875 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 11:58:43.954875 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 11:58:43.955876 : ++ 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 2652288756048 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2652288756048 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2652291029456 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2652291029456 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 2652291029456 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2652291029456 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 2026524811472 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2026524811472 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 2026524811472 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2026524811472 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 2026524813008 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2026524813008 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 2026524813008 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2026524813008 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 11:59:37.455048 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 11:59:37.455048 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 11:59:37.455048 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 11:59:37.455048 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to acquire lock 2026258050256 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2026258050256 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 2026258050256 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2026258050256 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1811665296528 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1811665296528 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 1811665296528 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1811665296528 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 1811665601168 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1811665601168 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-20 12:00:20.089664 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 12:00:20.089664 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 12:00:20.089664 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 12:00:20.089664 : ++ FLASK PORT 5001 ++ +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 1811665601168 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +DEBUG:filelock:Lock 1811665601168 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1811665409296 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1811665409296 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 1811665409296 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1811665409296 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 3111662512208 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3111662512208 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 3111662512208 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3111662512208 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 3111662862928 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3111662862928 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 3111662862928 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 12:01:57.345913 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 12:01:57.346916 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 12:01:57.346916 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 12:01:57.346916 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 3111662862928 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 3111574318480 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3111574318480 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 3111574318480 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3111574318480 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-20 12:03:46.232093 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:03:46] "GET /myclass/api/Get_Active_Ftions_Mysy_and_Lms HTTP/1.1" 308 - +INFO:root:2023-03-20 12:03:46.241094 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:03:46.980354 : Get_Active_Ftions_Mysy_and_Lms -'partner_owner_recid' - Line : 1032 +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:03:46] "GET /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2173989200976 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2173989200976 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 2173989200976 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2173989200976 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 2173989203600 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2173989203600 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-20 12:04:38.265443 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 12:04:38.265443 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 12:04:38.265443 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 12:04:38.266439 : ++ 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 2173989203600 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2173989203600 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2173989203920 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2173989203920 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 2173989203920 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2173989203920 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 12:04:41.171040 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:04:41] "GET /myclass/api/Get_Active_Ftions_Mysy_and_Lms HTTP/1.1" 308 - +INFO:root:2023-03-20 12:04:41.178041 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:04:41] "GET /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:07:57.488680 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:07:57] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:12:21.080333 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:12:21.083596 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:12:21.092622 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:12: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_MZplrIZfdYw75Y/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_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MC3ZzAbmaEugrFTHOYIgDoT",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342471,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3ZEAbmaEugrFTToto64hi",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342424,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3QuAbmaEugrFTnTryqbnc",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670341908,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M7NaAAbmaEugrFTk4H2nWqy",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1669227722,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_mj7tPNJv4G6K6j message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:12:21] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:16:50.701493 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:16:50.706491 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:16:50.711490 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:16: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_MZplrIZfdYw75Y/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_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MC3ZzAbmaEugrFTHOYIgDoT",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342471,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3ZEAbmaEugrFTToto64hi",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342424,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3QuAbmaEugrFTnTryqbnc",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670341908,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M7NaAAbmaEugrFTk4H2nWqy",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1669227722,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_nbSI4sQbTd7Qtk message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:16:51] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:16:54.341713 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:16:54.345711 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:16:54] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:16:54.350762 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:16:54.361788 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:16:54] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:16:54] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:16:55.560662 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:16:55] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:17:03.757633 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:17:03.766188 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:17:03] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:17:03.772196 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/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_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MC3ZzAbmaEugrFTHOYIgDoT",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342471,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3ZEAbmaEugrFTToto64hi",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342424,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3QuAbmaEugrFTnTryqbnc",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670341908,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M7NaAAbmaEugrFTk4H2nWqy",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1669227722,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_xSoidwvLL9H2FJ message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:17:04] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:17:08.064069 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:17:08] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:17:08.074429 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:17:08] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:18:25.941853 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:18:25.946509 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:18:25.951501 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:18:25] "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_MZplrIZfdYw75Y/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_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MC3ZzAbmaEugrFTHOYIgDoT",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342471,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3ZEAbmaEugrFTToto64hi",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342424,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3QuAbmaEugrFTnTryqbnc",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670341908,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M7NaAAbmaEugrFTk4H2nWqy",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1669227722,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_o3kFoB7wlgNCXt message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:18:26] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:18:36.103049 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:18:36.108046 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:18:36] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:18:36.114052 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:18:36.130049 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:18:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:18:36] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:18:37.649740 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:18:37] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:18:39.225877 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:18:39.230879 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:18:39.241898 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:18:39] "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_MZplrIZfdYw75Y/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_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MC3ZzAbmaEugrFTHOYIgDoT",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342471,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3ZEAbmaEugrFTToto64hi",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342424,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3QuAbmaEugrFTnTryqbnc",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670341908,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M7NaAAbmaEugrFTk4H2nWqy",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1669227722,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_EnysJ8DxhjrPUp message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:18:39] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:18:45.848806 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:18:45] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:18:45.858810 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:18:45] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:20:18.289093 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:20:18] "GET /myclass/api/Get_Active_Ftions_Mysy_and_Lms HTTP/1.1" 308 - +INFO:root:2023-03-20 12:20:18.298488 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:20:18] "GET /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:22:05.321836 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:22:05.324850 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:22:05.331849 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:22:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/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_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MC3ZzAbmaEugrFTHOYIgDoT",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342471,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3ZEAbmaEugrFTToto64hi",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342424,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3QuAbmaEugrFTnTryqbnc",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670341908,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M7NaAAbmaEugrFTk4H2nWqy",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1669227722,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_UXB2jAyKonRVdY message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:22:05] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:22:09.544936 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:22:09] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:22:09.557959 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:22:09.567530 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:22:09] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:22:09.572530 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:22:09] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:22:11.021606 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:22:11] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:22:13.401027 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:22:13.408027 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:22:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:22:13.413034 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/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_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MC3ZzAbmaEugrFTHOYIgDoT",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342471,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3ZEAbmaEugrFTToto64hi",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342424,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3QuAbmaEugrFTnTryqbnc",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670341908,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M7NaAAbmaEugrFTk4H2nWqy",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1669227722,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_1DGUyMOYFO8RSO message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:22:13] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:22:20.358386 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:22:20] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:22:20.369941 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:22:20] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:28:22.101127 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:28:22.105890 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:28:22.110800 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:28:22] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/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_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MC3ZzAbmaEugrFTHOYIgDoT",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342471,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3ZEAbmaEugrFTToto64hi",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342424,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3QuAbmaEugrFTnTryqbnc",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670341908,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M7NaAAbmaEugrFTk4H2nWqy",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1669227722,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_yuRBqCsrKD2SY8 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:28:22] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:29:54.355400 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:29:54.361400 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:29:54] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:29:54.372397 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:root:2023-03-20 12:29:54.373399 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:29:54] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:29:54] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:29:55.684887 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:29:55] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:29:57.568450 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:29:57.572455 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:29:57.576456 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:29: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_MZplrIZfdYw75Y/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_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MC3ZzAbmaEugrFTHOYIgDoT",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342471,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3ZEAbmaEugrFTToto64hi",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342424,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3QuAbmaEugrFTnTryqbnc",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670341908,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M7NaAAbmaEugrFTk4H2nWqy",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1669227722,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_q8u26ntEKrH4b7 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:29:57] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:29:58.924924 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:29:58.927934 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:29:58] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:29:58] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:31:02.432320 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:31:02.436320 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:31:02.441324 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:31:02] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/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_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MC3ZzAbmaEugrFTHOYIgDoT",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342471,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3ZEAbmaEugrFTToto64hi",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342424,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3QuAbmaEugrFTnTryqbnc",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670341908,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M7NaAAbmaEugrFTk4H2nWqy",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1669227722,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_6ViyK4wkt2OdEz message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:31:02] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:31:05.661778 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:31:05.665773 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:31:05.670771 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:31:05] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:31:05.679792 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:31:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:31:05] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:31:07.091949 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:31:07] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:31:08.492843 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:31:08.500390 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:31:08.504388 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:31: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_MZplrIZfdYw75Y/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_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MC3ZzAbmaEugrFTHOYIgDoT",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342471,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3ZEAbmaEugrFTToto64hi",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342424,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3QuAbmaEugrFTnTryqbnc",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670341908,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M7NaAAbmaEugrFTk4H2nWqy",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1669227722,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_XT4Fx5HPUCRiWz message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:31:08] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:31:10.924786 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:31:10.930797 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:31:10] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:31:10] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:31:54.673743 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:31:54.678747 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:31:54.685747 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:31: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_MZplrIZfdYw75Y/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_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MC3ZzAbmaEugrFTHOYIgDoT",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342471,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3ZEAbmaEugrFTToto64hi",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342424,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3QuAbmaEugrFTnTryqbnc",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670341908,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M7NaAAbmaEugrFTk4H2nWqy",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1669227722,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_o5CD1MgCf4dfLg message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:31:55] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:32:17.484846 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:32:17.489837 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:32:17.493843 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:32:17] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:32:17.508860 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:32:17] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:32:17] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:32:18.196133 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:32:18] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:32:20.383689 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:32:20.391688 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:32:20.392690 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:32:20] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/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_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MC3ZzAbmaEugrFTHOYIgDoT",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342471,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3ZEAbmaEugrFTToto64hi",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342424,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3QuAbmaEugrFTnTryqbnc",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670341908,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M7NaAAbmaEugrFTk4H2nWqy",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1669227722,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Jualpw8v7b9rY1 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:32:20] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:32:22.044185 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:32:22.050201 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:32:22] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:32:22] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:33:20.000797 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:33:20.007822 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:33:20.011817 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:33:20] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/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_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MC3ZzAbmaEugrFTHOYIgDoT",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342471,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3ZEAbmaEugrFTToto64hi",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342424,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3QuAbmaEugrFTnTryqbnc",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670341908,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M7NaAAbmaEugrFTk4H2nWqy",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1669227722,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_6jH5BfWjH8rjVq message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:33:20] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:33:23.087765 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:33:23] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:33:23.111783 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:33:23.115789 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:33:23.121786 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:33:23] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:33:23] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:33:24.689830 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:33:24] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:34:02.110273 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:34:02.113521 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:34:02.120730 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:34:02] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_MZplrIZfdYw75Y/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_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MC3ZzAbmaEugrFTHOYIgDoT",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342471,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3ZEAbmaEugrFTToto64hi",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342424,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3QuAbmaEugrFTnTryqbnc",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670341908,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M7NaAAbmaEugrFTk4H2nWqy",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1669227722,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_lEVnEJABllVjNI message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:34:02] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:34:03.687250 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:34:03] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:34:03.695250 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:34:03] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:35:41.697387 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:35:41.704383 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:35:41.708395 : Connexion du partner recid = 1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35: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_MZplrIZfdYw75Y/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_MZplrIZfdYw75Y/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MC3ZzAbmaEugrFTHOYIgDoT",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342471,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3ZEAbmaEugrFTToto64hi",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670342424,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1MC3QuAbmaEugrFTnTryqbnc",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1670341908,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M7NaAAbmaEugrFTk4H2nWqy",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1669227722,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6ChLAbmaEugrFTQoa98s8Y",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947555,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CftAbmaEugrFTLfSHV7sD",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668947465,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CO3AbmaEugrFTa9Y2vg7A",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946359,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CMLAbmaEugrFTU5Au16PQ",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668946253,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CDHAbmaEugrFTRdqW4RsY",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945691,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n },\n {\n "id": "pm_1M6CAPAbmaEugrFTeFQMGJCt",\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": null,\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": null\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1668945513,\n "customer": "cus_MZplrIZfdYw75Y",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": true,\n "url": "/v1/customers/cus_MZplrIZfdYw75Y/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_mmjnb2nT6FFFIy message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35:42] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:35:54.100157 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:35:54.103158 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:35:54.105159 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35:54] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35:54] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35:54] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:35:54.889736 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:35:54.891732 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35:55] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:35:55.391123 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:35:55.395143 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35:55] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:35:55.402137 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:35:55.407139 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35:55] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:35:55.412628 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35:55] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:35:55.418628 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35:55] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:35:55.424716 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:35:55.426714 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35:55] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35:55] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:35:55.434942 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:35:55.440944 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35:55] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35:55] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:35:55.446951 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35:55] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35:55] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:35:55.451940 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:35:55.457949 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:35:55.462945 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35:55] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35:55] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:35:55.470102 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35:55] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35:55] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:35:55.476941 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:35:55.479944 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35:55] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35:55] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35:55] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:35:55.493960 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:35:55] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:36:05.682157 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:36:06.807750 : partner_login Connexion partnair contact@mysy-training.com : OK, Date : 2023-03-20 12:36:05.684148 , _id = 63df9a429d95fcc1c2475167 +INFO:root:2023-03-20 12:36:06.814747 : partner_login Connexion partener_token : OK , _id = 63df9ac3486549268c864159 +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:36:06] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:36:07.262983 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:36:07.267981 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:36:07] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:36:07.270978 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:36:07.279982 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:36:07] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:36:07] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:36:07.810750 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:36:07] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:36:17.065410 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:36:17.068411 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:36:17.074424 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:36: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_xzVNqBTqrKdJXL message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:36:17] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:36:20.378404 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:36:20.381395 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:36:20] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:36:20] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:36:41.630615 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\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_233000181\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: 20/03/2023 Date échéance : 20/03/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00uF8f\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_233000181.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): 0x2c46d4d0 +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_233000181.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000181.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_233000181.pdf') +INFO:root:2023-03-20 12:36:47.492487 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_233000181.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000181.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-20 12:36:47.497491 : Impression facture N° FACT_233000181 OK +INFO:root:2023-03-20 12:36:47.567043 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '30', 'date_update': '2023-03-20 12:36:47.546045'} +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:36:47] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:36:48.718556 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:36:49] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 - +INFO:root:2023-03-20 12:37:19.366042 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 12:37:19.373037 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 12:37:19] "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 2728573707920 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2728573707920 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 2728573707920 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2728573707920 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 2728573710352 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2728573710352 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-20 14:56:00.033705 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 14:56:00.033705 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 14:56:00.033705 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 14:56:00.033705 : ++ 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 2728573710352 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2728573710352 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2728487928592 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2728487928592 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 2728487928592 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2728487928592 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 1917260047184 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1917260047184 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 1917260047184 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1917260047184 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 1917260049680 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1917260049680 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 1917260049680 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1917260049680 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 14:56:53.010940 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Attempting to acquire lock 1917260050000 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 14:56:53.010940 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 14:56:53.010940 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 14:56:53.011936 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 1917260050000 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 1917260050000 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1917260050000 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1853672270608 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1853672270608 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 1853672270608 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1853672270608 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 1853672273040 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1853672273040 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 1853672273040 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1853672273040 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 14:57:18.448903 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 14:57:18.449906 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +DEBUG:filelock:Attempting to acquire lock 1853675042704 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 14:57:18.449906 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 14:57:18.450901 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 1853675042704 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 1853675042704 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1853675042704 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2111050492496 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2111050492496 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 2111050492496 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2111050492496 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 2111050842640 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2111050842640 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 2111050842640 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2111050842640 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2111050842640 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2111050842640 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 2111050842640 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2111050842640 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1518249616400 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1518249616400 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 1518249616400 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1518249616400 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 1518249618384 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1518249618384 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 1518249618384 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 14:59:23.982291 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 14:59:23.982291 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 14:59:23.983294 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 14:59:23.983294 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 1518249618384 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1518184135696 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1518184135696 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 1518184135696 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1518184135696 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 1321101568528 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1321101568528 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 1321101568528 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1321101568528 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 1321101918672 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1321101918672 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 1321101918672 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 14:59:35.473713 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 14:59:35.473713 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 14:59:35.473713 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 14:59:35.473713 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 1321101918672 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1321082821328 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1321082821328 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 1321082821328 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1321082821328 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-20 15:01:22.475898 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:01:22] "GET /myclass/api/strip_update_subscription_qty HTTP/1.1" 308 - +INFO:root:2023-03-20 15:01:22.484893 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MnLhOAbmaEugrFTpd3xj9IG +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=items[0][quantity]=5 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MnLhOAbmaEugrFTpd3xj9IG response_code=400 +DEBUG:stripe:body='{\n "error": {\n "message": "You must pass one of plan, price, or price_data.",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_ECo5fmk2WSVszD?t=1679320886",\n "type": "invalid_request_error"\n }\n}\n' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_ECo5fmk2WSVszD message='Dashboard link for request' +INFO:stripe:error_code=None error_message='You must pass one of plan, price, or price_data.' error_param=None error_type=invalid_request_error message='Stripe API error received' +INFO:root:2023-03-20 15:01:25.110213 : strip_update_subscription_qty -Request req_ECo5fmk2WSVszD: You must pass one of plan, price, or price_data. - ERRORRRR AT Line : 824 +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:01:25] "GET /myclass/api/strip_update_subscription_qty/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1853770910672 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1853770910672 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 1853770910672 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1853770910672 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 1854099059600 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1854099059600 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 1854099059600 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1854099059600 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:02:40.466885 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 15:02:40.466885 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:02:40.467891 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +DEBUG:filelock:Attempting to acquire lock 1854100684880 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:02:40.467891 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 1854100684880 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 1854100684880 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1854100684880 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2641129809552 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2641129809552 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 2641129809552 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2641129809552 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 2641129812048 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2641129812048 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-20 15:04:16.545551 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 15:04:16.545551 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:04:16.545551 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:04:16.545551 : ++ 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 2641129812048 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2641129812048 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2641129930832 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2641129930832 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 2641129930832 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2641129930832 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 2391165004368 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2391165004368 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 2391165004368 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2391165004368 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 2391165338064 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2391165338064 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 2391165338064 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2391165338064 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:04:47.181523 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Attempting to acquire lock 2391070675472 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:04:47.182522 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:04:47.182522 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:04:47.182522 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2391070675472 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 2391070675472 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2391070675472 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1209290877648 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1209290877648 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 1209290877648 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1209290877648 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 1209290879440 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1209290879440 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 1209290879440 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:05:31.279245 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Lock 1209290879440 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:05:31.279245 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:05:31.279245 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:05:31.279245 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to acquire lock 1211131364624 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1211131364624 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 1211131364624 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1211131364624 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1808750267344 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1808750267344 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 1808750267344 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1808750267344 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 1808775394768 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1808775394768 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-20 15:05:54.871764 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 15:05:54.871764 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:05:54.871764 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:05:54.871764 : ++ 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 1808775394768 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1808775394768 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1808775395088 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1808775395088 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 1808775395088 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1808775395088 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:05:55.145884 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:05:55] "GET /myclass/api/strip_update_subscription_qty HTTP/1.1" 308 - +INFO:root:2023-03-20 15:05:55.152425 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MnLhOAbmaEugrFTpd3xj9IG +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=cancel_at_period_end=False&proration_behavior=create_prorations&items[0][quantity]=5 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MnLhOAbmaEugrFTpd3xj9IG response_code=400 +DEBUG:stripe:body='{\n "error": {\n "message": "You must pass one of plan, price, or price_data.",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_pXg315mHn9GUk7?t=1679321158",\n "type": "invalid_request_error"\n }\n}\n' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_pXg315mHn9GUk7 message='Dashboard link for request' +INFO:stripe:error_code=None error_message='You must pass one of plan, price, or price_data.' error_param=None error_type=invalid_request_error message='Stripe API error received' +INFO:root:2023-03-20 15:05:57.374097 : strip_update_subscription_qty -Request req_pXg315mHn9GUk7: You must pass one of plan, price, or price_data. - ERRORRRR AT Line : 826 +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:05:57] "GET /myclass/api/strip_update_subscription_qty/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1253519813200 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1253519813200 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 1253519813200 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1253519813200 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 1253520395536 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1253520395536 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-20 15:08:48.310150 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 15:08:48.310150 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:08:48.310150 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:08:48.310150 : ++ 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 1253520395536 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1253520395536 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1253520614224 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1253520614224 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 1253520614224 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1253520614224 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 2947083283280 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2947083283280 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 2947083283280 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2947083283280 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 2947083285264 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2947083285264 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 2947083285264 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2947083285264 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:09:18.497548 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Attempting to acquire lock 2947083286096 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:09:18.497548 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:09:18.497548 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:09:18.498549 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2947083286096 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 2947083286096 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2947083286096 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 3087958436112 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3087958436112 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 3087958436112 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3087958436112 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 3087958438608 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3087958438608 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 3087958438608 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:09:59.865465 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 15:09:59.865465 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:09:59.866470 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:09:59.866470 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 3087958438608 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 3087960260688 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3087960260688 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 3087960260688 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 3087960260688 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-20 15:10:00.130719 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:10:00] "GET /myclass/api/strip_update_subscription_qty HTTP/1.1" 308 - +INFO:root:2023-03-20 15:10:00.138702 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MnLhOAbmaEugrFTpd3xj9IG +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=2 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MnLhOAbmaEugrFTpd3xj9IG response_code=400 +DEBUG:stripe:body='{\n "error": {\n "message": "Cannot add multiple subscription items with the same plan: price_1MT3FLAbmaEugrFTDgw7MVgb",\n "param": "plan",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_lkB3TpZv7lHr2n?t=1679321403",\n "type": "invalid_request_error"\n }\n}\n' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_lkB3TpZv7lHr2n message='Dashboard link for request' +INFO:stripe:error_code=None error_message='Cannot add multiple subscription items with the same plan: price_1MT3FLAbmaEugrFTDgw7MVgb' error_param=plan error_type=invalid_request_error message='Stripe API error received' +INFO:root:2023-03-20 15:10:02.102107 : strip_update_subscription_qty -Request req_lkB3TpZv7lHr2n: Cannot add multiple subscription items with the same plan: price_1MT3FLAbmaEugrFTDgw7MVgb - ERRORRRR AT Line : 840 +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:10:02] "GET /myclass/api/strip_update_subscription_qty/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2074043131664 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2074043131664 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 2074043131664 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2074043131664 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 2074043449744 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2074043449744 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 2074043449744 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:10:58.127077 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 15:10:58.128072 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:10:58.128072 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:10:58.128072 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2074043449744 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2073712316816 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2073712316816 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 2073712316816 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2073712316816 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-20 15:10:58.374487 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:10:58] "GET /myclass/api/strip_update_subscription_qty HTTP/1.1" 308 - +INFO:root:2023-03-20 15:10:58.380487 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MnLhOAbmaEugrFTpd3xj9IG +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=cancel_at_period_end=False&proration_behavior=create_prorations&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=2 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MnLhOAbmaEugrFTpd3xj9IG response_code=400 +DEBUG:stripe:body='{\n "error": {\n "message": "Cannot add multiple subscription items with the same plan: price_1MT3FLAbmaEugrFTDgw7MVgb",\n "param": "plan",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_jKlzNcUeP3ncm3?t=1679321461",\n "type": "invalid_request_error"\n }\n}\n' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_jKlzNcUeP3ncm3 message='Dashboard link for request' +INFO:stripe:error_code=None error_message='Cannot add multiple subscription items with the same plan: price_1MT3FLAbmaEugrFTDgw7MVgb' error_param=plan error_type=invalid_request_error message='Stripe API error received' +INFO:root:2023-03-20 15:11:00.868611 : strip_update_subscription_qty -Request req_jKlzNcUeP3ncm3: Cannot add multiple subscription items with the same plan: price_1MT3FLAbmaEugrFTDgw7MVgb - ERRORRRR AT Line : 840 +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:11:00] "GET /myclass/api/strip_update_subscription_qty/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2967331301904 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2967331301904 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 2967331301904 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2967331301904 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 2967331304400 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2967331304400 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 2967331304400 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2967331304400 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:13:06.290745 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Attempting to acquire lock 2967331304784 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:13:06.290745 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:13:06.291740 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:13:06.291740 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2967331304784 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 2967331304784 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2967331304784 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1755679697552 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1755679697552 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 1755679697552 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1755679697552 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 1755679700176 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1755679700176 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 1755679700176 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:13:26.878289 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 15:13:26.879292 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:13:26.879292 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:13:26.879292 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 1755679700176 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1755368249872 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1755368249872 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 1755368249872 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1755368249872 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1847456312336 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1847456312336 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 1847456312336 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1847456312336 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 1847456661776 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1847456661776 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 1847456661776 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1847456661776 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:13:47.573192 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Attempting to acquire lock 1847456662096 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:13:47.573192 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:13:47.573192 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:13:47.574191 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 1847456662096 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 1847456662096 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1847456662096 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1965327135632 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1965327135632 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 1965327135632 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1965327135632 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 1965328840336 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1965328840336 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-20 15:14:09.398343 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 15:14:09.398343 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:14:09.398343 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:14:09.398343 : ++ 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 1965328840336 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1965328840336 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1965328840656 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1965328840656 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 1965328840656 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1965328840656 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 2047150288016 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2047150288016 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 2047150288016 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2047150288016 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 2047150290064 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2047150290064 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-20 15:15:31.295641 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 15:15:31.295641 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:15:31.295641 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:15:31.295641 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-03-20 15:15:31.549513 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:15:31] "GET /myclass/api/strip_update_subscription_qty HTTP/1.1" 308 - +INFO:root:2023-03-20 15:15:31.558531 : 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_1MnLhOAbmaEugrFTpd3xj9IG +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2047150290064 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2047150290064 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2047150290896 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2047150290896 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 2047150290896 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2047150290896 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MnLhOAbmaEugrFTpd3xj9IG response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MnLhOAbmaEugrFTpd3xj9IG",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679230258,\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": 1679230258,\n "currency": "eur",\n "current_period_end": 1681908658,\n "current_period_start": 1679230258,\n "customer": "cus_MZplrIZfdYw75Y",\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_NYScd5QAAiL8go",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679230258,\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_1MnLhOAbmaEugrFTpd3xj9IG",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MnLhOAbmaEugrFTpd3xj9IG"\n },\n "latest_invoice": "in_1MnLhOAbmaEugrFTz1KDtH7m",\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": 1679230258,\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_iw2AftZHeIeUDD message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MnLhOAbmaEugrFTpd3xj9IG +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=cancel_at_period_end=True&proration_behavior=create_prorations&items[0][id]=si_NYScd5QAAiL8go&items[0][quantity]=2 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MnLhOAbmaEugrFTpd3xj9IG response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MnLhOAbmaEugrFTpd3xj9IG",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679230258,\n "billing_thresholds": null,\n "cancel_at": 1681908658,\n "cancel_at_period_end": true,\n "canceled_at": 1679321736,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": "cancellation_requested"\n },\n "collection_method": "charge_automatically",\n "created": 1679230258,\n "currency": "eur",\n "current_period_end": 1681908658,\n "current_period_start": 1679230258,\n "customer": "cus_MZplrIZfdYw75Y",\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_NYScd5QAAiL8go",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679230258,\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_1MnLhOAbmaEugrFTpd3xj9IG",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MnLhOAbmaEugrFTpd3xj9IG"\n },\n "latest_invoice": "in_1MnLhOAbmaEugrFTz1KDtH7m",\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": 1679230258,\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_LDFp34KpterQcw message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:15:37] "GET /myclass/api/strip_update_subscription_qty/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1981869091088 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1981869091088 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 1981869091088 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1981869091088 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 1981869093008 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1981869093008 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-20 15:23:27.570239 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 15:23:27.571240 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:23:27.571240 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:23:27.571240 : ++ 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 1981869093008 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1981869093008 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1981871388496 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1981871388496 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 1981871388496 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1981871388496 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 1966699202448 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1966699202448 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 1966699202448 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1966699202448 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 1967005512528 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1967005512528 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 1967005512528 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:23:57.403273 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 15:23:57.403273 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:23:57.403273 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:23:57.404015 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 1967005512528 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1966704584848 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1966704584848 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 1966704584848 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1966704584848 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2809926398032 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2809926398032 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 2809926398032 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2809926398032 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 2809926746768 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2809926746768 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 2809926746768 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2809926746768 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:25:23.129515 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 15:25:23.130512 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:25:23.130512 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +DEBUG:filelock:Attempting to acquire lock 2809838186448 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:25:23.130512 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2809838186448 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 2809838186448 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2809838186448 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2467617712976 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2467617712976 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 2467617712976 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2467617712976 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 2467617715344 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2467617715344 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 2467617715344 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2467617715344 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:26:41.762655 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 15:26:41.762655 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:26:41.763655 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:26:41.763655 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to acquire lock 2467619586128 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2467619586128 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 2467619586128 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2467619586128 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-20 15:26:48.829901 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:26:48] "GET /myclass/api/strip_update_subscription_qty HTTP/1.1" 308 - +INFO:root:2023-03-20 15:26:48.836899 : 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_1MnLeuAbmaEugrFToihLqSzS +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_1MnLeuAbmaEugrFToihLqSzS response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MnLeuAbmaEugrFToihLqSzS",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679230104,\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": 1679230104,\n "currency": "eur",\n "current_period_end": 1681908504,\n "current_period_start": 1679230104,\n "customer": "cus_MZplrIZfdYw75Y",\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_NYSaDCYfuhRZFw",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679230104,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 5,\n "subscription": "sub_1MnLeuAbmaEugrFToihLqSzS",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MnLeuAbmaEugrFToihLqSzS"\n },\n "latest_invoice": "in_1MnLeuAbmaEugrFT670flFUn",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 5,\n "schedule": null,\n "start_date": 1679230104,\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_q3IeeirbnXhSai message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MnLeuAbmaEugrFToihLqSzS +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=cancel_at_period_end=True&proration_behavior=create_prorations&items[0][id]=si_NYSaDCYfuhRZFw&items[0][quantity]=9 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MnLeuAbmaEugrFToihLqSzS response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MnLeuAbmaEugrFToihLqSzS",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679230104,\n "billing_thresholds": null,\n "cancel_at": 1681908504,\n "cancel_at_period_end": true,\n "canceled_at": 1679322412,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": "cancellation_requested"\n },\n "collection_method": "charge_automatically",\n "created": 1679230104,\n "currency": "eur",\n "current_period_end": 1681908504,\n "current_period_start": 1679230104,\n "customer": "cus_MZplrIZfdYw75Y",\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_NYSaDCYfuhRZFw",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679230104,\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_1MnLeuAbmaEugrFToihLqSzS",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MnLeuAbmaEugrFToihLqSzS"\n },\n "latest_invoice": "in_1MnLeuAbmaEugrFT670flFUn",\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": 1679230104,\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_2lxn1GbmIyplY8 message='Dashboard link for request' +INFO:root:2023-03-20 15:26:51.376724 : strip_update_subscription_qty -name 'subscription' is not defined - ERRORRRR AT Line : 862 +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:26:51] "GET /myclass/api/strip_update_subscription_qty/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2103756598160 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2103756598160 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 2103756598160 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2103756598160 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 2103756947792 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2103756947792 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-20 15:29:30.516574 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 15:29:30.516574 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:29:30.516574 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:29:30.516574 : ++ 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 2103756947792 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2103756947792 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2103441182160 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2103441182160 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 2103441182160 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2103441182160 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 2497935191248 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2497935191248 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 2497935191248 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2497935191248 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 2497935540560 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2497935540560 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 2497935540560 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2497935540560 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:30:19.220363 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Attempting to acquire lock 2497526238160 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:30:19.220363 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:30:19.221360 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:30:19.221360 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2497526238160 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 2497526238160 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2497526238160 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-20 15:30:19.489460 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:30:19] "GET /myclass/api/strip_update_subscription_qty HTTP/1.1" 308 - +INFO:root:2023-03-20 15:30:19.495990 : 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_1MnLeuAbmaEugrFToihLqSzS +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_1MnLeuAbmaEugrFToihLqSzS response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MnLeuAbmaEugrFToihLqSzS",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679230104,\n "billing_thresholds": null,\n "cancel_at": 1681908504,\n "cancel_at_period_end": true,\n "canceled_at": 1679322412,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": "cancellation_requested"\n },\n "collection_method": "charge_automatically",\n "created": 1679230104,\n "currency": "eur",\n "current_period_end": 1681908504,\n "current_period_start": 1679230104,\n "customer": "cus_MZplrIZfdYw75Y",\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_NYSaDCYfuhRZFw",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679230104,\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_1MnLeuAbmaEugrFToihLqSzS",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MnLeuAbmaEugrFToihLqSzS"\n },\n "latest_invoice": "in_1MnLeuAbmaEugrFT670flFUn",\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": 1679230104,\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_KEyXdIWB9h7pj8 message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MnLeuAbmaEugrFToihLqSzS +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NYSaDCYfuhRZFw&items[0][quantity]=10 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MnLeuAbmaEugrFToihLqSzS response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MnLeuAbmaEugrFToihLqSzS",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679230104,\n "billing_thresholds": null,\n "cancel_at": 1681908504,\n "cancel_at_period_end": true,\n "canceled_at": 1679322622,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": "cancellation_requested"\n },\n "collection_method": "charge_automatically",\n "created": 1679230104,\n "currency": "eur",\n "current_period_end": 1681908504,\n "current_period_start": 1679230104,\n "customer": "cus_MZplrIZfdYw75Y",\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_NYSaDCYfuhRZFw",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679230104,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 10,\n "subscription": "sub_1MnLeuAbmaEugrFToihLqSzS",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MnLeuAbmaEugrFToihLqSzS"\n },\n "latest_invoice": "in_1MnLeuAbmaEugrFT670flFUn",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 10,\n "schedule": null,\n "start_date": 1679230104,\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_Y1F8lXqp2e4gag message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:30:21] "GET /myclass/api/strip_update_subscription_qty/ HTTP/1.1" 200 - +INFO:root:2023-03-20 15:32:04.286220 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 15:32:04.290222 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 15:32:04.296225 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:32:04] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_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_nlPXZ0XUkDlnnn message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:32:05] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-20 15:32:16.763729 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 15:32:16.767753 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 15:32:16.771749 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:32:16] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:root:2023-03-20 15:32:16.779273 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:32: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_FTGoQmjUTlmFZu message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:32:18] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-20 15:32:18.121766 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 15:32:18.129765 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:32:18] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-20 15:32:24.077420 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_NJnm0azNhUvrbu&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=12&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent +INFO:root:2023-03-20 15:32:24.080429 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mnjl8AbmaEugrFTNnhWmM94",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679322746,\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": 1679322746,\n "currency": "eur",\n "current_period_end": 1682001146,\n "current_period_start": 1679322746,\n "customer": "cus_NJnm0azNhUvrbu",\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_NYrUTEHBwLMGzA",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679322747,\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": 12,\n "subscription": "sub_1Mnjl8AbmaEugrFTNnhWmM94",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mnjl8AbmaEugrFTNnhWmM94"\n },\n "latest_invoice": {\n "id": "in_1Mnjl8AbmaEugrFTXkfOTKW5",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 60000,\n "amount_paid": 0,\n "amount_remaining": 60000,\n "amount_shipping": 0,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1679322746,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_NJnm0azNhUvrbu",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "contact@mysy-training.com",\n "customer_name": "MySy Demo",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9OWXJVVGdVUURRRnNQUnh1NFpnYW44ZW0wMTJPbVViLDY5ODYzNTQ30200tPnFopY4?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9OWXJVVGdVUURRRnNQUnh1NFpnYW44ZW0wMTJPbVViLDY5ODYzNTQ30200tPnFopY4/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1Mnjl8AbmaEugrFTNGEvsTix",\n "object": "line_item",\n "amount": 60000,\n "amount_excluding_tax": 60000,\n "currency": "eur",\n "description": "12 × DEV_SPACK_STANDARD (at €50.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1682001146,\n "start": 1679322746\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 12,\n "subscription": "sub_1Mnjl8AbmaEugrFTNnhWmM94",\n "subscription_item": "si_NYrUTEHBwLMGzA",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "5000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1Mnjl8AbmaEugrFTXkfOTKW5/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0671",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3Mnjl9AbmaEugrFT0PWt7uJf",\n "object": "payment_intent",\n "amount": 60000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3Mnjl9AbmaEugrFT0PWt7uJf"\n },\n "client_secret": "pi_3Mnjl9AbmaEugrFT0PWt7uJf_secret_ficNPzrqeDY3BYLFIxd7BwTvq",\n "confirmation_method": "automatic",\n "created": 1679322747,\n "currency": "eur",\n "customer": "cus_NJnm0azNhUvrbu",\n "description": "Subscription creation",\n "invoice": "in_1Mnjl8AbmaEugrFTXkfOTKW5",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1679322746,\n "period_start": 1679322746,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "shipping_cost": null,\n "shipping_details": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1679322746,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1Mnjl8AbmaEugrFTNnhWmM94",\n "subtotal": 60000,\n "subtotal_excluding_tax": 60000,\n "tax": null,\n "test_clock": null,\n "total": 60000,\n "total_discount_amounts": [],\n "total_excluding_tax": 60000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1679322746\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 12,\n "schedule": null,\n "start_date": 1679322746,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_BgEQZqXMI4rWWz message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:32:25] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 - +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\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_233000182\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: 20/03/2023 Date échéance : 20/03/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00o-et\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
Standard1250600.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: 600.0
    TVA 20% : 120.0
    Montant TTC : 720.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_233000182.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): 0x98d88110 +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_233000182.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000182.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_233000182.pdf') +INFO:root:2023-03-20 15:32:33.924352 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_233000182.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000182.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-20 15:32:33.926348 : Impression facture N° FACT_233000182 OK +INFO:root:2023-03-20 15:32:33.979471 : UpdataPartnerRankingClass - Le RANKING de 4 ont été mise à jour avec la valeur {'display_rank': '20', 'date_update': '2023-03-20 15:32:33.934368'} +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:32:33] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-03-20 15:32:34.152782 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3Mnjl9AbmaEugrFT0PWt7uJf/confirm +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1MZABeAbmaEugrFTewfE4Crl&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_00o-et%2FStandard +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3Mnjl9AbmaEugrFT0PWt7uJf/confirm response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3Mnjl9AbmaEugrFT0PWt7uJf",\n "object": "payment_intent",\n "amount": 60000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3Mnjl9AbmaEugrFT0PWt7uJf"\n },\n "client_secret": "pi_3Mnjl9AbmaEugrFT0PWt7uJf_secret_ficNPzrqeDY3BYLFIxd7BwTvq",\n "confirmation_method": "automatic",\n "created": 1679322747,\n "currency": "eur",\n "customer": "cus_NJnm0azNhUvrbu",\n "description": "Subscription creation",\n "invoice": "in_1Mnjl8AbmaEugrFTXkfOTKW5",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": {\n "redirect_to_url": {\n "return_url": "http://localhost:3009/OrderConfirmation_3DS/MySy_00o-et/Standard",\n "url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_1LUUfAAbmaEugrFT&payment_intent=pi_3Mnjl9AbmaEugrFT0PWt7uJf&payment_intent_client_secret=pi_3Mnjl9AbmaEugrFT0PWt7uJf_secret_ficNPzrqeDY3BYLFIxd7BwTvq&publishable_key=pk_test_51LUUfAAbmaEugrFTI25uZBD3IFjbtaL6jUfRV83diDf7nco8worna4NGKhMHbPP71WCwT5EHFRdDNatxPrJWwgZ300kgH5EO4p&source=payatt_3Mnjl9AbmaEugrFT0pcNYOdV"\n },\n "type": "redirect_to_url"\n },\n "on_behalf_of": null,\n "payment_method": "pm_1MZABeAbmaEugrFTewfE4Crl",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_action",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_ODxOigpNqGMGcJ message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:32:35] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 - +INFO:root:2023-03-20 15:32:53.251450 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:32:53] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 - +INFO:root:2023-03-20 15:32:53.323366 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3Mnjl9AbmaEugrFT0PWt7uJf +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3Mnjl9AbmaEugrFT0PWt7uJf response_code=200 +DEBUG:stripe:body='{\n "id": "pi_3Mnjl9AbmaEugrFT0PWt7uJf",\n "object": "payment_intent",\n "amount": 60000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 60000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3Mnjl9AbmaEugrFT007hbcNa",\n "object": "charge",\n "amount": 60000,\n "amount_captured": 60000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3Mnjl9AbmaEugrFT0WgwKJ3j",\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 "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1679322769,\n "currency": "eur",\n "customer": "cus_NJnm0azNhUvrbu",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1Mnjl8AbmaEugrFTXkfOTKW5",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 33,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3Mnjl9AbmaEugrFT0PWt7uJf",\n "payment_method": "pm_1MZABeAbmaEugrFTewfE4Crl",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": null\n },\n "country": "IE",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "installments": null,\n "last4": "3220",\n "mandate": null,\n "network": "visa",\n "three_d_secure": {\n "authentication_flow": "challenge",\n "result": "authenticated",\n "result_reason": null,\n "version": "2.1.0"\n },\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKJfd4aAGMgbMTn0oJWs6LBZcZ40Ho1qxSa-d1G9q7moiojc1HsXC9sk2UCCWbbRx7UZErjykY_BqL-lX?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3Mnjl9AbmaEugrFT007hbcNa/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3Mnjl9AbmaEugrFT0PWt7uJf"\n },\n "client_secret": "pi_3Mnjl9AbmaEugrFT0PWt7uJf_secret_ficNPzrqeDY3BYLFIxd7BwTvq",\n "confirmation_method": "automatic",\n "created": 1679322747,\n "currency": "eur",\n "customer": "cus_NJnm0azNhUvrbu",\n "description": "Subscription creation",\n "invoice": "in_1Mnjl8AbmaEugrFTXkfOTKW5",\n "last_payment_error": null,\n "latest_charge": "ch_3Mnjl9AbmaEugrFT007hbcNa",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1MZABeAbmaEugrFTewfE4Crl",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Rvsd07AFfI0ikh message='Dashboard link for request' +INFO:root:2023-03-20 15:32:53.748267 : payment_retrieve_status le Payement pi_3Mnjl9AbmaEugrFT0PWt7uJf est validé +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:32:53] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 - +INFO:root:2023-03-20 15:32:53.766273 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:32:54] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 - +INFO:root:2023-03-20 15:33:06.914999 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 15:33:06.919002 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 15:33:06.922999 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:33:06] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-20 15:33:06.929994 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:33:06] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:33:06] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-20 15:33:07.996443 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:33:08] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-20 15:35:06.486865 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:35:06] "GET /myclass/api/strip_update_subscription_qty HTTP/1.1" 308 - +INFO:root:2023-03-20 15:35:06.494867 : 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_1Mnjl8AbmaEugrFTNnhWmM94 +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_1Mnjl8AbmaEugrFTNnhWmM94 response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mnjl8AbmaEugrFTNnhWmM94",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679322746,\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": 1679322746,\n "currency": "eur",\n "current_period_end": 1682001146,\n "current_period_start": 1679322746,\n "customer": "cus_NJnm0azNhUvrbu",\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_NYrUTEHBwLMGzA",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679322747,\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": 12,\n "subscription": "sub_1Mnjl8AbmaEugrFTNnhWmM94",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mnjl8AbmaEugrFTNnhWmM94"\n },\n "latest_invoice": "in_1Mnjl8AbmaEugrFTXkfOTKW5",\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": 12,\n "schedule": null,\n "start_date": 1679322746,\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_rQpZ26ggIfZMpG message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1Mnjl8AbmaEugrFTNnhWmM94 +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NYrUTEHBwLMGzA&items[0][quantity]=2 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1Mnjl8AbmaEugrFTNnhWmM94 response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mnjl8AbmaEugrFTNnhWmM94",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679322746,\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": 1679322746,\n "currency": "eur",\n "current_period_end": 1682001146,\n "current_period_start": 1679322746,\n "customer": "cus_NJnm0azNhUvrbu",\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_NYrUTEHBwLMGzA",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679322747,\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_1Mnjl8AbmaEugrFTNnhWmM94",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mnjl8AbmaEugrFTNnhWmM94"\n },\n "latest_invoice": "in_1Mnjl8AbmaEugrFTXkfOTKW5",\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": 1679322746,\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_HILMAXqCCtIjo8 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:35:07] "GET /myclass/api/strip_update_subscription_qty/ HTTP/1.1" 200 - +INFO:root:2023-03-20 15:36:23.104090 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:36:23] "GET /myclass/api/strip_update_subscription_qty HTTP/1.1" 308 - +INFO:root:2023-03-20 15:36:23.117302 : 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_1Mnjl8AbmaEugrFTNnhWmM94 +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_1Mnjl8AbmaEugrFTNnhWmM94 response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mnjl8AbmaEugrFTNnhWmM94",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679322746,\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": 1679322746,\n "currency": "eur",\n "current_period_end": 1682001146,\n "current_period_start": 1679322746,\n "customer": "cus_NJnm0azNhUvrbu",\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_NYrUTEHBwLMGzA",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679322747,\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_1Mnjl8AbmaEugrFTNnhWmM94",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mnjl8AbmaEugrFTNnhWmM94"\n },\n "latest_invoice": "in_1Mnjl8AbmaEugrFTXkfOTKW5",\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": 1679322746,\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_B1WKXQWGq6tmd7 message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1Mnjl8AbmaEugrFTNnhWmM94 +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NYrUTEHBwLMGzA&items[0][quantity]=5 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1Mnjl8AbmaEugrFTNnhWmM94 response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mnjl8AbmaEugrFTNnhWmM94",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679322746,\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": 1679322746,\n "currency": "eur",\n "current_period_end": 1682001146,\n "current_period_start": 1679322746,\n "customer": "cus_NJnm0azNhUvrbu",\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_NYrUTEHBwLMGzA",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679322747,\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": 5,\n "subscription": "sub_1Mnjl8AbmaEugrFTNnhWmM94",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mnjl8AbmaEugrFTNnhWmM94"\n },\n "latest_invoice": "in_1Mnjl8AbmaEugrFTXkfOTKW5",\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": 5,\n "schedule": null,\n "start_date": 1679322746,\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_Nv20q5PEW1r9oJ message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:36:24] "GET /myclass/api/strip_update_subscription_qty/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2507063045648 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2507063045648 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 2507063045648 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2507063045648 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 2507063394704 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2507063394704 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 2507063394704 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2507063394704 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2507063859536 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:37:35.677796 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 15:37:35.677796 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:37:35.677796 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +DEBUG:filelock:Lock 2507063859536 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:37:35.678796 : ++ FLASK PORT 5001 ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2507063859536 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2507063859536 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2256679904720 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2256679904720 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 2256679904720 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2256679904720 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 2256679906832 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2256679906832 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 2256679906832 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2256679906832 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2256368547344 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2256368547344 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 2256368547344 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2256368547344 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:37:50.158735 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 15:37:50.158735 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:37:50.158735 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:37:50.158735 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1464157744592 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1464157744592 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 1464157744592 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1464157744592 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 1464158093776 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1464158093776 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-20 15:41:56.486909 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 15:41:56.486909 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:41:56.486909 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:41:56.486909 : ++ 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 1464158093776 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1464158093776 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1463843278416 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1463843278416 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 1463843278416 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1463843278416 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\\email_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2563418745936 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2563418745936 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 2563418745936 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2563418745936 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 2563418748624 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2563418748624 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 2563418748624 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2563418748624 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2563418748816 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:42:27.835144 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 15:42:27.836142 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:42:27.836142 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:42:27.836142 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2563418748816 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 2563418748816 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2563418748816 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2526768974800 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2526768974800 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 2526768974800 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2526768974800 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 2527093995152 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2527093995152 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 2527093995152 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2527093995152 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2527093995472 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:43:07.630634 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 15:43:07.630634 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:43:07.630634 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:43:07.630634 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 2527093995472 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 2527093995472 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2527093995472 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1926922644240 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1926922644240 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 1926922644240 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1926922644240 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 1926922994192 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1926922994192 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 1926922994192 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1926922994192 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1926922994192 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:44:39.825658 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Lock 1926922994192 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:44:39.825658 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:44:39.825658 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +INFO:root:2023-03-20 15:44:39.826654 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Attempting to release lock 1926922994192 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1926922994192 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2599422683600 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2599422683600 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 2599422683600 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2599422683600 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 2599422686096 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2599422686096 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-20 15:47:56.325429 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 15:47:56.325429 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:47:56.326434 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:47:56.326434 : ++ 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 2599422686096 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2599422686096 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2599422686352 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2599422686352 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 2599422686352 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2599422686352 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 1515916535568 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1515916535568 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 1515916535568 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1515916535568 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 1515916537552 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1515916537552 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 1515916537552 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1515916537552 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:48:43.148462 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Attempting to acquire lock 1515916538448 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 15:48:43.148462 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 15:48:43.148462 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 15:48:43.148462 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 1515916538448 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 1515916538448 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1515916538448 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-20 15:48:58.511224 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:48:58] "GET /myclass/api/strip_update_subscription_qty HTTP/1.1" 308 - +INFO:root:2023-03-20 15:48:58.517460 : 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_1Mnjl8AbmaEugrFTNnhWmM94 +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_1Mnjl8AbmaEugrFTNnhWmM94 response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mnjl8AbmaEugrFTNnhWmM94",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679322746,\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": 1679322746,\n "currency": "eur",\n "current_period_end": 1682001146,\n "current_period_start": 1679322746,\n "customer": "cus_NJnm0azNhUvrbu",\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_NYrUTEHBwLMGzA",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679322747,\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": 5,\n "subscription": "sub_1Mnjl8AbmaEugrFTNnhWmM94",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mnjl8AbmaEugrFTNnhWmM94"\n },\n "latest_invoice": "in_1Mnjl8AbmaEugrFTXkfOTKW5",\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": 5,\n "schedule": null,\n "start_date": 1679322746,\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_wxkqK69P6CAxaJ message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1Mnjl8AbmaEugrFTNnhWmM94 +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NYrUTEHBwLMGzA&items[0][quantity]=8 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1Mnjl8AbmaEugrFTNnhWmM94 response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1Mnjl8AbmaEugrFTNnhWmM94",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679322746,\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": 1679322746,\n "currency": "eur",\n "current_period_end": 1682001146,\n "current_period_start": 1679322746,\n "customer": "cus_NJnm0azNhUvrbu",\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_NYrUTEHBwLMGzA",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679322747,\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": 8,\n "subscription": "sub_1Mnjl8AbmaEugrFTNnhWmM94",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1Mnjl8AbmaEugrFTNnhWmM94"\n },\n "latest_invoice": "in_1Mnjl8AbmaEugrFTXkfOTKW5",\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": 8,\n "schedule": null,\n "start_date": 1679322746,\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_JbI2DuNCcZQEG2 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 15:49:00] "GET /myclass/api/strip_update_subscription_qty/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partners.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2317533188560 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2317533188560 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 2317533188560 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2317533188560 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 2317533189456 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2317533189456 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-20 16:15:40.473259 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 16:15:40.473259 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 16:15:40.474255 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 16:15:40.474255 : ++ 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 2317533189456 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2317533189456 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2317443929488 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2317443929488 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 2317443929488 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2317443929488 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1866802795216 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1866802795216 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 1866802795216 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1866802795216 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 1866802796112 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1866802796112 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). +INFO:root:2023-03-20 16:15:51.461850 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +DEBUG:filelock:Attempting to release lock 1866802796112 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-20 16:15:51.462844 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 16:15:51.462844 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 16:15:51.462844 : ++ FLASK PORT 5001 ++ +DEBUG:filelock:Lock 1866802796112 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1866806512592 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1866806512592 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 1866806512592 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1866806512592 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-20 16:15:57.635849 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 16:15:57.639841 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 16:15:57.643861 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 16:15:57] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-20 16:15:57.657871 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 16:15:57] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 16:15:57] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-20 16:15:59.060025 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 16:15:59] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-20 16:16:47.484253 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 16:16:47.488256 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 16:16:47] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-20 16:16:47.493269 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 16:16:47.499275 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 16:16:47] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 16:16:47] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-20 16:16:48.557591 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 16:16:48] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-20 16:16:59.021924 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 16:16:59.029925 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 16:16:59] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-20 16:17:52.210865 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 16:17:53.415863 : update_partner_pwdLe mot de passe du partenaire a bien ete mis à jour =63df9a429d95fcc1c2475167 +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 16:17:53] "POST /myclass/api/update_partner_pwd/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1846476134672 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1846476134672 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 1846476134672 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1846476134672 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 1846476135056 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1846476135056 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-20 16:20:43.839018 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 16:20:43.839018 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 16:20:43.840020 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 16:20:43.840020 : ++ 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 1846476135056 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1846476135056 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1846387901776 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1846387901776 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 1846387901776 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1846387901776 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partners.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2661934829840 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2661934829840 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 2661934829840 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2661934829840 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 2661934907984 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2661934907984 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-20 16:21:25.369300 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 16:21:25.369300 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 16:21:25.369300 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 16:21:25.369300 : ++ FLASK PORT 5001 ++ +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2661934907984 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2661934907984 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2661936755920 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2661936755920 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 +WARNING:werkzeug: * Debugger is active! +DEBUG:filelock:Attempting to release lock 2661936755920 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2661936755920 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partners.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1876006147536 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1876006147536 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 1876006147536 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1876006147536 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 1876006148560 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1876006148560 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-20 16:22:07.948080 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-20 16:22:07.948080 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-20 16:22:07.948080 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-20 16:22:07.948080 : ++ FLASK PORT 5001 ++ +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 1876006148560 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1876006148560 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1876006148560 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +WARNING:werkzeug: * Debugger is active! +DEBUG:filelock:Lock 1876006148560 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 1876006148560 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1876006148560 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-20 16:22:08.230438 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 16:22:08.233438 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 16:22:08.237441 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 16:22:08] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-20 16:22:08.256152 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 16:22:08] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 16:22:08] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-20 16:22:08.922337 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 16:22:08] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-20 16:22:21.133956 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 16:22:21.140960 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 16:22:21] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-20 16:22:44.025403 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 16:22:44.936996 : update_partner_pwd Le mot de passe du partenaire a bien ete mis à jour dans Mysy =63df9a429d95fcc1c2475167 +INFO:root:2023-03-20 16:22:45.311344 : update_partner_pwd - La mise à jour du mot de passe dans le LMS a été faite également +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 16:22:45] "POST /myclass/api/update_partner_pwd/ HTTP/1.1" 200 - +INFO:root:2023-03-20 16:23:52.582018 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-20 16:23:52.589030 : Connexion du partner recid = 7ad3a72c9b161045cc50a7590e5fd18289a41389dca44386c6 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [20/Mar/2023 16:23:52] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - diff --git a/ela_factures_mgt.py b/ela_factures_mgt.py index fb9f48c..c6b6b69 100644 --- a/ela_factures_mgt.py +++ b/ela_factures_mgt.py @@ -767,6 +767,8 @@ def createOrder(diction): tmp_diction = {"partnaire_recid":str(user_recid), "new_pack_name":str(mypack)} class_mgt.UpdataPartnerRankingClass(tmp_diction) + + return True, "la commande été correctement créee", str(new_data['order_id']) else: mycommon.myprint( diff --git a/email_mgt.py b/email_mgt.py index c24b74b..1ce16a4 100644 --- a/email_mgt.py +++ b/email_mgt.py @@ -1995,6 +1995,63 @@ def EmailStopAbonnement( partners_email, partners_pack_service, partners_date_ar return False, " Impossible d'envoyer l'email de notification " +""" +Cette fonction notifier à un partenaire la modification de son abonnement avec de nouvelle quantité +""" +def EmailChangeAbonnementQty( partners_email, partners_pack_service, partners_date_arret, partners_nom, old_qty, new_qty ): + try: + tomorrow = datetime.date.today() + datetime.timedelta(days=1) + tomorrow_day = tomorrow.strftime("%A") + + + + smtpserver = smtplib.SMTP(MYSY_GV.O365_SMTP_COUNT_smtpsrv, MYSY_GV.O365_SMTP_COUNT_port) + + # msg = MIMEMultipart("alternative") + msg = EmailMessage() + + # JINJA2 + templateLoader = jinja2.FileSystemLoader(searchpath="./") + templateEnv = jinja2.Environment(loader=templateLoader) + TEMPLATE_FILE = "Template/MySy_Update_Qty_Abonnement_tpl.html" + template = templateEnv.get_template(TEMPLATE_FILE) + # This data can come from database query + body = { + "params":{"user_name": str(partners_nom), + "packs": str(partners_pack_service), + "end_date_abonnement": str(partners_date_arret), + "email": str(partners_email), + "old_qty": str(old_qty), + "new_qty": str(new_qty), + + }, + } + + sourceHtml = template.render(params=body["params"]) + + msg.set_content(sourceHtml, subtype='html') + msg['From'] = MYSY_GV.O365_SMTP_COUNT_From_User + + msg['Bcc'] = 'contact@mysy-training.com' + + msg['Subject'] = "[MySy Training Technology] : Modification de votre abonnement "+str(partners_pack_service) + msg['To'] = str(partners_email) + + smtpserver.ehlo() + smtpserver.starttls() + smtpserver.login(MYSY_GV.O365_SMTP_COUNT_user, MYSY_GV.O365_SMTP_COUNT_password) + val = smtpserver.send_message(msg) + smtpserver.close() + print(" Email envoyé " + str(val)) + return True + + + except Exception as e: + exc_type, exc_obj, exc_tb = sys.exc_info() + mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno)) + return False, " Impossible d'envoyer l'email de notification " + + """ Cette fonction envoie la notification d'evaluation à un institut de formation """ diff --git a/lms_chamilo/mysy_lms.py b/lms_chamilo/mysy_lms.py index f21fe46..9dfc3be 100644 --- a/lms_chamilo/mysy_lms.py +++ b/lms_chamilo/mysy_lms.py @@ -956,4 +956,105 @@ def Check_MySy_LMS_Account(diction): 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 créer le compte LMS : Check_MySy_LMS_User " \ No newline at end of file + return False, " Impossible de créer le compte LMS : Check_MySy_LMS_User " + + +""" +Cette fonction retourne le nombre de formations actives dans mysy et dans le lms +la valeur retournée est de type : true, nb_active_mysy, nb_active_lms, message +""" +def Get_Active_Ftions_Mysy_and_Lms(diction): + try: + + # Verification des champs + field_list = ['token', ] + + incom_keys = diction.keys() + for val in incom_keys: + if val not in field_list: + mycommon.myprint(str(inspect.stack()[0][ + 3]) + " Le champ '" + val + "' n'est pas autorisé") + return False, False, False, str(inspect.stack()[0][3]) + " Le champ '" + val + "' n'est pas autorisé" + + ''' + Une fois qu'on a controlé que toutes les clés mise dans l'API sont correcte. etape precedente, + On controle que les champs obligatoires sont presents dans la liste + ''' + field_list_obligatoire = ['token', ] + + 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, False, False, str(inspect.stack()[0][3]) + " Toutes les informations obligatoire n'ont pas été fournies" + + # recuperation des paramettre + my_token = "" + if ("token" in diction.keys()): + if diction['token']: + my_token = diction['token'] + + partner_recid = "" + # Verification de la validité du token/mail dans le cas des user en mode connecté + if (len(str(my_token)) > 0): + retval = mycommon.check_partner_token_validity("", my_token) + + if retval is False: + mycommon.myprint(str(inspect.stack()[0][3]) + " - Le token n'est pas valide") + return False, False, False, str(inspect.stack()[0][3]) + " - Le token n'est pas valide" + + # Recuperation du recid de l'utilisateur + partner_recid = mycommon.get_parnter_recid_from_token(my_token) + if partner_recid is False: + mycommon.myprint(str(inspect.stack()[0][3]) + " - Impossible de recuperer le token du partenaire") + return False, False, False, str(inspect.stack()[0][3]) + " - Impossible de recuperer le token du partenaire" + + if (len(str(my_token)) <= 0): + mycommon.myprint(str(inspect.stack()[0][3]) + " - Le token est vide") + return False, False, False, str(inspect.stack()[0][3]) + " - Le token est vide" + + # Recuperation des données du partenaire + local_status, my_partner = mycommon.get_partner_data_from_recid(partner_recid) + if (local_status is False): + mycommon.myprint(str(inspect.stack()[0][3]) + " - impossible de recuperer les données du partenaire") + return False, False, False, " - impossible de recuperer les données du partenaire" + + # print(" ### my_partner = ", str(my_partner)) + mysy_lms_user_id = "" + if ("mysy_lms_user_id" in my_partner.keys()): + if my_partner['mysy_lms_user_id']: + mysy_lms_user_id = my_partner['mysy_lms_user_id'] + + + + # recup du nombre de formations actives et publiées dans mysy + mysy_count = MYSY_GV.dbname['myclass'].count_documents({'locked':'0', 'valide':'1', 'published':'1', + 'partner_owner_recid':str(my_partner['recid'])}) + + # recup du nombre de formations actives et publiées dans le LMS + 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() + + 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) + 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]) + lms_count_courses_val = lms_count_courses[0] + + + return True, mysy_count,lms_count_courses_val, " " + + 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, False, False, " Impossible de recuperer le nombre de formations actives dans mysy et le lms " diff --git a/main.py b/main.py index 6791369..7a46663 100644 --- a/main.py +++ b/main.py @@ -678,7 +678,7 @@ Partenair SECURITY : Cette API modifie/MAJ le password du partenaire def update_partner_pwd(): # On recupere le corps (payload) de la requete payload = request.form.to_dict() - print(" ### payload = ",payload) + print(" ### update_partner_pwd payload = ",payload) status, retval = pa.update_partner_pwd(payload) return jsonify(status=status, message=retval) @@ -2668,6 +2668,32 @@ def Check_MySy_LMS_Account(): return jsonify(status=localStatus, message=message) +""" +Cette API recuperer le nombre de formation active dans Mysy et dans le LMS +la valeur retournée est de type : true, nb_active_mysy, nb_active_lms, message +""" +@app.route('/myclass/api/Get_Active_Ftions_Mysy_and_Lms/', methods=['POST','GET']) +@crossdomain(origin='*') +def Get_Active_Ftions_Mysy_and_Lms(): + # On recupere le corps (payload) de la requete + payload = request.form.to_dict() + print(" ### Get_Active_Ftions_Mysy_and_Lms : payload = ",payload) + localStatus, mysy_nb_active_class, lms_nb_active_class, message = mysy_lms.Get_Active_Ftions_Mysy_and_Lms(payload) + return jsonify(status=localStatus, mysy_nb_active_class = mysy_nb_active_class, lms_nb_active_class = lms_nb_active_class, message=message) + + +""" +Cette API permet de modifier la quantité d'un abonnement. +On reste sur le meme prix. juste la quantité qui change +""" +@app.route('/myclass/api/strip_update_subscription_qty/', methods=['POST','GET']) +@crossdomain(origin='*') +def strip_update_subscription_qty(): + # On recupere le corps (payload) de la requete + payload = request.form.to_dict() + print(" ### strip_update_subscription_qty : payload = ",payload) + localStatus, message = Stripe.strip_update_subscription_qty(payload) + return jsonify(status=localStatus, message=message) diff --git a/partners.py b/partners.py index 61d1e2e..cb1d3cb 100644 --- a/partners.py +++ b/partners.py @@ -30,7 +30,7 @@ from pymongo import ReturnDocument from datetime import datetime import GlobalVariable as MYSY_GV import strype_payement as Stripe - +import lms_chamilo.mysy_lms as mysy_lms class JSONEncoder(json.JSONEncoder): @@ -379,17 +379,48 @@ def update_partner_pwd(diction): ret_val = coll_name.find_one_and_update( {'recid': str(partner_recid), 'locked': '0', 'active': '1', 'pwd':mypwd}, {"$set": mydata}, + upsert= False, return_document=ReturnDocument.AFTER ) if (ret_val and ret_val['_id']): - mycommon.myprint(str(inspect.stack()[0][3]) + "Le mot de passe du partenaire a bien ete mis à jour =" + str(ret_val['_id'])) - return True, "Le mot de passe du partenaire a bien ete mis à jour" + mycommon.myprint(str(inspect.stack()[0][3]) + " Le mot de passe du partenaire a bien ete mis à jour dans Mysy =" + str(ret_val['_id'])) + else: mycommon.myprint(str(inspect.stack()[0][3]) + " - Impossible de mettre à jour le mot de passe du partenaire recid= : " +str(partner_recid) ) return False, " Impossible de mettre à jour le mot de passe du partenaire" + """ + pres la modification du mot de passe dans Mysy, il faut voir si le partenaire + a un compte LMS. Si c'est le cas, alors il faut mettre à jour le mot de passe dans le compte LMS aussi. + """ + + # Recuperation des données du partenaire + local_status, my_partner = mycommon.get_partner_data_from_recid(partner_recid) + if (local_status is False): + mycommon.myprint(str(inspect.stack()[0][3]) + " - impossible de recuperer les données du partenaire") + return False, str(inspect.stack()[0][3]) + " - impossible de recuperer les données du partenaire" + + + if ("mysy_lms_user_id" in my_partner.keys()): + if my_partner['mysy_lms_user_id']: + new_diction = {} + new_diction['token'] = my_partner['token'] + new_diction['new_password'] = confnewpwd + new_diction['lms_user_id'] = my_partner['mysy_lms_user_id'] + + local_status, message, rowid = mysy_lms.Update_Passwd_MySy_LMS_User(new_diction) + if( local_status is False ): + mycommon.myprint( + str(inspect.stack()[0][3]) + " - WARNING : impossible de mettre le mot de passe à jour dans le LMS") + else: + mycommon.myprint( + str(inspect.stack()[0][ + 3]) + " - La mise à jour du mot de passe dans le LMS a été faite également ") + + + return True, " Le mot de passe a bien été changé" except Exception as e: exc_type, exc_obj, exc_tb = sys.exc_info() diff --git a/strype_payement.py b/strype_payement.py index 1f1c2ca..ec9b86c 100644 --- a/strype_payement.py +++ b/strype_payement.py @@ -731,6 +731,7 @@ def stop_strip_subscription(diction): cancel_at_period_end=True ) + arret_abonnement = datetime.today().date() + relativedelta(months=+1) arrete_abonnement_formated = arret_abonnement.strftime("%d/%m/%Y") @@ -772,6 +773,118 @@ def stop_strip_subscription(diction): return False, "Impossible d'annuler votre abonnement" +""" +Cette fonction permet de modifier la quantité d'un abonnement +par exemple lorqu'un partenaire change de nombre de formation sur le meme pack +""" + +def strip_update_subscription_qty(diction): + try: + + field_list_obligatoire = ['token','qty', 'old_qty'] + 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 , toutes le données obligatoire ne sont pas fournies ") + return False, " Impossible de supprimer le moyen de payement, toutes le données obligatoire ne sont pas fournies" + + mytoken = "" + if ("token" in diction.keys()): + if diction['token']: + mytoken = diction['token'] + + qty = "" + if ("qty" in diction.keys()): + if diction['qty']: + qty = diction['qty'] + + old_qty = "" + if ("old_qty" in diction.keys()): + if diction['old_qty']: + old_qty = diction['old_qty'] + + retval = mycommon.check_partner_token_validity("", str(mytoken)) + + if retval is False: + mycommon.myprint(str(inspect.stack()[0][3]) + " - Le token n'est pas valide") + return False, "Les informations d'identification ne sont pas valident" + + # Recuperation du recid du partenaire + partner_recid = mycommon.get_parnter_recid_from_token(str(mytoken)) + if partner_recid is False: + mycommon.myprint(str(inspect.stack()[0][3]) + " - Impossible de recuperer le recid du partenaire") + return False, " Les informations d'identification sont incorrectes" + + # recuperation de la susbscription du client + local_ret_val = MYSY_GV.dbname['partnair_account'].find_one( + {'token': mytoken, 'active': '1', 'locked': '0'}) + + if (local_ret_val['stripe_subscription_id'] is None): + mycommon.myprint( + str(inspect.stack()[0][3]) + " Impossible d'annuler le payement ") + return False, " Impossible de changer la quantité de l'abonnement " + + pack = "" + if ("pack_service" in local_ret_val.keys()): + if local_ret_val['pack_service']: + pack = local_ret_val['pack_service'] + + price_id = "" + if (str(pack).lower() == "gold"): + price_id = MYSY_GV.STRIPE_GOLD_PRICE_ID + + elif (str(pack).lower() == "standard"): + price_id = MYSY_GV.STRIPE_STANDARD_PRICE_ID + + elif (str(pack).lower() == "test"): + price_id = MYSY_GV.STRIPE_TEST_PRICE_ID + + + print(" #### str(local_ret_val['stripe_subscription_id']) = ", str(local_ret_val['stripe_subscription_id'])) + + current_subscription = stripe.Subscription.retrieve(str(local_ret_val['stripe_subscription_id'])) + + #a = stripe.SubscriptionSchedule.release( str(local_ret_val['stripe_subscription_id']), ) + a = stripe.Subscription.modify( + str(local_ret_val['stripe_subscription_id']), + proration_behavior='create_prorations', + items=[{ + 'id': current_subscription['items'].data[0].id, + 'quantity': qty, + }] + ) + + #print(" ### aa = ", a) + arret_abonnement = datetime.today().date() + relativedelta(months=+1) + arrete_abonnement_formated = arret_abonnement.strftime("%d/%m/%Y") + + now = datetime.now() + + + + partners_email = local_ret_val['email'] + partners_nom = local_ret_val['nom'] + partners_pack_service = local_ret_val['pack_service'] + partners_date_arret = arrete_abonnement_formated + + local_ret_val = email_mgt.EmailChangeAbonnementQty( partners_email, partners_pack_service, partners_date_arret, partners_nom, old_qty, qty) + + if( local_ret_val is False): + mycommon.myprint( + str(inspect.stack()[0][3]) + " - WARNING : changement qté abonnement, Impossible d'envoyer le mail de notification au partenaire") + + return True, " ok" + + + except Exception as e: + exc_type, exc_obj, exc_tb = sys.exc_info() + mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno)) + return False, " Impossible de changer la quantité de l'abonnement " + + + + + @app.route('/webhook', methods=['POST']) def webhook_received(): # You can use webhooks to receive information about asynchronous payment events.